Deprecated: The each() function is deprecated. This message will be suppressed on further calls in /home/zhenxiangba/zhenxiangba.com/public_html/phproxy-improved-master/index.php on line 456
JP7221604B2 - Control system and control method for control system - Google Patents
[go: Go Back, main page]

JP7221604B2 - Control system and control method for control system - Google Patents

Control system and control method for control system Download PDF

Info

Publication number
JP7221604B2
JP7221604B2 JP2018141652A JP2018141652A JP7221604B2 JP 7221604 B2 JP7221604 B2 JP 7221604B2 JP 2018141652 A JP2018141652 A JP 2018141652A JP 2018141652 A JP2018141652 A JP 2018141652A JP 7221604 B2 JP7221604 B2 JP 7221604B2
Authority
JP
Japan
Prior art keywords
ecu
reprogramming
data
control device
update
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Active
Application number
JP2018141652A
Other languages
Japanese (ja)
Other versions
JP2020017220A (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.)
Denso Ten Ltd
Original Assignee
Denso Ten Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Denso Ten Ltd filed Critical Denso Ten Ltd
Priority to JP2018141652A priority Critical patent/JP7221604B2/en
Publication of JP2020017220A publication Critical patent/JP2020017220A/en
Application granted granted Critical
Publication of JP7221604B2 publication Critical patent/JP7221604B2/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Landscapes

  • Stored Programmes (AREA)

Description

開示の実施形態は、更新制御装置、電子装置、更新システムおよび更新制御方法に関する。 The disclosed embodiments relate to update control devices, electronic devices, update systems, and update control methods.

従来、車両に搭載され、エンジンやトランスミッション、カーナビゲーションといった車両の各種システムをそれぞれ電子制御するECU(Electronic Control Unit)が知られている。かかるECUでは、たとえばマイクロコンピュータ(以下、「マイコン」と記載する)が、ECUの内部に予め記憶された制御プログラムを読み出して実行することで、各ECUに割り当てられた各種機能を実行する。 2. Description of the Related Art Conventionally, an ECU (Electronic Control Unit) is known which is mounted on a vehicle and electronically controls various systems of the vehicle such as an engine, a transmission, and a car navigation system. In such an ECU, for example, a microcomputer (hereinafter referred to as "microcomputer") reads out and executes a control program pre-stored inside the ECU, thereby executing various functions assigned to each ECU.

なお、このようなECUの制御プログラムは、機能を追加する場合や事後的に不具合が発見された場合などに、更新(リプログラミング)が必要となる場合がある。そこで、近年では、管理センタから無線通信を介して更新用データを取得するとともに、かかる更新用データをCAN(Controller Area Network)等を介して各ECUへ配信し、各ECUのリプログラミングを実行する技術が提案されている(たとえば、特許文献1参照)。 It should be noted that the control program for such an ECU may need to be updated (reprogrammed) when a function is added or when a defect is found after the fact. Therefore, in recent years, update data is acquired from a management center via wireless communication, and the update data is distributed to each ECU via a CAN (Controller Area Network) or the like to execute reprogramming of each ECU. Techniques have been proposed (see Patent Document 1, for example).

特開2012-178035号公報JP 2012-178035 A

しかしながら、上述した従来技術には、リプログラミングを実行中のECUを異常と誤検出してしまうのを防止するうえで、さらなる改善の余地がある。 However, the conventional technology described above has room for further improvement in terms of preventing erroneous detection of an abnormality in an ECU that is being reprogrammed.

具体的には、複数のECUが搭載されたシステムでは、電源スイッチ等で制御されるシステムの電源状態がオンの状態(車載ECUであれば、例えばIGスイッチがオンされた状態)では制御プログラムが通常動作してしまうため、かかる制御プログラムを書き換えるリプログラミングは、システムの電源状態がオフの状態のときに、更新対象のECUを起動状態にして実行される。 Specifically, in a system equipped with multiple ECUs, when the power supply of the system controlled by a power switch or the like is turned on (in the case of an in-vehicle ECU, for example, the IG switch is turned on), the control program Since the system operates normally, the reprogramming for rewriting the control program is executed with the ECU to be updated activated when the power supply of the system is off.

ところが、システムの電源スイッチがオフの状態で、あるECUのリプログラミングを実行中に、システムの電源スイッチがオンされてしまうことがある。かかる場合、リプログラミング対象外の他のECUは通常動作を開始するものの、リプログラミングを実行中のECUはリプログラミングを実行中のため、通常動作が不可の状態である。 However, the power switch of the system may be turned on while reprogramming an ECU while the power switch of the system is off. In such a case, other ECUs that are not to be reprogrammed start normal operation, but the ECU that is being reprogrammed is in the process of being reprogrammed, so normal operation is disabled.

すると、他のECUは、通常動作が不可の状態にあるリプログラミング中のECUとの間で、たとえば起動時に実行される異状検出処理によって通信途絶等を検出し、リプログラミング中のECUを異常と誤検出してしまうおそれがある。 Then, the other ECU detects a communication interruption or the like with the reprogramming ECU, which is in a state in which normal operation cannot be performed, by means of abnormality detection processing that is executed, for example, at the time of startup, and determines that the reprogramming ECU is abnormal. There is a risk of erroneous detection.

なお、このような課題は、ECUに限らず、リプログラミングの対象となりうる電子装置全般に共通する課題である。 Note that such a problem is not limited to the ECU, but is a problem common to all electronic devices that can be reprogrammed.

実施形態の一態様は、上記に鑑みてなされたものであって、リプログラミングを実行中の電子装置を異常と誤検出してしまうのを防止することができる更新制御装置、電子装置、更新システムおよび更新制御方法を提供することを目的とする。 An aspect of the embodiments has been made in view of the above, and includes an update control device, an electronic device, and an update system that can prevent an electronic device that is being reprogrammed from being erroneously detected as being abnormal. and to provide an update control method.

実施形態の一態様に係る制御システムは、起動に他の電子装置からのデータ受信状況に基づいて異常検出を行う複数の電子装置と、前記複数の電子装置のうち、データの書き換え対象となる対象装置へ更新用データを配信して記データ書き換えを実行させる更新制御装置とを備える制御システムであって、前記更新制御装置は、前記書き換えの実行中に記対象装置以外の電子装置への電源供給開始された場合に前記対象装置以外の電子装置にき換え行中の通知を行い、前記対象装置以外の電子装置は、前記書き換え実行中の通知を受け付けると、前記異常検出を含む通常動作の実行を待ち合わせ、その後、前記更新制御装置からの書き換えが完了した通知を受け付けると、前記通常動作を開始する A control system according to an aspect of an embodiment includes a plurality of electronic devices that perform anomaly detection based on data reception statuses from other electronic devices at startup , and data rewriting targets among the plurality of electronic devices. and an update control device that distributes update data to a target device and causes the data to be rewritten , wherein the update control device is an electronic device other than the target device during execution of the rewriting. When the power supply to the After waiting for the execution of the normal operation including the detection of the abnormality, and then receiving the notification that the rewriting is completed from the update control device, the normal operation is started.

実施形態の一態様によれば、リプログラミングを実行中の電子装置を異常と誤検出してしまうのを防止することができる。 According to one aspect of the embodiments, it is possible to prevent an electronic device that is being reprogrammed from being erroneously detected as being abnormal.

図1Aは、実施形態に係る車載システムの概要説明図である。FIG. 1A is a schematic explanatory diagram of an in-vehicle system according to an embodiment. 図1Bは、比較例に係る更新制御方法の概要説明図である。FIG. 1B is a schematic explanatory diagram of an update control method according to a comparative example. 図1Cは、実施形態に係る更新制御方法の概要説明図である。FIG. 1C is a schematic explanatory diagram of an update control method according to the embodiment. 図2は、実施形態に係る車載システムのブロック図である。FIG. 2 is a block diagram of an in-vehicle system according to the embodiment. 図3は、実施形態に係る車載システムの電源系統の構成例を示す図である。FIG. 3 is a diagram illustrating a configuration example of a power supply system of the vehicle-mounted system according to the embodiment. 図4Aは、リプロ関連データの具体例を示す図である。FIG. 4A is a diagram showing a specific example of repro-related data. 図4Bは、リプロ管理情報の具体例を示す図である。FIG. 4B is a diagram showing a specific example of repro management information. 図4Cは、ECU管理情報の具体例を示す図である。FIG. 4C is a diagram showing a specific example of ECU management information. 図5は、実施形態に係るリプロ制御装置が実行する処理手順を示すフローチャートである。FIG. 5 is a flow chart showing a processing procedure executed by the repro control device according to the embodiment.

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

また、以下では、「リプログラミング」という用語については、短縮して「リプロ」と記載する場合がある。また、以下では、「/」を「または」の意味で用いる場合がある。たとえば、「オン/オフ」と記載した場合、「オンまたはオフ」を意味する。 Also, hereinafter, the term "reprogramming" may be abbreviated as "repro". Also, hereinafter, "/" may be used to mean "or". For example, "on/off" means "on or off."

