JP2020129332A - Electronic control system for automobile - Google Patents
Electronic control system for automobile Download PDFInfo
- Publication number
- JP2020129332A JP2020129332A JP2019022515A JP2019022515A JP2020129332A JP 2020129332 A JP2020129332 A JP 2020129332A JP 2019022515 A JP2019022515 A JP 2019022515A JP 2019022515 A JP2019022515 A JP 2019022515A JP 2020129332 A JP2020129332 A JP 2020129332A
- Authority
- JP
- Japan
- Prior art keywords
- electronic control
- data
- ecu
- control system
- ecus
- 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
Landscapes
- Retry When Errors Occur (AREA)
- Memory System (AREA)
Abstract
Description
本発明は、自動車用電子制御システムに関する。 The present invention relates to a vehicle electronic control system.
近年、自動車用の電子制御装置(ECU:Electronic Control Unit)が取り扱うデータ量は、増加の一途を辿っている。そのような取り扱うデータ量の増加に伴い、ECUにデータの保存可能領域を増やす必要性が高まってる。したがって、ハードウェアに対するコストの増加は避けられない。 2. Description of the Related Art In recent years, the amount of data handled by electronic control units (ECUs) for automobiles has been increasing steadily. With such an increase in the amount of data to be handled, there is an increasing need to increase the data storable area in the ECU. Therefore, an increase in cost for hardware is unavoidable.
一般に、各ECUへのデータの保存は、各々のECUが実行する。あるECUのデータは、そのECUのメモリに保存され、他のECUのメモリには保存されない。しかし、近年では、他のECUのメモリにデータを保存する方法も存在している。 Generally, each ECU saves data in each ECU. The data of a certain ECU is stored in the memory of that ECU, and is not stored in the memory of another ECU. However, in recent years, there is also a method of storing data in the memory of another ECU.
特許文献1乃至3には、他のECUのメモリにデータを保存するために、親ECUを新たに設ける方法が開示されている。親ECUは、他のECUのデータ保存可能領域に内の空き容量の情報を保有しており、他のECUにデータを保存する際には、その空き容量情報に基づいて保存先を決定する。
しかし、特許文献1乃至3に開示されているように、他のECUにデータを保存する方法では、他のECUに保存するデータの割り振りを管理するために、親ECUを設ける必要がある。そのため、親ECUが故障した場合、他のECUにデータを分散して保存することが不可能になる問題があった。
However, as disclosed in
本発明は、上記課題を解決するためのものであり、その目的は、電子制御装置のデータを適切に保存することができる技術を提供することにある。 The present invention is intended to solve the above problems, and an object thereof is to provide a technique capable of appropriately storing data of an electronic control device.
上記課題を解決するため、本発明に従う自動車用電子制御システムは、メモリと、CPUとを各々が備えた複数の電子制御装置がネットワークを介して接続された自動車用電子制御システムであって、前記複数の電子制御装置のうちの2以上の電子制御装置は、前記複数の電子制御装置の各々のメモリ毎のデータ保存可能容量を含む空き状況テーブルを前記メモリに格納し、前記CPUが、前記空き状況テーブルに基づいて、他の電子制御装置にデータの保存命令を送信するメイン電子制御装置である。 In order to solve the above problems, an automobile electronic control system according to the present invention is an automobile electronic control system in which a plurality of electronic control devices each including a memory and a CPU are connected via a network. Two or more electronic control devices of the plurality of electronic control devices store a vacancy status table including a data storable capacity for each memory of the plurality of electronic control devices in the memory, and the CPU causes the vacant space It is a main electronic control unit that sends a data storage command to another electronic control unit based on a status table.
本発明によれば、電子制御装置のデータを適切に保存することができる。 According to the present invention, the data of the electronic control device can be appropriately saved.
以下、添付図面を参照して幾つかの実施形態について詳述する。本実施形態は、本発明を実現するための一例に過ぎず、本発明の技術的範囲を限定するものではないことに注意すべきである。各図において共通の構成については、同一の参照符号が付されている。 Hereinafter, some embodiments will be described in detail with reference to the accompanying drawings. It should be noted that the present embodiment is merely an example for realizing the present invention and does not limit the technical scope of the present invention. In each drawing, the same reference numerals are attached to the common configurations.
本実施形態では、複数の電子制御装置(Electronic Control Unit。以下、ECU)にデータを分散して保存するデータ保存処理を実行する自動車用電子制御システムの一例を説明する。
<第1実施形態>
In the present embodiment, an example of a vehicle electronic control system that executes a data saving process of distributing and saving data in a plurality of electronic control units (ECUs) will be described.
<First Embodiment>
図1は、第1実施形態に係る自動車用電子制御システムの構成図である。 FIG. 1 is a configuration diagram of an automobile electronic control system according to the first embodiment.
自動車用電子制御システム1は、メモリ111と、CPU112とを各々が備えた複数のECU101〜104を備えている。複数のECU101〜104は、ネットワーク(不図示)を介して相互に通信可能に接続されている。
The vehicle
メモリ111は、取得したデータや各種処理に用いるデータを格納する。例えば、メモリ111は、後述する空き状況テーブル200(図2参照)を格納する。メモリ111内は、複数のデータ保存領域に区画されてもよい。
The
CPU112は、データの保存および保存先の決定等の各種処理を実行する。例えば、CPU112は、空き状況テーブル200に基づいて、ECU101〜104の各々のメモリ111のうちからデータの保存先を決定し、他のECUにデータの保存命令を送信する。即ち、本実施形態では、ECU101〜104の各々は、CPU112が、空き状況テーブル200に基づいて、他のECUにデータの保存命令を送信するメインECUである。
The
例えば、ECU102が故障情報を取得した場合(S1)、ECU102は、他のECU101,103,104に所定期間内に取得したデータの保存命令を送信する(S2)。ECU102と、ECU102データの保存命令を受信したECU101,103,104とは、所定期間内に取得したデータをメモリ111に保存する(S3)。
For example, when the ECU 102 acquires the failure information (S1), the
図2は、第1実施形態に係る空き状況テーブルの構成図である。 FIG. 2 is a configuration diagram of the availability table according to the first embodiment.
空き状況テーブル200には、周期的にECU101〜104が取得した各種データが書き込まれる。空き状況テーブル200は、ECU101〜104の各々のメモリ111へのデータの保存時に、データの保存先を決定する際に用いられる。
Various data acquired by the ECUs 101 to 104 are periodically written in the availability table 200. The availability table 200 is used when data is stored in the
空き状況テーブル200は、項目値(またはカラム値)として、ECU ID201と、データ保存可能容量202と、ECUの故障状況203と、各領域の書き込み可否204と、書き込み優先度205と、書き込みステータス206とを含んでよい。
The vacancy status table 200 has, as item values (or column values), an
ECU ID201は、ECU101〜104を特定する識別子である。ECU ID201には、自ECUの情報以外に他のECUの情報が含まれている。データ保存可能容量202は、ECU101〜104の各々のメモリ111が保存可能なデータ量である。ECUの故障状況(故障情報)203は、各ECU101〜104の故障の有無である。各領域の書き込み可否204は、ECU101〜104の各データ保存領域への書き込みが可能か否かである。書き込み優先度205は、各データ保存領域にデータを書き込むときの優先度である。ステータス206は、各データ保存領域の書き込み状況である。例えば、ステータス206は、“書き込み済み”、“空き”、または“書き込み中”でよい。
The
空き状況テーブル200は、項目値として、空き状況テーブル200の更新の順序を含んでよい。空き状況テーブル200は、項目値として、属性を含んでよい。これにより、データ保存可能容量202が不足するメモリ111に対して新たにデータを保存するときに、既にメモリ111に保存したデータと新たなデータの重要度を比較して、重要度が低いデータは削除し、重要度の高いデータを保存することができる。空き状況テーブル200は、必要に応じて上記以外の情報を含んでもよく、上記の情報のうちの何れかを含まなくてもよい。
The availability table 200 may include an update order of the availability table 200 as an item value. The availability table 200 may include attributes as item values. As a result, when newly storing data in the
図3は、第1実施形態に係る空き状況テーブルの更新処理の流れ図である。 FIG. 3 is a flow chart of the free space table update processing according to the first embodiment.
空き状況テーブル200の更新処理は、周期的(例えば、1〜2ms)に実行される。 The update processing of the availability table 200 is executed periodically (for example, 1 to 2 ms).
空き状況テーブル200の更新対象のECUのCPU112は、更新周期毎に、自ECUの空き状況を自ECUの空き状況テーブル200に書き込む(S301)。その後、更新対象のECUのCPU112は、次に空き状況を保存する次の更新対象のECUを確認する(S302)。尚、空き状況を保存する順序は、予め空き状況テーブル200に設定されてよい。更新対象のECUのCPU112は、次の更新対象のECUと通信し、次の更新対象のECUが正常か否かを判定する(S303)。S303の判定結果が真の場合(S303:YES)、更新対象のECUのCPU112は、自ECUの空き状況テーブル200を次の空き状況テーブル200の更新対象のECUの空き状況テーブル200に上書きする(S304)。S303の判定結果が偽の場合(S303:NO)、更新対象のECUのCPU112は、自ECUの空き状況テーブル200の故障状況203にその正常ではないECUを無効なECUとして登録し(S305)、S302に戻り、次の更新対象のECUを決定する。
The
図4は、第1実施形態に係るデータ保存処理の流れ図である。 FIG. 4 is a flowchart of the data storage process according to the first embodiment.
保存対象のデータを保存するECU(自ECU)のCPU112は、自ECUの空き状況テーブル200を参照し、ECU101〜104の各々のメモリ111に保存対象のデータを保存する領域があるか否かを確認し、書き込み先を決定する(S401)。次いで、自ECUのCPU112は、決定した書き込み先のECUが正常か否かを判定する(S402)。S402の判定結果が真の場合(S402:YES)、自ECUのCPU112は、空き状況テーブル200の対象領域に対応するステータス206を“書き込み中”に変更し、S405に進む(S404)。
The
一方、S402の判定結果が偽の場合(S402:NO)、自ECUのCPU112は、空き状況テーブル200の故障状況203にその正常ではないECUを無効なECUとして登録する(S403)。S405では、自ECUのCPU112は、保存対象のデータを書き込み先ECUのメモリ111に書き込む。次いで、自ECUのCPU112は、S404で“書き込み中”に変更した空き状況テーブル200のステータス206を“書き込み完了”に変更する(S406)。S406において、ステータス206には、“書き込み完了”を含むことによって、他のECUがデータを上書きしてしまうことを防ぐことができる。次いで、自ECUのCPU112は、書き込み先ECUの空き状況を自ECUの空き状況テーブル200に書き込む。最後に、自ECUのCPU112は、他のECUの空き状況テーブル200の空き状況を自ECUが格納する空き状況テーブル200で上書きする(S408)。
On the other hand, if the determination result in S402 is false (S402: NO), the
尚、CPU112による書き込みは、ECU内部にあるキューに基づいて実行されるため、各ECU内部でのデータ保存と、他のECUからのデータ保存による書き込みとは競合しない。各ECU101〜104の各々のCPU112は、保存先を決めるための空き状況テーブル200へのデータの保存と、空き状況テーブル200に基づくデータの保存先の決定とを実行する。
Since the writing by the
この構成によれば、ECU101〜104は、ECU101〜104の各々のメモリ11毎のデータ保存可能容量202を含む空き状況テーブル200をメモリ111に格納し、CPU112が、空き状況テーブル200に基づいて、他のECUにデータの保存命令を送信する。これにより、ECU101〜104のうちの何れかのECUが故障した際にも、自動車用電子制御システム1の運用続行が可能となる。
<第2実施形態>
According to this configuration, the
<Second Embodiment>
第2実施形態に係る自動車用電子制御システムについて説明する。尚、第2実施形態に係る自動車用電子制御システムは、第1実施形態に係る自動車用電子制御システムとは、データ保存処理の構成が異なるだけであり、その他の構成は、第1実施形態に係る自動車用電子制御システムと同様である。したがって、第1実施形態との相違点を中心に述べる。 The vehicle electronic control system according to the second embodiment will be described. The vehicle electronic control system according to the second embodiment is different from the vehicle electronic control system according to the first embodiment only in the configuration of data storage processing, and other configurations are the same as those in the first embodiment. It is similar to the electronic control system for a vehicle. Therefore, the differences from the first embodiment will be mainly described.
図5は、第2実施形態に係るデータ保存処理の流れ図である。 FIG. 5 is a flowchart of the data storage process according to the second embodiment.
先ず、自ECUのCPU112は、保存対象のデータと同時系列の他のECUのデータを保存するか否かを判定する(S501)。S501の判定結果が真の場合(S501:YES)、自ECUのCPU112は、他のECUにデータの保存命令を送信する(S502)。次いで、自ECUと、保存命令を受信した他のECUとは、図4と同様なデータ保存処理を実行する。一方、S501の判定結果が偽の場合(S501:NO)、自ECUのCPU112は、図4と同様なデータ保存処理を実行する。尚、S501において、他のECUのデータ保存の判定と、保存するデータの内容とは、予め設定された基準(故障時に全ECUのフリーズフレームデータを保存するなど)に基づいてよい。
First, the
なお、本発明は上記した各実施形態に限定されるものではなく、様々な変形例が含まれる。上記した各実施形態は本発明を分かりやすく説明するために詳細に説明されたものであり、必ずしも説明した全ての構成を備えるものに限定されるものではない。さらに、ある実施形態の構成の一部を他の実施形態の構成に置き換えることが可能であり、さらに、ある実施形態の構成に他の実施形態の構成を加えることも可能である。さらに、各実施形態の構成の一部について、他の構成の追加・削除・置換をすることが可能である。 It should be noted that the present invention is not limited to each of the above-described embodiments, and various modifications are included. The above-described embodiments have been described in detail in order to explain the present invention in an easy-to-understand manner, and are not necessarily limited to those having all the configurations described. Furthermore, a part of the configuration of one embodiment can be replaced with the configuration of another embodiment, and the configuration of one embodiment can be added to the configuration of another embodiment. Further, it is possible to add/delete/replace other configurations with respect to a part of the configurations of the respective embodiments.
例えば、ECU101〜104間のネットワークには、セキュリティ部が配置されてよい。これにより、他ECUに自ECUの空き情報(図3)および対象データ(図4)を保存するために、ECU間で通信する際に、ECU間通信のセキュリティを保証することができる。使用するセキュリティの種類は、共通鍵暗号方式でも公開鍵暗号方式でもよい。
For example, a security unit may be arranged in the network between the
さらに、ECU101〜104は、ECU101〜104のうちの2以上のECUのメモリ111に同一のデータを保存してもよい。これにより、データが保存されたECUから故障等の原因でデータを読み出せなくなっても、バックアップとして保存したECUからデータを取得することができ、データの消失を防ぐことができる。
Further, the
さらに、自ECUのCPU112は、1つのECUに限らずに複数のECUにデータを分散保存してもよい。データの分散先は、各ECUのデータ保存可能容量202の比、書き込み優先度205などに基づいて判定する。これにより、1つのECUにのみに書き込み負荷が掛かることを防ぐことが可能となる。
Furthermore, the
さらに、自ECUのCPU112は、空き状況テーブル200に格納されたECU101〜104のデータ保存可能容量202のみで判定することに限らない。例えば、自ECUのCPU112は、各領域の書き込み優先度205、各領域の書き込み可否204などの情報を予め空き状況テーブル200内に設定しておき、それらの情報に基づいて保存先の領域を判定してもよい。
Furthermore, the
さらに、自動車用電子制御システム1は、図6に示すように、ECU101〜104の各々のデータを保存可能なメモリ611を有するGateway601などの上位ECUを備えてよい。この場合、例えば、ECU102が故障情報を取得した場合(S4)、ECU102のCPU112は、他のECU101,103,104にデータの保存命令を送信する(S5)。ECU101〜104の各々のCPU112は、取得した新たなデータを含む空き状況をGateway601のメモリ611に保存する(S6)。尚、ECU101〜104は、メモリ111を備えてもよい。これにより、各ECU101〜104から集められた同時系列のデータを1か所に集めることができる。したがって、保存対象のデータを故障時のフリーズフレームデータなどのように同時系列で保存されることによって、故障原因の特定などに用いることができる。
Further, as shown in FIG. 6, the vehicle
さらに、上記実施形態では、ECU101〜104の各々がメインECUであった。しかし、ECU101〜104のうちの2以上のECUがメインECUで、残りのECUがデータの保存先を決定不可能なサブECUでよい。
Further, in the above embodiment, each of the
1…自動車用電子制御システム、101〜104…ECU、111…メモリ、112…CPU、200…空き状況テーブル空き状況テーブル、202…データ保存可能容量、203…故障状況、204…書き込み可否情報、205…書き込み優先度
1... Automotive electronic control system, 101-104... ECU, 111... Memory, 112... CPU, 200... Free space table Free space table, 202... Data storage capacity, 203... Failure status, 204... Writable/unusable information, 205 … Write priority
Claims (9)
前記複数の電子制御装置のうちの2以上の電子制御装置は、
前記複数の電子制御装置の各々のメモリ毎のデータ保存可能容量を含む空き状況テーブルを前記メモリに格納し、
前記CPUが、前記空き状況テーブルに基づいて、他の電子制御装置にデータの保存命令を送信するメイン電子制御装置である自動車用電子制御システム。 An electronic control system for a vehicle, wherein a plurality of electronic control devices each including a memory and a CPU are connected via a network,
Two or more of the plurality of electronic control devices,
A free space table including a data storable capacity for each memory of each of the plurality of electronic control devices is stored in the memory,
An electronic control system for an automobile, which is a main electronic control device in which the CPU transmits a data storage command to another electronic control device based on the availability table.
請求項1に記載の自動車用電子制御システム。 Each of the plurality of electronic control units is the main electronic control unit,
The vehicle electronic control system according to claim 1.
請求項1に記載の自動車用電子制御システム。 The main electronic control unit, when acquiring the failure information of any one of the plurality of electronic control units, transmits a data storage command to the other electronic control unit,
The vehicle electronic control system according to claim 1.
前記空き状況テーブルは、前記複数のデータ保存領域毎の書き込み可否情報および書き込み優先度情報を更に含む、
請求項1に記載の自動車用電子制御システム。 The memory is divided into a plurality of data storage areas,
The availability table further includes write enable/disable information and write priority information for each of the plurality of data storage areas,
The vehicle electronic control system according to claim 1.
請求項4に記載の自動車用電子制御システム。 The availability table further includes attribute information of data stored in the data storage area,
The vehicle electronic control system according to claim 4.
請求項1に記載の自動車用電子制御システム。 A security unit is arranged in the network,
The vehicle electronic control system according to claim 1.
請求項1に記載の自動車用電子制御システム。 The main electronic control unit stores the same data in the plurality of electronic control units,
The vehicle electronic control system according to claim 1.
請求項1に記載の自動車用電子制御システム。 The main electronic control unit divides and saves a plurality of divided data in the plurality of electronic control units,
The vehicle electronic control system according to claim 1.
請求項1に記載の自動車用電子制御システム。
A host electronic control device capable of storing data acquired by each of the plurality of electronic control devices;
The vehicle electronic control system according to claim 1.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
JP2019022515A JP2020129332A (en) | 2019-02-12 | 2019-02-12 | Electronic control system for automobile |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
JP2019022515A JP2020129332A (en) | 2019-02-12 | 2019-02-12 | Electronic control system for automobile |
Publications (1)
Publication Number | Publication Date |
---|---|
JP2020129332A true JP2020129332A (en) | 2020-08-27 |
Family
ID=72174632
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
JP2019022515A Pending JP2020129332A (en) | 2019-02-12 | 2019-02-12 | Electronic control system for automobile |
Country Status (1)
Country | Link |
---|---|
JP (1) | JP2020129332A (en) |
Citations (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JP2005301857A (en) * | 2004-04-15 | 2005-10-27 | Hitachi Ltd | Backup method |
JP2008254484A (en) * | 2007-04-02 | 2008-10-23 | Auto Network Gijutsu Kenkyusho:Kk | On-vehicle communication system |
JP2013084284A (en) * | 2006-09-21 | 2013-05-09 | Auto Network Gijutsu Kenkyusho:Kk | Electronic control system and electronic control device |
JP2014204315A (en) * | 2013-04-05 | 2014-10-27 | 株式会社デンソー | Relay device |
JP2018081349A (en) * | 2016-11-14 | 2018-05-24 | 日本電信電話株式会社 | Falsification detection system, verification ecu, ecu to be verified, program |
-
2019
- 2019-02-12 JP JP2019022515A patent/JP2020129332A/en active Pending
Patent Citations (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JP2005301857A (en) * | 2004-04-15 | 2005-10-27 | Hitachi Ltd | Backup method |
JP2013084284A (en) * | 2006-09-21 | 2013-05-09 | Auto Network Gijutsu Kenkyusho:Kk | Electronic control system and electronic control device |
JP2008254484A (en) * | 2007-04-02 | 2008-10-23 | Auto Network Gijutsu Kenkyusho:Kk | On-vehicle communication system |
JP2014204315A (en) * | 2013-04-05 | 2014-10-27 | 株式会社デンソー | Relay device |
JP2018081349A (en) * | 2016-11-14 | 2018-05-24 | 日本電信電話株式会社 | Falsification detection system, verification ecu, ecu to be verified, program |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
JP2008168649A (en) | Vehicular control system | |
WO2020183954A1 (en) | Vehicle control system, vehicle control method, and non-transitory computer-readable medium in which vehicle control program is stored | |
JP2018190223A (en) | On-vehicle relay device, control program, and memory sharing method | |
JP2017171114A (en) | Vehicle software allocation system | |
JP2013246718A (en) | Control system and program updating method | |
US20150310038A1 (en) | Method and Device for Managing Map Data of a Digital Map for a Navigation Apparatus | |
JP6913621B2 (en) | Electronic control device for automobiles | |
WO2015045507A1 (en) | Vehicular control device | |
JP2014204315A (en) | Relay device | |
CN110069336A (en) | Memory source distribution method, distributor, chip and storage device | |
CN115576716A (en) | Memory management method based on multiple processes | |
US10545885B2 (en) | Information processing device, information processing method, and computer program product | |
JP2020129332A (en) | Electronic control system for automobile | |
US20060031634A1 (en) | Management method for cache memory, storage apparatus, and computer system | |
JP5447532B2 (en) | Information processing device | |
JP7211189B2 (en) | Update processing system and update processing method | |
JP6349444B2 (en) | Vehicle control device | |
JP2017204083A (en) | Memory protection system | |
US7805576B2 (en) | Information processing system, information processing board, and method of updating cache tag and snoop tag | |
CN107664978B (en) | Programmable controller | |
US20070234303A1 (en) | Software verification method, system and program | |
US20240177547A1 (en) | Vehicle storage management system, storage medium, and storage management method | |
WO2020179344A1 (en) | Vehicle control device | |
JP7483158B2 (en) | Train information management support device, central device, display device, train information management system, train information management support method, and train information management support program | |
WO2023209820A1 (en) | In-vehicle electronic device |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
A621 | Written request for application examination |
Free format text: JAPANESE INTERMEDIATE CODE: A621 Effective date: 20210705 |
|
A977 | Report on retrieval |
Free format text: JAPANESE INTERMEDIATE CODE: A971007 Effective date: 20220427 |
|
A131 | Notification of reasons for refusal |
Free format text: JAPANESE INTERMEDIATE CODE: A131 Effective date: 20220510 |
|
A521 | Request for written amendment filed |
Free format text: JAPANESE INTERMEDIATE CODE: A523 Effective date: 20220629 |
|
A02 | Decision of refusal |
Free format text: JAPANESE INTERMEDIATE CODE: A02 Effective date: 20220927 |