JP2020082953A - Network system - Google Patents

Network system Download PDF

Info

Publication number
JP2020082953A
JP2020082953A JP2018218374A JP2018218374A JP2020082953A JP 2020082953 A JP2020082953 A JP 2020082953A JP 2018218374 A JP2018218374 A JP 2018218374A JP 2018218374 A JP2018218374 A JP 2018218374A JP 2020082953 A JP2020082953 A JP 2020082953A
Authority
JP
Japan
Prior art keywords
processing
ecu
load
execution
vehicle
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
Application number
JP2018218374A
Other languages
Japanese (ja)
Inventor
友和 守谷
Tomokazu Moriya
友和 守谷
治晃 井上
Haruaki Inoue
治晃 井上
服部 雅一
Masakazu Hattori
雅一 服部
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.)
Toyota Motor Corp
Original Assignee
Toyota Motor Corp
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 Toyota Motor Corp filed Critical Toyota Motor Corp
Priority to JP2018218374A priority Critical patent/JP2020082953A/en
Publication of JP2020082953A publication Critical patent/JP2020082953A/en
Pending legal-status Critical Current

Links

Images

Landscapes

  • Small-Scale Networks (AREA)

Abstract

To provide a network system which is suppressed in an increase of a processing load of a center processing ECU which performs plurality of kinds of processing for controlling a vehicle.SOLUTION: A network system is mounted to a vehicle. The network system comprises a center processing ECU for performing a plurality of pieces of processing for controlling the vehicle, and a plurality of peripheral processing ECUs for receiving data from the center processing ECU, and controlling a sensor or an actuator arranged in the vehicle on the basis of the data. The center processing ECU comprises: an execution part for performing the plurality of pieces of processing; a load calculation part for calculating a processing load of the execution part; and an execution changeover part for making the peripheral processing ECUs perform a part of the processing which is performed by the execution part when the processing load calculated by the load calculation part exceeds a constant value, and making the execution part stop its execution.SELECTED DRAWING: Figure 2

Description

本発明は、車両等に搭載されるネットワークシステムに関する。 The present invention relates to a network system mounted on a vehicle or the like.

車両には、複数のバスを含むネットワークシステムが搭載されている。各バスにはそれぞれ1つ以上のECU(Electronic Control Unit)と呼ばれる車載機器が接続されている。また、各バスはゲートウェイ装置に接続され、バス間でのデータの中継がゲートウェイ装置によって行われる。各ECUは、典型的にはプロセッサを備え、互いにバスを介してデータを送受信したり、車両が備えるセンサから情報を取得したりして、センサや車両が備えるアクチュエータの制御を行って、車両の各機能を分担して実行する。 A vehicle is equipped with a network system including a plurality of buses. One or more in-vehicle devices called ECUs (Electronic Control Units) are connected to each bus. Each bus is connected to a gateway device, and the gateway device relays data between the buses. Each ECU typically includes a processor, transmits and receives data to and from each other via a bus, obtains information from a sensor included in the vehicle, and controls an actuator included in the vehicle to control the sensor included in the vehicle. Each function is shared and executed.

このようなネットワークシステムにおいて処理負荷を低減することが提案されている。特許文献1は、車載ネットワークシステムにおいて、現在の車両の状態に基づいて優先度の低いデータフレームを特定し、優先度の低いデータフレームの伝送処理やゲートウェイによる中継処理を抑制することを開示している。また、特許文献2は、車載ネットワーク装置において、現在の車両の状態に基づいて優先度の高いデータフレームを特定し、優先度の低いデータフレームに対する不正データ検知処理を抑制することを開示している。 It has been proposed to reduce the processing load in such a network system. Patent Document 1 discloses that in a vehicle-mounted network system, a low-priority data frame is specified based on the current vehicle state, and transmission processing of the low-priority data frame and relay processing by a gateway are suppressed. There is. Further, Patent Document 2 discloses that in a vehicle-mounted network device, a high-priority data frame is specified based on the current vehicle state, and the illegal data detection process for the low-priority data frame is suppressed. ..

特開2018−98733号公報JP, 2018-98733, A 特開2017−47835号公報JP, 2017-47835, A