また、以下では、本実施形態に係る更新制御方法の概要について図1A~図1Cを用いて説明した後に、かかる更新制御方法を適用したリプロ制御装置10(「更新制御装置」の一例に相当)を含む車載システム1(「更新システム」の一例に相当)の具体的な構成例について、図2~図5を用いて説明することとする。 1A to 1C, an outline of the update control method according to the present embodiment will be described below, and then a repro control device 10 (corresponding to an example of an “update control device”) to which the update control method is applied. A specific configuration example of an in-vehicle system 1 (corresponding to an example of an “update system”) including the following will be described with reference to FIGS. 2 to 5. FIG.

まず、本実施形態に係る更新制御方法の概要について、図1A~図1Cを用いて説明する。図1Aは、本実施形態に係る車載システム1の概要説明図である。また、図1Bは、比較例に係る更新制御方法の概要説明図である。また、図1Cは、本実施形態に係る更新制御方法の概要説明図である。 First, an overview of the update control method according to the present embodiment will be described with reference to FIGS. 1A to 1C. FIG. 1A is a schematic explanatory diagram of an in-vehicle system 1 according to this embodiment. Also, FIG. 1B is a schematic explanatory diagram of an update control method according to a comparative example. Also, FIG. 1C is a schematic explanatory diagram of the update control method according to the present embodiment.

図1Aに示すように、車両Cは、車載システム1を備える。車載システム1は、複数のECU20-1~20-nを備える。ECU20-1~20-nは、CAN等の車載ネットワークCNにより相互通信可能に接続され、それぞれ制御プログラムを実行することによって、たとえばエンジンやトランスミッション、カーナビゲーションといった各種システムを電子制御する。 As shown in FIG. 1A, vehicle C includes an in-vehicle system 1 . The in-vehicle system 1 includes a plurality of ECUs 20-1 to 20-n. The ECUs 20-1 to 20-n are connected by an in-vehicle network CN such as CAN so as to be able to communicate with each other, and electronically control various systems such as an engine, a transmission, and a car navigation system by executing respective control programs.

また、車載システム1は、リプロ制御装置10を備える。リプロ制御装置10は、ECU20-1~20-nのリプログラミングを制御する制御装置であって、OBD(On-Board Diagnostics)コネクタ30を介して車載ネットワークCNにより、ECU20-1~20-nと相互通信可能に接続される。 The in-vehicle system 1 also includes a repro control device 10 . The reprogramming control device 10 is a control device for controlling reprogramming of the ECUs 20-1 to 20-n. are connected so as to be able to communicate with each other.

また、リプロ制御装置10は、通信ネットワークNを介してデータセンタのセンタサーバ100と無線通信可能に設けられている。通信ネットワークNは、たとえば携帯電話回線網である。 Also, the repro control device 10 is provided so as to be able to wirelessly communicate with the center server 100 of the data center via the communication network N. As shown in FIG. Communication network N is, for example, a mobile phone network.

なお、データセンタは、ECU20-1~20-nで動作させる各種プログラムに関するデータを管理する管理センタであり、たとえば車両Cのメーカーによって運営される。センタサーバ100は、かかるデータセンタによって管理・運用され、ECU20-1~20-nの少なくともいずれかに適用する更新用データがある場合に、当該更新用データをリプロ制御装置10へ向けてダウンロードする。 The data center is a management center that manages data relating to various programs operated by the ECUs 20-1 to 20-n, and is operated by the manufacturer of the vehicle C, for example. The center server 100 is managed and operated by such a data center, and when there is update data to be applied to at least one of the ECUs 20-1 to 20-n, it downloads the update data to the repro control device 10. .

リプロ制御装置10は、かかるセンタサーバ100からダウンロードされるリプロに関連するデータを取得し、リプロ関連データ131として図示略の記憶部13(図2参照)へ保持する。なお、リプロ関連データ131には、プログラム等の更新用データのほか、リプロ対象となるECU(以下、「リプロ対象ECU」と言う)の識別情報、リプロ時に必要となる暗号鍵などが含まれる。 The reprocessing control device 10 acquires reprocessing-related data downloaded from the center server 100 and stores it as reprocessing-related data 131 in the storage unit 13 (see FIG. 2), not shown. The repro-related data 131 includes update data such as programs, identification information of ECUs to be reprod (hereinafter referred to as "repro-targeted ECUs"), encryption keys required for repro, and the like.

そして、リプロ制御装置10は、保持したリプロ関連データ131に基づき、リプロ対象ECU(ECU20-1~20-nのうちの少なくともいずれか)へ更新用データを配信して、リプロ対象ECUにリプロを実行させる。 Then, based on the held reprocessing related data 131, the reprocessing control device 10 distributes update data to the reprocessing target ECU (at least one of the ECUs 20-1 to 20-n), and performs reprocessing on the reprocessing target ECU. let it run.

ところで、こうしたリプロは、ECU20-1~20-nそれぞれにおいて動作する制御プログラムが通常動作していると、これを書き換えることができないため、IG電源がオフの状態のときに実行される必要がある。 By the way, such reprogramming must be executed when the IG power supply is off because the control programs that operate in each of the ECUs 20-1 to 20-n cannot be rewritten if they are operating normally. .

たとえば、リプロ制御装置10は、IG電源がオンの間に通信ネットワークNを介して更新用データを取得したならば、次にIG電源がオフされたタイミングでリプロ対象ECUにリプロを実行させる。 For example, if the reprogramming control device 10 acquires update data via the communication network N while the IG power is on, the reprogramming control device 10 causes the reprogramming target ECU to perform reprogramming when the IG power is next turned off.

ここで、図1Bに示すように、時間t1以前において、IG電源がオフ(図中の「IG-OFF」参照)の状態で、ECU20-1に対し、「リプロ実行中」であるものとする。なお、図1Bに二重の枠線で囲んで示すように、本実施形態では、つねにECU20-1がリプロ対象ECUであるものとして、以下説明する。 Here, as shown in FIG. 1B, it is assumed that before time t1, the IG power supply is off (see "IG-OFF" in the figure) and the ECU 20-1 is "executing reprogramming". . It should be noted that in the present embodiment, the ECU 20-1 is always assumed to be the ECU to be reprogrammed, as indicated by the double frame in FIG. 1B.

そして、時間t1においてIG電源がオン(図中の「IG-ON」参照)されたものとする。すると、リプロ対象外であるECU20-2~20-nは、かかるIG電源のオンにより、「通常動作を開始」する。 Assume that the IG power source is turned on (see "IG-ON" in the drawing) at time t1. Then, the ECUs 20-2 to 20-n, which are not subject to repro, "start normal operation" when the IG power is turned on.

ところが、ECU20-1は、「リプロ実行中」であるため、少なくともリプロが完了するまでは、通常動作へ移行することができない。一方で、リプロ対象外のECU20-2~20-nは、通常動作の初期起動チェック等において他のECUとの通信チェック等を行う。しかしながら、ECU20-1は、通常動作が不可の状態にあるため、たとえばECU20-2~20-nに対する応答等を返すことができない。 However, since the ECU 20-1 is "executing reprogramming", it cannot shift to normal operation at least until the reprogramming is completed. On the other hand, the ECUs 20-2 to 20-n that are not subject to reprogramming check communication with other ECUs during the initial start-up check of normal operation. However, since the ECU 20-1 is in a state incapable of normal operation, it cannot return a response or the like to the ECUs 20-2 to 20-n, for example.

すると、ECU20-2~20-nは、ECU20-1との間でたとえば通信途絶等を検出し、「リプロ対象ECUを異常と誤検出」してしまう。かかる異常を検出すれば、実際は故障などではないにも関わらず、車両Cを動作させることができない。 Then, the ECUs 20-2 to 20-n detect, for example, a communication interruption with the ECU 20-1, and "erroneously detect that the repro target ECU is abnormal". If such an abnormality is detected, the vehicle C cannot be operated even though it is not actually a failure.

そこで、本実施形態に係る更新制御方法では、リプロ制御装置10が、リプロ対象ECUへのリプロ実行中にIG電源のオンを検出した場合に、リプロ対象外の各ECUに対して、当該リプロ対象ECUがリプロ実行中であることを通知することとした。 Therefore, in the update control method according to the present embodiment, when the reprogramming control device 10 detects that the IG power supply is turned on during the execution of reprogramming to the reprogramming target ECU, the reprogramming control device 10 controls each non-reprogramming ECU. It was decided to notify that the ECU is in the process of reprogramming.

