[go: up one dir, main page]

JP2011235848A - Electronic control device - Google Patents

Electronic control device Download PDF

Info

Publication number
JP2011235848A
JP2011235848A JP2010111171A JP2010111171A JP2011235848A JP 2011235848 A JP2011235848 A JP 2011235848A JP 2010111171 A JP2010111171 A JP 2010111171A JP 2010111171 A JP2010111171 A JP 2010111171A JP 2011235848 A JP2011235848 A JP 2011235848A
Authority
JP
Japan
Prior art keywords
transmission
communication
electronic control
ecu
adjustment
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
JP2010111171A
Other languages
Japanese (ja)
Inventor
Hiroshi Ando
寛史 安東
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 Corp
Original Assignee
Denso 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 Denso Corp filed Critical Denso Corp
Priority to JP2010111171A priority Critical patent/JP2011235848A/en
Publication of JP2011235848A publication Critical patent/JP2011235848A/en
Pending legal-status Critical Current

Links

Images

Landscapes

  • Small-Scale Networks (AREA)

Abstract

PROBLEM TO BE SOLVED: To provide an electronic control device, capable of reducing a processing load as much as possible by delaying a transmission of the electronic control device as a reception object which processing load exceeds the predetermined value, and also capable of performing the transmission without delay when the transmission of the electronic control device as a reception object which processing load does not exceed the predetermined value.SOLUTION: An electronic control device stores a transmission timing adjustment value 1 in a transmission adjustment message (S406) when a communication load or a CPU load is higher than a threshold 1 (S402:Yes) and the threshold 2 or lower (S404:No) and stores a transmission timing adjustment value 2 in the transmission adjustment message (S408) when the communication load or CPU load is higher than the threshold 2 (S404:Yes). The transmission adjustment message generated in S406 or S408 is transmitted to a communication bus in the network. Additionally, the transmission timing adjustment value 1 is smaller than the transmission timing adjustment value 2. The electronic control device which receives the transmission adjustment message delays the transmission of the electronic control device as the reception object which transmits the transmission adjustment message.

Description

本発明は、通信バスに接続する電子制御装置に関する。   The present invention relates to an electronic control device connected to a communication bus.

従来、例えば車載ネットワークのように、通信バスに複数の電子制御装置が接続し、互いにデータを送受信しながら、各電子制御装置においてデータ処理を実行するシステムが知られている。   2. Description of the Related Art Conventionally, a system in which a plurality of electronic control devices are connected to a communication bus and performs data processing in each electronic control device while transmitting / receiving data to / from each other is known, such as an in-vehicle network.

このようなシステムにおいては、通信バスに接続する電子制御装置である自装置の処理負荷が増加している状態で、他の電子制御装置から自装置を受信対象とするデータが送信されると、自装置の処理が妨げられることがある。   In such a system, when the processing load of the own device, which is the electronic control device connected to the communication bus, is increasing, when data for receiving the own device is transmitted from another electronic control device, Processing of own device may be hindered.

そこで、特許文献1では、例えば通信バス間の通信データを中継するデータ中継装置に通信データが集中する場合には、通信バスの少なくとも一方に、通信バスが使用中であることを示す空フレームをデータ中継装置が送信し、空フレームが送信された通信バスに他の電子制御装置からデータが送信されることを防止しようとしている。このように、通信バスにデータが送信されることを防止することにより、データ中継装置の処理負荷が低減する。   Therefore, in Patent Document 1, for example, when communication data is concentrated on a data relay device that relays communication data between communication buses, an empty frame indicating that the communication bus is in use is provided on at least one of the communication buses. An attempt is made to prevent data from being transmitted from another electronic control unit to the communication bus that has been transmitted by the data relay device and has transmitted the empty frame. Thus, by preventing data from being transmitted to the communication bus, the processing load on the data relay apparatus is reduced.

特開2008−283386号公報JP 2008-283386 A

しかしながら、通信バスに空フレームが送信されると、空フレームが送信された通信バスに接続する電子制御装置からの送信が待ち合わされる。送信を待ち合わせている間に送信データがさらに発生すると、電子制御装置の送信バッファに送信データが格納されるので、送信データが増加していく。   However, when an empty frame is transmitted to the communication bus, transmission from the electronic control unit connected to the communication bus to which the empty frame is transmitted is awaited. If transmission data is further generated while waiting for transmission, the transmission data is stored in the transmission buffer of the electronic control unit, so that the transmission data increases.

そして、空フレームの送信が終了し送信が可能になると、送信を待機していた電子制御装置が一斉に送信を試みるので、データ中継装置の処理負荷が再び増加し、データ中継装置が空フレームを再度送信しなければならなく。このような状態が繰返されると、通信バスに接続している電子制御装置における処理が阻害されるという問題がある。   When the transmission of the empty frame is completed and transmission becomes possible, the electronic control devices waiting for transmission attempt transmission all at once, so that the processing load of the data relay device increases again and the data relay device transmits the empty frame. I have to send it again. When such a state is repeated, there is a problem in that processing in the electronic control device connected to the communication bus is hindered.

このように、通信バスが使用中であることを示す空フレーム等を送信し、他の電子制御装置からの送信を遅らせる方式では、処理負荷が増加している装置とは別の装置にデータを送信する場合にも、送信が遅れるという問題がある。   In this way, in a method of transmitting an empty frame or the like indicating that the communication bus is in use and delaying transmission from another electronic control device, data is transmitted to a device different from the device having an increased processing load. Even in the case of transmission, there is a problem that transmission is delayed.

本発明は、上記問題を解決するためになされたものであり、処理負荷が所定値を超える電子制御装置を受信対象とする送信を遅らせて処理負荷を極力低減するとともに、処理負荷が所定値以下の電子制御装置を受信対象とする送信は遅れることなく実行できる電子制御装置を提供することを目的とする。   The present invention has been made in order to solve the above-described problem. The processing load is reduced as much as possible by delaying transmission in which an electronic control device whose processing load exceeds a predetermined value is received, and the processing load is equal to or lower than a predetermined value. It is an object of the present invention to provide an electronic control device capable of executing transmission with the electronic control device as a reception target without delay.

請求項1から3に記載の発明によると、通信バスに接続する電子制御装置である自装置の処理負荷が所定値を超えると、通信バスに接続している他装置に対し、自装置を受信対象とする送信を遅らせる送信調整メッセージを通信バスに送信する。   According to the first to third aspects of the present invention, when the processing load of the own device that is the electronic control device connected to the communication bus exceeds a predetermined value, the own device is received by another device connected to the communication bus. A transmission adjustment message that delays the target transmission is transmitted to the communication bus.

これにより、処理負荷が所定値を超える電子制御装置を受信対象とする送信が待ち合わされるので、処理負荷が所定値を超える電子制御装置の処理負荷がそれ以上増加することを防止できる。また、処理負荷が所定値を超える状態で自装置を受信対象とするデータの受信を失敗することを防止できる。   As a result, since transmission for the electronic control device whose processing load exceeds the predetermined value is awaited, the processing load of the electronic control device whose processing load exceeds the predetermined value can be prevented from further increasing. In addition, it is possible to prevent a failure in receiving data for which the own apparatus is to be received in a state where the processing load exceeds a predetermined value.

