JP7212736B2 - SOFTWARE UPDATE DEVICE, VEHICLE AND SOFTWARE UPDATE METHOD - Google Patents

SOFTWARE UPDATE DEVICE, VEHICLE AND SOFTWARE UPDATE METHOD Download PDF

Info

Publication number
JP7212736B2
JP7212736B2 JP2021146599A JP2021146599A JP7212736B2 JP 7212736 B2 JP7212736 B2 JP 7212736B2 JP 2021146599 A JP2021146599 A JP 2021146599A JP 2021146599 A JP2021146599 A JP 2021146599A JP 7212736 B2 JP7212736 B2 JP 7212736B2
Authority
JP
Japan
Prior art keywords
software
electronic control
update
control unit
new version
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Active
Application number
JP2021146599A
Other languages
Japanese (ja)
Other versions
JP2022008356A (en
JP2022008356A5 (en
Inventor
源太 井上
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
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)

Description

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

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

特開2018-45515号公報JP 2018-45515 A

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

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

本発明の一態様によるソフトウェア更新装置は、ネットワークを介して供給される新版ソフトウェアを取得する取得部と、前記取得部によって取得される前記新版ソフトウェアを用いて、車両に搭載された電子制御装置に対してソフトウェア更新を行う更新制御部と、前記電子制御装置に対する前記ソフトウェア更新が行われる際における消費電力量を判定する消費電力量判定部と、前記消費電力量判定部によって判定された前記消費電力量と、前記車両に備えられたバッテリに存在している電力量とに基づいて、前記電子制御装置に対する前記ソフトウェア更新の可否を判定する更新可否判定部とを備え、前記更新制御部は、前記電子制御装置に対する前記ソフトウェア更新が可能であると前記更新可否判定部が判定した場合に、前記車両のイグニッションスイッチがオフの期間に、前記電子制御装置に対する前記ソフトウェア更新の少なくとも一部を実行し、複数の前記電子制御装置のうちの第1の電子制御装置には、前記第1の電子制御装置にインストールされた第1の旧版ソフトウェアを更新するための第1の新版ソフトウェアがバックグラウンドでインストールされ得る格納可能領域が備えられており、前記更新制御部は、前記第1の電子制御装置の前記格納可能領域への前記第1の新版ソフトウェアのインストールを、前記第1の電子制御装置と協調動作する第2の電子制御装置に対する第2の新版ソフトウェアのインストールに先立って、前記イグニッションスイッチがオンの際に行い、前記イグニッションスイッチがオフとなり、且つ、前記第2の電子制御装置に対する前記ソフトウェア更新が正常に完了した場合に、前記第1の新版ソフトウェアの動作ロジックの実行を前記第1の電子制御装置に開始させる。 A software update device according to an aspect of the present invention includes an acquisition unit that acquires new version software supplied via a network; an update control unit that updates software, a power consumption determination unit that determines power consumption when the software is updated for the electronic control device, and the consumption determined by the power consumption determination unit an update permission/inhibition determination unit that determines whether or not the software update for the electronic control device is permitted based on the amount of electric power and the amount of electric power present in a battery provided in the vehicle; executing at least part of the software update for the electronic control device while the ignition switch of the vehicle is off when the update availability determination unit determines that the software update for the electronic control device is possible; , in a first electronic control unit among the plurality of electronic control units, first new version software for updating first old version software installed in the first electronic control unit is installed in the background. and the update control unit cooperates with the first electronic control device to install the first new version software in the storage region of the first electronic control device. Prior to installing the second new version of the software to the operating second electronic control device, when the ignition switch is on, the ignition switch is turned off, and the software update is performed on the second electronic control device. is successfully completed, causes the first electronic control unit to begin executing the operational logic of the first new version of the software .

本発明の他の態様によるソフトウェア更新装置は、ネットワークを介して供給される新版ソフトウェアを取得する取得部と、前記取得部によって取得される前記新版ソフトウェアを用いて、車両に搭載された電子制御装置に対してソフトウェア更新を実行する更新制御部と、前記電子制御装置に対する前記ソフトウェア更新が行われる際における消費電力量を判定する消費電力量判定部と、前記消費電力量判定部によって判定された前記消費電力量と、前記車両に備えられたバッテリに存在している電力量とに基づいて、前記電子制御装置に対する前記ソフトウェア更新の可否を判定する更新可否判定部とを備え、前記更新可否判定部は、前記消費電力量判定部によって判定された前記消費電力量を、前記バッテリに存在している前記電力量から減じることにより得られる値が閾値以上である場合、前記電子制御装置に対する前記ソフトウェア更新が可能であると判定し、前記更新制御部は、前記電子制御装置に対する前記ソフトウェア更新が可能であると前記更新可否判定部が判定した場合に、前記車両のイグニッションスイッチがオフの期間に、前記電子制御装置に対する前記ソフトウェア更新の少なくとも一部を実行し、複数の前記電子制御装置のうちの第1の電子制御装置には、前記第1の電子制御装置にインストールされた第1の旧版ソフトウェアを更新するための第1の新版ソフトウェアがバックグラウンドでインストールされ得る格納可能領域が備えられており、前記更新制御部は、前記第1の電子制御装置の前記格納可能領域への前記第1の新版ソフトウェアのインストールを、前記第1の電子制御装置と協調動作する第2の電子制御装置に対する第2の新版ソフトウェアのインストールに先立って、前記イグニッションスイッチがオンの際に行い、前記イグニッションスイッチがオフとなり、且つ、前記第2の電子制御装置に対する前記ソフトウェア更新が正常に完了した場合に、前記第1の新版ソフトウェアの動作ロジックの実行を前記第1の電子制御装置に開始させる。 A software update device according to another aspect of the present invention includes an acquisition unit that acquires new version software supplied via a network, and an electronic control device mounted on a vehicle that uses the new version software acquired by the acquisition unit. an update control unit that performs software update for the electronic control device; a power consumption determination unit that determines power consumption when the software update is performed for the electronic control device; an update availability determination unit that determines whether the software update for the electronic control device is possible based on the power consumption and the power amount existing in the battery provided in the vehicle; If a value obtained by subtracting the power consumption determined by the power consumption determination unit from the power amount present in the battery is equal to or greater than a threshold value, the software for the electronic control device When the update control unit determines that the software update for the electronic control device is possible, the update control unit determines that the software update is possible, during a period in which the ignition switch of the vehicle is off, executing at least a part of the software update for the electronic control device, wherein a first electronic control device among the plurality of electronic control devices is installed with first old version software installed in the first electronic control device; A storable area is provided in which a first new version software for updating the software can be installed in the background, and the update control unit updates the first software to the storable area of the first electronic control unit Installation of the new version software is performed when the ignition switch is on, prior to installing the second new version software on the second electronic control device that cooperates with the first electronic control device, and the ignition switch is off. and causes the first electronic control unit to start executing the operation logic of the first new version software when the software update for the second electronic control unit is completed normally .

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

本発明の更に他の態様によるソフトウェア更新方法は、ネットワークを介して供給される新版ソフトウェアを用いて、車両に備えられた電子制御装置に対してソフトウェア更新を実行するソフトウェア更新方法であって、前記電子制御装置に対する前記ソフトウェア更新が行われる際における消費電力量を判定するステップと、前記消費電力量を判定するステップにおいて判定された前記消費電力量と、前記車両に備えられたバッテリに存在している電力量とに基づいて、前記電子制御装置に対する前記ソフトウェア更新の可否を判定するステップと、前記電子制御装置に対する前記ソフトウェア更新が可能であると判定された場合に、前記車両のイグニッションスイッチがオフの期間に、前記電子制御装置に対する前記ソフトウェア更新の少なくとも一部を実行するステップとを有し、複数の前記電子制御装置のうちの第1の電子制御装置には、前記第1の電子制御装置にインストールされた第1の旧版ソフトウェアを更新するための第1の新版ソフトウェアがバックグラウンドでインストールされ得る格納可能領域が備えられており、前記第1の電子制御装置の前記格納可能領域への前記第1の新版ソフトウェアのインストールを、前記第1の電子制御装置と協調動作する第2の電子制御装置に対する第2の新版ソフトウェアのインストールに先立って、前記イグニッションスイッチがオンの際に行い、前記イグニッションスイッチがオフとなり、且つ、前記第2の電子制御装置に対する前記ソフトウェア更新が正常に完了した場合に、前記第1の新版ソフトウェアの動作ロジックの実行を前記第1の電子制御装置に開始させる。 A software update method according to still another aspect of the present invention is a software update method for executing software update for an electronic control device provided in a vehicle using new version software supplied via a network. a step of determining the amount of power consumption when the software update for the electronic control device is performed; the amount of power consumption determined in the step of determining the amount of power consumption; a step of determining whether the software can be updated for the electronic control device based on the amount of electric power stored in the vehicle; and performing at least part of the software update on the electronic control device during an off period, wherein a first electronic control device among the plurality of electronic control devices includes the first electronic control device. A storable area is provided in which a first new version software for updating a first old version software installed in a device can be installed in the background, and a storable area of the first electronic control unit is provided to the storable area. installing the first new version of the software when the ignition switch is on prior to installing the second new version of the software in a second electronic control device that cooperates with the first electronic control device; causes the first electronic control unit to start executing the operation logic of the first new version software when the ignition switch is turned off and the software update for the second electronic control unit is normally completed; .

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

一実施形態によるソフトウェア更新装置を含むソフトウェア更新システムを示すブロック図である。1 is a block diagram illustrating a software update system including a software update device according to one embodiment; FIG. 図2A及び図2Bは、不揮発性メモリの構成の例を概念的に示す図である。2A and 2B are diagrams conceptually showing an example of the configuration of a nonvolatile memory. 一実施形態によるソフトウェア更新装置の動作の例を示すフローチャートである。4 is a flowchart illustrating an example of the operation of a software updater according to one embodiment; 一実施形態によるソフトウェア更新装置の動作の例を示すフローチャートである。4 is a flowchart illustrating an example of the operation of a software updater according to one embodiment; 一実施形態によるソフトウェア更新装置の動作の例を示すタイミングチャートである。4 is a timing chart showing an example of the operation of the software update device according to one embodiment; 一実施形態によるソフトウェア更新装置の動作の例を示すフローチャートである。4 is a flowchart illustrating an example of the operation of a software updater according to one embodiment; 一実施形態によるソフトウェア更新装置の動作の例を示すフローチャートである。4 is a flowchart illustrating an example of the operation of a software updater according to one embodiment; 一実施形態によるソフトウェア更新装置の動作の例を示すフローチャートである。4 is a flowchart illustrating an example of the operation of a software updater according to one embodiment; 一実施形態によるソフトウェア更新装置の動作の例を示すフローチャートである。4 is a flowchart illustrating an example of the operation of a software updater according to one embodiment; 一実施形態によるソフトウェア更新装置の動作の例を示すフローチャートである。4 is a flowchart illustrating an example of the operation of a software updater according to 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 preferred embodiments and with reference to the accompanying drawings.

[一実施形態]
一実施形態によるソフトウェア更新装置、車両及びソフトウェア更新方法について図面を用いて説明する。図1は、本実施形態によるソフトウェア更新装置を含むソフトウェア更新システムを示すブロック図である。
[One embodiment]
A software update device, a vehicle, and a software update method according to one 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 this embodiment.

本実施形態によるソフトウェア更新システム11は、車両10と、サーバ(外部機器)22とを有する。 A software update system 11 according to this embodiment has 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. It is Reference numeral 16 is used when describing the electronic control device in general, and reference numerals 16A and 16B are used when describing individual electronic control devices. The vehicle 10 is equipped with a number of electronic controllers 16, and FIG. 1 shows two electronic controllers 16 out of the many. That is, FIG. 1 shows a first electronic control unit 16A and a second electronic control unit 16B. Here, a case in which the first electronic control unit 16A and the second electronic control unit 16B cooperate (synchronize) will be described as an example. Although the vehicle 10 is equipped with components other than these components, the description thereof is omitted here.

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

通信部14は、ネットワーク25を介して、サーバ22に備えられた通信部40との間で無線通信を行い得る。ネットワーク25としては、例えば、インターネット等が挙げられるがこれに限定されるものではない。通信部14は、セルラー方式で通信を行い得る通信部であってもよいし、無線LAN通信を行い得る通信部であってもよい。通信部14は、ネットワーク25を介してサーバ22から供給される新版ソフトウェアを受信し得る。 The communication unit 14 can wirelessly communicate with the communication unit 40 provided in the server 22 via the network 25 . The network 25 may be, for example, the Internet, but is not limited to this. The communication unit 14 may be a communication unit capable of performing communication by a cellular system, or may be a communication unit capable of performing wireless LAN communication. The communication unit 14 can receive 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 is provided with a calculation section 24 and a storage section 26 . The computing unit 24 controls the entire software update device 12 . The calculation unit 24 is configured by, for example, a CPU (Central Processing Unit). The calculation unit 24 executes software (firmware) update control by controlling each unit based on a program stored in the storage unit 26 . The storage unit 26 includes a volatile memory (not shown) and a non-volatile memory (not shown). New version software downloaded from the server 22 can 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 amount determination unit 34, an update availability determination unit 35, and a scheduled startup time determination. A portion 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 availability determination unit 35, and the scheduled startup time determination unit 36 are stored in the storage unit 26. It can be realized by executing a program by the calculation unit 24 .

取得部28は、ネットワーク25を介してサーバ22から供給される新版ソフトウェア(ソフトウェア)を取得する。より具体的には、取得部28は、通信部14によって受信された新版ソフトウェアを取得する。 The acquisition unit 28 acquires 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 uses the new version of the software acquired by the acquisition unit 28 to update the software of each of the plurality of electronic control units 16 mounted on the vehicle 10 , that is, update the software.

ここでは、第1の電子制御装置(電子制御装置)16Aに、第1の旧版ソフトウェア(第1の現行ソフトウェア)がインストールされている場合を例に説明する。また、ここでは、第2の電子制御装置(電子制御装置)16Bに、第2の旧版ソフトウェア(第2の現行ソフトウェア)がインストールされている場合を例に説明する。また、ここでは、第1の電子制御装置16Aにインストールされている第1の旧版ソフトウェアが、サーバ22から供給される第1の新版ソフトウェアによって更新される場合を例に説明する。また、ここでは、第2の電子制御装置16Bにインストールされている第2の旧版ソフトウェアが、サーバ22から供給される第2の新版ソフトウェアによって更新される場合を例に説明する。 Here, the 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. Also, 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. Also, here, the case where the first old version software installed in the first electronic control unit 16A is updated by the first new version software supplied from the server 22 will be described as an example. Also, here, a case where the second old version software installed in the second electronic control unit 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 unit 16A is relatively large. FIG. 2A is a diagram conceptually showing an example of the configuration of a nonvolatile memory provided in the first electronic control unit 16A. The first electronic control unit 16A is provided with a plurality of nonvolatile 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, for example, on one surface of a substrate (not shown). A second memory chip is mounted, for example, on the other surface of the substrate. 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 unit 16A, for example, while the first old version software is installed in the first bank 50A, the first new version software can be installed in the second bank 50B. . 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. Although the case where the first electronic control unit 16A is provided with a plurality of memory chips has been described as an example, the present invention is not limited to this. A single large-capacity memory chip may be provided in the first electronic control unit 16A. 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 having a display control function, but is not limited to this. More specifically, the first electronic control unit 16A is, for example, an ECU for in-vehicle infotainment (IVI: In-Vehicle Infotainment), an ECU for a meter display unit, or the like, but is not limited thereto. Absent.

第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 unit 16B is relatively small. FIG. 2B is a diagram conceptually showing an example of the configuration of a nonvolatile memory provided in the second electronic control unit 16B. The second electronic control unit 16B is provided with, for example, only one non-volatile memory chip. A bank 52 is composed of one memory chip. Only one bank 52 is provided in the second electronic control unit 16B. Such a configuration is called a single bank. In the second electronic control unit 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. Thus, the second electronic control unit 16B does not have a storage area in which the second new version of the software can be installed in the background.

上述したように、第1の電子制御装置16Aには、第1の新版ソフトウェアがバックグラウンドでインストールされ得る格納可能領域、即ち、第2のバンク50Bが備えられている。このため、第1の電子制御装置16Aに対しては、車両10の走行中であっても第1の新版ソフトウェアのインストールが行われ得る。 As mentioned above, the first electronic control unit 16A is provided with a storage capacity or second bank 50B in which the first new version of the software can be installed in the background. Therefore, the first new version software can be installed in the first electronic control unit 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 controller 16B does not have a storage area in which the second new version of the software can be installed in the background. Therefore, the second new version software cannot be installed into the second electronic control unit 16B while the vehicle 10 is running. Therefore, the update control unit 30 installs the second new version software to the second electronic control unit 16B while the vehicle 10 is stopped. In other words, the update control unit 30 installs the second new version software to the second electronic control unit 16B when the main power of the vehicle 10 is off, that is, when the ignition switch 18 is off. run when Even when 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 in the first electronic control unit 16A even while the vehicle 10 is running. From the viewpoint of shortening the time during which the user cannot use the vehicle 10, the first electronic control unit 16A capable of installing the first new version software while the vehicle 10 is running is as follows. is preferred. That is, it is preferable to install the first new version software to the first electronic control unit 16A while the vehicle 10 is running. The update control unit 30 installs the first new version software to the first electronic control unit 16A, for example, while the vehicle 10 is running. For example, if the first bank 50A has the first old version software installed, the second bank 50B may have the first new version software installed. In this manner, the update control unit 30 updates the software for the first electronic control unit 16A so that the first old version software and the first new version software coexist on the first electronic control unit 16A. Activation of the first new version software installed in the first electronic control unit 16A is not performed while the vehicle 10 is running. Note that the installation of the first new version software to the first electronic control unit 16A may be executed while the vehicle 10 is stopped. It should be noted that activation means enabling execution of a function provided in an electronic control device or the like when the electronic control device or the like is activated for the first time or after initialization.

更新制御部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 unit 16A while 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 unit 16A when the main power source of the vehicle 10 is off, that is, when the ignition switch 18 is turned off. run when is off.

更新制御部30は、第1の新版ソフトウェアがインストールされた第1の電子制御装置16Aが、以下のように動作し得るように、第1の電子制御装置16Aに対するソフトウェアの更新を行い得る。即ち、更新制御部30は、第1の電子制御装置16Aが、第1の新版ソフトウェアの動作ロジック(ソースコード、プログラムコード、プログラムコードロジック)と、第1の旧版ソフトウェアの動作ロジックとを選択的に実行し得るように、ソフトウェアの更新を行う。 The update control unit 30 can update the software of the first electronic control unit 16A so that the first electronic control unit 16A in which the first new version software is installed can operate as follows. That is, the update control unit 30 allows the first electronic control unit 16A to selectively change 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 immediately.

上述したように、第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 this 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 unit 16A operates as follows. can. That is, the first electronic control unit 16A can selectively execute the operation logic of the first old version software, which is software before update, and the operation logic of the first new version software, which is software after update. Note that the first new version software may implement not only the operating logic of the first new version software but also the operating 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 unit 16B is completed normally, the update control unit 30 causes the first electronic control unit 16A to start executing the operation logic of the first new version software. By causing the first electronic control unit 16A to start executing the operation logic of the first new version software, it becomes possible to execute functions 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 rollback processing when the installation of the new version software to the second electronic control unit 16B is not completed normally. That is, if the installation of the new version software to the second electronic control unit 16B is not completed normally, the update control unit 30 performs processing to return the software of the second electronic control unit 16B to the state before the update. In this case, the update control unit 30 causes the first electronic control unit 16A to execute the operating logic of the first old version software. In this case, the update control unit 30 may not activate the first new version software installed in the first electronic control unit 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 unit 16B is not completed normally, the update control unit 30 performs rollback processing on the second electronic control unit 16B. That is, when the activation of the new version software for the second electronic control unit 16B is not completed normally, the update control unit 30 performs processing to return the software of the second electronic control unit 16B to the state before the update. In this case, the update control unit 30 causes the first electronic control unit 16A to execute the operating logic of the first old version software. In this case, the update control unit 30 may not activate the first new version software installed in the first electronic control unit 16A.

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

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

更新制御部30は、電子制御装置16に対する新版ソフトウェアのインストールが正常に完了せず、且つ、時間に余裕があると時間余裕判定部32が判定した場合、以下のような処理を行う。即ち、更新制御部30は、このような場合、電子制御装置16に対する新版ソフトウェアのインストールのリトライ処理を行う。 When the update control unit 30 determines that the installation of the new software to the electronic control unit 16 has not been completed normally and the time margin determination unit 32 has time to spare, the update control unit 30 performs the following processing. That is, in such a case, the update control unit 30 performs retry processing for installing the new version software to the electronic control unit 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に備えられていてもよい。 Based on the power consumption of the vehicle 10 when the software is updated and the time required to update the software of the electronic control device 16, the power consumption determination unit 33 determines the amount of power consumed when the software is updated to the electronic control device. determine the amount of power consumption in Based on the power consumption of the first electronic control unit 16A during the software update and the time required to update the software to the first electronic control unit 16A, the first electronic control unit 16A during the software update is determined. Based on the power consumption of the second electronic control unit 16B during the software update and the time required to update the software to the second electronic control unit 16B, the second electronic control unit 16B during the software update is determined. The power consumption of the first electronic control unit 16A at the time of software update is referred to as the first power consumption. The power consumption of the second electronic control unit 16B at the time of software update is referred to as the second power consumption. The amount of power consumed in updating the software for the electronic control units 16A and 16B includes the first power consumption, the second power consumption, and the power consumption of components other than these electronic control units 16A and 16B. is the sum of Components other than the electronic control units 16A and 16B may include, for example, the software update unit 12, the communication unit 14, and the like. Thus, the amount of power consumed in updating the software for the electronic control units 16A and 16B can be calculated based on the first amount of power consumption and the second amount of power consumption. Information about the power consumption of the electronic control unit 16 when the software is updated can be supplied from an external device, that is, the server 22 via the network 25 . Information about the power consumption of the vehicle 10 when software is updated may be supplied from an external device, that is, the server 22 via the network 25 . Information regarding the time required to update the software for the electronic control unit 16 can also be supplied from the server 22 via the network 25 . Here, an example in which the power consumption determination unit 33 is provided in the software update device 12 will be described, 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 is equipped with a voltage sensor (not shown), a temperature sensor (not shown), and a current sensor (not shown). Signals output from these sensors provided in the battery 20 are supplied to the software update device 12 . A power amount determination unit (remaining battery level determination unit) 34 determines the state of charge (SOC: State Of Charge) of the battery 20 based on these signals supplied from the battery 20 . That is, the power amount determination unit 34 determines the amount of power that exists in the battery 20, that is, the remaining amount of the battery. The power amount determination unit 34 can determine the amount of power present in the battery 20 based on not only these signals but also the state of deterioration of the battery 20 . Here, a case where the power amount 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 power amount 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 updatability determination unit 35 updates the software for the electronic control unit 16 based on the power consumption determined by the power consumption determination unit 33 and the power amount existing in the battery 20 provided in the vehicle 10. determine whether or not If 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, the update availability determination unit 35 updates the electronic control unit 16. It is determined that the software can be updated. The threshold may be set based on, for example, the amount of power required to restart the vehicle 10, but is not limited to this. If the battery 20 is not a certified product, the updatability determination unit 35 does not determine whether or not the software for the electronic control unit 16 can be updated based on the power amount determined by the power amount determination unit 34 . This is because if the battery 20 is not a certified product, the amount of electric power present in the battery 20 cannot necessarily be accurately determined. Here, an example in which the updatability determining unit 35 is provided in the software updating device 12 will be described, but the present invention is not limited to this. The updatability determination unit 35 may be provided in the electronic control unit 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 unit 16A is normally completed, the update control unit 30 performs shutdown processing on the first electronic control unit 16A. When the activation of the second new version software installed in the second electronic control unit 16B is normally completed, the update control unit 30 performs shutdown processing on the second electronic control unit 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 startup time determination unit 36 stores the following information in the storage unit 26 each time the vehicle 10 stops, that is, each time the main power supply of the vehicle 10 is turned off. That is, the scheduled start time determination unit 36 determines the date when the vehicle 10 was stopped, the day of the week when the vehicle 10 was stopped, the time when the vehicle 10 started to stop, the time when the stopped vehicle 10 was started, and the vehicle 10 The location where the motor stops is stored in the storage unit 26.例文帳に追加The scheduled start-up time determining unit 36 determines the scheduled start-up time of the stopped vehicle 10 based on these pieces of information. The scheduled start-up time determining unit 36 determines the scheduled start-up time of the currently stopped vehicle 10 based on, for example, the current position of the vehicle 10 and the current time. The vehicle 10 is provided with, for example, a GNSS (Global Navigation Satellite System) sensor (not shown). The scheduled activation time determination unit 36 can detect the current position of the vehicle 10 based on information supplied from the GNSS sensor. For example, if the current position of the vehicle 10 is within the premises of the house and the current time is, for example, 21:00, the scheduled start time determining unit 36 determines that the vehicle 10 will be started at, for example, 7:00 the next morning. can. Note that the scheduled start-up time determining unit 36 may be realized using artificial intelligence (AI) technology.

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

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

図3は、本実施形態によるソフトウェア更新装置の動作の例を示すフローチャートである。 FIG. 3 is a flow chart showing an example of the operation of the software update device according to this 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 determining 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 unit 16. . In other words, based on these, the power consumption determining unit 33 determines the power consumption when the software for the electronic control unit 16 is updated. As described above, information on the power consumption of the electronic control unit 16 when software is updated can be supplied from an external device, ie, the server 22 via the network 25, for example. Further, as described above, the information regarding the power consumption of the vehicle 10 when the software is updated may be supplied from the external device, that is, the server 22 via the network 25, for example. Also, as described above, information regarding the time required to update the software for the electronic control unit 16 can be supplied from the server 22 via the network 25, for example. Note that the power consumption determination unit 33 further determines the amount of power consumed when updating the software for the electronic control unit 16 based on the amount of power required for the rollback process that can be performed when the software update is not completed normally. You may make it determine an electric power amount. Further, the power consumption determining unit 33 may determine the power consumption when updating the software for the electronic control unit 16 further 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 S<b>2 , the update possibility determination unit 35 updates the electronic control unit 16 based on the power consumption determined by the power consumption determination unit 33 and the power amount existing in the battery 20 provided in the vehicle 10 . Determines whether software can be updated for As described above, if the value obtained by subtracting the power consumption determined by the power consumption determination unit 33 from the power amount present in the battery 20 is equal to or greater than the threshold, Determine as follows. That is, in such a case, the updatability determination unit 35 determines that the software for the electronic control unit 16 can be updated. When the updatability determining unit 35 determines that the software update to the electronic control unit 16 is possible (YES in step S2), the process proceeds to step S3. If the updatability determination unit 35 determines that the software update to the electronic control unit 16 is not possible (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 to agree to update the software. Step S3 is executed while the main power source of vehicle 10 is on. For example, the user can indicate whether or not to agree to update the software by operating a touch panel provided on the display unit 21 . 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 section 30 installs the first new version software in the first electronic control unit 16A in the background. After that, the process transitions 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 supply of the vehicle 10 is turned off. That is, the update control unit 30 determines whether or not the ignition switch 18 is turned off. When the main power supply of vehicle 10 is turned off (YES in step S5), the process proceeds to step S6. If the main power supply of 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 unit 16A. After that, the process transitions to step S7.

ステップS7において、更新制御部30は、第2の電子制御装置16Bに第2の新版ソフトウェアをインストールする。この後、ステップS8に遷移する。 In step S7, the update control section 30 installs the second new version software in the second electronic control unit 16B. After that, the process transitions 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 unit 16B. Thus, the processing shown in FIG. 3 is completed.

図4は、本実施形態によるソフトウェア更新装置の動作の例を示すフローチャートである。図4に示す処理は、図3に示す処理が完了した後に実行され得る。 FIG. 4 is a flow chart showing an example of the operation of the software updating device according to this embodiment. The process shown in FIG. 4 may be performed 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 source of the vehicle 10 is turned on. When the main power supply of vehicle 10 is turned on (YES in step S11), the process proceeds to step S12. If the main power supply of 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 unit 16A and the second electronic control unit 16B to start cooperative operation. The first electronic control unit 16A executes the operating logic of the first new version of the software, and the second electronic control unit 16B executes the operating logic of the second new version of the software. Thus, the processing 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 updating device according to this 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 timing t1, installation of the first new version software to the first electronic control unit 16A is started. At timing t1, the ignition switch 18 is turned on and the vehicle 10 is running. In this manner, the installation of the first new version software is performed on the first electronic control unit 16A while the ignition switch 18 is on. That is, while the vehicle 10 is running, the first new version software is installed to the first electronic control unit 16A. At this time, the installation of the second new version software is not performed on the second electronic control unit 16B.

タイミングt2において、イグニッションスイッチ18がオフとなる。即ち、タイミングt2において、車両10が停止中となる。イグニッションスイッチ18がオフになると、第1の電子制御装置16Aにインストールされた第1の新版ソフトウェアのアクティベーションが開始される。 At timing t2, the ignition switch 18 is turned off. That is, at timing t2, the vehicle 10 is stopped. When the ignition switch 18 is turned off, activation of the first new version software installed in the first electronic control unit 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 unit 16A is completed. Although the first electronic controller 16A has the first new software installed, the first electronic controller 16A may still execute the operating logic of the first old software (temporary NEW). When the activation of the first new version software installed in the first electronic control unit 16A is normally completed, the update control unit 30 performs shutdown processing on the first electronic control unit 16A. Also, when the activation of the first new version software installed in the first electronic control unit 16A is normally completed, installation of the second new version software in the second electronic control unit 16B is started.

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

タイミングt5において、第2の電子制御装置16Bにインストールされた第2の新版ソフトウェアのアクティベーションが完了する。第2の電子制御装置16Bにインストールされた第2の新版ソフトウェアのアクティベーションが正常に完了すると、更新制御部30は、第2の電子制御装置16Bに対してシャットダウンの処理を行う。 At timing t5, activation of the second new version software installed in the second electronic control unit 16B is completed. When the activation of the second new version software installed in the second electronic control unit 16B is normally completed, the update control unit 30 performs shutdown processing on the second electronic control unit 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 timing t6, the ignition switch 18 is turned on. After timing t6, the first electronic control unit 16A executes the operation logic of the first new version software (NEW). After timing t6, the second electronic control unit 16B operates based on the second new version software (NEW). After timing t6, the first electronic control unit 16A executes the operation logic of the first new version software, so that the first electronic control unit 16A and the second electronic control unit 16B can perform coordinated operations. By causing the first electronic control unit 16A to start executing the operation logic of the first new version software, it becomes possible to execute functions that could not be realized by the operation logic of the first old version software. For example, before timing t6, the operating logic of the first old version software is executed. Therefore, the screen for the user to select a predetermined function newly executable by the first new version software is not displayed on the display unit 21 before timing t6. After timing t6, a screen may be displayed on the display unit 21 for the user to select a predetermined function newly executable by the first new version software.

図6は、本実施形態によるソフトウェア更新装置の動作の例を示すフローチャートである。図6に示す処理は、ソフトウェアの更新が行われた後に実行され得る。 FIG. 6 is a flow chart showing an example of the operation of the software updating device according to this embodiment. The process shown in FIG. 6 can be performed after the software is 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. If the software update is normally completed (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 update of the software by the second new version software is not performed normally in the second electronic control unit 16B, the software of the second electronic control unit 16B is returned to the state before the update. Thus, the processing shown in FIG. 6 is completed.

図7は、本実施形態によるソフトウェア更新装置の動作の例を示すフローチャートである。図7に示す処理は、ソフトウェアの更新が行われた後に実行され得る。 FIG. 7 is a flow chart showing an example of the operation of the software updating device according to this embodiment. The process shown in FIG. 7 can be performed after the software is 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. If the software update is normally completed (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 to retry the installation of the new version software. If there is enough 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 no time to retry the installation of 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 retry processing for installing the new version software. Thus, the processing shown in FIG. 7 is completed.

図8は、本実施形態によるソフトウェア更新装置の動作の例を示すフローチャートである。図8に示す処理は、第1の電子制御装置16Aに対する第1の新版ソフトウェアのアクティベーションが完了した後に実行され得る。 FIG. 8 is a flow chart showing an example of the operation of the software update device according to this embodiment. The process shown in FIG. 8 can be executed 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 unit 16A has been completed normally. If the activation of the first new version software for the first electronic control unit 16A is normally completed (YES in step S41), the process proceeds to step S42. If the activation of the first new version software for first electronic control unit 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 shutdown processing on the first electronic control unit 16A. Thus, the processing shown in FIG. 8 is completed.

図9は、本実施形態によるソフトウェア更新装置の動作の例を示すフローチャートである。図9に示す処理は、第2の電子制御装置16Bに対するアクティベーションが完了した後に実行され得る。 FIG. 9 is a flow chart showing an example of the operation of the software updating device according to this embodiment. The process shown in FIG. 9 can be performed after the activation for the second electronic control unit 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 activation of the second new software for the second electronic control unit 16B has been completed normally. If the activation of the second new version software for the second electronic control unit 16B is normally completed (YES in step S51), the process proceeds to step S52. If activation of the second new version software for second electronic control unit 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 shutdown processing on the second electronic control unit 16B. Thus, the processing shown in FIG. 9 is completed.

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

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

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

このように、本実施形態によれば、ソフトウェアの更新が行われる際における車両10の消費電力と、電子制御装置16に対するソフトウェアの更新に要する時間とに基づいて、ソフトウェアの更新が行われる際における消費電力量が判定される。そして、ソフトウェアの更新が行われる際における消費電力量と、車両10に備えられたバッテリ20に存在している電力量とに基づいて、ソフトウェアの更新の可否が判定される。従って、本実施形態によれば、ソフトウェアの更新の可否を高精度に判定することができる。このため、本実施形態によれば、ソフトウェアの更新の実行率を増加させることが可能となる。 As described above, according to the present embodiment, 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 unit 16, Power consumption is determined. Then, based on the amount of power consumed when the software is updated and the amount of power present in the battery 20 provided in the vehicle 10, it is determined whether the software can be updated. Therefore, according to the present embodiment, it is possible to determine with high accuracy whether the software can be updated. Therefore, according to this 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 are possible without departing from the gist of the present invention.

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

ソフトウェア更新装置(12)は、ネットワーク(25)を介して供給される新版ソフトウェアを取得する取得部(28)と、前記取得部によって取得される前記新版ソフトウェアを用いて、車両(10)に搭載された電子制御装置(16A、16B)に対してソフトウェア更新を行う更新制御部(30)と、前記ソフトウェア更新が行われる際における前記車両の消費電力と、前記電子制御装置に対する前記ソフトウェア更新に要する時間とに基づいて、前記電子制御装置に対する前記ソフトウェア更新が行われる際における消費電力量を判定する消費電力量判定部(33)と、前記消費電力量判定部によって判定された前記消費電力量と、前記車両に備えられたバッテリ(20)に存在している電力量とに基づいて、前記電子制御装置に対する前記ソフトウェア更新の可否を判定する更新可否判定部(35)とを備え、前記更新制御部は、前記電子制御装置に対する前記ソフトウェア更新が可能であると前記更新可否判定部が判定した場合に、前記電子制御装置に対する前記ソフトウェア更新を実行する。このような構成によれば、ソフトウェアの更新が行われる際における車両の消費電力と、電子制御装置に対するソフトウェアの更新に要する時間とに基づいて、ソフトウェアの更新が行われる際における消費電力量が判定される。そして、ソフトウェアの更新が行われる際における消費電力量と、バッテリに存在している電力量とに基づいて、ソフトウェアの更新の可否が判定される。このような構成によれば、ソフトウェアの更新が行われる際における消費電力量と、バッテリに存在している電力量との差を高精度に判定し得るため、ソフトウェアの更新の可否を判定する際に、十分なマージンを考慮することを要しない。このため、このような構成によれば、ソフトウェアの更新の実行率を増加させることが可能となる。 A software update device (12) is installed in a vehicle (10) using an acquisition unit (28) for acquiring new version software supplied via a network (25), and the new version software acquired by the acquisition unit. an update control unit (30) that performs software update for the electronic control units (16A, 16B) that have been updated; power consumption of the vehicle when the software update is performed; a power consumption determination unit (33) for determining 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. and an update possibility determination unit (35) for determining whether or not the software update for the electronic control device is possible based on the amount of electric power existing in the battery (20) provided in the vehicle, and the update control The unit executes the software update for the electronic control device when the update availability determination unit determines that the software update for the electronic control device is possible. According to such a configuration, the amount of 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 to update the software for the electronic control unit. be done. Then, whether or not to update the software is determined based on the amount of power consumed when the software is updated and the amount of power remaining in the battery. According to such a configuration, the difference between the amount of power consumed when the software is updated and the amount of power present in the battery can be determined with high accuracy. does not require consideration of sufficient margins. 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 about the power consumption of the vehicle when the software is updated and the information about the time required for the software update for the electronic control unit is transmitted to an external device (22) via the network; may be supplied from

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

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

前記電子制御装置に対する前記新版ソフトウェアのインストール、又は、前記電子制御装置にインストールされた前記新版ソフトウェアのアクティベーションが正常に完了しない場合、前記更新制御部は、前記電子制御装置に対してロールバック処理を実行するようにしてもよい。このような構成によれば、第2の電子制御装置に対する第2の新版ソフトウェアのインストール又はアクティベーションを正常に行い得ない場合に、第2の電子制御装置のソフトウェアを更新前の状態に戻すことができる。 When 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, when 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 can be restored to the state before the update. can be done.

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

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

複数の前記電子制御装置のうちの第1の電子制御装置には、前記第1の電子制御装置にインストールされた第1の旧版ソフトウェアを更新するための第1の新版ソフトウェアがバックグラウンドでインストールされ得る格納可能領域が備えられており、前記更新制御部は、前記第1の電子制御装置に対する前記第1の新版ソフトウェアのインストールを、前記車両の走行中に実行するようにしてもよい。このような構成によれば、バッテリに存在している電力が必ずしも十分に大きくない場合であっても、ソフトウェアの更新を実行することが可能となる。 First new version software for updating first old version software installed in the first electronic control unit is installed in the background in a first electronic control unit among the plurality of electronic control units. The update control unit may install the first new version software to the first electronic control unit while the vehicle is running. Such a configuration allows software updates to be performed even if the power present 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の電子制御装置とを協調動作させることができる。 First new version software for updating first old version software installed in the first electronic control unit is installed in the background in a first electronic control unit among the plurality of electronic control units. and the update control unit controls the operation logic of the first new version software and the operation logic of the first old version of the first electronic control unit after the software update. The software update to the first electronic control unit may be performed so as to enable selective execution of software operating logic. According to such a configuration, the software is configured so that the first electronic control unit can selectively execute the operation logic of the first new version software and the operation logic of the first old version software. Updates are made. According to such a configuration, when the first electronic control unit in which the first new version software is installed and the second electronic control unit in which the second new version software is installed cannot cooperate well. , can be That is, in such a case, the update control unit restores the software of the second electronic control unit to the state before the update, and causes the first electronic control unit to execute the operation logic of the first old version software. By doing so, according to such a configuration, although the first new version software is installed in the first electronic control device, the first electronic control device and the software are in the pre-update state. can cooperate with the second electronic control unit that has been returned to the

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

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

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

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

前記バッテリに存在している前記電力量を判定する電力量判定部(34)を更に有するようにしてもよい。 A power amount determining section (34) for determining the amount of power present in the battery may be further provided.

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

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

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

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

ソフトウェア更新方法は、ネットワークを介して供給される新版ソフトウェアを用いて、車両に備えられた電子制御装置に対してソフトウェア更新を実行するソフトウェア更新方法であって、前記ソフトウェア更新を実行する際における前記車両の消費電力と、前記電子制御装置に対する前記ソフトウェア更新に要する時間とに基づいて、前記電子制御装置に対する前記ソフトウェア更新が行われる際における消費電力量を判定するステップ(S1)と、前記消費電力量を判定するステップにおいて判定された前記消費電力量と、前記車両に備えられたバッテリに存在している電力量とに基づいて、前記電子制御装置に対する前記ソフトウェア更新の可否を判定するステップ(S2)とを有する。 A software update method is a software update method for executing software update for an electronic control device provided in a vehicle using new version software supplied via a network, a step (S1) of determining power consumption when the software update to the electronic control device is performed based on the power consumption of the vehicle and the time required for the software update to the electronic control device; A step (S2 ) 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…バンク
DESCRIPTION OF SYMBOLS 10... Vehicle 11... Software update system 12... Software update apparatus 14, 40... Communication part 16A, 16B... Electronic control unit 18... Ignition switch 20... Battery 21... Display part 22... Server 24... Calculation part 25... Network 26... Storage Unit 28 Acquisition unit 30 Update control unit 32 Time margin determination unit 33 Power consumption determination unit 34 Power amount determination unit 35 Updatability determination unit 36 Scheduled startup time determination unit 38 Database 50A First Bank 50B... Second bank 52... Bank

Claims (20)

ネットワークを介して供給される新版ソフトウェアを取得する取得部と、
前記取得部によって取得される前記新版ソフトウェアを用いて、車両に搭載された電子制御装置に対してソフトウェア更新を行う更新制御部と
記電子制御装置に対する前記ソフトウェア更新が行われる際における消費電力量を判定する消費電力量判定部と、
前記消費電力量判定部によって判定された前記消費電力量と、前記車両に備えられたバッテリに存在している電力量とに基づいて、前記電子制御装置に対する前記ソフトウェア更新の可否を判定する更新可否判定部とを備え、
前記更新制御部は、前記電子制御装置に対する前記ソフトウェア更新が可能であると前記更新可否判定部が判定した場合に、前記車両のイグニッションスイッチがオフの期間に、前記電子制御装置に対する前記ソフトウェア更新の少なくとも一部を実行し、
複数の前記電子制御装置のうちの第1の電子制御装置には、前記第1の電子制御装置にインストールされた第1の旧版ソフトウェアを更新するための第1の新版ソフトウェアがバックグラウンドでインストールされ得る格納可能領域が備えられており、
前記更新制御部は、前記第1の電子制御装置の前記格納可能領域への前記第1の新版ソフトウェアのインストールを、前記第1の電子制御装置と協調動作する第2の電子制御装置に対する第2の新版ソフトウェアのインストールに先立って、前記イグニッションスイッチがオンの際に行い、前記イグニッションスイッチがオフとなり、且つ、前記第2の電子制御装置に対する前記ソフトウェア更新が正常に完了した場合に、前記第1の新版ソフトウェアの動作ロジックの実行を前記第1の電子制御装置に開始させる、ソフトウェア更新装置。
an acquisition unit for acquiring new version software supplied via a network;
an update control unit that uses the new version software acquired by the acquisition unit to update the software of an electronic control device mounted on a vehicle ;
a power consumption determination unit that determines power consumption when the software update for the electronic control device is performed;
determining whether or not to update the software for the electronic control unit based on the power consumption determined by the power consumption determination unit and the power amount existing in the battery provided in the vehicle; and a determination unit,
The update control unit is configured to update the software to the electronic control device while the ignition switch of the vehicle is off when the update availability determination unit determines that the software update to the electronic control device is possible . run at least part of
First new version software for updating first old version software installed in the first electronic control unit is installed in the background in a first electronic control unit among the plurality of electronic control units. It is equipped with a storage area that can be obtained,
The update control unit installs the first new version software in the storable area of the first electronic control device in a second electronic control device for a second electronic control device that cooperates with the first electronic control device. prior to the installation of the new version software of the first a software updater that causes the first electronic controller to initiate execution of operating logic of the new version of the software .
請求項1に記載のソフトウェア更新装置において、
前記更新制御部は、前記車両に備えられている、ソフトウェア更新装置。
The software update device according to claim 1,
A software update device, wherein the update control unit is provided in the vehicle.
請求項1又は2に記載のソフトウェア更新装置において、
時間に余裕があるか否かを判定する時間余裕判定部を更に有し、
前記電子制御装置に対する前記新版ソフトウェアのインストールが正常に完了せず、且つ、時間に余裕があると前記時間余裕判定部が判定した場合、前記更新制御部は、前記電子制御装置に対する前記新版ソフトウェアのインストールのリトライ処理を実行する、ソフトウェア更新装置。
The software update device according to claim 1 or 2 ,
It further has a time margin determination unit that determines whether there is time to spare,
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 to spare, the update control unit installs the new version software on the electronic control device. A software update device that executes installation retry processing.
請求項1~のいずれか1項に記載のソフトウェア更新装置において、
前記電子制御装置に対する前記新版ソフトウェアのインストール、又は、前記電子制御装置にインストールされた前記新版ソフトウェアのアクティベーションが正常に完了しない場合、前記更新制御部は、前記電子制御装置に対してロールバック処理を実行する、ソフトウェア更新装置。
In the software update device according to any one of claims 1 to 3 ,
When 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 executes
請求項1~のいずれか1項に記載のソフトウェア更新装置において、
前記更新制御部は、前記電子制御装置に対する前記ソフトウェア更新を実行する際、前記車両に備えられた表示部における画面表示を一時的に中断する、ソフトウェア更新装置。
In the software update device according to any one of claims 1 to 4 ,
The software update device, wherein the update control unit temporarily suspends screen display on a display unit provided in the vehicle when executing the software update for the electronic control unit.
請求項1~のいずれか1項に記載のソフトウェア更新装置において、
前記電子制御装置に対する前記ソフトウェア更新が正常に完了した場合、前記更新制御部は、前記電子制御装置に対してシャットダウンの処理を実行する、ソフトウェア更新装置。
In the software update device according to any one of claims 1 to 5 ,
The software update device, wherein, when the software update for the electronic control device is normally completed, the update control unit performs shutdown processing for the electronic control device.
請求項1又は2に記載のソフトウェア更新装置において
記更新制御部は、前記第1の電子制御装置に対する前記第1の新版ソフトウェアのインストールを、前記車両の走行中に実行する、ソフトウェア更新装置。
The software update device according to claim 1 or 2 ,
The software update device, wherein the update control unit installs the first new version software to the first electronic control device while the vehicle is running.
請求項1又は2に記載のソフトウェア更新装置において
記更新制御部は、前記ソフトウェア更新が行われた後の前記第1の電子制御装置が、前記第1の新版ソフトウェアの動作ロジックと、前記第1の旧版ソフトウェアの動作ロジックとを選択的に実行することが可能となるように、前記第1の電子制御装置に対する前記ソフトウェア更新を実行する、ソフトウェア更新装置。
The software update device according to claim 1 or 2 ,
The update control unit causes the first electronic control unit after the software update to selectively switch between the operation logic of the first new version software and the operation logic of the first old version software. A software updater for performing said software update to said first electronic controller so that it can be performed.
請求項1又は2に記載のソフトウェア更新装置において
記第1の新版ソフトウェアの動作ロジックの実行を前記第1の電子制御装置に開始させると、前記第1の旧版ソフトウェアの動作ロジックでは実現し得なかった機能の実行が可能となる、ソフトウェア更新装置。
The software update device according to claim 1 or 2 ,
A software update that enables execution of a function that could not be realized by the operation logic of the first old version software by causing the first electronic control unit to start executing the operation logic of the first new version software. Device.
請求項1~のいずれか1項に記載のソフトウェア更新装置において、
前記車両が起動される予定の時刻である起動予定時刻を判定する起動予定時刻判定部を更に有し、
前記更新制御部は、前記起動予定時刻判定部によって判定された前記起動予定時刻までに前記電子制御装置に対する前記ソフトウェア更新が完了すると見込まれる場合に、前記電子制御装置に対する前記ソフトウェア更新を開始する、ソフトウェア更新装置。
In the software update device according to any one of claims 1 to 9 ,
further comprising a scheduled activation time determination unit that determines a scheduled activation time that is a scheduled activation time of the vehicle;
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 determining unit. Software update device.
請求項又はに記載のソフトウェア更新装置において、
前記第1の電子制御装置は、表示制御機能を有する電子制御装置である、ソフトウェア更新装置。
In the software update device according to claim 1 , 7 , 8 or 9 ,
The software update device, wherein the first electronic control device is an electronic control device having a display control function.
請求項1に記載のソフトウェア更新装置において、
前記第1の電子制御装置は、車載インフォテイメント用の電子制御装置である、ソフトウェア更新装置。
In the software update device according to claim 11 ,
The software update device, wherein the first electronic control device is an electronic control device for in-vehicle infotainment.
請求項1~1のいずれか1項に記載のソフトウェア更新装置において、
前記バッテリに存在している前記電力量を判定する電力量判定部を更に有する、ソフトウェア更新装置。
In the software update device according to any one of claims 1 to 12,
The software update device further comprising a power amount determination unit that determines the amount of power present in the battery.
請求項1に記載のソフトウェア更新装置において、
前記電力量判定部は、前記バッテリの劣化状態に基づいて、前記バッテリに存在している前記電力量を判定する、ソフトウェア更新装置。
In the software update device according to claim 13,
The software update device, wherein the power amount determination unit determines the power amount existing in the battery based on the state of deterioration of the battery.
請求項1又は1に記載のソフトウェア更新装置において、
前記バッテリが認定品でない場合、前記更新可否判定部は、前記電子制御装置に対する前記ソフトウェア更新の可否を、前記電力量判定部によって判定された前記電力量に基づいて判定しない、ソフトウェア更新装置。
In the software update device according to claim 1-3 or 1-4 ,
The software update device, wherein if the battery is not a certified product, the updatability determination unit does not determine whether the software update for the electronic control unit is permissible based on the power amount determined by the power amount determination unit.
ネットワークを介して供給される新版ソフトウェアを取得する取得部と、
前記取得部によって取得される前記新版ソフトウェアを用いて、車両に搭載された電子制御装置に対してソフトウェア更新を実行する更新制御部と
記電子制御装置に対する前記ソフトウェア更新が行われる際における消費電力量を判定する消費電力量判定部と、
前記消費電力量判定部によって判定された前記消費電力量と、前記車両に備えられたバッテリに存在している電力量とに基づいて、前記電子制御装置に対する前記ソフトウェア更新の可否を判定する更新可否判定部とを備え、
前記更新可否判定部は、前記消費電力量判定部によって判定された前記消費電力量を、前記バッテリに存在している前記電力量から減じることにより得られる値が閾値以上である場合、前記電子制御装置に対する前記ソフトウェア更新が可能であると判定し、
前記更新制御部は、前記電子制御装置に対する前記ソフトウェア更新が可能であると前記更新可否判定部が判定した場合に、前記車両のイグニッションスイッチがオフの期間に、前記電子制御装置に対する前記ソフトウェア更新の少なくとも一部を実行し、
複数の前記電子制御装置のうちの第1の電子制御装置には、前記第1の電子制御装置にインストールされた第1の旧版ソフトウェアを更新するための第1の新版ソフトウェアがバックグラウンドでインストールされ得る格納可能領域が備えられており、
前記更新制御部は、前記第1の電子制御装置の前記格納可能領域への前記第1の新版ソフトウェアのインストールを、前記第1の電子制御装置と協調動作する第2の電子制御装置に対する第2の新版ソフトウェアのインストールに先立って、前記イグニッションスイッチがオンの際に行い、前記イグニッションスイッチがオフとなり、且つ、前記第2の電子制御装置に対する前記ソフトウェア更新が正常に完了した場合に、前記第1の新版ソフトウェアの動作ロジックの実行を前記第1の電子制御装置に開始させる、ソフトウェア更新装置。
an acquisition unit for acquiring new version software supplied via a network;
an update control unit that uses the new version of the software acquired by the acquisition unit to update the software of an electronic control unit mounted on a vehicle ;
a power consumption determination unit that determines power consumption when the software update for the electronic control device is performed;
determining whether or not to update the software for the electronic control unit based on the power consumption determined by the power consumption determination unit and the power amount existing in the battery provided in the vehicle; and a determination unit,
If the value obtained by subtracting the power consumption determined by the power consumption determination unit from the power amount existing in the battery is equal to or greater than a threshold, the update availability determination unit determines whether the electronic control determining that the software update for the device is possible;
The update control unit is configured to update the software to the electronic control device while the ignition switch of the vehicle is off when the update availability determination unit determines that the software update to the electronic control device is possible . run at least part of
First new version software for updating first old version software installed in the first electronic control unit is installed in the background in a first electronic control unit among the plurality of electronic control units. It is equipped with a storage area that can be obtained,
The update control unit installs the first new version software in the storable area of the first electronic control device in a second electronic control device for a second electronic control device that cooperates with the first electronic control device. prior to the installation of the new version software of the first a software updater that causes the first electronic controller to initiate execution of operating logic of the new version of the software .
請求項1~16のいずれか1項に記載のソフトウェア更新装置において、In the software update device according to any one of claims 1 to 16,
前記ソフトウェア更新が行われる際における前記消費電力量に関する情報は、前記ネットワークを介して外部機器から供給される、ソフトウェア更新装置。The software update device, wherein the information on the power consumption when the software is updated is supplied from an external device via the network.
請求項1~1のいずれか1項に記載のソフトウェア更新装置を備える車両。 A vehicle comprising the software update device according to any one of claims 1 to 17 . ネットワークを介して供給される新版ソフトウェアを用いて、車両に備えられた電子制御装置に対してソフトウェア更新を実行するソフトウェア更新方法であって、
記電子制御装置に対する前記ソフトウェア更新が行われる際における消費電力量を判定するステップと、
前記消費電力量を判定するステップにおいて判定された前記消費電力量と、前記車両に備えられたバッテリに存在している電力量とに基づいて、前記電子制御装置に対する前記ソフトウェア更新の可否を判定するステップと
前記電子制御装置に対する前記ソフトウェア更新が可能であると判定された場合に、前記車両のイグニッションスイッチがオフの期間に、前記電子制御装置に対する前記ソフトウェア更新の少なくとも一部を実行するステップと
を有し、
複数の前記電子制御装置のうちの第1の電子制御装置には、前記第1の電子制御装置にインストールされた第1の旧版ソフトウェアを更新するための第1の新版ソフトウェアがバックグラウンドでインストールされ得る格納可能領域が備えられており、
前記第1の電子制御装置の前記格納可能領域への前記第1の新版ソフトウェアのインストールを、前記第1の電子制御装置と協調動作する第2の電子制御装置に対する第2の新版ソフトウェアのインストールに先立って、前記イグニッションスイッチがオンの際に行い、前記イグニッションスイッチがオフとなり、且つ、前記第2の電子制御装置に対する前記ソフトウェア更新が正常に完了した場合に、前記第1の新版ソフトウェアの動作ロジックの実行を前記第1の電子制御装置に開始させる、ソフトウェア更新方法。
A software update method for updating an electronic control device installed in a vehicle using new version software supplied via a network,
determining power consumption when the software update for the electronic control unit is performed;
Determining whether or not to update the software for the electronic control unit based on the amount of power consumption determined in the step of determining the amount of power consumption and the amount of power present in a battery provided in the vehicle. a step ;
executing at least part of the software update for the electronic control device while the ignition switch of the vehicle is off when it is determined that the software update for the electronic control device is possible;
has
First new version software for updating first old version software installed in the first electronic control unit is installed in the background in a first electronic control unit among the plurality of electronic control units. It is equipped with a storage area that can be obtained,
The installation of the first new version software into the storable area of the first electronic control unit is equivalent to the installation of the second new version software into the second electronic control unit that cooperates with the first electronic control unit. Prior to this, when the ignition switch is turned on, and when the ignition switch is turned off and the software update for the second electronic control unit is normally completed, the operation logic of the first new version software A software update method, comprising: causing the first electronic control unit to start executing
請求項19に記載のソフトウェア更新方法において、The software update method according to claim 19,
前記ソフトウェア更新が行われる際における前記消費電力量に関する情報が、前記ネットワークを介して外部機器から供給されるステップを更に有する、ソフトウェア更新方法。The software update method, further comprising the step of supplying information about the power consumption when the software is updated from an external device via the network.
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 JP2022008356A (en) 2022-01-13
JP2022008356A5 JP2022008356A5 (en) 2022-03-02
JP7212736B2 true 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
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
JP2018037022A5 (en) 2016-09-02 2019-01-24

Family Cites Families (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP6658409B2 (en) * 2016-09-02 2020-03-04 株式会社オートネットワーク技術研究所 In-vehicle update system, in-vehicle update device, and communication device 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
JP2018037022A5 (en) 2016-09-02 2019-01-24
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
JP2022008356A (en) 2022-01-13

Similar Documents

Publication Publication Date Title
CN111614710B (en) Software updating device, vehicle, and software updating method
CN113490911B (en) Software updating device, vehicle, and software updating method
US11099830B2 (en) Software updating apparatus, vehicle, and software updating method
JPWO2019207729A1 (en) Industrial computer, industrial computer system, operating system updating method and program
JP7212736B2 (en) SOFTWARE UPDATE DEVICE, VEHICLE AND SOFTWARE UPDATE METHOD
US20220066768A1 (en) Software update device, update control method, and non-transitory storage medium
JP2006011647A (en) Software management device
JP7061724B2 (en) Software update device, vehicle and software update method
EP3945417B1 (en) Software update device, update control method, non-transitory storage medium, and server
JP5084853B2 (en) Firmware update device, communication device, electronic device, firmware update system, firmware update method, and program
JP5418348B2 (en) Information processing apparatus and karaoke apparatus
JP6457756B2 (en) Information processing apparatus, control method thereof, and program
US20220342653A1 (en) Ota master, center, system, update method, non-transitory storage medium, and vehicle
US20220391193A1 (en) Ota master, system, method, non-transitory storage medium, and vehicle
JP2004272629A (en) Device for programmable controller, and programmable updating method and program starting method for the same
JP2023087366A (en) Control device and management method
JP2020052960A (en) Vehicle control device and vehicle control method
JP2006202053A (en) Electronic equipment
CN113961214A (en) Software updating device, updating control method, non-temporary storage medium, server, OTA host and center
JPH05204654A (en) Start-up program updating system for cpu incorrorating device

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