具体的には、図1Cに示すように、本実施形態に係る更新制御方法では、リプロ制御装置10は、IG電源がオフの状態でECU20-1の「リプロ実行中」に、時間t1においてIG電源のオンを検出した場合、リプロ対象外のECU20-2~20-nに対し、ECU20-1の「リプロ実行中」を通知する(ステップS1)。 Specifically, as shown in FIG. 1C, in the update control method according to the present embodiment, the reprogramming control device 10 controls the IG power supply at time t1 while the IG power supply is off and the ECU 20-1 is "executing reprogramming". When the power-on is detected, the ECU 20-1 notifies the ECUs 20-2 to 20-n not to be reprogrammed that the ECU 20-1 is "executing reprogramming" (step S1).

そして、かかる通知を受けたECU20-2~20-nは、リプロが実行中の間、「リプロ対象ECUの異常を検出しない」(ステップS2)。たとえばECU20-2~20-nは、ECU20-1に対するリプロが完了するまでの間、通常動作を待ち合わせる。 Then, the ECUs 20-2 to 20-n that have received such notification "do not detect an abnormality in the reprogramming target ECU" while the reprogramming is being executed (step S2). For example, the ECUs 20-2 to 20-n wait for normal operation until the reprogramming of the ECU 20-1 is completed.

そして、ECU20-1に対するリプロが完了したならば、ECU20-1を含むECU20-1~20-n全体が通常動作を開始し、車両Cを動作させることが可能となる。 When the reprogramming of the ECU 20-1 is completed, all the ECUs 20-1 to 20-n including the ECU 20-1 start normal operation, and the vehicle C can be operated.

なお、図1Cでは略しているが、リプロ制御装置10は、リプロ対象外の各ECUに対して、リプロ対象ECUがリプロ実行中であることを通知するほかに、ユーザ(たとえば車両Cの搭乗者)に対して、リプロ実行中であるため車両Cの始動に時間がかかるといった旨のガイダンスを報知することができる。報知の形態は、音声であっても、ディスプレイ表示であってもよい。 Although not shown in FIG. 1C, the reprogramming control device 10 notifies each non-reprogramming ECU that the reprogramming target ECU is executing reprogramming. ), it is possible to provide guidance to the effect that it will take time to start the vehicle C because reprogramming is in progress. The form of notification may be voice or display.

これにより、本実施形態に係る更新制御方法によれば、リプロを実行中のECU20-1を、リプロ対象外のECU20-2~20-nが異常と誤検出してしまうのを防止することができる。また、ユーザが、車両Cを故障と誤認識してしまうのを防止することができる。 As a result, according to the update control method of the present embodiment, it is possible to prevent the ECUs 20-2 to 20-n, which are not subject to reprogramming, from erroneously detecting an abnormality in the ECU 20-1 that is currently being reprogrammed. can. In addition, it is possible to prevent the user from erroneously recognizing the vehicle C as being in trouble.

なお、車載システム1は、IG電源がオンである場合に、ECU20-1~20-nに対してバッテリ電圧を一括に供給する第1の電源系統とは別に、リプロ時にECU20-1~20-nそれぞれに対し個別にバッテリ電圧を供給可能な第2の電源系統を備えている。リプロ制御装置10は、リプロに際して、かかる第2の電源系統によってリプロ対象ECUに対してのみ電源を供給する制御を行うことによって、IG電源がオフの状態でリプロを実行させることができる。かかる電源系統の具体的な構成例については、図3を用いた説明で後述する。 When the IG power supply is on, the in-vehicle system 1 separates the ECUs 20-1 to 20-n from the first power supply system that collectively supplies the battery voltage to the ECUs 20-1 to 20-n during reprogramming. A second power supply system capable of supplying a battery voltage to each of n individually is provided. During reprocessing, the reprocessing control device 10 can perform reprocessing with the IG power source turned off by performing control to supply power only to the reprocessing target ECU from the second power supply system. A specific configuration example of such a power supply system will be described later with reference to FIG.

以下、上述した更新制御方法を適用したリプロ制御装置10を含む車載システム1について、さらに具体的に説明する。 The in-vehicle system 1 including the repro control device 10 to which the update control method described above is applied will now be described more specifically.

図2は、本実施形態に係る車載システム1のブロック図である。なお、図2では、本実施形態の特徴を説明するために必要な構成要素のみを表しており、一般的な構成要素についての記載を省略している。 FIG. 2 is a block diagram of the in-vehicle system 1 according to this embodiment. It should be noted that FIG. 2 shows only the constituent elements necessary for explaining the features of this embodiment, and omits the description of general constituent elements.

換言すれば、図2に図示される各構成要素は機能概念的なものであり、必ずしも物理的に図示の如く構成されていることを要しない。例えば、各ブロックの分散・統合の具体的形態は図示のものに限られず、その全部または一部を、各種の負荷や使用状況などに応じて、任意の単位で機能的または物理的に分散・統合して構成することが可能である。 In other words, each component illustrated in FIG. 2 is functionally conceptual and does not necessarily need to be physically configured as illustrated. For example, the specific form of distribution/integration of each block is not limited to the one shown in the figure. It is possible to integrate and configure.

また、既に説明済みの構成要素については、図2を用いた説明では、説明を簡略化するか省略する場合がある。 Also, with regard to the components that have already been explained, the explanation using FIG. 2 may be simplified or omitted.

図2に示すように、車両Cは、車載システム1を備える。車載システム1は、リプロ制御装置10と、ECU20-1~20-nと、OBDコネクタ30と、IGスイッチ50と、スピーカ60とを備える。 As shown in FIG. 2 , vehicle C includes an in-vehicle system 1 . The in-vehicle system 1 includes a repro control device 10, ECUs 20-1 to 20-n, an OBD connector 30, an IG switch 50, and a speaker 60.

OBDコネクタ30は、たとえばOBD2(On-Board Diagnostics second generation)等の規格に沿った、車両Cのいわゆる自己診断機能用の接続インタフェースである。リプロ制御装置10は、かかるOBDコネクタ30を介して車載ネットワークCNと接続される。 The OBD connector 30 is a connection interface for a so-called self-diagnostic function of the vehicle C, conforming to standards such as OBD2 (On-Board Diagnostics second generation). The repro control device 10 is connected to the vehicle-mounted network CN via the OBD connector 30 .

上述した第1の電源系統および第2の電源系統は、IGスイッチ50からのIGオン信号またはリプロ制御装置10からの指示コマンドに基づき、たとえば図示略のEFI(Electric Fuel Injection)-ECU40(図3参照)によって切り替えられる。 The first power supply system and the second power supply system described above are operated based on an IG ON signal from the IG switch 50 or an instruction command from the repro control device 10, for example, an EFI (Electric Fuel Injection)-ECU 40 (not shown) (FIG. 3). reference).

ここで、図3を用いて、本実施形態に係る車載システム1の電源系統の具体的な構成例について説明しておく。図3は、本実施形態に係る車載システム1の電源系統の構成例を示す図である。 Here, a specific configuration example of the power supply system of the in-vehicle system 1 according to this embodiment will be described with reference to FIG. FIG. 3 is a diagram showing a configuration example of the power supply system of the in-vehicle system 1 according to this embodiment.

図3に示すように、車載システム1は、EFI-ECU40と、第1の電源系統である主系統MSと、第2の電源系統である副系統SSとを備える。 As shown in FIG. 3, the in-vehicle system 1 includes an EFI-ECU 40, a main system MS as a first power supply system, and a sub system SS as a second power supply system.

EFI-ECU40は、電子制御式燃料噴射装置の制御装置であって、車載ネットワークCNに接続され、上述した第1の電源系統および第2の電源系統を、IGスイッチ50からのIGオン信号またはリプロ制御装置10からの指示コマンドに基づいて切り替える。 The EFI-ECU 40 is a control device for an electronically controlled fuel injection system, and is connected to the in-vehicle network CN. Switching is performed based on an instruction command from the control device 10 .

主系統MSは、分岐して各ECU20-1~20-nへ接続されるとともに、メインリレーMRyのオン/オフにより、バッテリ電圧が供給/停止される。EFI-ECU40は少なくとも、バッテリから+B電源、すなわち常時電源の供給を受けており、IGスイッチ50からIGオン信号が入力された場合には、メインリレーMRyをオンさせて主系統MSへIG電源としてバッテリ電圧を供給する。 Main system MS is branched and connected to each of ECUs 20-1 to 20-n, and battery voltage is supplied/stopped by turning on/off main relay MRy. The EFI-ECU 40 receives at least +B power supply from the battery, that is, constant power supply, and when an IG ON signal is input from the IG switch 50, it turns on the main relay MRy to supply the main system MS with IG power. Provides battery voltage.

また、EFI-ECU40は、IGスイッチ50からIGオフ信号が入力された場合には、メインリレーMRyをオフさせて、主系統MSへのIG電源の供給を停止する。 Further, when an IG off signal is input from IG switch 50, EFI-ECU 40 turns off main relay MRy to stop the supply of IG power to main system MS.