また、処理負荷が所定値以下の電子制御装置は送信調整メッセージを送信しないので、送信を遅らせる対象ではない。したがって、通信バスが使用可能な状態であれば、処理負荷が所定値以下の電子制御装置を受信対象とする送信を遅らせることなく実行できる。これにより、処理負荷が所定値以下の電子制御装置を受信対象とする送信を不必要に遅らせることを防止できる。   In addition, since the electronic control device whose processing load is equal to or less than the predetermined value does not transmit the transmission adjustment message, it is not a target for delaying transmission. Therefore, if the communication bus is in a usable state, it can be executed without delaying transmission for an electronic control device whose processing load is a predetermined value or less. As a result, it is possible to prevent unnecessary transmission delays for electronic control devices having a processing load of a predetermined value or less.

請求項2に記載の発明によると、自装置の処理負荷が所定値を超えてから所定値以下になったと処理負荷判定手段が判定すると、他装置に対し、自装置を受信対象とする送信を許可する送信許可メッセージを通信バスに送信する。   According to the second aspect of the present invention, when the processing load determination unit determines that the processing load of the own device has exceeded a predetermined value and has become equal to or less than the predetermined value, transmission to the other device as a reception target is performed. A transmission permission message to be permitted is transmitted to the communication bus.

これにより、自装置の処理負荷が所定値を超えている状態から所定値以下になると、他装置から自装置を受信対象とする送信を速やかに開始できる。
請求項3から6に記載の発明によると、他装置からの送信調整メッセージを受信すると、送信調整メッセージを送信した他装置を受信対象とする送信を遅らせる。
As a result, when the processing load of the own device falls below the predetermined value from a state where the processing load exceeds the predetermined value, transmission of the own device as a reception target from another device can be quickly started.
According to the third to sixth aspects of the present invention, when a transmission adjustment message is received from another device, the transmission targeted for the other device that has transmitted the transmission adjustment message is delayed.

これにより、処理負荷が所定値を超える電子制御装置を受信対象とする送信が待ち合わされるので、処理負荷が所定値を超える電子制御装置の処理負荷がそれ以上増加することを防止できる。また、処理負荷が所定値を超えるために、他装置を受信対象とするデータの受信を他装置が失敗することを防止できる。   As a result, since transmission for the electronic control device whose processing load exceeds the predetermined value is awaited, the processing load of the electronic control device whose processing load exceeds the predetermined value can be prevented from further increasing. In addition, since the processing load exceeds a predetermined value, it is possible to prevent the other device from failing to receive data intended for reception by the other device.

また、処理負荷が所定値以下の電子制御装置は送信調整メッセージを送信しないので、送信を遅らせる対象ではない。したがって、通信バスが使用可能な状態であれば、処理負荷が所定値以下の電子制御装置を受信対象とする送信を遅らせることなく実行できる。これにより、処理負荷が所定値以下の電子制御装置を受信対象とする送信を不必要に遅らせることを防止できる。   In addition, since the electronic control device whose processing load is equal to or less than the predetermined value does not transmit the transmission adjustment message, it is not a target for delaying transmission. Therefore, if the communication bus is in a usable state, it can be executed without delaying transmission for an electronic control device whose processing load is a predetermined value or less. As a result, it is possible to prevent unnecessary transmission delays for electronic control devices having a processing load of a predetermined value or less.

請求項5に記載の発明によると、他装置から送信調整メッセージを受信すると、送信調整メッセージを送信した他装置を受信対象とする送信を遅らせる遅延時間の長さを可変に調整する。   According to the fifth aspect of the present invention, when the transmission adjustment message is received from another device, the length of the delay time for delaying the transmission intended for the other device that has transmitted the transmission adjustment message is variably adjusted.

このように、送信調整メッセージを送信した他装置を受信対象とする送信を遅らせる遅延時間の長さを一律に同じ長さに調整するのではなく、可変に調整するので、送信データの優先度等に応じて送信を遅らせる遅延時間の長さを適切に設定できる。   In this way, the length of the delay time for delaying the transmission to be received by another device that has transmitted the transmission adjustment message is not adjusted to the same length, but is variably adjusted. Accordingly, the length of the delay time for delaying transmission can be set appropriately.

請求項6に記載の発明によると、他装置から送信調整メッセージを受信すると、他装置を受信対象とする送信データの優先度と、他装置に対する自装置の機能の優先度との少なくもいずれか一方に基づいて、他装置を受信対象とする送信を遅らせる遅延時間の長さを可変に調整する。   According to the sixth aspect of the present invention, when a transmission adjustment message is received from another device, at least one of the priority of transmission data targeted for reception by the other device and the priority of the function of the own device with respect to the other device. On the basis of one of them, the length of the delay time for delaying the transmission to be received by another device is variably adjusted.

これにより、例えば、緊急を要する優先度の高いデータであれば、送信調整メッセージを送信した他装置を受信対象とするデータを、遅延時間を極力短くして送信する。一方、優先度の低いデータであれば、それよりも優先度の高いデータに比べて遅延時間を長くして、他装置を受信対象とするデータを送信する。   As a result, for example, if the data has a high priority requiring urgent data, the data targeted for reception by another device that has transmitted the transmission adjustment message is transmitted with a delay time as short as possible. On the other hand, in the case of data with a low priority, the delay time is made longer than data with a higher priority than that, and data for receiving other devices is transmitted.

また、送信調整メッセージを送信した他装置よりも自装置の機能の優先度が高い場合には、送信調整メッセージを送信した他装置を受信対象とするデータを、遅延時間を極力短くして送信する。一方、送信調整メッセージを送信した他装置よりも自装置の機能の優先度が低い場合には、優先度が高い場合よりも遅延時間を長くして他装置を受信対象とするデータを送信する。   Further, when the priority of the function of the own device is higher than that of the other device that has transmitted the transmission adjustment message, the data targeted for reception by the other device that has transmitted the transmission adjustment message is transmitted with a delay time as short as possible. . On the other hand, when the priority of the function of the own apparatus is lower than that of the other apparatus that has transmitted the transmission adjustment message, the delay time is set longer than that when the priority is high, and data for receiving the other apparatus is transmitted.

このように、送信データの優先度と他装置に対する自装置の機能の優先度との少なくもいずれか一方に基づいて、送信調整メッセージを送信した他装置を受信対象とする送信を遅らせる遅延時間の長さを可変に設定することにより、送信調整メッセージを送信した他装置の処理負荷を極力低減するとともに、優先度の高いデータの処理が遅れることを防止できる。   As described above, based on at least one of the priority of the transmission data and the priority of the function of the own device with respect to the other device, the delay time for delaying the transmission to be received by the other device that has transmitted the transmission adjustment message. By setting the length to be variable, it is possible to reduce the processing load of the other device that has transmitted the transmission adjustment message as much as possible, and to prevent the processing of high-priority data from being delayed.

尚、本発明に備わる複数の手段の各機能は、構成自体で機能が特定されるハードウェア資源、プログラムにより機能が特定されるハードウェア資源、またはそれらの組み合わせにより実現される。また、これら複数の手段の各機能は、各々が物理的に互いに独立したハードウェア資源で実現されるものに限定されない。   The functions of the plurality of means provided in the present invention are realized by hardware resources whose functions are specified by the configuration itself, hardware resources whose functions are specified by a program, or a combination thereof. The functions of the plurality of means are not limited to those realized by hardware resources that are physically independent of each other.