複数のECUが分担して実行していた車両の制御のための複数の処理を、1つの中央処理ECUに集約、統合することで、機能の高度化および多様化を推進し、また、機能の更新、追加を容易にすることが検討されている。中央処理ECUの処理負荷の抑制に、上述の特許文献の方法を適用することができるが、すべての処理対象のデータに優先度が付けられるとは限らず、効果に限度がある。また、複数のECUで処理を分担する場合は処理負荷のばらつきも分散され、平常時と高負荷時との処理負荷の差は限定的であるが、中央処理ECUに処理を集約すると平常時と高負荷時との処理負荷の差が大きくなる。そのため、中央処理ECUに処理を集約する場合は、高負荷時の対策がとくに重要であり、さらなる処理負荷の抑制方法が望まれる。 By consolidating and integrating multiple processes for vehicle control that were shared by multiple ECUs and executed in one central processing ECU, it is possible to promote the sophistication and diversification of functions, and It is being considered to facilitate updating and addition. The method of the above-mentioned patent document can be applied to suppress the processing load of the central processing ECU, but not all data to be processed are given priority, and the effect is limited. Further, when the processing is shared by a plurality of ECUs, the dispersion of the processing load is dispersed, and the difference in the processing load between the normal time and the high load is limited. The difference in processing load from that under high load becomes large. Therefore, when processing is centralized in the central processing ECU, measures against a high load are particularly important, and a method of further suppressing the processing load is desired.

本発明は、上記課題を鑑みてなされたものであり、車両の制御のための複数の処理を実行する中央処理ECUの処理負荷増を抑制したネットワークシステムを提供することを目的とする。 The present invention has been made in view of the above problems, and an object of the present invention is to provide a network system that suppresses an increase in the processing load of a central processing ECU that executes a plurality of processes for controlling a vehicle.

上記課題を解決するために、本発明の一局面は、車両に搭載されたネットワークシステムであって、車両の制御のための複数の処理を実行する中央処理ECUと、中央処理ECUからデータを受信して、データに基づいて、車両が備えるセンサまたはアクチュエータの制御をそれぞれ実行する複数の周辺処理ECUとを備え、中央処理ECUは、複数の処理を実行する実行部と、実行部の処理負荷を算出する負荷算出部と、負荷算出部が算出した処理負荷が一定値を超える場合、実行部が実行している処理の一部について、周辺処理ECUに実行させるとともに、実行部による実行を停止させる実行切替部とを備える、ネットワークシステムである。 In order to solve the above problems, one aspect of the present invention is a network system mounted on a vehicle, which receives a data from the central processing ECU that executes a plurality of processes for controlling the vehicle. Then, the central processing ECU includes a plurality of peripheral processing ECUs that respectively execute control of a sensor or an actuator included in the vehicle based on the data, and the central processing ECU determines an execution unit that executes a plurality of processes and a processing load of the execution unit. When the load calculation unit to be calculated and the processing load calculated by the load calculation unit exceed a certain value, the peripheral processing ECU is caused to execute a part of the processing executed by the execution unit, and the execution unit stops the execution. A network system including an execution switching unit.

以上のように、本発明によれば、車両の制御のための複数の処理を実行する中央処理ECUの処理負荷増を抑制したネットワークシステムを提供することができる。 As described above, according to the present invention, it is possible to provide a network system that suppresses an increase in the processing load of the central processing ECU that executes a plurality of processes for controlling the vehicle.

本発明の一実施形態に係るネットワークシステムの構成図Configuration diagram of a network system according to an embodiment of the present invention 本発明の一実施形態に係る中央処理ECUの処理の一例を示すフローチャートA flow chart showing an example of processing of central processing ECU concerning one embodiment of the present invention. 本発明の一実施形態に係る中央処理ECUの処理の他の例を示すフローチャートThe flowchart which shows the other example of the process of the central processing ECU which concerns on one Embodiment of this invention.

本発明に係るネットワークシステムにおいては、中央処理ECUが車両制御のための複数の機能を実現するための処理を実行する。中央処理ECUが通常実行する処理のうち所定の処理については、中央ECUの処理負荷が高くなる場合は、中央処理ECU以外のECUである周辺処理ECUで実行して、中央ECUの処理負荷増大を抑制する。 In the network system according to the present invention, the central processing ECU executes processing for realizing a plurality of functions for vehicle control. When the processing load of the central ECU becomes high, the predetermined processing among the processing that is normally executed by the central processing ECU is executed by peripheral processing ECUs other than the central processing ECU to increase the processing load of the central ECU. Suppress.

(実施形態)
以下、本発明の一実施形態について、図面を参照しながら詳細に説明する。
(Embodiment)
Hereinafter, an embodiment of the present invention will be described in detail with reference to the drawings.