一方、副系統SSは、ECU20-1~20-nのそれぞれに対応して設けられるサブリレー20Ry-1~20Ry-nを備える。サブリレー20Ry-1~20Ry-nは、EFI-ECU40から個別にオン/オフされることによって、それぞれ対応するECU20-1~20-nへバッテリ電圧を供給/停止する。 On the other hand, sub-system SS includes sub-relays 20Ry-1 to 20Ryn that are provided corresponding to ECUs 20-1 to 20-n, respectively. Sub-relays 20Ry-1 to 20Ryn-n are individually turned on/off by EFI-ECU 40 to supply/stop battery voltage to corresponding ECUs 20-1 to 20-n, respectively.

EFI-ECU40は、リプロに際したリプロ制御装置10からの指示に基づいて、サブリレー20Ry-1~20Ry-nをオン/オフさせる。 The EFI-ECU 40 turns on/off the sub-relays 20Ry-1 to 20Ryn-n based on instructions from the repro control device 10 upon repro.

具体的には、副系統SSは、リプロ時以外の通常時には、サブリレー20Ry-1~20Ry-nのすべてがオフされた状態となっている。そして、かかる通常時においては、IGスイッチ50からのIGオン信号/IGオフ信号に基づいて、EFI-ECU40がメインリレーMRyをオン/オフし、ECU20-1~20-nへIG電源を一括に供給/停止する。 Specifically, sub-system SS is in a state in which all sub-relays 20Ry-1 to 20Ry-n are turned off during normal times other than during reprogramming. In such a normal state, the EFI-ECU 40 turns on/off the main relay MRy based on the IG ON signal/IG OFF signal from the IG switch 50 to collectively supply IG power to the ECUs 20-1 to 20-n. supply/stop.

一方で、リプロに際しては、リプロ制御装置10がIGスイッチ50からのIGオフ信号を検出したならば、リプロ制御装置10は、EFI-ECU40に対し、副系統SSを用いてリプロ対象ECUにのみ電源を供給するよう指示する。 On the other hand, during the reprocessing, if the reprocessing control device 10 detects the IG off signal from the IG switch 50, the reprocessing control device 10 instructs the EFI-ECU 40 to supply power only to the reprocessing target ECU using the sub system SS. to supply

そして、かかる指示を受けたEFI-ECU40は、かかる指示に含まれるリプロ対象ECUに対応するサブリレー20Ry-1~20Ry-nのいずれかをオンし、リプロ対象ECUのみについて電源を供給する。 The EFI-ECU 40 that has received such an instruction turns on any of the sub-relays 20Ry-1 to 20Ry-n corresponding to the reprogrammed ECU included in the instruction, and supplies power only to the reprogrammed ECU.

リプロ対象ECUに電源が供給されたならば、リプロ制御装置10は、リプロ対象ECUに対してリプロ実行を指示することとなる。 When power is supplied to the ECU to be reprogrammed, the reprogramming control device 10 instructs the ECU to be reprogrammed to execute the reprogramming.

図2の説明に戻り、つづいてリプロ制御装置10について説明する。リプロ制御装置10は、通信部11と、記憶部13と、制御部14とを備える。 Returning to the description of FIG. 2, the repro control device 10 will be described. The repro control device 10 includes a communication section 11 , a storage section 13 and a control section 14 .

通信部11は、たとえば、国際電気通信連合が定める無線通信規格に準拠するNIC(Network Interface Card)等によって実現される。通信部11は、通信ネットワークNと無線で接続され、通信ネットワークNを介してセンタサーバ100との間で情報の送受信を行う。 The communication unit 11 is implemented by, for example, a NIC (Network Interface Card) conforming to the wireless communication standard defined by the International Telecommunications Union. The communication unit 11 is wirelessly connected to the communication network N, and transmits and receives information to and from the center server 100 via the communication network N.

記憶部13は、たとえば、RAM(Random Access Memory)、フラッシュメモリ(Flash Memory)等の半導体メモリ素子、または、ハードディスク、光ディスク等の記憶装置によって実現され、図2の例では、リプロ関連データ131と、ECU管理情報132とを記憶する。 The storage unit 13 is realized by, for example, a semiconductor memory device such as a RAM (Random Access Memory) or a flash memory, or a storage device such as a hard disk or an optical disk. , and ECU management information 132 .

リプロ関連データ131は、後述する取得部142aによって取得される、センタサーバ100からのデータである。なお、既に述べたように、リプロ関連データ131には、プログラム等の更新用データのほか、リプロ対象ECUの識別情報、リプロ時に必要となる暗号鍵など、リプロに関連する種々の情報が含まれる。 The repro-related data 131 is data from the center server 100 acquired by an acquisition unit 142a, which will be described later. As already mentioned, the reprocessing related data 131 includes various information related to reprocessing such as identification information of reprocessing target ECUs and encryption keys required for reprocessing, in addition to data for updating programs and the like. .

ECU管理情報132は、車載ネットワークCNにおける各ECU20-1~20-nに関する情報である。ここで、リプロ関連データ131およびECU管理情報132の具体例について説明しておく。図4Aは、リプロ関連データ131の具体例を示す図である。また、図4Bは、リプロ管理情報131aの具体例を示す図である。また、図4Cは、ECU管理情報132の具体例を示す図である。 The ECU management information 132 is information regarding each ECU 20-1 to 20-n in the vehicle-mounted network CN. Specific examples of the repro-related data 131 and the ECU management information 132 will now be described. FIG. 4A is a diagram showing a specific example of the repro-related data 131. As shown in FIG. FIG. 4B is a diagram showing a specific example of the repro management information 131a. FIG. 4C is a diagram showing a specific example of the ECU management information 132. As shown in FIG.

図4Aに示すように、リプロ関連データ131は、リプロ管理情報131aと、更新用データ131bとを含む。リプロ管理情報131aは、ダウンロードされた更新用データ131bの適用対象がどのECU20-1~20-nであるか、すなわちリプロ対象ECUがどれであるかを示す情報である。 As shown in FIG. 4A, the repro-related data 131 includes repro management information 131a and update data 131b. The reprogramming management information 131a is information indicating to which ECUs 20-1 to 20-n the downloaded update data 131b is applied, that is, which ECUs are reprogramming target ECUs.

図4Bに示すように、リプロ管理情報131aは、たとえば「リプロ対象ECU」項目と、「更新用データID」項目とを含む。「リプロ対象ECU」項目には、リプロ対象となるECU20-1~20-nの識別情報が格納される。「更新用データID」項目には、「リプロ対象ECU」項目で識別されるECU20-1~20-nに対し、適用すべき更新用データ131bの識別情報が格納される。図4Bに示す例では、リプロ対象ECUである「ECU20-1」に対し、更新用データIDが「0001」の更新用データ131bを適用すべきことを示している。 As shown in FIG. 4B, the reprocessing management information 131a includes, for example, a "reprocessing target ECU" item and an "update data ID" item. The item "ECUs to be reprogrammed" stores identification information of the ECUs 20-1 to 20-n to be reprogrammed. The "update data ID" item stores identification information of the update data 131b to be applied to the ECUs 20-1 to 20-n identified in the "repro target ECU" item. The example shown in FIG. 4B indicates that the update data 131b with the update data ID of "0001" should be applied to "ECU20-1" which is the repro target ECU.

また、図4Cに示すように、ECU管理情報132は、たとえば「搭載ECU」項目と、「宛先ID」項目とを含む。「搭載ECU」項目には、車両Cに搭載され、車載ネットワークCNに接続されたECU20-1~20-nの識別情報が格納される。なお、「搭載ECU」項目は、たとえばリプロ管理情報131aの「リプロ対象ECU」項目とリンクしている。 In addition, as shown in FIG. 4C, the ECU management information 132 includes, for example, an item "equipped ECU" and an item "destination ID". The "mounted ECU" item stores the identification information of the ECUs 20-1 to 20-n mounted on the vehicle C and connected to the vehicle network CN. Note that the "mounted ECU" item is linked to, for example, the "reproned ECU" item of the reprocessing management information 131a.

また、「宛先ID」項目には、「搭載ECU」項目で識別されるECU20-1~20-nごとの、車載ネットワークCN上におけるアドレス情報が格納される。 The "destination ID" item stores address information on the in-vehicle network CN for each of the ECUs 20-1 to 20-n identified by the "installed ECU" item.

後述する制御部14は、図4Bで説明したリプロ管理情報131aを参照して、ダウンロードされた更新用データ131bに対応するリプロ対象ECUを特定し、そのリプロ対象ECUのアドレス情報を、図4Cで説明したECU管理情報132を参照して特定する。また、制御部14は、リプロ管理情報131aを参照して特定したリプロ対象ECUに基づき、ECU管理情報132を参照してリプロ対象外の各ECUを特定する。 The control unit 14, which will be described later, refers to the reprogramming management information 131a described with reference to FIG. 4B, identifies the reprogramming target ECU corresponding to the downloaded update data 131b, and displays the address information of the reprogramming target ECU as shown in FIG. 4C. It is specified by referring to the ECU management information 132 described above. In addition, the control unit 14 refers to the ECU management information 132 to identify each ECU that is not subject to reprocessing, based on the reprocessing target ECU identified by referring to the reprocessing management information 131a.