本実施形態による電子制御装置を示すブロック図。The block diagram which shows the electronic control apparatus by this embodiment. 通信バスに接続する複数の電子制御装置を示す構成図。The block diagram which shows the some electronic control apparatus connected to a communication bus. 送信の遅延状態を示すタイムチャート。The time chart which shows the delay state of transmission. (A)は送信調整メッセージの送信ルーチン、(B)は送信許可メッセージの送信ルーチンを示すフローチャート。(A) is a transmission routine of a transmission adjustment message, (B) is a flowchart showing a transmission routine of a transmission permission message. (A)は送信調整メッセージの受信ルーチン、(B)は送信許可メッセージの受信ルーチンを示すフローチャート。FIG. 6A is a flowchart illustrating a transmission adjustment message reception routine, and FIG. 5B is a flowchart illustrating a transmission permission message reception routine.

以下、本発明の実施形態を図に基づいて説明する。図1に、本実施形態の電子制御装置(ECU:Electronic Control Unit)10を示す。
(ECU10)
ECU10は、電源回路12、入出力回路14、マイクロコンピュータ(以下、「マイコン」とも言う。)20、通信ドライバ50から主に構成されている。ECU10は、CAN(Controller Area Network)等の車載ネットワークの通信バス200、210に接続しており、通信バス200、210に接続している他のECU10とデータを送受信しながら、制御対象としてブレーキ、インジェクタ、ドア等の挙動を制御する。
Hereinafter, embodiments of the present invention will be described with reference to the drawings. FIG. 1 shows an electronic control unit (ECU) 10 of the present embodiment.
(ECU 10)
The ECU 10 mainly includes a power supply circuit 12, an input / output circuit 14, a microcomputer (hereinafter also referred to as “microcomputer”) 20, and a communication driver 50. The ECU 10 is connected to a communication bus 200, 210 of an in-vehicle network such as a CAN (Controller Area Network), and transmits and receives data to and from other ECUs 10 connected to the communication bus 200, 210, while controlling a brake, Control the behavior of injectors, doors, etc.

電源回路12は、バッテリから供給される電力を、入出力回路14、マイコン20、通信ドライバ50に供給する。
入出力回路14は、センサ2およびスイッチ4等から出力される信号をマイコン20に出力するとともに、マイコン20が出力する制御信号をアクチュエータ6に出力する。
The power supply circuit 12 supplies power supplied from the battery to the input / output circuit 14, the microcomputer 20, and the communication driver 50.
The input / output circuit 14 outputs signals output from the sensor 2, the switch 4, and the like to the microcomputer 20 and outputs a control signal output from the microcomputer 20 to the actuator 6.

マイコン20は、CPU22、メモリ24、負荷計測部30、送信タイミング調整値算出部40、送信タイミング再調整部42、および図示しない通信コントローラ等から構成されている。   The microcomputer 20 includes a CPU 22, a memory 24, a load measurement unit 30, a transmission timing adjustment value calculation unit 40, a transmission timing readjustment unit 42, a communication controller (not shown), and the like.

CPU22は、メモリ24に記憶されている車両制御プログラムを実行することにより、センサ2およびスイッチ4の出力信号に基づいてエンジン運転状態を検出する。ECU10は、検出したエンジン運転状態に基づいて、アクチュエータ6に対し、アクチュエータ6が駆動するブレーキ、インジェクタ、ドア等の制御対象の挙動を制御する制御信号を出力する。   The CPU 22 detects the engine operating state based on the output signals of the sensor 2 and the switch 4 by executing the vehicle control program stored in the memory 24. Based on the detected engine operating state, the ECU 10 outputs a control signal for controlling the behavior of a control target such as a brake, an injector, and a door driven by the actuator 6 to the actuator 6.

また、ECU10は、CPU22がメモリ24に記憶されている通信プログラムを実行することにより、通信バス200、210を介して他装置である他のECU10とデータを送受信し(図2参照)、他のECU10と連携して車両制御を実行する。   The ECU 10 transmits / receives data to / from other ECUs 10 as other devices via the communication buses 200 and 210 by the CPU 22 executing the communication program stored in the memory 24 (see FIG. 2). Vehicle control is executed in cooperation with the ECU 10.

負荷計測部30、送信タイミング調整値算出部40、および送信タイミング再調整部42は、ECU10の処理負荷に応じて送信する送信調整メッセージの生成処理と、他のECU10から送信調整メッセージを受信したときの送信調整処理とを実行するときに、CPU22が使用するプログラムモジュールを表している。   When the load measurement unit 30, the transmission timing adjustment value calculation unit 40, and the transmission timing readjustment unit 42 receive a transmission adjustment message that is transmitted according to the processing load of the ECU 10 and a transmission adjustment message from another ECU 10. The program module used by the CPU 22 when executing the transmission adjustment process is shown.

負荷計測部30は、通信負荷計測部32とCPU負荷計測部34とから構成されており、ECU10の処理負荷を計測する。通信負荷計測部32は、通信ドライバ50を介して通信バス200、210からECU10が受信するデータ量に基づいて通信負荷を計測する。CPU負荷計測部34は、CPU負荷を計測する。   The load measuring unit 30 includes a communication load measuring unit 32 and a CPU load measuring unit 34, and measures the processing load of the ECU 10. The communication load measuring unit 32 measures the communication load based on the amount of data received by the ECU 10 from the communication buses 200 and 210 via the communication driver 50. The CPU load measuring unit 34 measures the CPU load.

送信タイミング調整値算出部40は、負荷計測部30が計測するECU10の処理不可として通信負荷またはCPU負荷が所定値よりも大きい場合、通信バス200、210に接続している他のECU10に、自装置であるECU10を受信対象とする送信タイミングを遅らせる遅延時間として、送信タイミング調整値を処理負荷に応じて算出する。   When the communication load or the CPU load is larger than a predetermined value because the ECU 10 measured by the load measuring unit 30 is incapable of processing, the transmission timing adjustment value calculating unit 40 is automatically connected to other ECUs 10 connected to the communication buses 200 and 210. The transmission timing adjustment value is calculated according to the processing load as a delay time for delaying the transmission timing for which the ECU 10 as the device is a reception target.

送信タイミング調整値算出部40が自装置を受信対象とする送信を遅らせる送信タイミング調整値を算出すると、マイコン20は、自装置を受信対象とする送信を遅らせることを通知するID(識別子)コードと、送信タイミング調整値と、送信タイミング調整値に基づいて自装置を受信対象とする送信をいつまで遅らせるかを示す調整期間と、を送信調整メッセージとして通信ドライバ50に出力する。通信ドライバ50は、送信調整メッセージをフレーム化して通信バス200、210に送信する。   When the transmission timing adjustment value calculation unit 40 calculates a transmission timing adjustment value that delays transmission whose reception target is its own device, the microcomputer 20 transmits an ID (identifier) code for notifying that transmission of its own device is delayed. Then, the transmission timing adjustment value and the adjustment period indicating how long the transmission for which the own apparatus is to be received are delayed based on the transmission timing adjustment value are output to the communication driver 50 as a transmission adjustment message. The communication driver 50 converts the transmission adjustment message into a frame and transmits it to the communication buses 200 and 210.