<構成>
図1に、本実施形態に係るネットワークシステム1の構成を示す。ネットワークシステム1は、車両に搭載され、ECUとして中央処理ECU10と、1つ以上の周辺処理ECU21、22、23、…とを備える。中央処理ECU10と周辺処理ECU21、22、23、…は、バス50を介して接続されている。周辺処理ECU21には、1つ以上のセンサ31と1つ以上のアクチュエータ41とが接続されている。同様に、周辺処理ECU22には、1つ以上のセンサ32と1つ以上のアクチュエータ42とが接続されている。また、周辺処理ECU23には、1つ以上のセンサ33と1つ以上のアクチュエータ43とが接続されている。周辺処理ECUの数は限定されない。また、中央処理ECU10には、車載通信モジュールであるDCM(Data Communication Module)60が接続されており車外の特定のサーバー等と通信を行うことができる。
<Structure>
FIG. 1 shows the configuration of a network system 1 according to this embodiment. The network system 1 is mounted on a vehicle and includes a central processing ECU 10 as an ECU and one or more peripheral processing ECUs 21, 22, 23,.... The central processing ECU 10 and the peripheral processing ECUs 21, 22, 23,... Are connected via a bus 50. One or more sensors 31 and one or more actuators 41 are connected to the peripheral processing ECU 21. Similarly, one or more sensors 32 and one or more actuators 42 are connected to the peripheral processing ECU 22. In addition, one or more sensors 33 and one or more actuators 43 are connected to the peripheral processing ECU 23. The number of peripheral processing ECUs is not limited. A DCM (Data Communication Module) 60, which is an in-vehicle communication module, is connected to the central processing ECU 10, and can communicate with a specific server or the like outside the vehicle.

中央処理ECU10は、周辺処理ECU21、22、23、…から受信したデータ等に基づいて、車両の各機能を実現するための複数の処理を実行し、周辺処理ECU21、22、23、…に処理結果を表すデータを送信する。各機能とは、例えば、ナビゲーション、交通情報、オーディオ、ビデオ等のインフォテインメントと呼ばれるユーザーへの情報提示機能、ADASと呼ばれる先進運転支援機能、自動運転機能、車外との無線通信を用いた車外連携サービス機能、車外との無線通信によって受信した更新データによる中央処理ECU10あるいは周辺処理ECU21、22、23、…のプログラムの更新(OTAソフト更新)機能、ユーザー(ドライバ)の視線方向や注意レベル等を監視するドライバ監視機能等である。 The central processing ECU 10 executes a plurality of processing for realizing each function of the vehicle based on the data received from the peripheral processing ECUs 21, 22, 23,... And the peripheral processing ECUs 21, 22, 23,. Send data that represents the result. Each function is, for example, a function for presenting information to the user called infotainment such as navigation, traffic information, audio, video, etc., an advanced driving support function called ADAS, an automatic driving function, and a vehicle exterior using wireless communication with the vehicle exterior. Coordinated service function, program update (OTA software update) function of central processing ECU 10 or peripheral processing ECUs 21, 22, 23,... Based on update data received by wireless communication with the outside of the vehicle, user's (driver's) line-of-sight direction, attention level, etc. Is a driver monitoring function for monitoring.

各周辺処理ECU21、22、23、…は、それぞれに接続されたセンサから情報を取得して、これに基づいて中央処理ECU10にデータを送信したり、中央処理ECU10から受信したデータに基づいて、それぞれに接続されているセンサやアクチュエータを制御したりすることができる。センサは例えば、車速センサ、カメラ、レーダー、スイッチ等であり、車両やその周囲の各種状態や、ユーザーによる入力等を取得する。アクチュエータは例えば、エンジン、ブレーキ、変速機、パワーステアリング、エアコン、ナビゲーション装置等のような、力、エネルギー、情報等の出力装置である。なお、周辺処理ECUは、その機能に応じて、センサのみ備えてもよいし、アクチュエータのみ備えてもよい。また、周辺処理ECUとセンサ、アクチュエータとの接続の態様は限定されず、図1に示すようにローカルなバスを用いてもよいし、センサごと、アクチュエータごとに個別の信号線を用いてもよい。また、ローカルなバスと個別の信号線との両方が用いられてもよい。 Each peripheral processing ECU 21, 22, 23,... Acquires information from the sensor connected to each, and transmits data to the central processing ECU 10 based on this, or based on the data received from the central processing ECU 10, It is possible to control sensors and actuators connected to each. The sensor is, for example, a vehicle speed sensor, a camera, a radar, a switch or the like, and acquires various states of the vehicle and its surroundings, an input by the user, and the like. The actuator is, for example, an output device of force, energy, information or the like such as an engine, a brake, a transmission, a power steering, an air conditioner and a navigation device. The peripheral processing ECU may be provided with only a sensor or only an actuator depending on its function. Further, the mode of connection between the peripheral processing ECU and the sensors and actuators is not limited, and a local bus may be used as shown in FIG. 1, or individual signal lines may be used for each sensor and each actuator. .. Also, both local buses and individual signal lines may be used.