そして、制御部14は、リプロに際し、EFI-ECU40に特定したリプロ対象ECUのみへの電源供給を行わせ、特定したアドレス情報に基づきリプロ対象ECUへ更新用データ131bを配信し、リプロ対象ECUにリプロを実行させることとなる。また、制御部14は、リプロ実行中にIG電源のオンを検出した場合に、特定したリプロ対象外の各ECUに対し、リプロ対象ECUにてリプロ実行中であることを通知する。 Then, at the time of reprocessing, the control unit 14 causes the EFI-ECU 40 to supply power only to the specified reprocessing target ECU, distributes the update data 131b to the reprocessing target ECU based on the specified address information, and distributes the update data 131b to the reprocessing target ECU. Repro will be executed. Further, when the control unit 14 detects that the IG power supply is turned on during reprogramming, the control unit 14 notifies the specified non-reprogramming ECUs that the reprogramming target ECU is currently performing reprogramming.

図2の説明に戻り、制御部14について説明する。制御部14は、コントローラ(controller)であり、たとえば、CPU(Central Processing Unit)やMPU(Micro Processing Unit)等によって、記憶部13に記憶されている図示略の各種プログラムがRAMを作業領域として実行されることにより実現される。また、制御部14は、たとえば、ASIC(Application Specific Integrated Circuit)やFPGA(Field Programmable Gate Array)等の集積回路により実現することができる。 Returning to the description of FIG. 2, the control unit 14 will be described. The control unit 14 is a controller, and various programs (not shown) stored in the storage unit 13 are executed by a CPU (Central Processing Unit), an MPU (Micro Processing Unit), or the like, using the RAM as a work area. It is realized by being Also, the control unit 14 can be implemented by an integrated circuit such as an ASIC (Application Specific Integrated Circuit) or an FPGA (Field Programmable Gate Array).

たとえば、本実施形態に係るリプロ制御装置10では、図2に示すように、制御部14は、メインマイコン141およびサブマイコン142の2つのマイコンによって構成される。メインマイコン141およびサブマイコン142は、たとえばシリアル通信等により、相互通信可能に設けられている。 For example, in the repro control device 10 according to this embodiment, as shown in FIG. The main microcomputer 141 and the sub-microcomputer 142 are provided so as to be able to communicate with each other, for example, through serial communication or the like.

メインマイコン141は、指示部141aと、通知部141bとを有し、サブマイコン142は、取得部142aと、データ管理部142bと、ユーザ出力部142cとを有し、以下に説明する情報処理の機能や作用を実現または実行する。 The main microcomputer 141 has an instruction unit 141a and a notification unit 141b, and the sub-microcomputer 142 has an acquisition unit 142a, a data management unit 142b, and a user output unit 142c. Realize or perform a function or action.

サブマイコン142の方から説明する。取得部142aは、通信部11を介してセンタサーバ100から更新用データ131bほかリプロに関するデータを取得する。また、取得部142aは、取得したリプロに関するデータを、リプロ関連データ131として記憶部13に保持させる。 The sub-microcomputer 142 will be explained first. The acquisition unit 142 a acquires the update data 131 b and other repro data from the center server 100 via the communication unit 11 . In addition, the acquiring unit 142 a causes the storage unit 13 to hold the acquired repro-related data as the repro-related data 131 .

データ管理部142bは、リプロ関連データ131を管理する。たとえば、データ管理部142bは、IG電源がオフされた際の、メインマイコン141側からのリプロ実行の要否の問い合わせに対し、リプロ関連データ131を参照して、リプロ管理情報131aおよび更新用データ131bがあれば、リプロ実行が必要との応答を返す。かかる応答には、たとえばリプロ対象ECUの識別情報や、対応する上述の「更新用データID」、「宛先ID」等が含まれる。 The data management unit 142b manages the repro-related data 131. FIG. For example, when the IG power is turned off, the data management unit 142b refers to the reprogramming related data 131 in response to an inquiry from the main microcomputer 141 as to whether reprogramming is necessary or not, and updates the reprogramming management information 131a and update data. 131b, a response indicating that repro execution is necessary is returned. Such a response includes, for example, the identification information of the ECU to be reprogrammed, the corresponding "update data ID", "destination ID", etc. described above.

また、データ管理部142bは、上記のリプロ実行の要否の問い合わせに対し、リプロ管理情報131aおよび更新用データ131bがなければ、リプロ実行が不要との応答をメインマイコン141側へ返す。また、データ管理部142bは、リプロ実行が必要な場合で、かかるリプロ実行が正常に終了したならば、たとえばリプロ管理情報131aおよび更新用データ131bを消去する。 Further, the data management unit 142b returns to the main microcomputer 141 side a response that reprogramming is not necessary if there is no reprogramming management information 131a and update data 131b in response to the inquiry about whether reprogramming is necessary. Further, the data management unit 142b erases the reprogramming management information 131a and the update data 131b, for example, when the reprogramming execution is required and the reprogramming execution ends normally.

また、たとえば、データ管理部142bは、IG電源がオンされた際の、メインマイコン141側からのリプロ実行中のリプロ対象ECUがあるか否かの問い合わせに対し、リプロ関連データ131を参照して、リプロ管理情報131aおよび更新用データ131bがあれば、リプロ実行中との応答を返す。かかる応答には、たとえばリプロ対象ECUの識別情報や、対応する上述の「更新用データID」、「宛先ID」等が含まれる。 Further, for example, the data management unit 142b refers to the reprogramming-related data 131 in response to an inquiry from the main microcomputer 141 as to whether or not there is a reprogramming target ECU that is being reprogrammed when the IG power is turned on. , if there are reprogramming management information 131a and update data 131b, a response indicating that reprogramming is in progress is returned. Such a response includes, for example, the identification information of the ECU to be reprogrammed, the corresponding "update data ID", "destination ID", etc. described above.

また、データ管理部142bは、上記のリプロ実行中のリプロ対象ECUがあるか否かの問い合わせに対し、リプロ管理情報131aおよび更新用データ131bがなければ、リプロ実行中のリプロ対象ECUがないとの応答をメインマイコン141側へ返す。 In addition, the data management unit 142b responds to the inquiry as to whether or not there is a reprogramming target ECU that is currently being reprogrammed. to the main microcomputer 141 side.

ユーザ出力部142cは、リプロ対象ECUのリプロ実行中にIG電源がオンされた場合に、ユーザに対して、リプロ実行中であるため車両Cの始動に時間がかかるといった旨の音声ガイダンスをたとえばスピーカ60へ出力する。スピーカ60は、車両Cに搭載される報知装置の一例である。 When the IG power supply is turned on while the reprogramming target ECU is being reprogrammed, the user output unit 142c outputs voice guidance to the user, for example, through a speaker, to the effect that it will take time to start the vehicle C because the reprogramming is in progress. 60. The speaker 60 is an example of a notification device mounted on the vehicle C. As shown in FIG.

つづいて、メインマイコン141の方について説明する。指示部141aは、サブマイコン142側からの応答に基づき、リプロ実行が必要な場合に、IGスイッチ50からのIGオフ信号を検出したならば、リプロ対象ECUについてのみ電源を供給するように、EFI-ECU40に対し指示する。 Next, the main microcomputer 141 will be explained. Based on the response from the sub-microcomputer 142 side, the instruction unit 141a instructs the EFI to supply power only to the reprogramming target ECU when the IG off signal from the IG switch 50 is detected when the reprogramming is required. - instruct the ECU 40;

また、指示部141aは、リプロ対象ECUへの電源供給が開始されたならば、サブマイコン142を介してリプロ対象ECUへ更新用データ131bを配信するとともに、リプロ対象ECUに対してリプロ実行を指示する。 Further, when power supply to the reprocessing target ECU is started, the instructing unit 141a distributes the update data 131b to the reprocessing target ECU via the sub-microcomputer 142, and instructs the reprocessing target ECU to execute the reprocessing. do.

かかる指示に基づき、リプロ対象ECUはリプロを実行し、そのリプロが終了したならば、指示部141aは、リプロ対象ECUへの電源の供給を停止するように、EFI-ECU40に対し指示する。 Based on such an instruction, the reprogrammed ECU executes reprogramming, and when the reprogramming is completed, the instructing unit 141a instructs the EFI-ECU 40 to stop supplying power to the reprogrammed ECU.