送信タイミング再調整部42は、他のECU10が計測するCPU負荷または通信負荷が所定値よりも大きい場合に、他のECU10を受信対象とする送信を遅らせる送信調整メッセージを他のECU10から受信すると、送信調整メッセージに格納されている送信タイミング調整値に応じて、送信調整メッセージを送信した他のECU10を受信対象とする送信メッセージの優先度と、他のECU10に対する自装置の機能の優先度と、を考慮し、送信調整メッセージを送信した他のECU10を受信対象とする送信を遅らせる送信タイミング再調整値を算出する。   When the CPU timing or communication load measured by the other ECU 10 is greater than a predetermined value, the transmission timing readjustment unit 42 receives from the other ECU 10 a transmission adjustment message that delays transmission with the other ECU 10 as a reception target. In accordance with the transmission timing adjustment value stored in the transmission adjustment message, the priority of the transmission message to be received by the other ECU 10 that has transmitted the transmission adjustment message, the priority of the function of the own device with respect to the other ECU 10, and In consideration of the above, a transmission timing readjustment value for delaying the transmission targeted for reception by another ECU 10 that has transmitted the transmission adjustment message is calculated.

通信ドライバ50は、通信バス200、210から受信したデータをマイコン20に出力するとともに、マイコン20が生成する通信データを通信バス200、210に送信する。   The communication driver 50 outputs data received from the communication buses 200 and 210 to the microcomputer 20 and transmits communication data generated by the microcomputer 20 to the communication buses 200 and 210.

(処理負荷)
ECU10は、自装置(自ノードとも言う。)の通信負荷またはCPU負荷がそれぞれ予め設定された所定値として所定の閾値を超えると、自装置の処理負荷が所定値を超えたと判定する。
(Processing load)
When the communication load or CPU load of its own device (also referred to as its own node) exceeds a predetermined threshold as a predetermined value set in advance, ECU 10 determines that its processing load has exceeded a predetermined value.

通信負荷は、自装置を受信対象とする送信データの単位時間当たりのデータ量に基づいて計測される。単位時間当たりに受信するデータ量が大きいほど、通信負荷は大きいと判定される。   The communication load is measured based on the amount of data per unit time of transmission data that is received by the device itself. The larger the amount of data received per unit time, the greater the communication load.

CPU負荷は、単位時間当たりにCPU22が動作している動作時間の割合に基づいて計測される。動作時間の割合が大きいほど、CPU負荷は大きいと判定される。
(送信調整処理)
次に、図2および図3に示すように、ECU#1(自ノード)、ECU#2(ノードA)、ECU#3(ノードB)が通信バス200、210に接続しているネットワークにおいて、ECU#1の処理負荷が所定値を超えたときの、送信メッセージの調整処理について説明する。
The CPU load is measured based on the ratio of the operating time during which the CPU 22 is operating per unit time. It is determined that the larger the operation time ratio, the greater the CPU load.
(Transmission adjustment processing)
Next, as shown in FIGS. 2 and 3, in a network in which ECU # 1 (own node), ECU # 2 (node A), and ECU # 3 (node B) are connected to communication buses 200 and 210, A transmission message adjustment process when the processing load of ECU # 1 exceeds a predetermined value will be described.

ECU#1(自ノード)は、処理負荷が所定値を超えると、図3に示すように、通信バス200、210に、自ノードを受信対象とする送信を遅らせる送信調整メッセージ(MSG)を送信する。送信調整メッセージには、ECU#1を受信対象とする送信を遅らせる送信タイミング調整値と、送信タイミング調整値に基づいていつまで送信を遅らせるかを示す調整期間とがデータとして設定されている。   When the processing load exceeds a predetermined value, ECU # 1 (own node) transmits a transmission adjustment message (MSG) for delaying transmission for receiving the own node to communication buses 200 and 210 as shown in FIG. To do. In the transmission adjustment message, a transmission timing adjustment value for delaying transmission with the ECU # 1 as a reception target and an adjustment period indicating when transmission is delayed based on the transmission timing adjustment value are set as data.

ECU#2およびECU#3は、ECU#1から送信調整メッセージを受信すると、送信調整メッセージを受信しなければ送信する予定の送信データ100、110を、送信タイミングを遅らせて送信する。つまり、ECU#2およびECU#3がECU#1を受信対象とするデータを送信する時間間隔102、112は、送信調整メッセージを受信してからの方が受信する前よりも長くなる。   When the ECU # 2 and the ECU # 3 receive the transmission adjustment message from the ECU # 1, the ECU # 2 and the ECU # 3 transmit the transmission data 100 and 110 that are scheduled to be transmitted unless the transmission adjustment message is received, with a transmission timing delayed. That is, the time intervals 102 and 112 at which the ECU # 2 and the ECU # 3 transmit the data for which the ECU # 1 is to be received are longer after receiving the transmission adjustment message than before receiving them.

ECU#2およびECU#3が送信タイミングを遅らせる程度は、送信調整メッセージに格納されている送信タイミング調整値に応じて各ECU10で設定されている調整値と、ECU#2、ECU#3が送信するデータの優先度と、ECU#1とECU#2とECU#3との間で設定されている各ECUの機能の優先度とに基づいて可変に設定される。   The degree to which ECU # 2 and ECU # 3 delay the transmission timing is adjusted by the adjustment value set in each ECU 10 according to the transmission timing adjustment value stored in the transmission adjustment message, and transmitted by ECU # 2 and ECU # 3. Is set variably based on the priority of the data to be performed and the priority of the function of each ECU set among ECU # 1, ECU # 2, and ECU # 3.

例えば、送信調整メッセージに設定されている送信タイミング調整値が大きいほど、送信タイミングは遅れる。
また、ECU#1が送信調整メッセージを送信しても、緊急にブレーキをかける必要があるブレーキメッセージをECU#2からECU#1に送信する場合、ECU#2は、送信タイミングの遅れを極力短くして、ECU#1を受信対象とするブレーキメッセージを送信する。
For example, the transmission timing is delayed as the transmission timing adjustment value set in the transmission adjustment message is larger.
In addition, even if ECU # 1 transmits a transmission adjustment message, if a brake message that needs to be urgently applied is transmitted from ECU # 2 to ECU # 1, ECU # 2 minimizes the delay in transmission timing as much as possible. Then, a brake message for receiving the ECU # 1 is transmitted.

これにより、ECU#1は、自ノードの処理負荷が大きくても、緊急を要する優先度の高いメッセージを極力早く受信し、適切なブレーキ操作を実行できる。
これに対し、ECU#3からECU#1を受信対象とするデータの優先度が低い場合には、送信間隔を長くしても、車両制御に与える影響は小さい。
Thereby, even if the processing load of the own node is large, ECU # 1 can receive a message with a high priority requiring urgentness as soon as possible, and can execute an appropriate brake operation.
On the other hand, when the priority of data for which ECU # 1 is received from ECU # 3 is low, the influence on vehicle control is small even if the transmission interval is increased.