また、本実施形態では、中央処理ECU10は、DCM60を用いた車外との通信において、車両の機能に支障をもたらすような、不正なデータを受信した場合にこれを検知する、通信監視機能を実行することができる。DCM60から受信する全データが中央処理ECU10を経由するので、中央処理ECU10が通信監視機能を有することで、監視対象となるデータの漏れのない総合的な監視が可能である。本実施形態では、各周辺処理ECU21、22、23、…も、自装置がバス50から受け取るデータや、自装置と自装置に接続されたセンサ、アクチュエータとの間のデータの監視を行うことができる。各周辺処理ECU21、22、23、…がこのように自装置周辺の通信監視機能を有することで、中央処理ECU10による通信監視機能が動作していなくても、漏れのない監視が全体として可能となる。本実施形態では、後述するように、中央処理ECU10の起動時や負荷が所定値以下であるような場合は、中央処理ECU10が通信監視機能のための処理を実行し、所定値を超える場合は、周辺処理ECU21、22、23、…が通信監視機能のための処理を実行する。 Further, in the present embodiment, the central processing ECU 10 executes a communication monitoring function of detecting, when communication with the outside of the vehicle using the DCM 60 is received, which may cause a hindrance to the function of the vehicle, when the illegal data is received. can do. Since all the data received from the DCM 60 passes through the central processing ECU 10, the central processing ECU 10 has a communication monitoring function, so that comprehensive monitoring of data to be monitored without omission is possible. In the present embodiment, each of the peripheral processing ECUs 21, 22, 23,... Can also monitor data received by the device itself from the bus 50 and data between the device itself and the sensors and actuators connected to the device. it can. Since each peripheral processing ECU 21, 22, 23,... Has the communication monitoring function around the own device in this way, even if the communication monitoring function by the central processing ECU 10 is not operating, it is possible to perform monitoring without omission as a whole. Become. In the present embodiment, as will be described later, when the central processing ECU 10 is activated or when the load is below a predetermined value, the central processing ECU 10 executes processing for the communication monitoring function, and when it exceeds the predetermined value, , The peripheral processing ECUs 21, 22, 23,... Execute processing for the communication monitoring function.

中央処理ECU10は、上述の各機能のための処理を実行する実行部11と、後述する負荷の算出を行う負荷算出部12および負荷低減のための処理を実行する実行切替部13とを備える。これらの各部は、例えばCPUとメモリとを備えるコンピュータによって実現される。 The central processing ECU 10 includes an execution unit 11 that executes a process for each of the functions described above, a load calculation unit 12 that calculates a load described below, and an execution switching unit 13 that executes a process for reducing the load. Each of these units is realized by, for example, a computer including a CPU and a memory.

<処理>
図2は、本実施形態の一例に係る中央処理ECU10の処理を表すフローチャートである。図2を参照して、処理を説明する。本処理は、例えばネットワークシステム1が起動し、中央処理ECU10の実行部11が通信監視機能を実行開始した時に開始される。実行部11は、中央処理ECU10の動作中、周辺処理ECU21、22、23、…から受信するデータ等に基づいて、複数の機能のための処理を実行する。また、実行部11は、周辺処理ECU21、22、23、…から受信するデータ等に基づいて、中央ECU10の通信監視機能以外の各機能のうち、非動作状態の機能のいずれを動作状態(オン)にし、動作状態の機能のいずれを非動作状態(オフ)とするかを決定する。
<Process>
FIG. 2 is a flowchart showing the processing of the central processing ECU 10 according to the example of the present embodiment. The processing will be described with reference to FIG. This process is started, for example, when the network system 1 is activated and the execution unit 11 of the central processing ECU 10 starts executing the communication monitoring function. During the operation of the central processing ECU 10, the execution unit 11 executes processing for a plurality of functions based on data received from the peripheral processing ECUs 21, 22, 23,.... Further, the execution unit 11 determines which of the non-operational functions among the functions other than the communication monitoring function of the central ECU 10 based on the data received from the peripheral processing ECUs 21, 22, 23,... ), and which of the functions in the operating state is set to the non-operating state (OFF) is determined.

(ステップS101):実行部11は、上述した決定の結果、各機能のオン/オフに変化が発生すれば、ステップS102に進む。各機能のオン/オフに変化が発生しなければ、本ステップS101を繰り返す。 (Step S101): The execution unit 11 proceeds to step S102 if the on/off state of each function changes as a result of the above determination. If there is no change in ON/OFF of each function, this step S101 is repeated.

(ステップS102):実行部11は、オンからオフに変化した機能があれば、その機能のための処理の実行を停止する。なお、オフからオンに変化した機能があっても、本ステップでは、その機能のための処理の実行を開始しない。 (Step S102): If there is a function changed from ON to OFF, the execution unit 11 stops the execution of the process for that function. Even if there is a function that has changed from off to on, in this step, execution of processing for that function is not started.