また、指示部141aは、IGスイッチ50からのIGオン信号を検出したならば、サブマイコン142側にへ、リプロ実行中のリプロ対象ECUがあるか否かの問い合わせを行う。そして、指示部141aは、かかる問い合わせに対するサブマイコン142側からの応答に基づき、リプロ実行中のリプロ対象ECUがあれば、通知部141bに、リプロ対象ECUにてリプロ実行中であることをリプロ対象外の各ECUに対し通知させる。 Further, when the IG ON signal from the IG switch 50 is detected, the instructing section 141a inquires of the sub-microcomputer 142 side whether or not there is an ECU to be reprogrammed. Based on the response from the sub-microcomputer 142 to the inquiry, if there is a reprogramming target ECU, the instructing unit 141a notifies the notifying unit 141b that the reprogramming target ECU is currently being reprogrammed. Notifies each external ECU.

リプロ対象外の各ECUは、かかる通知を受け付けた場合に、当該実行中のリプロが完了するまでの間、リプロ対象ECUについての異常を検出しないとともに、通常動作を待ち合わせる。 When receiving such notification, each ECU not subject to reprocessing does not detect an abnormality in the ECU subject to reprocessing and waits for normal operation until the reprocessing in progress is completed.

また、指示部141aは、リプロが完了したならば、通知部141bに、リプロ対象ECUのリプロが完了したことをリプロ対象外の各ECUに対し通知させる。 Further, when the reprocessing is completed, the instructing unit 141a causes the notification unit 141b to notify the non-reprocessing ECUs that the reprocessing of the reprocessing target ECU has been completed.

また、指示部141aは、リプロ実行中のリプロ対象ECUがなければ、通知部141bに、リプロ対象外の各ECUに対する通知を行わせない。したがって、この場合は、ECU20-1~20-nは一斉に通常動作へ移行することとなる。 Further, if there is no reprogramming target ECU that is currently being reprogrammed, the instructing unit 141a causes the notification unit 141b to notify each ECU not to be reprogrammed. Therefore, in this case, the ECUs 20-1 to 20-n shift to normal operation all at once.

通知部141bは、指示部141aからの指示に基づき、リプロ実行中のリプロ対象ECUがある場合に、当該リプロ対象ECUにてリプロ実行中であることをリプロ対象外の各ECUに対し通知する。また、通知部141bは、リプロ対象ECUのリプロが完了した場合に、当該リプロ対象ECUのリプロが完了したことをリプロ対象外の各ECUに対し通知する。 Based on the instruction from the instruction unit 141a, the notifying unit 141b notifies each non-reprogramming ECU that the reprogramming target ECU is executing the reprogramming when there is a reprogramming target ECU. Further, when the reprocessing of the reprocessing target ECU is completed, the notification unit 141b notifies each non-reprocessing ECU of the completion of the reprocessing of the reprocessing target ECU.

次に、実施形態に係るリプロ制御装置10が実行する処理手順について、図5を用いて説明する。図5は、実施形態に係るリプロ制御装置10が実行する処理手順を示すフローチャートである。 Next, a processing procedure executed by the repro control device 10 according to the embodiment will be described with reference to FIG. FIG. 5 is a flow chart showing a processing procedure executed by the repro control device 10 according to the embodiment.

まず、前提として、センタサーバ100には、ダウンロードすべきリプロに関するデータが存在し、車両Cは、IG電源がオンであるものとする。 First, it is assumed that the center server 100 has repro data to be downloaded, and that the IG power of the vehicle C is on.

かかる場合に、取得部142aは、センタサーバ100から更新用データ131bを取得し(ステップS101)、また、リプロ管理情報131aを保存する(ステップS102)。 In such a case, the acquisition unit 142a acquires the update data 131b from the center server 100 (step S101), and stores the repro management information 131a (step S102).

そして、メインマイコン141が、IG電源のオフを検出し、リプロ対象ECUに対応するサブリレー20Ry-1~20Ry-nのいずれかがオンされて、リプロ対象ECUへの電源供給が開始されたならば、指示部141aが、リプロ対象ECUへリプロを指示してリプロを開始する(ステップS103)。 Then, when the main microcomputer 141 detects that the IG power supply is turned off, any one of the sub-relays 20Ry-1 to 20Ry-n corresponding to the reprogrammed ECU is turned on, and power supply to the reprogrammed ECU is started. , the instructing unit 141a instructs the ECU to be reprogrammed to start the reprogramming (step S103).

そして、メインマイコン141が、IG電源がオンされたか否かを検出する(ステップS104)。ここで、IG電源のオンが検出された場合(ステップS104,Yes)、ステップS105で、通知部141bがリプロ対象外の各ECUへリプロ実行中を通知するとともに、ユーザ出力部142cがユーザへリプロ実行中を通知する。 Then, the main microcomputer 141 detects whether or not the IG power supply is turned on (step S104). If it is detected that the IG power supply is turned on (step S104, Yes), in step S105, the notification unit 141b notifies each ECU not to be reprogrammed that reprogramming is in progress, and the user output unit 142c notifies the user of the reprogramming. Notify running.

そして、リプロが完了したか否かを判定する(ステップS106)。リプロが完了していない場合(ステップS106,No)、ステップS106を繰り返す。一方、リプロが完了した場合(ステップS106,Yes)、通知部141bが、リプロ対象外の各ECUに対し、リプロ対象ECUでのリプロ完了を通知する(ステップS107)。リプロ完了の通知を受けたリプロ対象外の各ECUは、通常動作の待ち合わせを解除して、それぞれ通常動作へ移行する。 Then, it is determined whether or not repro has been completed (step S106). If repro has not been completed (step S106, No), step S106 is repeated. On the other hand, when the reprocessing is completed (step S106, Yes), the notification unit 141b notifies each non-reprocessing ECU that the reprocessing is completed in the reprocessing target ECU (step S107). Each of the non-reprogramming ECUs that have received the notification of the reprogramming completion cancels the waiting for the normal operation and shifts to the normal operation.

なお、ステップS104でIG電源のオンが検出されなかった場合(ステップS104,No)、リプロが完了したか否かを判定し(ステップS108)、リプロが完了していなければ(ステップS108,No)、ステップS104からの処理を繰り返す。 If the ON state of the IG power source is not detected in step S104 (step S104, No), it is determined whether or not the repro has been completed (step S108), and if the repro has not been completed (step S108, No) , the processing from step S104 is repeated.

一方、リプロが完了した場合(ステップS108,Yes)、ステップS109へ移行する。 On the other hand, if the repro has been completed (step S108, Yes), the process proceeds to step S109.

そして、データ管理部142bが、リプロ管理情報131aを消去する(ステップS109)。なお、あわせて更新用データ131bも消去してよい。 Then, the data management unit 142b erases the repro management information 131a (step S109). Note that the update data 131b may also be erased at the same time.

そして、処理を終了する。なお、以降は、図示は略しているが、リプロ実行中にIG電源がオンされた場合(ステップS104の「Yes」へ分岐した場合)は、通常の車両動作へ移行する。また、IG電源がオフのままリプロが完了した場合(ステップS108の「Yes」へ分岐した場合)は、指示部141aが、リプロ対象ECUへの電源供給を停止させ、そのまま処理終了となる。 Then, the process ends. After that, although not shown, when the IG power is turned on during reprogramming (when branched to "Yes" in step S104), normal vehicle operation is performed. If the reprogramming is completed with the IG power supply turned off (if branched to "Yes" in step S108), the instructing unit 141a stops the power supply to the reprogramming target ECU, and the process ends.

上述してきたように、本実施形態に係るリプロ制御装置10(「更新制御装置」の一例に相当)は、起動状態にある時に他のECU(「電子装置」の一例に相当)からのデータ受信状況に基づいて異常検出を行う複数のECU20-1~20-nを備えた車載システム1(「制御システム」の一例に相当)に設けられ、複数のECU20-1~20-nのうち、リプロ(「データの書き換え」の一例に相当)対象となるリプロ対象ECU(「対象装置」の一例に相当)へ更新用データ131bを配信してかかる更新用データ131bによってデータを書き換えさせるリプロ制御装置10であって、制御部14を備える。制御部14は、リプロ対象外の各ECU(「対象装置以外の電子装置」の一例に相当)の電源供給が行われていない時にリプロ対象ECUに対するリプロを行い、かかるリプロの実行中に、リプロ対象外の各ECUへの電源供給の開始を検出したならば、リプロ対象外の各ECUに対し、リプロ対象ECUでリプロを実行中であることを通知する。 As described above, the repro control device 10 (corresponding to an example of an "update control device") according to the present embodiment receives data from another ECU (corresponding to an example of an "electronic device") when in an activated state. It is provided in an in-vehicle system 1 (corresponding to an example of a "control system") having a plurality of ECUs 20-1 to 20-n that detect an abnormality based on the situation, (corresponding to an example of "rewriting of data") The reprocessing control device 10 that distributes the update data 131b to the target reprocessing target ECU (corresponds to an example of the "target device") and causes the data to be rewritten by the update data 131b. and includes a control unit 14 . The control unit 14 reprograms the ECUs to be reprogrammed when power is not supplied to each ECU not to be reprogrammed (equivalent to an example of an "electronic device other than the target device"). When the start of power supply to each non-target ECU is detected, each non-repro target ECU is notified that the repro target ECU is in the process of being reprogrammed.