尚、ECU#1が送信調整メッセージを送信しても、ECU#2およびECU#3の処理負荷が所定値以下の場合には、ECU#2またはECU#3を受信対象とする送信を遅らせる必要はないので、通信バス200、210が空いているときにECU#2またはECU#3を受信対象とする送信を実行できる。   Even if ECU # 1 transmits the transmission adjustment message, if the processing load of ECU # 2 and ECU # 3 is equal to or lower than a predetermined value, it is necessary to delay transmission for receiving ECU # 2 or ECU # 3. Therefore, transmission with ECU # 2 or ECU # 3 as a reception target can be executed when communication buses 200 and 210 are free.

ECU#2およびECU#3は、調整期間が終了すると、通信バス200、210が空いていればECU#1を受信対象とする送信を開始する。
尚、ECU#2およびECU#3がECU#1を受信対象とする送信を待機している間にECU#1の処理負荷が所定値以下になると、ECU#1は送信許可メッセージを通信バス200、210に送信してもよい。ECU#2およびECU#3は、ECU#1から送信許可メッセージを受信すると、ECU#1を受信対象とする送信を遅らせる調整期間中であっても、送信タイミングを遅らせる送信調整処理を解除し、通信バス200、210が空いているときにECU#1を受信対象とする送信を実行する。
When the adjustment period ends, ECU # 2 and ECU # 3 start transmission with ECU # 1 as a reception target if communication buses 200 and 210 are free.
If ECU # 1 and ECU # 3 are waiting for transmission for which ECU # 1 is to be received and the processing load on ECU # 1 falls below a predetermined value, ECU # 1 sends a transmission permission message to communication bus 200. , 210 may be transmitted. When the ECU # 2 and the ECU # 3 receive the transmission permission message from the ECU # 1, the ECU # 2 and the ECU # 3 cancel the transmission adjustment process for delaying the transmission timing even during the adjustment period for delaying the transmission targeted for the ECU # 1. When the communication buses 200 and 210 are vacant, transmission with the ECU # 1 as a reception target is executed.

また、ECU#1を受信対象とする送信タイミングを遅らせ送信タイミング調整値および調整期間を送信調整メッセージに設定する代わりに、ECU#1は、自装置を対象とする送信を遅らせることだけを送信調整メッセージで通知し、処理負荷が所定値以下になると送信許可メッセージを通信バス200、210に送信することにより、送信調整処理の解除を他のECU10に通知してもよい。   Also, instead of delaying the transmission timing for ECU # 1 and setting the transmission timing adjustment value and adjustment period in the transmission adjustment message, ECU # 1 only adjusts the transmission delay for its own device. The notification of the transmission adjustment process may be notified to other ECUs 10 by transmitting a message to the communication bus 200 and 210 when the processing load becomes a predetermined value or less.

(送信調整処理ルーチン)
図4に送信調整メッセージの送信側の送信調整処理ルーチンのフローチャートを示し、い、図5に送信調整メッセージの受信側の送信調整処理ルーチンのフローチャートを示す。図4のルーチンは所定時間間隔で実行され、図5に示すルーチンは、送信調整メッセージを受信したときに実行される。図4および図5において「S」はステップを表している。
(Transmission adjustment processing routine)
FIG. 4 shows a flowchart of a transmission adjustment processing routine on the transmission adjustment message transmission side, and FIG. 5 shows a flowchart of a transmission adjustment processing routine on the reception side of the transmission adjustment message. The routine shown in FIG. 4 is executed at predetermined time intervals, and the routine shown in FIG. 5 is executed when a transmission adjustment message is received. 4 and 5, “S” represents a step.

(送信側)
図4の(A)のルーチンにおいて、まずECU10は、通信負荷とCPU負荷とを計測し(S400)、通信負荷またはCPU負荷がそれぞれ該当する閾値1を超えて高いか否かを判定する(S402)。
(Sender)
In the routine of FIG. 4A, first, the ECU 10 measures the communication load and the CPU load (S400), and determines whether the communication load or the CPU load is higher than the corresponding threshold value 1 (S402). ).

通信負荷またはCPU負荷が閾値1以下の場合(S402:No)、ECU10は、本ルーチンを終了する。通信負荷またはCPU負荷が閾値1よりも高い場合(S402:Yes)、ECU10は、通信負荷またはCPU負荷が閾値2を超えて高いか否かを判定する(S404)。尚、閾値1<閾値2である。   When the communication load or the CPU load is equal to or less than the threshold 1 (S402: No), the ECU 10 ends this routine. When the communication load or the CPU load is higher than the threshold 1 (S402: Yes), the ECU 10 determines whether or not the communication load or the CPU load exceeds the threshold 2 (S404). Note that threshold value 1 <threshold value 2.

通信負荷またはCPU負荷が閾値2以下の場合(S404:No)、ECU10は、送信タイミング調整値1および調整期間を送信調整メッセージに格納し(S406)、本ルーチンを終了する。S406で生成された送信調整メッセージは通信ドライバ50により通信バス200、210に送信される。   When the communication load or the CPU load is equal to or less than the threshold value 2 (S404: No), the ECU 10 stores the transmission timing adjustment value 1 and the adjustment period in the transmission adjustment message (S406), and ends this routine. The transmission adjustment message generated in S406 is transmitted to the communication buses 200 and 210 by the communication driver 50.

通信負荷またはCPU負荷が閾値2よりも高い場合(S404:Yes)、ECU10は、送信タイミング調整値2および調整期間を送信調整メッセージに格納し(S408)、本ルーチンを終了する。S408で生成された送信調整メッセージは通信ドライバ50により通信バス200、210に送信される。尚、送信タイミング調整値1<送信タイミング調整値2である。   When the communication load or the CPU load is higher than the threshold 2 (S404: Yes), the ECU 10 stores the transmission timing adjustment value 2 and the adjustment period in the transmission adjustment message (S408), and ends this routine. The transmission adjustment message generated in S408 is transmitted to the communication buses 200 and 210 by the communication driver 50. Transmission timing adjustment value 1 <transmission timing adjustment value 2 is satisfied.

このように、処理負荷が所定値を超えているECU10が、処理負荷が大きいほど送信タイミング調整値を大きくして送信調整メッセージに格納するので、送信調整メッセージを受信したECU10が、送信調整メッセージを送信したECU10の処理負荷の大きさに応じて送信を遅らせる遅延時間を設定できる。つまり、処理負荷が大きい場合には遅延時間を長くし、処理負荷が小さい場合には遅延時間を短くする。   In this way, the ECU 10 whose processing load exceeds the predetermined value increases the transmission timing adjustment value and stores it in the transmission adjustment message as the processing load increases. Therefore, the ECU 10 that has received the transmission adjustment message receives the transmission adjustment message. A delay time for delaying transmission can be set in accordance with the transmitted processing load of the ECU 10. That is, the delay time is lengthened when the processing load is large, and the delay time is shortened when the processing load is small.

次に、図4の(B)のルーチンにおいて、ECU10は、通信負荷またはCPU負荷が閾値1よりも高い状態から閾値1以下になったか否かを判定し(S420)、通信負荷またはCPU負荷が閾値1よりも高い場合(S420:No)、本ルーチンを終了する。   Next, in the routine of FIG. 4B, the ECU 10 determines whether or not the communication load or CPU load has become higher than the threshold value 1 or less than the threshold value 1 (S420). If it is higher than the threshold 1 (S420: No), this routine is terminated.