(ステップS103):負荷算出部12は、現在オンである機能に対応付けられた負荷値に基づいて、中央処理ECU10の処理負荷を算出する。負荷値とは例えば、各機能を実行するために、実行部11の処理を実行するCPUに要求されるクロック周波数やメモリ使用量である。負荷算出部12は、各機能とその負荷値を対応付けたテーブルを予め保持している。以下の表1に、テーブルの例を示す。負荷算出部12は、テーブルを参照して、オン状態の機能の負荷値を取得し、例えば負荷値の合計値を、中央処理ECU10の処理負荷として算出することができる。なお、このようなテーブルは、設計値に基づいて定めてもよいし、過去の動作中における学習値に基づいて定めてもよい。 (Step S103): The load calculation unit 12 calculates the processing load of the central processing ECU 10 based on the load value associated with the function that is currently on. The load value is, for example, a clock frequency or a memory usage amount required for the CPU that executes the process of the execution unit 11 in order to execute each function. The load calculation unit 12 holds in advance a table in which each function is associated with its load value. Table 1 below shows an example of the table. The load calculation unit 12 can refer to the table to acquire the load value of the function in the ON state, and calculate the total value of the load values as the processing load of the central processing ECU 10, for example. It should be noted that such a table may be set based on a design value or may be set based on a learning value during a past operation.

Figure 2020082953
Figure 2020082953

(ステップS104):実行切替部13は、ステップS103で算出した最新の中央処理ECU10の処理負荷と、前回に算出した処理負荷とを比較する。比較の結果、処理負荷が所定の変化をした場合、ステップS105に進み、所定の変化をしていない場合、ステップS106に進む。所定の変化とは、前回の処理負荷が所定値以下であり、最新の処理負荷が所定値より大きくなり、処理負荷が許容範囲内から許容範囲外に増加したと考えることができる変化、あるいは、前回の処理負荷が所定値より大きく、最新の処理負荷が所定値以下となり、処理負荷が許容範囲外から許容範囲内に減少したと考えることができる変化である。なお、本処理開始後、最初に処理負荷を算出したときは、前回に算出した処理負荷が存在しないので、例えば、最新の処理負荷と初期値0とを比較すればよい。 (Step S104): The execution switching unit 13 compares the latest processing load of the central processing ECU 10 calculated in step S103 with the processing load calculated last time. As a result of the comparison, if the processing load has changed by a predetermined amount, the process proceeds to step S105, and if not, the process proceeds to step S106. The predetermined change is a change that can be considered that the previous processing load is less than or equal to a predetermined value, the latest processing load is larger than the predetermined value, and the processing load increases from within the allowable range to outside the allowable range, or This is a change that can be considered that the previous processing load is larger than the predetermined value, the latest processing load is less than or equal to the predetermined value, and the processing load is reduced from outside the allowable range to within the allowable range. When the processing load is first calculated after the start of this processing, the processing load calculated last time does not exist, so the latest processing load may be compared with the initial value 0, for example.

なお、所定値として、第1所定値と、第1所定値より小さい第2所定値とを定め、前回の処理負荷が第1所定値以下であり、最新の処理負荷が第1所定値より大きい場合、および、前回の処理負荷が第2所定値より大きく、最新の処理負荷が第2所定値以下である場合に、所定の変化が発生したと判定してもよい。こうすれば、所定の変化が発生したと判定される頻度が低下して、つぎに説明するステップS105に進む頻度が低くなり、所定の処理を実行するECUの切り替えの発生頻度が低くなるため、ネットワークシステム1の動作が安定する。 As the predetermined value, a first predetermined value and a second predetermined value smaller than the first predetermined value are set, the previous processing load is less than or equal to the first predetermined value, and the latest processing load is larger than the first predetermined value. In this case, and when the previous processing load is greater than the second predetermined value and the latest processing load is less than or equal to the second predetermined value, it may be determined that the predetermined change has occurred. In this way, the frequency with which it is determined that the predetermined change has occurred decreases, the frequency with which the process proceeds to step S105 described below decreases, and the frequency with which the ECUs that execute the predetermined process are switched decreases. The operation of the network system 1 becomes stable.

(ステップS105):実行切替部13は、通信監視機能のための処理を実行するECUを、中央処理ECU10と周辺処理ECU21、22、23、…との間で切り替える。最新の処理負荷が前回の処理負荷より大きくなって本ステップに進んだ場合は、実行部11が、通信監視機能のための処理を実行している。実行切替部13は、周辺処理ECU21、22、23、…に、指示を表すデータを送信して通信監視機能のための処理の実行を開始させ、実行部11に、通信監視機能のための処理の実行を停止させる。これにより実行部11の処理負荷を抑制できる。 (Step S105): The execution switching unit 13 switches the ECU that executes the process for the communication monitoring function between the central processing ECU 10 and the peripheral processing ECUs 21, 22, 23,.... When the latest processing load becomes larger than the previous processing load and the process proceeds to this step, the execution unit 11 is executing the process for the communication monitoring function. The execution switching unit 13 transmits data indicating an instruction to the peripheral processing ECUs 21, 22, 23,... To start executing processing for the communication monitoring function, and causes the execution unit 11 to perform processing for the communication monitoring function. Stop the execution of. As a result, the processing load on the execution unit 11 can be suppressed.

