JP2018202940A - Software update system - Google Patents
Software update system Download PDFInfo
- Publication number
- JP2018202940A JP2018202940A JP2017108310A JP2017108310A JP2018202940A JP 2018202940 A JP2018202940 A JP 2018202940A JP 2017108310 A JP2017108310 A JP 2017108310A JP 2017108310 A JP2017108310 A JP 2017108310A JP 2018202940 A JP2018202940 A JP 2018202940A
- Authority
- JP
- Japan
- Prior art keywords
- update
- data frame
- ecu
- software
- unit
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Pending
Links
Images
Abstract
Description
本発明は、車載装置のソフトウェアの更新を実行するソフトウェア更新システムに関する。 The present invention relates to a software update system for executing software update of an in-vehicle device.
従来から、無線通信により車両の外部から送信された更新ソフトウェアを、車両が受信して、車載装置のECUのソフトウェアを更新するソフトウェア更新システムが開発されている。ソフトウェア更新システムとしては、例えば特開2010−167997号公報に記載されている。このソフトウェア更新システムでは、イグニッションがオンである際に、無線により車両の更新管理装置が更新ソフトウェアを受信し、更新ソフトウェアがメモリに保存される。そして、更新対象のECUに対して、更新ソフトウェアがある旨が通知され、更新対象のECUは、イグニッションによるパワーダウンシーケンスをマスクする。そして、イグニッションがオフになると、更新対象外のECUはスリープ状態に移行し、マスクにより起動状態が維持された更新対象のECUにおいて、ソフトウェアの更新が実施される。これにより、更新時の車両の消費電力を低減させることができる。 2. Description of the Related Art Conventionally, a software update system has been developed in which a vehicle receives update software transmitted from the outside of the vehicle by wireless communication and updates ECU software of the in-vehicle device. A software update system is described in, for example, Japanese Patent Application Laid-Open No. 2010-167997. In this software update system, when the ignition is on, the vehicle update management device receives the update software wirelessly, and the update software is stored in the memory. Then, the update target ECU is notified that there is update software, and the update target ECU masks the power-down sequence due to the ignition. When the ignition is turned off, the ECU that is not the update target shifts to the sleep state, and the software update is performed in the update target ECU that is maintained in the activated state by the mask. Thereby, the power consumption of the vehicle at the time of update can be reduced.
しかしながら、上記ソフトウェア更新システムには消費電力の観点から改善の余地がある。更新管理装置と更新対象のECUとの間でソフトウェアの更新(例えば更新管理装置から更新対象のECUへの更新ソフトウェアの送信)が実行されている間、例えばCAN通信等の車内通信が使用されている。ECUに車内通信の開始を検知してウェイクアップする機能が搭載されている場合、当該車内通信にて更新対象外のECUも通信パルスを受信し、それにより更新対象外のECUも起動する可能性がある。更新時に更新対象外のECUが起動してしまうと、その分だけ消費電力が大きくなってしまう。 However, the software update system has room for improvement from the viewpoint of power consumption. While software update (for example, transmission of update software from the update management apparatus to the update target ECU) is being executed between the update management apparatus and the update target ECU, for example, in-vehicle communication such as CAN communication is used. Yes. If the ECU is equipped with a function to detect the start of in-vehicle communication and wake up, the ECU that is not subject to update may also receive a communication pulse in the in-vehicle communication, thereby starting the ECU that is not subject to update There is. If an ECU that is not an update target is activated at the time of updating, the power consumption increases accordingly.
本発明は、このような事情に鑑みて為されたものであり、ソフトウェア更新時の消費電力の増大を抑制することができるソフトウェア更新システムを提供することを目的とする。 The present invention has been made in view of such circumstances, and an object thereof is to provide a software update system capable of suppressing an increase in power consumption during software update.
本発明のソフトウェア更新システムは、複数の車載装置のソフトウェアの更新を実行する、車両に搭載されたソフトウェア更新システムであって、前記車両の外部から無線により送信された更新ソフトウェアを受信する更新管理装置と、前記更新管理装置に通信可能に接続された、それぞれ異なる前記車載装置を制御する複数のECUと、を備え、前記複数のECUは、それぞれ、所定のデータフレームを記憶する記憶部と、信号を受信した場合に前記信号が前記記憶部に記憶された前記所定のデータフレームに適合するか否かを判定するデータフレーム判定部と、を備え、前記データフレーム判定部は、自身の前記ECUの他の機能がスリープ状態である場合において、前記信号が前記記憶部に記憶された前記所定のデータフレームに適合するか否かを判定する判定部と、前記判定部にて適合すると判定した場合、前記他の機能の少なくとも一部の機能について前記スリープ状態を解除して起動させる解除部と、前記判定部にて適合しないと判定した場合、前記スリープ状態を維持する維持部と、を備える。 The software update system of the present invention is a software update system installed in a vehicle that executes software update of a plurality of in-vehicle devices, and receives an update software transmitted from the outside of the vehicle by radio. And a plurality of ECUs connected to the update management device so as to be communicable and controlling the different on-vehicle devices, each of the plurality of ECUs storing a predetermined data frame, and a signal A data frame determination unit that determines whether or not the signal matches the predetermined data frame stored in the storage unit, and the data frame determination unit When other functions are in a sleep state, the signal conforms to the predetermined data frame stored in the storage unit A determination unit that determines whether or not the determination unit is compatible, a cancellation unit that cancels the sleep state and activates at least a part of the other functions, and the determination unit And a maintenance unit that maintains the sleep state when it is determined that they are not suitable.
本発明によれば、各ECUにおいてデータフレーム判定部を機能させておくことで、更新対象外のECUが信号を受信した場合でも他の機能を起動させることなく、更新対象のECUのソフトウェアを更新することができる。例えば車内通信を介して更新ソフトウェアが送受信されることに伴って各ECUに通信パルスが入力された場合でも、更新対象外で且つスリープ状態のECUは、自身の記憶部に記憶された所定のデータフレームに適合する信号を受信しない限り、他の機能を起動させずにスリープ状態を維持する。データフレーム判定部の機能は、単純なデータ配列の比較であるため、極めて小さい電力で実行させることができる。つまり、本発明によれば、小さな消費電力により、不必要なECUの起動を抑制することができ、結果として消費電力の増大を抑制することができる。 According to the present invention, by updating the data frame determination unit in each ECU, the software of the ECU to be updated can be updated without activating other functions even when the ECU not to be updated receives a signal. can do. For example, even when a communication pulse is input to each ECU as update software is transmitted / received via in-vehicle communication, the ECU that is not subject to update and is in a sleep state has predetermined data stored in its storage unit. Unless a signal suitable for the frame is received, the sleep state is maintained without activating other functions. Since the function of the data frame determination unit is a simple comparison of data arrangement, it can be executed with extremely small power. That is, according to the present invention, unnecessary activation of the ECU can be suppressed with small power consumption, and as a result, an increase in power consumption can be suppressed.
<第一実施形態>
以下、本発明の実施形態について図に基づいて説明する。第一実施形態のソフトウェア更新システム1は、複数の車載装置のソフトウェアの更新を実行する、車両に搭載されたシステムである。ソフトウェア更新システム1は、図1に示すように、更新管理装置2と、複数のスレーブECU3と、を備えている。更新管理装置2は、マスタECU21と、ゲートウェイECU22と、を備えている。マスタECU21は、例えばOTA(Over The Air) ECUであって、車両の外部から無線により送信された更新ソフトウェアを受信するECU(CPU等を備える電子制御ユニット)である。車両には、例えばサーバ等の外部装置Aから送信された更新ソフトウェアを受信するアンテナ(例えばフィルムアンテナ)Bが設置されており、マスタECU21はアンテナBから情報を受信する。マスタECU21は受信部を有するといえる。サーバ等の外部装置Aは、例えばOTAセンターに設置されている。マスタECU21は、更新ソフトウェアが自車両のスレーブECU3のソフトウェアに対応するものであるか否かを判定する。マスタECU21は、受信した更新ソフトウェアが自車両のスレーブECU3に対応する場合、当該更新ソフトウェアをゲートウェイECU22に送信する。
<First embodiment>
Hereinafter, embodiments of the present invention will be described with reference to the drawings. The software update system 1 according to the first embodiment is a system mounted on a vehicle that executes software updates of a plurality of in-vehicle devices. As shown in FIG. 1, the software update system 1 includes an
ゲートウェイECU22は、マスタECU21に通信可能に接続されたECUである。ゲートウェイECU22には、複数のスレーブECU3が通信可能に接続されている。ゲートウェイECU22は、更新ソフトウェアを保存する不揮発性メモリ221と、通知部222と、を備えている。不揮発性メモリ221は、ROMである。不揮発性メモリ221(又はその他のメモリ)には、後述するが、ゲートウェイECU22に接続されたすべてのスレーブECU3に共通する共通のデータフレームと、各スレーブECU3独自の固有のデータフレームとが、所定のデータフレームとして保存されている。
The
通知部222は、マスタECU21が更新ソフトウェアを受信した場合、例えばユーザ(運転者等)が更新を承諾すると、更新対象のスレーブECU3に更新通知信号を送信するように構成されている。更新通知信号を受信したスレーブECU3は、自身のソフトウェアが更新対象であることを認識する。通知部222の詳細については後述する。
The
複数のスレーブECU3は、ゲートウェイECU22に通信可能に接続されており、それぞれ異なる車載装置を制御するECUである。例えば、図1に示すように、第1のスレーブECU3はエンジン(ENG)を制御するECUであり、第2のスレーブECU3は変速機(T/M)を制御するECUであり、第3のスレーブECU3はブレーキ装置(ESC)を制御するECUである。また、図2に示すように、第一実施形態の各スレーブECU3は、ハード的には、MCU(マイクロコンピュータユニット)3aと、ROM3cを備える集積回路(ASIC)3bと、を備えている。MCU3aと集積回路3bとは、通信回線(ここでは、CANとシリアルケーブル)により通信可能に接続されている。
The plurality of
また、図3に示すように、各スレーブECU3は、機能又は構成として、記憶部31と、データフレーム判定部32と、ソフトウェア更新部33と、不揮発性メモリ34と、を備えている。記憶部31は、所定のデータフレームを記憶するメモリであって、第一実施形態では不揮発性メモリである。記憶部31は、ROM3cで構成されている。MCU3aは、起動時に、シリアルケーブルを介して記憶部31(すなわちROM3c)に所定のデータフレームを書き込む。MCU3aには、予め自身の所定のデータフレームが設定されている。所定のデータフレームは、自ECUがウェイクアップ要求(起動要求)を受けていることを示すデータフレームであって、予め設定されたデータ配列である。第一実施形態の所定のデータフレームの1つは、上記した共通のデータフレームである。また、共通のデータフレームの他に、各スレーブECU3に対して独自に設定された固有のデータフレームも、所定のデータフレームとしてMCU3aにより記憶部31に記憶される。なお、所定のデータフレームは、予め記憶部31に記憶されていても良い。
As shown in FIG. 3, each slave ECU 3 includes a
データフレーム判定部32は、信号を受信した場合に当該信号が記憶部31に記憶された所定のデータフレームに適合するか否かを判定するように構成されている。データフレーム判定部32は、自身のスレーブECU3の他の機能がスリープ状態である場合において、受信した信号が記憶部31に記憶された所定のデータフレームに適合することを判定した場合(すなわち肯定的な判定をした場合)、他の機能の少なくとも一部の機能についてスリープ状態を解除して起動させるように構成されている。反対に、データフレーム判定部32は、受信した信号が記憶部31に記憶された所定のデータフレームに適合しないと判定した場合(否定的な判定をした場合)、何も起動させることなく、他の機能のスリープ状態を維持するように構成されている。つまり、データフレーム判定部32は、機能として、自身のスレーブECU3の他の機能がスリープ状態である場合において、受信した信号が記憶部31に記憶された所定のデータフレームに適合するか否かを判定する判定部321と、判定部321にて適合すると判定した場合に、他の機能の少なくとも一部の機能についてスリープ状態を解除して起動させる解除部322と、判定部321にて適合しないと判定した場合に、スリープ状態を維持する維持部323と、を備えている。後述するが、スレーブECU3がスリープ状態でも、例えば車両通信の開始(信号の受信等)をトリガーにしてデータフレーム判定部32のみが起動する。
When receiving a signal, the data frame determination unit 32 is configured to determine whether or not the signal matches a predetermined data frame stored in the
第一実施形態のデータフレーム判定部32は、肯定的な判定をした場合、自身のスレーブECU3のすべての機能又は一部の機能(例えば、ソフトウェア更新に必要な機能)を起動させるように構成されている。つまり、データフレーム判定部32は、肯定的な判定をした場合に自身のスレーブECU3を起動させ、否定的な判定をした場合に自身のスレーブECU3のスリープ状態を維持するといえる。また、第一実施形態のデータフレーム判定部32は、自身のスレーブECU3がスリープ状態である場合、車内通信(CAN通信)が開始されるまでスリープ状態であり、車内通信が開始されると起動するように構成されている。スレーブECU3は、車内通信の開始を、例えば通信の1回又は複数のパルス(CAN通信におけるドミナントに相当する)入力時間によって検出することができる。
The data frame determination unit 32 of the first embodiment is configured to activate all functions or a part of functions (for example, functions necessary for software update) of its
ソフトウェア更新部33は、ソフトウェアの更新機能を有する部分であって、更新管理装置2及び/又はMCU3aの指示に応じてソフトウェアの更新を実行する。具体的に、ソフトウェア更新部33は、更新管理装置2から送信された更新ソフトウェアで、不揮発性メモリ34に保存されたソフトウェアを書き換える(上書きする)。不揮発性メモリ34は、ソフトウェアが保存されるメモリであって、記憶部31とは別のメモリでも、又は記憶部31と共通のメモリ(ROM3c)で構成されても良い。
The software update unit 33 is a part having a software update function, and executes software update in accordance with an instruction from the
また、ソフトウェア更新部33は、起動状態において通知部222から更新通知信号を受信した場合、自身へのパワーダウンシーケンスをマスクする。つまり、ソフトウェア更新部33は、更新の通知を受けた場合、イグニッションのオフによるパワーダウンシーケンス(スリープ命令)をマスク(遮断)する。これにより、マスクされた当該スレーブECU3は、イグニッションがオフされた後でもスリープ状態にならずに起動状態が維持される。上記マスクにより、バッテリZから更新対象のスレーブECU3への電力供給は継続される。
Further, when the software update unit 33 receives an update notification signal from the
ここで、更新管理装置2の通知部222についてさらに説明する。すべてのスレーブECU3が起動状態である場合(例えばイグニッションがオンされている状態)において、通知部222は、所定のデータフレームを用いることなく、更新対象のスレーブECU3に更新通知信号を送信する。この場合、各スレーブECU3はすでに起動状態であるため、各データフレーム判定部32は判定する必要がなく、その機能は実質停止している。更新通知信号を受信した更新対象のスレーブECU3のソフトウェア更新部33は、上記のとおり、パワーダウンシーケンスをマスクする。そして、イグニッションがオフされると、更新管理装置2(少なくともゲートウェイECU22)と更新対象のスレーブECU3のみが起動状態となり、更新管理装置2が更新対象のスレーブECU3に更新ソフトウェアを送信する。この際、スリープ状態である更新対象外のスレーブECU3においては、各データフレーム判定部32が通信開始を検出して起動し、受信した信号が所定のデータフレームに適合するか否かを判定する。これにより、更新対象のスレーブECU3は起動したまま維持され、更新対象外のスレーブECU3は、データフレーム判定部32により不適合と判定され、何も起動せず待機する(すなわちスリープ状態を維持する)。
Here, the
一方、複数のスレーブECU3がスリープ状態である場合、通知部222は、更新対象のスレーブECU3のみに対応する所定のデータフレーム(すなわち固有のデータフレーム)を含む更新通知信号を更新対象のスレーブECU3に送信する。例えば、すべてのスレーブECU3がスリープ状態である場合で(例えばイグニッションがオフされている状態で)、通知部222が更新対象のスレーブECU3に更新通知信号を送信する場合、更新対象のスレーブECU3に対応する固有のデータフレームを更新通知信号のヘッダとして又は更新通知信号そのものとして、更新対象のスレーブECU3に送信する。この場合、各スレーブECU3のデータフレーム判定部32は、車内通信の開始を検出して起動し、且つ受信した信号が自身の所定のデータフレームに適合しているか否かを判定する。これにより、更新対象のスレーブECU3のデータフレーム判定部32は、適合していると判定して全機能又は一部機能を起動させ、更新対象外のスレーブECU3のデータフレーム判定部32は、適合していないと判定してそのまま待機する。
On the other hand, when the plurality of
このように、スリープ状態のスレーブECU3は、受信した信号と記憶部31に記憶された所定のデータフレーム(ここでは固有のデータフレーム及び共通のデータフレームの何れか)とが適合したときのみ起動するといえる。
As described above, the
第一実施形態の更新処理の流れについて図4を参照して説明する。イグニッションがオンされると(S101)、各スレーブECU3のMCU3aが起動し、自身の記憶部31に所定のデータフレームを書き込む(S102)。そして、マスタECU21が自車両に対応する更新ソフトウェアを受信すると、当該更新ソフトウェアがゲートウェイECU22の不揮発性メモリ221に書き込まれる(S103)。また、マスタECU21は、ユーザにソフトウェアの更新の可否を確認する(S104)。例えばボタン操作や音声操作等によりユーザがソフトウェアの更新を承諾すると(S104:Yes)、ゲートウェイECU22が更新対象のスレーブECU3に更新通知信号を送信して通知する(S105)。更新を通知されたスレーブECU3のソフトウェア更新部33は、パワーダウン(スリープ状態)への移行をマスクする(S106)。
The flow of the update process of the first embodiment will be described with reference to FIG. When the ignition is turned on (S101), the
その後、イグニッションがオフされると(S107)、ゲートウェイECU22と更新対象のスレーブECU3が起動したまま維持され、他のスレーブECU3はパワーダウンシーケンスによりスリープ状態に移行する。そして、ゲートウェイECU22は、更新対象のスレーブECU3に更新ソフトウェアを送信する(S108)。更新対象のスレーブECU3のソフトウェア更新部33は、受信した更新ソフトウェアで不揮発性メモリ34に保存されたソフトウェアを書き換える(S109)。また、この際、スリープ状態のスレーブECU3では、ゲートウェイECU22のデータ送信に伴って受信した信号に対して、データフレーム判定部32による判定が行われている(S109)。更新対象外のスレーブECU3は、更新ソフトウェアのデータ配列が所定のデータフレームと適合していないと判定し、スリープ状態を維持する。そして、更新対象のスレーブECU3でのソフトウェアの更新が完了し(S110)、更新処理が終了する。更新が完了した後は、すべてのECUがスリープ状態に移行する。なお、ユーザが更新を承諾しない場合(S104:No)、次回イグニッションがオンされた際に再度ユーザに更新の可否を確認するように設定されても良い。
Thereafter, when the ignition is turned off (S107), the
第一実施形態によれば、各スレーブECU3においてデータフレーム判定部32を機能させておくことで、更新対象外のスレーブECU3が信号を受信した場合でも他の機能を起動させることなく、更新対象のスレーブECU3のソフトウェアを更新することができる。スリープ状態のスレーブECU3は、自身の所定のデータフレームに適合する信号を受信しない限り、他の機能を起動させずにスリープ状態を維持する。データフレーム判定部の機能は、単純なデータの比較であるため、極めて小さい電力で実行させることができる。つまり、第一実施形態によれば、小さな消費電力により、不必要なECUの起動を抑制することができ、結果として消費電力の増大を抑制することができる。例えば、データフレーム判定部32が起動していることによる消費電力はμAオーダーであるが、スレーブECU3全体が起動していることによる消費電力はmAオーダーとなる。
According to the first embodiment, by causing the data frame determination unit 32 to function in each
ここで、従来のシステムにおいて更新対象外のECUが起動する原因について例示する。例えば、システム中には、イグニッションがオンされる前から自ECUの安全性をセルフチェックし、即時にユーザ操作に対応することが求められているものがある。これを実現する方法として、車内通信の開始を検知してウェイクアップする機能が搭載されている場合がある。通信線はシステム中で共用しているため、更新ソフトウェアの送受信中の通信パルスが更新対象外のECUにも入力され、起動指示と誤認識してウェイクアップする可能性がある。更新に不必要なECUが起動すると、消費電力が大きくなってしまう。しかしながら、第一実施形態によれば、上記のように、不必要なスレーブECU3の起動が抑制され、消費電力の増大が抑制される。
Here, the cause of activation of an ECU that is not an update target in the conventional system will be exemplified. For example, in some systems, it is required to self-check the safety of the ECU before the ignition is turned on and respond to user operations immediately. As a method for realizing this, there is a case where a function for detecting the start of in-vehicle communication and waking up is installed. Since the communication line is shared in the system, there is a possibility that a communication pulse during transmission / reception of the update software is also input to an ECU that is not an update target, and is erroneously recognized as an activation instruction and wakes up. When an ECU unnecessary for updating is activated, the power consumption increases. However, according to the first embodiment, as described above, unnecessary activation of the
第一実施形態によれば、イグニッションがオンである際に更新通知信号が送信されてイグニッションがオフされた後にソフトウェアの更新を実行する場合でも、あるいはすべてのスレーブECU3がスリープ状態である状況で更新通知信号(固有のデータフレームを含む信号)が送信される場合でも、スリープ状態のスレーブECU3の各データフレーム判定部32により、更新対象外のスレーブECU3のスリープ状態は維持される。第一実施形態の構成では、ハード面で最低限の機能ブロックを起動させたうえで、自ECUに対してウェイクアップ要求があるか否かを判定することができる。このため、消費電力の増大はより抑制される。
According to the first embodiment, even when the update notification signal is transmitted when the ignition is on and the software is updated after the ignition is turned off, or when all the
また、第一実施形態によれば、車内通信が開始されるまでは、データフレーム判定部32もスリープ状態であるため、待機電流が下がる。つまり、車内通信開始の判定とデータフレーム適合の判定との2段階でウェイクアップを行うため、データフレーム判定部32の判定ロジックも可能な限りスリープ状態で維持され、消費電力がより低減される。 In addition, according to the first embodiment, the standby current decreases because the data frame determination unit 32 is also in the sleep state until in-vehicle communication is started. That is, since the wake-up is performed in two stages of the determination of the start of in-vehicle communication and the determination of data frame compatibility, the determination logic of the data frame determination unit 32 is also maintained in the sleep state as much as possible, and the power consumption is further reduced.
また、所定のデータフレームとして共通のデータフレームが設定されているため、例えば更新管理装置2が当該共通のデータフレームを含む信号を各スレーブECU3に送信した場合、複数のスレーブECU3(ここではゲートウェイECU22に接続されたすべてのスレーブECU3)を一度に起動させることができる。システムにおける要求への対応速度は維持される。
In addition, since a common data frame is set as the predetermined data frame, for example, when the
<第二実施形態>
第二実施形態のソフトウェア更新システムは、第一実施形態と比べて、動作電源電圧及び/又は動作クロックの点で異なっている。したがって、異なっている部分について説明する。第二実施形態の説明において、第一実施形態の説明及び図面を参照することができる。
<Second embodiment>
The software update system according to the second embodiment is different from the first embodiment in terms of operation power supply voltage and / or operation clock. Therefore, a different part is demonstrated. In the description of the second embodiment, reference can be made to the description of the first embodiment and the drawings.
第二実施形態では、図5に示すように、イグニッションがオフされた後に(S201)、更新ソフトウェアの送信の前段階として、更新対象のスレーブECU3が更新管理装置2からソフトウェアの更新の実行を要求されると(S202)、当該スレーブECU3又は更新管理装置2がバッテリZの電圧(以下「バッテリ電圧」という)を測定する(S203)。ここで、当該スレーブECU3又は更新管理装置2によりバッテリ電圧が第一閾値よりも小さいか否かが判定される(S204)。バッテリ電圧が第一閾値よりも小さい場合(S204:Yes)、当該スレーブECU3又は更新管理装置2により、動作電源電圧を下げるように電源電圧切り替え指示が電源電圧を制御可能な統合IC(例えば更新管理装置2であっても良い)に送信される(S205)。
In the second embodiment, as shown in FIG. 5, after the ignition is turned off (S201), the update
電源電圧切り替え指示が送信された後、又はバッテリ電圧が第一閾値以上である場合(S204:No)、当該スレーブECU3又は更新管理装置2によりバッテリ電圧が第二閾値よりも小さいか否かが判定される(S206)。第二閾値は、第一閾値よりも小さい値に設定されている。バッテリ電圧が第二閾値よりも小さい場合(S206:Yes)、当該スレーブECU3又は更新管理装置2により、動作クロックを下げる(クロック周波数を小さくする)ようにクロック切り替え指示が上記統合ICに送信される(S207)。クロック切り替え指示が送信された後、又はバッテリ電圧が第二閾値以上である場合(S206:No)、ソフトウェアの更新(書き換え)が実行される(S208)。結果として、ソフトウェア更新時のバッテリ電圧と動作電源電圧及び動作クロックとの関係は、図6に示すような関係となる。このように、更新管理装置2又はスレーブECUは、ソフトウェアの更新を行うにあたり、動作電源電圧を下げること及び動作クロックを下げることの少なくとも一方を実施する。
After the power supply voltage switching instruction is transmitted, or when the battery voltage is equal to or higher than the first threshold (S204: No), it is determined by the
第二実施形態によれば、更新処理時間をできるだけ犠牲にせず、且つ通信品質(耐ノイズ性)をできるだけ犠牲にせずに、ソフトウェア更新時の消費電力を低減させることができる。具体的には、動作電源電圧を下げると、耐ノイズ性が悪くなるため、バッテリ電圧が第一閾値以上である場合は、通常の電圧で動作させる。また、バッテリ電圧が第二閾値よりも小さい場合は、消費電力の低減を優先させたいため、動作クロックを下げる。また、バッテリ電圧が第二閾値以上である場合は、更新処理時間を犠牲にしたくないため、動作クロックを下げない。なお、第二実施形態では、動作電源電圧を下げたことによる周辺部品の動作異常が検出された場合でも、ソフトウェア更新時は当該異常を無視するように構成されている。また、バッテリ電圧からバッテリの劣化度合が推定でき、劣化度合に応じて動作クロックを下げることができる。
また、第二実施形態の処理において、S204とS205、又はS206とS207を省いても良い。つまり、動作クロックのみ又は動作電源電圧のみを変更対象としても良い。また、例えばS204のみを省いても良く、この場合、バッテリ電圧によらず電源電圧切り替え指示がなされ、バッテリ電圧に応じて動作クロックの変更の有無が判定される。これにより、更新処理時間をできるだけ犠牲にせずに更新時の消費電力を低減させることができる。具体的に、消費電力を極力低減させるために、更新時(書き換え時)は常に動作電源電圧を下げる。また、バッテリ電圧と第二閾値との大小関係による処理の違いは、上記したS204を省略しない場合と同様である。
According to the second embodiment, it is possible to reduce power consumption during software update without sacrificing update processing time as much as possible and without sacrificing communication quality (noise resistance) as much as possible. Specifically, when the operating power supply voltage is lowered, noise resistance deteriorates. Therefore, when the battery voltage is equal to or higher than the first threshold, the battery is operated at a normal voltage. When the battery voltage is smaller than the second threshold value, the operation clock is lowered in order to give priority to the reduction of power consumption. When the battery voltage is equal to or higher than the second threshold, the operation clock is not lowered because it is not desired to sacrifice the update processing time. In the second embodiment, even when an abnormal operation of peripheral components due to a decrease in the operating power supply voltage is detected, the abnormality is ignored when updating software. Further, the degree of battery deterioration can be estimated from the battery voltage, and the operation clock can be lowered according to the degree of deterioration.
In the process of the second embodiment, S204 and S205 or S206 and S207 may be omitted. That is, only the operation clock or the operation power supply voltage may be changed. For example, only S204 may be omitted. In this case, a power supply voltage switching instruction is issued regardless of the battery voltage, and whether or not the operation clock is changed is determined according to the battery voltage. Thereby, the power consumption at the time of update can be reduced without sacrificing the update processing time as much as possible. Specifically, in order to reduce power consumption as much as possible, the operating power supply voltage is always lowered during updating (during rewriting). Further, the difference in processing due to the magnitude relationship between the battery voltage and the second threshold is the same as in the case where S204 is not omitted.
<その他>
本発明は、上記実施形態に限られない。例えば、通知部222は、マスタECU21に設けられても良い。また、不揮発性メモリ221、記憶部31、及び不揮発性メモリ34は、フラッシュメモリであっても良い。また、データフレーム判定部32は、肯定的な判定をした場合、少なくともソフトウェア更新部33(更新機能)を起動させれば良い。また、通知部222が更新通知信号をイグニッションがオンである状態においてのみ送信するように構成されている場合、スレーブECU3を個別に起動させる必要がないため、所定のデータフレームとして共通のデータフレームのみが記憶部31に保存されても良い。更新管理装置2は、1つのECUで構成されても良い。また、記憶部31が揮発性メモリで構成されても良い。ただし、この場合、スリープ時に記憶部31の記憶を保持する電力が必要となる。
<Others>
The present invention is not limited to the above embodiment. For example, the
1…ソフトウェア更新システム、2…更新管理装置、21…マスタECU、22…ゲートウェイECU、221…不揮発性メモリ、222…通知部、3…スレーブECU、31…記憶部、32…データフレーム判定部、33…ソフトウェア更新部、34…不揮発性メモリ。 DESCRIPTION OF SYMBOLS 1 ... Software update system, 2 ... Update management apparatus, 21 ... Master ECU, 22 ... Gateway ECU, 221 ... Non-volatile memory, 222 ... Notification part, 3 ... Slave ECU, 31 ... Memory | storage part, 32 ... Data frame determination part, 33: Software update unit, 34: Non-volatile memory.
Claims (6)
前記車両の外部から無線により送信された更新ソフトウェアを受信する更新管理装置と、
前記更新管理装置に通信可能に接続された、それぞれ異なる前記車載装置を制御する複数のECUと、
を備え、
前記複数のECUは、それぞれ、所定のデータフレームを記憶する記憶部と、信号を受信した場合に前記信号が前記記憶部に記憶された前記所定のデータフレームに適合するか否かを判定するデータフレーム判定部と、を備え、
前記データフレーム判定部は、
自身の前記ECUの他の機能がスリープ状態である場合において、前記信号が前記記憶部に記憶された前記所定のデータフレームに適合するか否かを判定する判定部と、
前記判定部にて適合すると判定した場合、前記他の機能の少なくとも一部の機能について前記スリープ状態を解除して起動させる解除部と、
前記判定部にて適合しないと判定した場合、前記スリープ状態を維持する維持部と、
を備えるソフトウェア更新システム。 A software update system installed in a vehicle that executes software updates for a plurality of in-vehicle devices,
An update management device for receiving update software transmitted wirelessly from outside the vehicle;
A plurality of ECUs connected to the update management device so as to be communicable and controlling the different in-vehicle devices, and
With
Each of the plurality of ECUs stores a predetermined data frame and data for determining whether or not the signal matches the predetermined data frame stored in the storage unit when a signal is received A frame determination unit,
The data frame determination unit
A determination unit that determines whether or not the signal conforms to the predetermined data frame stored in the storage unit when another function of the ECU is in a sleep state;
If it is determined that the determination unit is suitable, a release unit that releases and activates the sleep state for at least some of the other functions;
When it is determined that the determination unit does not fit, a maintenance unit that maintains the sleep state;
A software update system comprising:
前記複数のECUは、それぞれ、前記ソフトウェアの更新機能を有するソフトウェア更新部を備え、
前記ソフトウェア更新部は、起動状態において前記通知部から前記更新通知信号を受信した場合、自身へのパワーダウンシーケンスをマスクする請求項1に記載のソフトウェア更新システム。 The update management device includes a notification unit that transmits an update notification signal to the ECU to be updated when the update software is received,
Each of the plurality of ECUs includes a software update unit having a software update function,
2. The software update system according to claim 1, wherein the software update unit masks a power-down sequence to itself when receiving the update notification signal from the notification unit in an activated state.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
JP2017108310A JP2018202940A (en) | 2017-05-31 | 2017-05-31 | Software update system |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
JP2017108310A JP2018202940A (en) | 2017-05-31 | 2017-05-31 | Software update system |
Publications (1)
Publication Number | Publication Date |
---|---|
JP2018202940A true JP2018202940A (en) | 2018-12-27 |
Family
ID=64956172
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
JP2017108310A Pending JP2018202940A (en) | 2017-05-31 | 2017-05-31 | Software update system |
Country Status (1)
Country | Link |
---|---|
JP (1) | JP2018202940A (en) |
Cited By (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN112286544A (en) * | 2019-07-24 | 2021-01-29 | 株式会社日立制作所 | Server, software update system, and software update apparatus |
Citations (8)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JP2001067232A (en) * | 1999-08-31 | 2001-03-16 | Hitachi Ltd | Distribution system and receiving terminal device for software |
JP2012065095A (en) * | 2010-09-15 | 2012-03-29 | Nippon Soken Inc | Communication system, transceiver, and node |
JP2013084143A (en) * | 2011-10-11 | 2013-05-09 | Denso Corp | On-vehicle communication device |
JP2013107453A (en) * | 2011-11-18 | 2013-06-06 | Denso Corp | Failure diagnosis system and diagnosis assist device constituting the same |
US20140109075A1 (en) * | 2012-10-17 | 2014-04-17 | Movimento Group | Module updating device |
JP2015179888A (en) * | 2014-03-18 | 2015-10-08 | 株式会社オートネットワーク技術研究所 | Communication system and repeating device |
WO2015194652A1 (en) * | 2014-06-19 | 2015-12-23 | 日立オートモティブシステムズ株式会社 | Vehicle-mounted program writing device |
WO2017056721A1 (en) * | 2015-09-29 | 2017-04-06 | 日立オートモティブシステムズ株式会社 | On-vehicle control device and on-vehicle control device information update system |
-
2017
- 2017-05-31 JP JP2017108310A patent/JP2018202940A/en active Pending
Patent Citations (8)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JP2001067232A (en) * | 1999-08-31 | 2001-03-16 | Hitachi Ltd | Distribution system and receiving terminal device for software |
JP2012065095A (en) * | 2010-09-15 | 2012-03-29 | Nippon Soken Inc | Communication system, transceiver, and node |
JP2013084143A (en) * | 2011-10-11 | 2013-05-09 | Denso Corp | On-vehicle communication device |
JP2013107453A (en) * | 2011-11-18 | 2013-06-06 | Denso Corp | Failure diagnosis system and diagnosis assist device constituting the same |
US20140109075A1 (en) * | 2012-10-17 | 2014-04-17 | Movimento Group | Module updating device |
JP2015179888A (en) * | 2014-03-18 | 2015-10-08 | 株式会社オートネットワーク技術研究所 | Communication system and repeating device |
WO2015194652A1 (en) * | 2014-06-19 | 2015-12-23 | 日立オートモティブシステムズ株式会社 | Vehicle-mounted program writing device |
WO2017056721A1 (en) * | 2015-09-29 | 2017-04-06 | 日立オートモティブシステムズ株式会社 | On-vehicle control device and on-vehicle control device information update system |
Cited By (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN112286544A (en) * | 2019-07-24 | 2021-01-29 | 株式会社日立制作所 | Server, software update system, and software update apparatus |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
JP6464901B2 (en) | In-vehicle communication system and relay device | |
US9081565B2 (en) | Communication network system for detect and wake up a network node that does not properly recognize a wake up frame | |
JP5617875B2 (en) | In-vehicle network system | |
US10850685B2 (en) | Onboard relay device, information processing method, storage medium storing program, relay device, and information processing system | |
US10880404B2 (en) | On-vehicle control device and on-vehicle control device information update system | |
US9231436B2 (en) | Vehicular power source system | |
JPWO2018185994A1 (en) | Control device, transfer method, and computer program | |
US9411609B2 (en) | Electronic control apparatus | |
JP2015179888A (en) | Communication system and repeating device | |
JP2021129245A (en) | Communication system | |
JP2018202940A (en) | Software update system | |
JP2018120438A (en) | Electronic control device and program rewriting system | |
CN111791702A (en) | Method and device for processing instrument indicator lamp, vehicle and storage medium | |
US20210253047A1 (en) | Communication device and control method | |
JP6040952B2 (en) | Communication system, electronic control device | |
JP5120720B2 (en) | Electronic control device and control method of electronic control device | |
JP2019009678A (en) | On-vehicle communication network system | |
US10693676B2 (en) | Relay device | |
JP2017144893A (en) | Vehicle communication system | |
JP5867350B2 (en) | Electronic control device for vehicle | |
WO2019155684A1 (en) | Activation control device, activation instruction device, activation control system, activation method, and computer program | |
JP6888554B2 (en) | Electronic control device | |
WO2020039739A1 (en) | Communication terminal, abnormality check method of communication terminal, and program for communication terminal | |
US11435950B2 (en) | Data rewriting method and data rewriting system | |
WO2022264762A1 (en) | Onboard device, information processing method, and program |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
A621 | Written request for application examination |
Free format text: JAPANESE INTERMEDIATE CODE: A621 Effective date: 20200408 |
|
A977 | Report on retrieval |
Free format text: JAPANESE INTERMEDIATE CODE: A971007 Effective date: 20210125 |
|
A131 | Notification of reasons for refusal |
Free format text: JAPANESE INTERMEDIATE CODE: A131 Effective date: 20210202 |
|
RD04 | Notification of resignation of power of attorney |
Free format text: JAPANESE INTERMEDIATE CODE: A7424 Effective date: 20210222 |
|
RD02 | Notification of acceptance of power of attorney |
Free format text: JAPANESE INTERMEDIATE CODE: A7422 Effective date: 20210303 |
|
A02 | Decision of refusal |
Free format text: JAPANESE INTERMEDIATE CODE: A02 Effective date: 20210803 |