通信負荷およびCPU負荷が閾値1以下になった場合(S420:Yes)、ECU10は、送信許可メッセージを通信ドライバ50から通信バス200、210に送信し、本ルーチンを終了する。   When the communication load and the CPU load are equal to or less than the threshold value 1 (S420: Yes), the ECU 10 transmits a transmission permission message from the communication driver 50 to the communication buses 200 and 210, and ends this routine.

(受信側)
図5の(A)のルーチンにおいて、まずECU10は、送信調整メッセージを受信し(S430)、送信調整メッセージに格納されている送信タイミング調整値が閾値Aを超えているか否かを判定する(S432)。
(Receiver)
In the routine of FIG. 5A, first, the ECU 10 receives a transmission adjustment message (S430), and determines whether or not the transmission timing adjustment value stored in the transmission adjustment message exceeds the threshold A (S432). ).

送信タイミング調整値が閾値A以下の場合(S432:No)、ECU10は、自ノードの機能の優先度と、送信調整メッセージを送信したECU10を受信対象とするデータの優先度と、送信タイミング調整値が閾値A以下の場合に予め各ECU10で設定されている調整値Aとを乗算して、送信調整メッセージを送信したECU10を受信対象とする送信タイミングを再調整し(S434)、本ルーチンを終了する。   When the transmission timing adjustment value is equal to or less than the threshold value A (S432: No), the ECU 10 prioritizes the function of the own node, the priority of the data whose reception target is the ECU 10 that has transmitted the transmission adjustment message, and the transmission timing adjustment value. Is multiplied by the adjustment value A set in advance in each ECU 10 when the value is equal to or less than the threshold A, the transmission timing for the ECU 10 that has transmitted the transmission adjustment message is readjusted (S434), and this routine is terminated. To do.

尚、機能および送信データの優先度は、優先度が高いほど小さな値が設定される。したがって、機能および送信データの優先度が高いほど、送信調整メッセージを送信したECU10を受信対象とする送信を遅らせるために算出される送信タイミング再調整値は短くなる。   The priority of the function and transmission data is set to a smaller value as the priority is higher. Therefore, the higher the priority of the function and the transmission data, the shorter the transmission timing readjustment value calculated for delaying the transmission whose reception target is the ECU 10 that has transmitted the transmission adjustment message.

送信タイミング調整値が閾値Aを超えている場合(S432:Yes)、ECU10は、送信タイミング調整値が閾値Bを超えているか否かを判定する(S436)。尚、閾値A<閾値Bである。   When the transmission timing adjustment value exceeds the threshold A (S432: Yes), the ECU 10 determines whether or not the transmission timing adjustment value exceeds the threshold B (S436). Note that threshold A <threshold B.

送信タイミング調整値が閾値B以下の場合(S436:No)、ECU10は、自ノードの機能の優先度と、送信調整メッセージを送信したECU10を受信対象とするデータの優先度と、送信タイミング調整値が閾値Aを超えているが閾値B以下の場合に予め各ECU10で設定されている調整値Bとを乗算して、送信調整メッセージを送信したECU10を受信対象とする送信タイミングを再調整し(S438)、本ルーチンを終了する。尚、調整値A<調整値Bである。   When the transmission timing adjustment value is equal to or less than the threshold value B (S436: No), the ECU 10 prioritizes the function of the own node, the priority of the data whose reception target is the ECU 10 that has transmitted the transmission adjustment message, and the transmission timing adjustment value. When the threshold value A exceeds the threshold value A but is equal to or less than the threshold value B, it is multiplied by the adjustment value B preset in each ECU 10 to readjust the transmission timing for the ECU 10 that has transmitted the transmission adjustment message as the reception target ( S438), this routine is finished. The adjustment value A <the adjustment value B.

送信タイミング調整値が閾値Bを超えている場合(S436:Yes)、ECU10は、自ノードの機能の優先度と、送信調整メッセージを送信したECU10を受信対象とするデータの優先度と、送信タイミング調整値が閾値Bを超えている場合に予め各ECU10で設定されている調整値Cとを乗算して、送信調整メッセージを送信したECU10を受信対象とする送信タイミングを再調整し(S440)、本ルーチンを終了する。尚、調整値A<調整値Bで<調整値Cである。   When the transmission timing adjustment value exceeds the threshold B (S436: Yes), the ECU 10 determines the priority of the function of the own node, the priority of the data whose reception target is the ECU 10 that has transmitted the transmission adjustment message, and the transmission timing. When the adjustment value exceeds the threshold value B, it is multiplied by the adjustment value C set in advance by each ECU 10, and the transmission timing for receiving the ECU 10 that has transmitted the transmission adjustment message is readjusted (S440), This routine ends. Note that adjustment value A <adjustment value B and <adjustment value C.

このように、送信調整メッセージに格納されている送信タイミング調整値に応じて送信タイミング再調整値は可変に設定される。そして、送信タイミング調整値が大きいほど、ならびに送信調整メッセージを送信したECU10に対する機能の優先度が低いほど、ならびに送信調整メッセージを送信したECU10を受信対象とするデータの優先度が低いほど、送信タイミング再調整値は長くなる。   Thus, the transmission timing readjustment value is variably set according to the transmission timing adjustment value stored in the transmission adjustment message. The transmission timing adjustment value increases as the transmission timing adjustment value increases, the lower the priority of the function for the ECU 10 that has transmitted the transmission adjustment message, and the lower the priority of the data to be received by the ECU 10 that has transmitted the transmission adjustment message. The readjustment value becomes longer.

尚、S434、S438の計算式において、調整値A、Bを閾値A、Bに置き換えて送信タイミング再調整値を算出してもよい。
次に、図5の(B)のルーチンにおいて、ECU10は、送信許可メッセージを受信したか否かを判定し(S450)、送信許可メッセージを受信していない場合(S450:No)、本ルーチンを終了する。
In the calculation formulas of S434 and S438, the transmission timing readjustment value may be calculated by replacing the adjustment values A and B with the threshold values A and B.
Next, in the routine of FIG. 5B, the ECU 10 determines whether or not a transmission permission message has been received (S450), and when the transmission permission message has not been received (S450: No), this routine is executed. finish.

送信許可メッセージを受信した場合(S450:Yes)、ECU10は、調整期間中であっても、送信調整メッセージを送信したECU10を受信対象とする送信調整処理を解除し(S452)、本ルーチンを終了する。これにより、通信バス200、210が空いているときに、ECU10は、送信調整メッセージを送信したECU10を受信対象とするデータを送信できる。   When the transmission permission message is received (S450: Yes), the ECU 10 cancels the transmission adjustment process for receiving the ECU 10 that has transmitted the transmission adjustment message even during the adjustment period (S452), and ends this routine. To do. Thereby, when the communication buses 200 and 210 are vacant, the ECU 10 can transmit data for which the ECU 10 that has transmitted the transmission adjustment message is a reception target.