また、最新の処理負荷が前回の処理負荷より小さくなって本ステップに進んだ場合は、周辺処理ECU21、22、23、…が、通信監視機能のための処理を実行している。実行切替部13は、実行部11に、通信監視機能のための処理の実行を開始させ、周辺処理ECU21、22、23、…に、指示を表すデータを送信して通信監視機能のための処理の実行を停止させる。 Further, when the latest processing load becomes smaller than the previous processing load and the process proceeds to this step, the peripheral processing ECUs 21, 22, 23,... Execute the processing for the communication monitoring function. The execution switching unit 13 causes the execution unit 11 to start the execution of the process for the communication monitoring function, transmits the data representing the instruction to the peripheral processing ECUs 21, 22, 23,... Stop the execution of.

(ステップS106):ステップS101で、オフからオンに変化した機能があれば、本ステップでは、その機能のための処理の実行を実際に開始する。実行部11が、ステップS102でオンからオフに変化した機能のための処理の実行を停止する場合や、ステップS105で通信監視機能のための処理の実行を停止する場合は、確実に実行停止して処理負荷を低下させてから、オフからオンに変化した機能のための処理の実行を開始することができる。この後ステップS101に進み、ステップS101〜S106の処理が繰り返される。 (Step S106): If there is a function changed from off to on in step S101, execution of the process for that function is actually started in this step. If the execution unit 11 stops the execution of the process for the function changed from ON to OFF in step S102, or stops the execution of the process for the communication monitoring function in step S105, it surely stops the execution. Then, the processing load is reduced to start the execution of the processing for the function changed from off to on. After this, the process proceeds to step S101, and the processes of steps S101 to S106 are repeated.

以上の処理は、機能ごとの負荷値が事前に予測できる場合に好適に実行可能である。以下に、機能ごとの負荷値の予測が困難である場合の好適な処理の例を示す。図3は、このような、本実施形態の他の例に係る中央処理ECU10の処理を表すフローチャートである。図3を参照して、処理を説明する。上述の処理と同様の事項については、説明を省略あるいは簡素化する。 The above processing can be suitably executed when the load value for each function can be predicted in advance. The following is an example of a suitable process when it is difficult to predict the load value for each function. FIG. 3 is a flowchart showing the processing of the central processing ECU 10 according to another example of the present embodiment as described above. The processing will be described with reference to FIG. Descriptions of the same items as those in the above processing will be omitted or simplified.

(ステップS201):実行部11は、上述のステップS101と同様、非動作状態の機能のいずれを動作状態(オン)にし、動作状態の機能のいずれを非動作状態(オフ)とするかを決定する。このような決定の結果、各機能のオン/オフに変化が発生すれば、ステップS202に進む。各機能のオン/オフに変化が発生しなければ、本ステップS201を繰り返す。 (Step S201): The execution unit 11 determines which of the non-operating functions is to be in the operating state (ON) and which is in the non-operating state is to be in the non-operating state (OFF), as in Step S101 described above. To do. As a result of the determination, if the ON/OFF of each function is changed, the process proceeds to step S202. If there is no change in ON/OFF of each function, this step S201 is repeated.

(ステップS202):実行部11は、上述のステップS102と同様、オンからオフに変化した機能があれば、その機能のための処理の実行を実際に停止する。 (Step S202): Similar to step S102 described above, if there is a function that has changed from ON to OFF, the execution unit 11 actually stops the execution of the process for that function.

(ステップS203):実行部11は、オフからオンに変化した機能があれば、その機能のための処理の実行を実際に開始する。 (Step S203): If there is a function that has changed from OFF to ON, the execution unit 11 actually starts execution of processing for that function.

(ステップS204):負荷算出部12は、現在の中央処理ECU10の処理負荷を算出する。本例では、処理負荷は、例えば実行部11の処理を実行するCPUが備える負荷等の各種の状態検出機能を用いて算出することができる。 (Step S204): The load calculation unit 12 calculates the current processing load of the central processing ECU 10. In this example, the processing load can be calculated using various state detection functions such as a load included in the CPU that executes the processing of the execution unit 11, for example.