したがって、本実施形態に係るリプロ制御装置10によれば、リプロ実行中のリプロ対象ECUを異常と誤検出してしまうのを防止することができる。 Therefore, according to the reprogramming control device 10 according to the present embodiment, it is possible to prevent erroneous detection of abnormality in the reprogramming target ECU during reprogramming.

また、各ECUへの電源の供給はユーザの操作に基づいて行われるものであり、制御部14は、リプロ対象ECUに対するリプロ実行中に、リプロ対象外の各ECUへの電源の供給を検出したならば、ユーザに対し、リプロ対象ECUでリプロ実行中であることを報知する。 Power supply to each ECU is performed based on the user's operation, and the control unit 14 detects the supply of power to each ECU not to be reprogrammed during execution of reprogramming for the ECU to be reprogrammed. In this case, the user is notified that the reprogramming target ECU is in the process of being reprogrammed.

したがって、本実施形態に係るリプロ制御装置10によれば、ユーザが、車両Cを故障と誤認識してしまうのを防止することができる。 Therefore, according to the repro control device 10 according to the present embodiment, it is possible to prevent the user from erroneously recognizing that the vehicle C has failed.

また、制御部14は、リプロ実行前に、センタサーバ100(「外部」の一例に相当)から更新用データ131bおよびリプロ対象ECUの識別情報を取得して保持し、かかる識別情報に基づいてリプロ対象外の各ECUを特定する。 In addition, the control unit 14 acquires and holds the update data 131b and the identification information of the reprogramming target ECU from the center server 100 (equivalent to an example of "external") before executing the reprogramming. Identify each non-target ECU.

したがって、本実施形態に係るリプロ制御装置10によれば、リプロ対象ECUでリプロ実行中である場合に、かかる旨を、リプロ対象外の各ECUへ通知することができる。 Therefore, according to the reprocessing control device 10 according to the present embodiment, when the reprocessing target ECU is executing the reprocessing, it is possible to notify each non-reprocessing target ECU to that effect.

また、本実施形態に係るECU20-1~20-nは、リプロ制御装置10に接続されるECU20-1~20-nであって、リプロ対象ECUでリプロ実行中であることを示す通知を受け付けた場合に、かかるリプロが完了するまでの間は、リプロ対象ECUについての異常検出を実施しない。 Further, the ECUs 20-1 to 20-n according to the present embodiment are ECUs 20-1 to 20-n connected to the reprogramming control device 10, and receive a notification indicating that the reprogramming target ECU is executing reprogramming. In this case, the abnormality detection for the reprocessing target ECU is not performed until the reprocessing is completed.

したがって、本実施形態に係るリプロ制御装置10によれば、リプロ実行中のリプロ対象ECUを異常と誤検出してしまうのを防止することができる。 Therefore, according to the reprogramming control device 10 according to the present embodiment, it is possible to prevent erroneous detection of abnormality in the reprogramming target ECU during reprogramming.

また、本実施形態に係る車載システム1(「更新システム」の一例に相当)は、リプロ制御装置10と、ECU20-1~20-nと、主系統MS(「第1の電源系統」の一例に相当)と、副系統SS(「第2の電源系統」の一例に相当)とを備える。主系統MSは、リプロ時以外の通常時に電源が供給される。副系統SSは、リプロ時に電源が供給される。また、ECU20-1~20-nはそれぞれ、主系統MSに接続されるとともに、副系統SSにサブリレー20Ry-1~20Ry-n(「リレー」の一例に相当)を介して接続される。また、制御部14は、リプロを要する場合に、主系統MSにおける電源供給の停止を検出したならば、リプロ対象ECUに対応するサブリレー20Ry-1~20Ry-nをオンすることによって当該リプロ対象ECUについてのみ電源を供給させる。 Further, the in-vehicle system 1 according to the present embodiment (corresponding to an example of the "update system") includes the repro control device 10, the ECUs 20-1 to 20-n, the main system MS (an example of the "first power supply system"). ) and a sub-system SS (corresponding to an example of a “second power supply system”). Power is supplied to the main system MS during normal times other than during repro. The sub system SS is supplied with power during repro. ECUs 20-1 to 20-n are respectively connected to main system MS and to sub-system SS via sub-relays 20Ry-1 to 20Ryn (corresponding to an example of "relays"). Further, when the control unit 14 detects that the power supply to the main system MS is stopped when reprocessing is required, the control unit 14 turns on the sub-relays 20Ry-1 to 20Ryn corresponding to the reprocessing target ECU. power only for

したがって、本実施形態に係るリプロ制御装置10によれば、リプロに際し、リプロ対象ECUについてのみ電源を供給することができる。 Therefore, according to the reprocessing control device 10 according to the present embodiment, power can be supplied only to the reprocessing target ECU during reprocessing.

なお、上述した実施形態では、リプロ制御装置10が、EFI-ECU40に対し、リプロ対象ECUに対応するサブリレー20Ry-1~20Ry-nのいずれかをオン/オフさせる例を挙げたが、EFI-ECU40に限らず、他の装置にオン/オフさせてもよい。 In the above-described embodiment, the reprocessing control device 10 causes the EFI-ECU 40 to turn on/off any of the sub-relays 20Ry-1 to 20Ry-n corresponding to the reprocessing target ECU. It may be turned on/off by another device, not limited to the ECU 40 .

たとえば、常時電源に接続され、かつ、ECU20-1~ECU-20nを統合する統合ECUが車載ネットワークCN上に存在すれば、かかる統合ECUに行わせてもよい。また、リプロ制御装置10が、統合ECUを兼ねるのであれば、リプロ制御装置10が行ってもよい。あるいは、リプロ制御装置10の指示に基づいてサブリレー20Ry-1~20Ry-nをオン/オフする機能に特化した装置を設けてもよい。 For example, if an integrated ECU, which is always connected to the power source and integrates the ECUs 20-1 to 20n, exists on the vehicle-mounted network CN, this integrated ECU may be made to perform the operation. Further, if the repro control device 10 also serves as an integrated ECU, the repro control device 10 may perform the processing. Alternatively, a device specialized for turning on/off the sub-relays 20Ry-1 to 20Ryn based on instructions from the repro control device 10 may be provided.

また、上述した実施形態では、制御部14が、メインマイコン141とサブマイコン142の2つのマイコンによって構成される例を挙げたが、1つのマイコンによって構成されてもよい。また、3つ以上のマイコンによって構成されてもよい。 Further, in the above-described embodiment, the control unit 14 is configured by two microcomputers, ie, the main microcomputer 141 and the sub-microcomputer 142, but may be configured by one microcomputer. Also, it may be composed of three or more microcomputers.

また、上述した実施形態では、リプロ制御装置10が車載システム1に搭載され、ECU20-1~20-nと接続されて、これらに更新用データ131bを配信し、リプロを実行する例を挙げたが、リプロ制御装置10の搭載先を限定するものではない。 In the above-described embodiment, the reprogramming control device 10 is installed in the in-vehicle system 1, is connected to the ECUs 20-1 to 20-n, distributes the update data 131b to them, and executes the reprogramming. However, the mounting destination of the repro control device 10 is not limited.

すなわち、リプロ制御装置10は、ECU20-1~20-nに対応するリプロ対象となる各種装置が含まれるものであれば、車載システム1に限らず、列車、工業用車両、農業用車両、船舶、航空機などの移動機械ほかの各種システムに搭載させることが可能である。 That is, the reprogramming control device 10 is not limited to the in-vehicle system 1 as long as it includes various devices to be reprogrammed corresponding to the ECUs 20-1 to 20-n. , mobile machines such as aircraft, and various other systems.

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

1 車載システム
10 リプロ制御装置
13 記憶部
131 リプロ関連データ
131a リプロ管理情報
131b 更新用データ
132 ECU管理情報
14 制御部
141 メインマイコン
141a 指示部
141b 通知部
142 サブマイコン
142a 取得部
142b データ管理部
142c ユーザ出力部
20-1~20-n ECU
20Ry-1~20Ry-n サブリレー
30 OBDコネクタ
40 EFI-ECU
50 IGスイッチ
60 スピーカ
C 車両
CN 車載ネットワーク
MRy メインリレー
MS 主系統
SS 副系統
1 in-vehicle system 10 reprocessing control device 13 storage unit 131 reprocessing related data 131a reprocessing management information 131b update data 132 ECU management information 14 control unit 141 main microcomputer 141a instruction unit 141b notification unit 142 sub-microcomputer 142a acquisition unit 142b data management unit 142c user Output part 20-1 to 20-n ECU
20Ry-1 to 20Ryn Sub-relay 30 OBD connector 40 EFI-ECU
50 IG switch 60 Speaker C Vehicle CN In-vehicle network MRy Main relay MS Main system SS Sub system

Claims (5)