以上説明した本実施形態によると、処理負荷が所定値を超えると、ECU10は、自装置を受信対象とする送信を遅れさせるように、通信バス200、210に送信調整メッセージを送信する。これにより、処理負荷が所定値を超えるECU10を受信対象とする送信が待ち合わされるので、処理負荷が所定値を超えるECU10の処理負荷がそれ以上増加することを防止できる。また、処理負荷が所定値を超える状態で自装置を受信対象とするデータが送信されることを防止するので、処理負荷が所定値を超えた状態でデータが送信され、受信を失敗することを防止できる。   According to the present embodiment described above, when the processing load exceeds a predetermined value, the ECU 10 transmits a transmission adjustment message to the communication buses 200 and 210 so as to delay the transmission for which the own device is to be received. As a result, since the transmission for which the ECU 10 whose processing load exceeds the predetermined value is received is waited for, the processing load of the ECU 10 whose processing load exceeds the predetermined value can be prevented from increasing further. In addition, it prevents data that is targeted for reception from the device itself when the processing load exceeds a predetermined value, so that data is transmitted when the processing load exceeds the predetermined value, and reception fails. Can be prevented.

また、処理負荷が所定値以下のECU10は送信調整メッセージを送信しないので、送信を遅らせる対象ではない。したがって、通信バス200、210が使用可能な状態であれば、処理負荷が所定閾値以下のECU10を受信対象とする送信は遅らせることなく実行できる。これにより、処理負荷が所定値以下のECU10を受信対象とする送信を不必要に遅らせることを防止できる。   Moreover, since ECU10 whose processing load is below a predetermined value does not transmit a transmission adjustment message, it is not a target for delaying transmission. Therefore, if the communication buses 200 and 210 are in a usable state, transmission for which the ECU 10 whose processing load is equal to or less than the predetermined threshold can be received can be executed without delay. As a result, it is possible to prevent unnecessary transmission delays for the ECU 10 whose processing load is a predetermined value or less.

上記実施形態では、ECU10が本発明の電子制御装置に相当し、通信手段、負荷判定手段および通信調整手段として機能し、通信ドライバ50が通信手段として機能する。
また、図4の(A)のS400〜S404の処理が本発明の負荷判定手段が実行する機能に相当し、S406およびS408の処理が本発明の通信調整手段が実行する機能に相当し、図4の(B)のS420およびS422の処理が本発明の通信調整手段が実行する機能に相当し、S422の処理が本発明の通信手段が実行する機能に相当する。
In the above embodiment, the ECU 10 corresponds to the electronic control device of the present invention, functions as a communication unit, a load determination unit, and a communication adjustment unit, and the communication driver 50 functions as a communication unit.
4A corresponds to the function executed by the load determination unit of the present invention, and the processes of S406 and S408 correspond to the function executed by the communication adjustment unit of the present invention. The process of S420 and S422 in (B) of 4 corresponds to the function executed by the communication adjusting means of the present invention, and the process of S422 corresponds to the function executed by the communication means of the present invention.

また、図5の(A)のS430の処理が本発明の通信手段が実行する機能に相当し、S432〜S440の処理が本発明の通信調整手段が実行する機能に相当する。
[他の実施形態]
上記実施形態では、他のECU10が送信した送信調整メッセージを受信すると、送信調整メッセージを送信したECU10を受信対象とする送信データの優先度と、送信調整メッセージを送信したECU10に対する自装置の機能の優先度と、送信調整メッセージに格納されている送信タイミング調整値に応じて予め各ECU10で設定された調整値とに基づいて、送信調整メッセージを送信したECU10を受信対象とする送信の遅延時間として、送信タイミング再調整値を可変に算出した。
5A corresponds to the function executed by the communication unit of the present invention, and the processes of S432 to S440 correspond to the function executed by the communication adjustment unit of the present invention.
[Other Embodiments]
In the above-described embodiment, when a transmission adjustment message transmitted by another ECU 10 is received, the priority of transmission data targeted for reception by the ECU 10 that has transmitted the transmission adjustment message, and the function of the own device with respect to the ECU 10 that has transmitted the transmission adjustment message. Based on the priority and the adjustment value preset in each ECU 10 according to the transmission timing adjustment value stored in the transmission adjustment message, the transmission delay time for the ECU 10 that has transmitted the transmission adjustment message as a reception target The transmission timing readjustment value was variably calculated.

これに対し、送信データの優先度および自装置の機能の優先度を考慮せず、送信調整メッセージに格納されている送信タイミング調整値を、そのまま送信調整メッセージを送信したECU10を受信対象とする送信の遅延時間としてもよい。   On the other hand, the transmission timing adjustment value stored in the transmission adjustment message is used as the reception object for the ECU 10 that has transmitted the transmission adjustment message as it is without considering the priority of the transmission data and the function priority of the own device. It is good also as delay time of.

また、送信調整メッセージに送信タイミング調整値を格納せず、送信調整メッセージを受信したECU10がそれぞれ固定の送信タイミング再調整値を使用してもよいし、送信データの優先度および自装置の機能の優先度に基づいて、送信タイミング再調整値を可変に設定してもよい。   Further, the transmission timing adjustment value may not be stored in the transmission adjustment message, and the ECU 10 that has received the transmission adjustment message may use a fixed transmission timing readjustment value. The transmission timing readjustment value may be variably set based on the priority.

また、上記実施形態では、通信負荷計測部32およびCPU負荷計測部34の両計測部により負荷計測部30を構成し、ECU10の処理負荷として、通信負荷およびCPU負荷の両負荷を計測している。これに対し、通信負荷計測部32またはCPU負荷計測部34のいずれか一方で負荷計測部30を構成し、ECU10の処理負荷として、通信負荷またはCPU負荷のいずれか一方を計測してもよい。   Moreover, in the said embodiment, the load measurement part 30 is comprised by both the measurement parts of the communication load measurement part 32 and the CPU load measurement part 34, and both the load of a communication load and CPU load is measured as processing load of ECU10. . On the other hand, the load measuring unit 30 may be configured with either the communication load measuring unit 32 or the CPU load measuring unit 34, and either the communication load or the CPU load may be measured as the processing load of the ECU 10.

また、上記実施形態では、車載ネットワークとしてイベントドリブン方式のCANを例に説明したが、車載ネットワークとしてタイムドリブン方式のFlexRayに本発明を採用してもよい。タイムドリブン方式では、送信タイミングがECU毎に予め設定されているが、処理負荷が所定値を超えているECUが自装置を受信対象とする送信を遅らせる送信調整メッセージを送信すると、他のECUは、送信調整メッセージ送信したECUを受信対象とする送信を待ち合わせることができる。   In the above embodiment, the event-driven CAN is described as an example of the in-vehicle network. However, the present invention may be applied to a time-driven FlexRay as the in-vehicle network. In the time-driven method, the transmission timing is set in advance for each ECU, but when an ECU whose processing load exceeds a predetermined value transmits a transmission adjustment message that delays transmission for receiving the device itself, the other ECUs The transmission adjustment message can be sent for the transmission to be received by the ECU that has transmitted the message.

上記実施形態では、一つのCPU22が車両制御、負荷計測、送信タイミング調整を実行したが、車両制御、負荷計測、送信タイミング調整をそれぞれ個別のCPUで実行してもよい。   In the above embodiment, one CPU 22 executes vehicle control, load measurement, and transmission timing adjustment. However, vehicle control, load measurement, and transmission timing adjustment may be executed by individual CPUs.