(ステップS205):実行切替部13は、ステップS204で算出した最新の中央処理ECU10の処理負荷と、所定値とを比較する。処理負荷が所定値より大きい場合はステップS206に進み、処理負荷が所定値以下である場合はステップS207に進む。処理負荷が所定値より大きい場合は、処理負荷が許容範囲外であると考えることができる。処理負荷が所定値以下である場合は、処理負荷が許容範囲内であると考えることができる。 (Step S205): The execution switching unit 13 compares the latest processing load of the central processing ECU 10 calculated in step S204 with a predetermined value. If the processing load is greater than the predetermined value, the process proceeds to step S206, and if the processing load is less than or equal to the predetermined value, the process proceeds to step S207. When the processing load is larger than the predetermined value, it can be considered that the processing load is outside the allowable range. When the processing load is less than or equal to the predetermined value, it can be considered that the processing load is within the allowable range.

(ステップS206):実行切替部13は、通信監視機能のための処理を、周辺処理ECU21、22、23、…が実行している場合、本ステップではとくに処理を行わず、その状態を継続させる。実行切替部13は、通信監視機能のための処理を、実行部11が実行している場合、周辺処理ECU21、22、23、…に、指示を表すデータを送信して通信監視機能のための処理の実行を開始させ、実行部11に、通信監視機能のための処理の実行を停止させる。これにより実行部11の処理負荷を抑制できる。この後ステップS201に進み、ステップS201〜S207の処理が繰り返される。 (Step S206): When the peripheral processing ECUs 21, 22, 23,... Are executing the processing for the communication monitoring function, the execution switching section 13 does not perform any processing in this step and continues the state. .. When the execution unit 11 is executing the process for the communication monitoring function, the execution switching unit 13 transmits data representing an instruction to the peripheral processing ECUs 21, 22, 23,... The execution of the process is started, and the execution unit 11 stops the execution of the process for the communication monitoring function. As a result, the processing load on the execution unit 11 can be suppressed. After this, the process proceeds to step S201, and the processes of steps S201 to S207 are repeated.

(ステップS207):実行切替部13は、通信監視機能のための処理を、実行部11が実行している場合、本ステップではとくに処理を行わず、その状態を継続させる。実行切替部13は、通信監視機能のための処理を、周辺処理ECU21、22、23、…が実行している場合、実行部11に、通信監視機能のための処理の実行を開始させ、周辺処理ECU21、22、23、…に、指示を表すデータを送信して通信監視機能のための処理の実行を停止させる。この後ステップS201に進み、ステップS201〜S207の処理が繰り返される。 (Step S207): When the execution unit 11 is executing the process for the communication monitoring function, the execution switching unit 13 does not perform any particular process in this step and continues the state. When the peripheral processing ECUs 21, 22, 23,... Are executing the process for the communication monitoring function, the execution switching unit 13 causes the executing unit 11 to start executing the process for the communication monitoring function, The data representing the instruction is transmitted to the processing ECUs 21, 22, 23,... And the execution of the processing for the communication monitoring function is stopped. After this, the process proceeds to step S201, and the processes of steps S201 to S207 are repeated.

本処理は、機能ごとの負荷値が事前に予測できない場合であっても好適に実行可能である。なお、上述したいずれの処理例においても、通信監視機能のための処理を実行するECUを、中央処理ECU10と周辺処理ECU21、22、23、…との間で切り替えることとしたが、これは一例であり、中央処理ECU10と周辺処理ECU21、22、23、…とのいずれも実行可能な処理であれば、通信監視機能の代わりに他の処理であってもよい。 This processing can be suitably executed even when the load value for each function cannot be predicted in advance. In each of the processing examples described above, the ECU that executes the processing for the communication monitoring function is switched between the central processing ECU 10 and the peripheral processing ECUs 21, 22, 23,... The central processing ECU 10 and the peripheral processing ECUs 21, 22, 23,... May be any other processing instead of the communication monitoring function as long as the processing can be executed.

<効果>
以上のような処理により、本発明に係るネットワークシステム1においては、中央処理ECU10の処理負荷が高くなる場合は、中央処理ECU10が通常実行する処理のうち、通信監視機能のための処理のような所定の処理を、中央処理ECU10の代わりに周辺処理ECU21、22、23、…が実行する。これにより、中央ECUの処理負荷が高くなるのを抑制することができる。
<Effect>
With the above processing, in the network system 1 according to the present invention, when the processing load of the central processing ECU 10 becomes high, it is one of the processing for the communication monitoring function among the processing that is normally executed by the central processing ECU 10. Predetermined processing is executed by the peripheral processing ECUs 21, 22, 23,... Instead of the central processing ECU 10. As a result, the processing load on the central ECU can be prevented from increasing.