起動に他の電子装置からのデータ受信状況に基づいて異常検出を行う複数の電子装置と、
前記複数の電子装置のうち、データの書き換え対象となる対象装置へ更新用データを配信して記データ書き換えを実行させる更新制御装置
を備える制御システムであって、
前記更新制御装置は、
前記書き換えの実行中に記対象装置以外の電子装置への電源供給開始された場合に前記対象装置以外の電子装置にき換え行中の通知を行い、
前記対象装置以外の電子装置は、
前記書き換え実行中の通知を受け付けると、前記異常検出を含む通常動作の実行を待ち合わせ、その後、前記更新制御装置からの書き換えが完了した通知を受け付けると、前記通常動作を開始する
制御システム
a plurality of electronic devices that perform anomaly detection based on data reception status from other electronic devices at startup ;
an update control device for distributing update data to a target device to be rewritten, among the plurality of electronic devices, to rewrite the data;
A control system comprising :
The update control device
when power supply to an electronic device other than the target device is started during execution of the rewriting , notifying the electronic device other than the target device that the rewriting is in progress ;
An electronic device other than the target device,
When receiving the notification that the rewriting is in progress, it waits for the execution of the normal operation including the detection of the abnormality, and then starts the normal operation when receiving the notification that the rewriting is completed from the update control device.
control system .
前記更新制御装置は、
前記対象装置以外の電子装置に前記通常動作の実行を待ち合わせさせた場合に、ユーザに対し、前記データの書き換えを実行中であるため車両の始動に時間がかかる旨を報知する
請求項1に記載の制御システム
The update control device
When an electronic device other than the target device waits for execution of the normal operation, the user is notified that it will take time to start the vehicle because the data is being rewritten.
A control system according to claim 1 .
前記更新制御装置は、
前記データの書き換え実行前に、外部から記対象装置となる電子装置の識別情報を取得して保持し、前記識別情報に基づいて前記対象装置以外の電子装置を特定する
求項1または2に記載の制御システム
The update control device
Before executing the rewriting of the data, the identification information of the electronic device to be the target device is acquired from the outside and held, and the electronic device other than the target device is specified based on the identification information.
3. Control system according to claim 1 or 2.
記データの書き換え時以外の通常時に電源が供給される第1の電源系統と、
前記データの書き換え時に電源が供給される第2の電源系統と
を備え、
前記電子装置はそれぞれ、
前記第1の電源系統に接続されるとともに、前記第2の電源系統にリレーを介して接続され、
前記更新制御装置は、
前記データの書き換えを要する場合に、前記第1の電源系統における電源供給の停止を検出したならば、前記対象装置に対応する前記リレーをオンすることによって当該対象装置についてのみ電源を供給させる
請求項1~3のいずれか一つに記載の制御システム
a first power supply system to which power is normally supplied except when the data is rewritten;
a second power supply system to which power is supplied when the data is rewritten,
Each of the electronic devices comprises:
Connected to the first power system and connected to the second power system via a relay,
The update control device
When it is necessary to rewrite the data, and if the stop of the power supply in the first power supply system is detected, power is supplied only to the target device by turning on the relay corresponding to the target device.
Control system according to any one of claims 1-3 .
起動に他の電子装置からのデータ受信状況に基づいて異常検出を行う複数の電子装置と、
記複数の電子装置のうち、データの書き換え対象となる対象装置へ更新用データを配信して記データ書き換えを実行させる更新制御装置
を備える制御システムの制御方法であって、
前記書き換えの実行中に前記対象装置以外の電子装置への電源供給開始された場合に前記更新制御装置から前記対象装置以外の電子装置にき換え行中の通知が行われ、
前記対象装置以外の電子装置に前記書き換え実行中の通知がくると、前記異常検出を含む通常動作の実行を待ち合わせ、その後、前記更新制御装置からの書き換えが完了した通知を受け付けると、前記通常動作を開始する
制御システムの制御方法
a plurality of electronic devices that perform anomaly detection based on data reception status from other electronic devices at startup ;
an update control device for distributing update data to a target device to be rewritten, among the plurality of electronic devices, to rewrite the data;
A control method for a control system comprising
when power supply to an electronic device other than the target device is started during execution of the rewriting , the update control device notifies the electronic device other than the target device that the rewriting is in progress ;
When the electronic device other than the target device receives the notification that the rewriting is in progress, it waits for the execution of the normal operation including the abnormality detection, and then receives the notification that the rewriting is completed from the update control device, the normal operation. to start
How to control the control system .
JP2018141652A 2018-07-27 2018-07-27 Control system and control method for control system Active JP7221604B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2018141652A JP7221604B2 (en) 2018-07-27 2018-07-27 Control system and control method for control system

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2018141652A JP7221604B2 (en) 2018-07-27 2018-07-27 Control system and control method for control system

Publications (2)

Publication Number Publication Date
JP2020017220A JP2020017220A (en) 2020-01-30
JP7221604B2 true JP7221604B2 (en) 2023-02-14

Family

ID=69580500

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2018141652A Active JP7221604B2 (en) 2018-07-27 2018-07-27 Control system and control method for control system

Country Status (1)

Country Link
JP (1) JP7221604B2 (en)

Families Citing this family (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP7675394B2 (en) * 2021-11-26 2025-05-14 Astemo株式会社 Electronic control device and communication diagnostic method

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2006082649A (en) 2004-09-15 2006-03-30 Denso Corp Program rewriting system
JP2010167997A (en) 2009-01-26 2010-08-05 Honda Motor Co Ltd Rewriting system for vehicle
JP2012035725A (en) 2010-08-06 2012-02-23 Yazaki Corp Electronic control device and system for rewriting program
JP2018095066A (en) 2016-12-13 2018-06-21 株式会社オートネットワーク技術研究所 In-vehicle power supply system, relay box and relay control device

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2006082649A (en) 2004-09-15 2006-03-30 Denso Corp Program rewriting system
JP2010167997A (en) 2009-01-26 2010-08-05 Honda Motor Co Ltd Rewriting system for vehicle
JP2012035725A (en) 2010-08-06 2012-02-23 Yazaki Corp Electronic control device and system for rewriting program
JP2018095066A (en) 2016-12-13 2018-06-21 株式会社オートネットワーク技術研究所 In-vehicle power supply system, relay box and relay control device

Also Published As

Publication number Publication date
JP2020017220A (en) 2020-01-30

Similar Documents

Publication Publication Date Title
JP6665728B2 (en) In-vehicle update device, in-vehicle update system and communication device update method
JP6390644B2 (en) Program update system, program update method, and computer program
JP7782536B2 (en) Control device, method, program, and vehicle
CN107531198B (en) Program rewriting device and program rewriting method
US20180341476A1 (en) Software updating device, software updating system, and software updating method
US12001831B2 (en) Onboard update apparatus and update processing program
CN119127256A (en) Vehicle control system and method for confirming software consistency
JP2019084941A (en) Update system, electronic control device, update management device, and update management method
CN108602474A (en) On-board power supply system, relay box and relay control device
JP6795389B2 (en) In-vehicle data updater
JP7371585B2 (en) Software update device, update control method, update control program and server
US11455393B2 (en) Device for securing diagnostic commands to a control unit, and corresponding motor vehicle
JP2009053920A (en) Program management system for in-vehicle electronic control unit
US12050903B2 (en) OTA master, system, method, non-transitory storage medium, and vehicle
US12461732B2 (en) Ota master, system, method, non-transitory storage medium, and vehicle
US20220405080A1 (en) Ota master, system, method, non-transitory storage medium, and vehicle
JP2017204227A (en) In-vehicle control device, control method, and computer program
JP2023166016A (en) Control device, method, program, and vehicle
KR102109125B1 (en) Method for managing state of ECU in vehicle based on automotive open system architecture
US20220276853A1 (en) Ota master, center, system, update method, and vehicle
CN113613954A (en) Electronic control device and method for setting control data
JP2020017221A (en) Update controller and update control method
JP7221604B2 (en) Control system and control method for control system
US12518015B2 (en) Mitigation of a manipulation of software of a vehicle
CN106161086A (en) Control method that master control borad is restarted and device

Legal Events

Date Code Title Description
A621 Written request for application examination

Free format text: JAPANESE INTERMEDIATE CODE: A621

Effective date: 20210715

A977 Report on retrieval

Free format text: JAPANESE INTERMEDIATE CODE: A971007

Effective date: 20220621

A131 Notification of reasons for refusal

Free format text: JAPANESE INTERMEDIATE CODE: A131

Effective date: 20220712

A521 Request for written amendment filed

Free format text: JAPANESE INTERMEDIATE CODE: A523

Effective date: 20220909

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: 20230202

R150 Certificate of patent or registration of utility model

Ref document number: 7221604

Country of ref document: JP

Free format text: JAPANESE INTERMEDIATE CODE: R150

R250 Receipt of annual fees

Free format text: JAPANESE INTERMEDIATE CODE: R250