上記実施形態では、通信手段、負荷判定手段、通信調整手段の機能を、制御プログラムにより機能が特定されるECU10により実現している。これに対し、上記複数の手段の機能の少なくとも一部を、回路構成自体で機能が特定されるハードウェアで実現してもよい。   In the above embodiment, the functions of the communication means, the load determination means, and the communication adjustment means are realized by the ECU 10 whose functions are specified by the control program. On the other hand, at least some of the functions of the plurality of means may be realized by hardware whose functions are specified by the circuit configuration itself.

このように、本発明は、上記実施形態に限定されるものではなく、その要旨を逸脱しない範囲で種々の実施形態に適用可能である。   As described above, the present invention is not limited to the above-described embodiment, and can be applied to various embodiments without departing from the gist thereof.

10:ECU(電子制御装置、通信手段、俯瞰判定手段、通信調整手段)、50:通信ドライバ(通信手段)、200、210:通信バス 10: ECU (electronic control device, communication means, overhead view determination means, communication adjustment means), 50: communication driver (communication means), 200, 210: communication bus

Claims (6)

通信バスに接続する電子制御装置において、
前記通信バスを介して他の前記電子制御装置である他装置と通信する通信手段と、
前記電子制御装置である自装置の処理負荷が所定値を超えているか否かを判定する負荷判定手段と、
前記処理負荷が前記所定値を超えていると前記負荷判定手段が判定すると、前記他装置に対し前記自装置を受信対象とする送信を遅らせる送信調整メッセージを前記通信手段により前記通信バスに送信する通信調整手段と、
を備えることを特徴とする電子制御装置。
In an electronic control device connected to a communication bus,
Communication means for communicating with another device which is the other electronic control device via the communication bus;
Load determination means for determining whether or not the processing load of its own device that is the electronic control device exceeds a predetermined value;
When the load determination unit determines that the processing load exceeds the predetermined value, the communication unit transmits a transmission adjustment message for delaying transmission to the other device as a reception target to the communication bus. Communication adjustment means;
An electronic control device comprising:
前記通信調整手段は、前記処理負荷が前記所定値を超えてから前記所定値以下になったと前記負荷判定手段が判定すると、前記他装置に対し、前記自装置を受信対象とする送信を許可する送信許可メッセージを前記通信手段により前記通信バスに送信することを特徴とする請求項1に記載の電子制御装置。   When the load determination unit determines that the processing load has exceeded the predetermined value and has become the predetermined value or less after the processing load exceeds the predetermined value, the communication adjustment unit permits the other device to transmit the target device as a reception target. 2. The electronic control apparatus according to claim 1, wherein a transmission permission message is transmitted to the communication bus by the communication unit. 前記通信調整手段は、前記他装置からの前記送信調整メッセージを前記通信手段が受信すると、前記送信調整メッセージを送信した前記他装置を受信対象とする送信を遅らせることを特徴とする請求項1または2に記載の電子制御装置。   2. The communication adjustment unit, when the communication unit receives the transmission adjustment message from the other device, delays transmission for the other device that has transmitted the transmission adjustment message as a reception target. 2. The electronic control device according to 2. 通信バスに接続する電子制御装置において、
前記通信バスを介して他の前記電子制御装置である他装置と通信する通信手段と、
前記他装置を受信対象とする送信を遅らせる送信調整メッセージを前記他装置から前記通信手段が受信すると、前記送信調整メッセージを送信した前記他装置を受信対象とする送信を遅らせる通信調整手段と、
を備えることを特徴とする電子制御装置。
In an electronic control device connected to a communication bus,
Communication means for communicating with another device which is the other electronic control device via the communication bus;
When the communication unit receives from the other device a transmission adjustment message that delays the transmission intended for the other device, a communication adjustment unit that delays the transmission intended for the other device that has transmitted the transmission adjustment message;
An electronic control device comprising:
前記通信調整手段は、前記通信手段が前記他装置からの前記送信調整メッセージを受信すると、前記送信調整メッセージを送信した前記他装置を受信対象とする送信を遅らせる遅延時間の長さを可変に調整することを特徴とする請求項3または4に記載の電子制御装置。   When the communication unit receives the transmission adjustment message from the other device, the communication adjustment unit variably adjusts the length of a delay time for delaying the transmission to be received by the other device that has transmitted the transmission adjustment message. The electronic control device according to claim 3, wherein the electronic control device is an electronic control device. 前記通信調整手段は、前記通信手段が前記他装置からの前記送信調整メッセージを受信すると、前記他装置を受信対象とする送信データの優先度と、前記他装置に対する前記自装置の機能の優先度との少なくもいずれか一方に基づいて、前記遅延時間の長さを可変に調整することを特徴とする請求項5に記載の電子制御装置。   The communication adjustment means, when the communication means receives the transmission adjustment message from the other apparatus, the priority of transmission data to be received by the other apparatus and the priority of the function of the own apparatus with respect to the other apparatus 6. The electronic control device according to claim 5, wherein the length of the delay time is variably adjusted based on at least one of the above.
JP2010111171A 2010-05-13 2010-05-13 Electronic control device Pending JP2011235848A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2010111171A JP2011235848A (en) 2010-05-13 2010-05-13 Electronic control device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2010111171A JP2011235848A (en) 2010-05-13 2010-05-13 Electronic control device

Publications (1)

Publication Number Publication Date
JP2011235848A true JP2011235848A (en) 2011-11-24

Family

ID=45324301

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2010111171A Pending JP2011235848A (en) 2010-05-13 2010-05-13 Electronic control device

Country Status (1)

Country Link
JP (1) JP2011235848A (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2023248455A1 (en) * 2022-06-24 2023-12-28 日立Astemo株式会社 Vehicle control system and electronic control device

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2023248455A1 (en) * 2022-06-24 2023-12-28 日立Astemo株式会社 Vehicle control system and electronic control device
JPWO2023248455A1 (en) * 2022-06-24 2023-12-28
JP7804767B2 (en) 2022-06-24 2026-01-22 Astemo株式会社 Vehicle control system and electronic control device

Similar Documents

Publication Publication Date Title
US8448035B2 (en) Communication system adapting for car, communication apparatus adapting for car, and communication method adapting for car
JP5843020B2 (en) Communication apparatus and communication method
US7245631B2 (en) Multiplex communication apparatus for vehicle
US11038991B2 (en) Abnormality detection device, method thereof, and communication system
JP2006287738A (en) Network system
JP5712783B2 (en) Electronic control unit, in-vehicle network, data transmission method
JP2010262444A (en) Vehicle-mounted device
JP7189349B2 (en) Gateway device, data frame transmission method and program
EP3651418B1 (en) Network system
JP2020022019A (en) Vehicle system
JP2011235848A (en) Electronic control device
US9337760B2 (en) Alternator control apparatus
CN104660500B (en) A kind of signal processing method and device
JP2022110521A5 (en)
JP5620438B2 (en) Mobile terminal and communication control method
JP5614365B2 (en) Data relay device, in-vehicle network
JP4732926B2 (en) Electronic control unit
KR20090010454A (en) CANBUS LOAD STABILIZATION
KR102110293B1 (en) Relay device
JP6729347B2 (en) Communication relay device and program
KR101217657B1 (en) Apparatus for managing CAN network based on AUTOSAR and method thereof
JP2019201289A (en) Electronic control device
JP2025033934A (en) Communication Equipment
JP4963310B2 (en) Distributed control system
JP2025000259A (en) Electronic control device