本発明は、ネットワークシステムだけでなく、ネットワークシステムにおけるECUの処理負荷抑制方法、ECUのコンピュータが実行する処理負荷抑制プログラムおよびこれを記憶したコンピュータ読み取り可能な非一時的記憶媒体、ネットワークシステムを備えた車両等として捉えることが可能である。また、本発明は、車両に搭載されるネットワークシステム以外のネットワークシステムにも適用できる。 The present invention includes not only a network system but also a method for suppressing a processing load of an ECU in a network system, a processing load suppressing program executed by a computer of the ECU, a computer-readable non-transitory storage medium storing the program, and a network system. It can be regarded as a vehicle or the like. Further, the present invention can be applied to a network system other than the network system mounted on the vehicle.

本発明は、車両等に搭載されるネットワークシステムに有用である。 The present invention is useful for network systems installed in vehicles and the like.

1 ネットワークシステム
10 中央処理ECU
11 実行部
12 負荷算出部
13 実行切替部
21、22、23 周辺処理ECU
31、32、33 センサ
41、42、43 アクチュエータ
50 バス
60 DCM
1 Network system 10 Central processing ECU
11 Execution Unit 12 Load Calculation Unit 13 Execution Switching Unit 21, 22, 23 Peripheral Processing ECU
31, 32, 33 sensor 41, 42, 43 actuator 50 bus 60 DCM

Claims (1)

車両に搭載されたネットワークシステムであって、
車両の制御のための複数の処理を実行する中央処理ECUと、前記中央処理ECUからデータを受信して、前記データに基づいて、車両が備えるセンサまたはアクチュエータの制御をそれぞれ実行する複数の周辺処理ECUとを備え、
前記中央処理ECUは、
前記複数の処理を実行する実行部と、
前記実行部の処理負荷を算出する負荷算出部と、
前記負荷算出部が算出した処理負荷が一定値を超える場合、前記実行部が実行している処理の一部について、前記周辺処理ECUに実行させるとともに、前記実行部による実行を停止させる実行切替部とを備える、ネットワークシステム。
A network system installed in a vehicle,
A central processing ECU that executes a plurality of processings for controlling a vehicle, and a plurality of peripheral processings that receive data from the central processing ECU and respectively control a sensor or an actuator included in the vehicle based on the data. And an ECU,
The central processing ECU is
An execution unit that executes the plurality of processes,
A load calculation unit that calculates the processing load of the execution unit;
When the processing load calculated by the load calculation unit exceeds a certain value, the execution switching unit that causes the peripheral processing ECU to execute a part of the processing executed by the execution unit and stops the execution by the execution unit. A network system comprising:
JP2018218374A 2018-11-21 2018-11-21 Network system Pending JP2020082953A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2018218374A JP2020082953A (en) 2018-11-21 2018-11-21 Network system

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2018218374A JP2020082953A (en) 2018-11-21 2018-11-21 Network system

Publications (1)

Publication Number Publication Date
JP2020082953A true JP2020082953A (en) 2020-06-04

Family

ID=70905868

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2018218374A Pending JP2020082953A (en) 2018-11-21 2018-11-21 Network system

Country Status (1)

Country Link
JP (1) JP2020082953A (en)

Similar Documents

Publication Publication Date Title
CN111994094B (en) Remote control take-over method, device, system, medium and unmanned vehicle
EP3585002A1 (en) On-vehicle gateway device and communication cutting-off method
JP6525109B2 (en) Control device, transfer method, and computer program
JP2002026957A (en) Multiplex communication system
JP2010285001A (en) Electronic control system and functional agency method
CN110235100B (en) Vehicle-mounted communication system, gateway, switching device, communication control method, and communication control program
JP2019036140A (en) Controller, method for control, and computer program
US20200034140A1 (en) Relay apparatus, transfer method, and computer program
JP2016141160A (en) Electronic control unit and electronic control system
CN112449322A (en) Vehicle-mounted control device
CN104115122A (en) Vehicle electronic control device and data-receiving method
EP3835160A1 (en) Control device, control method and non-transitory storage medium
KR20100136223A (en) Network system of in-vehicle and control method thereof
JP2016177423A (en) Control system having multi-core microcontroller and control method thereof
KR102109125B1 (en) Method for managing state of ECU in vehicle based on automotive open system architecture
WO2021024589A1 (en) Mobility control system, method, and program
CN112277848B (en) Vehicle-mounted device control device
US11377056B2 (en) In-vehicle system
JP2020082953A (en) Network system
CN114615103B (en) Vehicle-mounted network system
JP5888252B2 (en) Vehicle communication device and information processing device
JP2014028547A (en) On-vehicle network system
WO2018134198A1 (en) Communication control apparatus and method
JP2019009678A (en) On-vehicle communication network system
JP5601306B2 (en) Vehicle network communication management device