JP6572779B2 - Communications system - Google Patents

Communications system Download PDF

Info

Publication number
JP6572779B2
JP6572779B2 JP2016003636A JP2016003636A JP6572779B2 JP 6572779 B2 JP6572779 B2 JP 6572779B2 JP 2016003636 A JP2016003636 A JP 2016003636A JP 2016003636 A JP2016003636 A JP 2016003636A JP 6572779 B2 JP6572779 B2 JP 6572779B2
Authority
JP
Japan
Prior art keywords
electronic control
control device
gateway device
communication
signal line
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Active
Application number
JP2016003636A
Other languages
Japanese (ja)
Other versions
JP2017126828A (en
Inventor
岩田 淳
淳 岩田
別所 克彦
克彦 別所
信之 中川
信之 中川
理 平嶋
理 平嶋
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
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 JP2016003636A priority Critical patent/JP6572779B2/en
Publication of JP2017126828A publication Critical patent/JP2017126828A/en
Application granted granted Critical
Publication of JP6572779B2 publication Critical patent/JP6572779B2/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Description

本発明は、電子制御装置がネットワーク接続された通信システムに関する。   The present invention relates to a communication system in which an electronic control device is network-connected.

例えば特許文献1に、ゲートウエイ装置と複数の電子制御装置とが複数のネットワークで接続された車載通信システムにおいて、電子制御装置のスリープ/ウエイクアップの状態を制御する技術が開示されている。この特許文献1では、第1のネットワークに接続された電子制御装置が、第2のネットワークに接続された電子制御装置のスリープ/ウエイクアップの状態を制御できるようにしている。   For example, Patent Document 1 discloses a technique for controlling a sleep / wake-up state of an electronic control device in an in-vehicle communication system in which a gateway device and a plurality of electronic control devices are connected by a plurality of networks. In Patent Document 1, an electronic control device connected to a first network can control a sleep / wake-up state of an electronic control device connected to a second network.

特開2009−124480号公報JP 2009-124480 A

ゲートウエイ装置や第1のネットワークに接続された電子制御装置などの第1の装置が、データを送信するために、データを中継する第2の装置を介して第2のネットワークに接続された休止状態(スリープ)にある電子制御装置などの第3の装置を起動(ウエイクアップ)させる場合、まず第1の装置が第2の装置を起動させて、その後起動した第2の装置によって第3の装置を起動させる、いわゆるリレー方式による起動処理が行われる。   A dormant state in which a first device, such as a gateway device or an electronic control device connected to a first network, is connected to a second network via a second device that relays data in order to transmit data When a third device such as an electronic control device in (sleep) is activated (waked up), the first device first activates the second device, and then the third device is activated by the activated second device. The activation process by a so-called relay system is performed.

このリレー方式による起動処理では、第1の装置が第2の装置に起動要求を送信してから第2の装置および第3の装置の両方が起動を完了するまでにかかる総起動時間は、第2の装置単体の起動時間と第3の装置単体の起動時間とを合計した時間となる。よって、リレー方式処理による起動では、第2の装置および第3の装置の個々の起動時間を短くしない限り、総起動時間を短縮することができなかった。   In the activation process by the relay method, the total activation time required for both the second apparatus and the third apparatus to complete activation after the first apparatus transmits an activation request to the second apparatus is 2 is the sum of the startup time of the single device and the startup time of the third device. Therefore, in the activation by the relay system process, the total activation time cannot be shortened unless the activation times of the second device and the third device are shortened.

本発明は、上記課題を鑑みてなされたものであり、データ送信元の第1の装置が第2の装置に起動要求を送信してから第2の装置およびデータ送信先の第3の装置の両方が起動を完了するまでの総起動時間を短縮することができる、通信システムを提供することを目的とする。   The present invention has been made in view of the above-described problems. The first device of the data transmission source transmits an activation request to the second device, and then the second device and the third device of the data transmission destination. It is an object of the present invention to provide a communication system capable of shortening the total activation time until both have completed activation.

上記課題を解決するために、本発明は、ゲートウエイ装置と、第1の通信バスを介してゲートウエイ装置とデータ通信可能に接続された1つのハブと、第2の通信バスを介してハブとデータ通信可能に接続された複数の電子制御装置とを、含む通信システムであって、ゲートウエイ装置は、複数の電子制御装置のそれぞれに対応して直接信号送信可能に接続される複数の信号線と、ハブを介して複数の電子制御装置の少なくとも1つへデータを送信する場合、第1の通信バスを介したハブへの第1の起動要求信号の送信と並行して、信号線を介して少なくとも1つの電子制御装置へ第2の起動要求信号を送信する制御部とを備え、少なくとも1つの電子制御装置は、第2の起動要求信号により起動したことを示す通信許可をゲートウエイ装置へ送信し、ゲートウエイ装置は、少なくとも1つの電子制御装置から通信許可を受信した時点で、データを少なくとも1つの電子制御装置へハブを介して送信する処理を開始する、ことを特徴とする。 In order to solve the above problems, the present invention provides a gateway device, one hub connected to the gateway device via a first communication bus so as to be able to perform data communication, and a hub and data via a second communication bus. A communication system including a plurality of electronic control devices connected to be communicable, wherein the gateway device is connected to each of the plurality of electronic control devices so that direct signal transmission is possible, and a plurality of signal lines, When transmitting data to at least one of the plurality of electronic control units via the hub , at least via the signal line in parallel with the transmission of the first activation request signal to the hub via the first communication bus. and a control unit for transmitting a second activation request signal to one electronic control unit, at least one electronic control device, gateway device communication permission indicating that activated by a second activation request signal Transmitted, the gateway apparatus, upon receiving a communication permission from at least one electronic control device, start the process of transmitting data through the hub to at least one electronic control device, characterized in that.

この本発明の通信システムでは、第1の装置と第3の装置とを直接接続した信号線を設ける。これにより、第1の装置は、第3の装置へのデータ送信にあたっては、第2の装置に対する起動要求信号の送信と第3の装置に対する起動要求信号の送信とを並行して行えるので、第2の装置および第3の装置の両方が起動を完了するまでの時間が短縮される。従って、第1の装置は、第3の装置にデータを素早く届けることができる。   In the communication system of the present invention, a signal line that directly connects the first device and the third device is provided. Thus, the first device can transmit the activation request signal to the second device and the activation request signal to the third device in parallel when transmitting data to the third device. The time required for both the second device and the third device to complete startup is reduced. Thus, the first device can quickly deliver data to the third device.

以上述べたように、本発明の通信システムによれば、データ送信元の第1の装置が第2の装置に起動要求を送信してから第2の装置およびデータ送信先の第3の装置の両方が起動を完了するまでの総起動時間を、短縮することができる。   As described above, according to the communication system of the present invention, the first device of the data transmission source transmits the activation request to the second device, and then the second device and the third device of the data transmission destination. The total startup time until both have completed startup can be reduced.

本発明の第1の実施形態に係る通信システムの構成例を示す図The figure which shows the structural example of the communication system which concerns on the 1st Embodiment of this invention. 第1の実施形態に係る通信システムで実行される電子制御装置の起動方法の手順を示すフローチャートThe flowchart which shows the procedure of the starting method of the electronic control apparatus performed with the communication system which concerns on 1st Embodiment. 本発明の第1の実施形態の応用例に係る通信システムの構成例を示す図The figure which shows the structural example of the communication system which concerns on the application example of the 1st Embodiment of this invention. 本発明の第2の実施形態に係る通信システムの構成例を示す図The figure which shows the structural example of the communication system which concerns on the 2nd Embodiment of this invention. 第2の実施形態に係る通信システムで実行される電子制御装置の起動方法の手順を示すフローチャートThe flowchart which shows the procedure of the starting method of the electronic control apparatus performed with the communication system which concerns on 2nd Embodiment. 本発明の第2の実施形態の応用例に係る通信システムの構成例を示す図The figure which shows the structural example of the communication system which concerns on the application example of the 2nd Embodiment of this invention.

[概要]
本発明の通信システムでは、ゲートウエイ装置などのデータ送信を行う第1の装置が、データを中継する第2の装置に接続された配線とは異なる、宛先の第3の装置に接続された独立配線を有している。この独立配線により、ゲートウエイ装置などは、データ送信にあたって、第2の装置に対する起動要求と、宛先の第3の装置に対する起動要求とを、並行して実施することができる。よって、第2の装置および第3の装置の両方が起動完了するまでの時間を短縮でき、宛先の第3の装置にデータを素早く届けることができる。
[Overview]
In the communication system of the present invention, the first device that performs data transmission such as a gateway device is different from the wire connected to the second device that relays data, and is independent wiring connected to the destination third device. have. With this independent wiring, a gateway device or the like can execute an activation request for the second device and an activation request for the destination third device in parallel in data transmission. Therefore, it is possible to shorten the time until both the second device and the third device are completely activated, and to quickly deliver the data to the destination third device.

以下、本発明の各実施形態に係る通信システムについて、図面を参照しながら説明する。   Hereinafter, a communication system according to each embodiment of the present invention will be described with reference to the drawings.

[第1の実施形態]
図1は、本発明の第1の実施形態に係る通信システム10の構成例を示す図である。図1に例示した通信システム10は、イーサネット(登録商標)ハブ(HUB)11と、複数の電子制御装置(Electronic Control Unit:ECU)12および13と、複数の信号線14と、ゲートウエイ装置(G/W_ECU)17とを、含んで構成される。
[First Embodiment]
FIG. 1 is a diagram illustrating a configuration example of a communication system 10 according to the first embodiment of the present invention. The communication system 10 illustrated in FIG. 1 includes an Ethernet (registered trademark) hub (HUB) 11, a plurality of electronic control units (ECUs) 12 and 13, a plurality of signal lines 14, and a gateway device (G / W_ECU) 17.

1−1−1.通信システムの各構成
イーサネットハブ11は、複数の電子制御装置12を接続している。図1では、簡単のため、電子制御装置12_1と電子制御装置12_xとだけを描いている。このイーサネットハブ11は、ゲートウエイ装置17を所定の電子制御装置12に接続するスイッチ機能を有したネットワーク機器である。例えば、イーサネットハブ11は、接続されている全ての電子制御装置12のMACアドレスを記憶しており、宛先のMACアドレスと一致するMACアドレスの電子制御装置12が接続されている通信ポートにだけデータを送信する。
1-1-1. Each component Ethernet hub 11 of the communication system connects a plurality of electronic control units 12. In FIG. 1, only the electronic control device 12_1 and the electronic control device 12_x are illustrated for simplicity. The Ethernet hub 11 is a network device having a switch function for connecting the gateway device 17 to a predetermined electronic control device 12. For example, the Ethernet hub 11 stores the MAC addresses of all the electronic control devices 12 that are connected, and data is transmitted only to the communication port to which the electronic control device 12 with the MAC address that matches the destination MAC address is connected. Send.

また、イーサネットハブ11は、通信バス15を介してゲートウエイ装置17に接続されている。イーサネットハブ11は、ゲートウエイ装置17から受信する休止要求に基づいて、全ての機能を稼働させているウエイクアップ状態から一部または全ての機能を休止するスリープ状態へ移行することができる。また、イーサネットハブ11は、ゲートウエイ装置17から受信する起動要求に基づいて、スリープ状態からウエイクアップ状態へ移行することができる。イーサネットハブ11が起動要求を受信してから起動が完了するまでにかかる時間を、起動時間という。   The Ethernet hub 11 is connected to the gateway device 17 via the communication bus 15. Based on the suspension request received from the gateway device 17, the Ethernet hub 11 can transition from a wake-up state in which all functions are operated to a sleep state in which some or all functions are suspended. Further, the Ethernet hub 11 can shift from the sleep state to the wake-up state based on the activation request received from the gateway device 17. The time taken from when the Ethernet hub 11 receives the activation request until the activation is completed is referred to as activation time.

複数の電子制御装置12は、イーサネットハブ11にそれぞれ接続されている。さらに、複数の電子制御装置12は、後述する信号線14を介してゲートウエイ装置17にそれぞれ独立して接続されている。図1では、簡単のため、電子制御装置12_1が信号線14_1を介してゲートウエイ装置17に接続され、電子制御装置12_xが信号線14_xを介してゲートウエイ装置17に接続されている状態だけを描いている。なお、信号線14によるゲートウエイ装置17との接続は、全ての電子制御装置12に施す必要はなく、後述する並列起動処理が求められる電子制御装置12だけに対して施せばよい。   The plurality of electronic control devices 12 are respectively connected to the Ethernet hub 11. Further, the plurality of electronic control devices 12 are independently connected to the gateway device 17 via signal lines 14 described later. In FIG. 1, for the sake of simplicity, only the state in which the electronic control device 12_1 is connected to the gateway device 17 through the signal line 14_1 and the electronic control device 12_x is connected to the gateway device 17 through the signal line 14_x is illustrated. Yes. The connection with the gateway device 17 by the signal line 14 does not need to be applied to all the electronic control devices 12, and may be made only to the electronic control device 12 that requires parallel activation processing described later.

複数の電子制御装置12は、信号線14を介してゲートウエイ装置17から受信する休止要求に応じた信号に基づいて、ウエイクアップ状態からスリープ状態へ移行することができる。また、複数の電子制御装置12は、信号線14を介してゲートウエイ装置17から受信する起動要求に応じた信号に基づいて、スリープ状態からウエイクアップ状態へ移行することができる。電子制御装置12が起動要求に応じた信号を受信してから起動が完了するまでにかかる時間を、起動時間という。   The plurality of electronic control devices 12 can shift from the wake-up state to the sleep state based on a signal corresponding to the suspension request received from the gateway device 17 via the signal line 14. Further, the plurality of electronic control devices 12 can shift from the sleep state to the wake-up state based on a signal corresponding to the activation request received from the gateway device 17 via the signal line 14. The time taken from when the electronic control unit 12 receives the signal corresponding to the activation request until the activation is completed is referred to as an activation time.

上述したイーサネットハブ11、複数の電子制御装置12、および通信バス15は、イーサネット通信プロトコルに従ってデータの送受信を行うイーサネットネットワークを構成する。   The Ethernet hub 11, the plurality of electronic control devices 12, and the communication bus 15 described above constitute an Ethernet network that transmits and receives data according to the Ethernet communication protocol.

複数の電子制御装置13は、通信バス16を介してゲートウエイ装置17に接続されている。図1では、簡単のため、電子制御装置13_aと電子制御装置13_bとだけを描いている。この複数の電子制御装置13および通信バス16は、所定の通信プロトコル(CAN(Controller Area Network)、LIN(Local Interconnect Network)など)に従ってデータの送受信を行うネットワーク(CANネットワーク、LINネットワークなど)を構成する。   The plurality of electronic control devices 13 are connected to the gateway device 17 via the communication bus 16. In FIG. 1, only the electronic control device 13_a and the electronic control device 13_b are illustrated for simplicity. The plurality of electronic control devices 13 and the communication bus 16 constitute a network (CAN network, LIN network, etc.) that transmits and receives data according to a predetermined communication protocol (CAN (Controller Area Network), LIN (Local Interconnect Network), etc.). To do.

ゲートウエイ装置17は、例えばマルチプロトコルゲートウエイ装置であり、異なるネットワークにある電子制御装置間のデータ通信を中継する機器である。図1の例では、ゲートウエイ装置17は、通信バス15を介してイーサネットハブ11と接続されており、通信バス16を介して複数の電子制御装置13と接続されている。   The gateway device 17 is a multi-protocol gateway device, for example, and is a device that relays data communication between electronic control devices in different networks. In the example of FIG. 1, the gateway device 17 is connected to the Ethernet hub 11 via the communication bus 15 and is connected to a plurality of electronic control devices 13 via the communication bus 16.

このゲートウエイ装置17は、中継元のネットワークの電子制御装置から受信したデータの形式を、中継先のネットワークに適したデータ形式に変換して、中継先のネットワークの電子制御装置へ送信する。例えば図1において、CANネットワークの電子制御装置13からCAN通信で受信したデータを、イーサネット通信で送信できる形式に変換して、変換後のデータをイーサネットネットワークの電子制御装置12へイーサネットハブ11を介して送信する処理を行う。   The gateway device 17 converts the format of data received from the electronic control device of the relay source network into a data format suitable for the relay destination network, and transmits the data format to the electronic control device of the relay destination network. For example, in FIG. 1, the data received by CAN communication from the electronic control unit 13 of the CAN network is converted into a format that can be transmitted by Ethernet communication, and the converted data is sent to the electronic control unit 12 of the Ethernet network via the Ethernet hub 11. Process to send.

また、ゲートウエイ装置17は、複数の信号線14を介して複数の電子制御装置12をそれぞれ独立的に接続している。信号線14には、例えば図1に示すように、所定の電気的信号によって電気回路の接点を開閉して電源供給を行える機能(電源リレー回路など)が含まれている。この信号線14は、ゲートウエイ装置17から与えられる回路閉を指示する信号に基づいて電気回路の接点を閉じ、電気回路を通じて電源電圧+Bを電子制御装置12の電源信号線に供給するように接続されている。   In addition, the gateway device 17 independently connects a plurality of electronic control devices 12 via a plurality of signal lines 14. For example, as shown in FIG. 1, the signal line 14 includes a function (such as a power relay circuit) that can supply power by opening and closing a contact of the electric circuit by a predetermined electrical signal. The signal line 14 is connected so as to close the contact of the electric circuit based on a signal for instructing circuit closing given from the gateway device 17 and to supply the power supply voltage + B to the power signal line of the electronic control unit 12 through the electric circuit. ing.

このゲートウエイ装置17は、図示しない制御部によって、イーサネットハブ11に対する通信バス15を介した信号の送信と、複数の電子制御装置12に対する複数の信号線14を介した信号の送信とを、並行して実施することが可能に構成されている。従って、図1で例示するように、通信バス15を介して行うイーサネットハブ11への起動要求(i)と、信号線14_xを介して行う電子制御装置12_xへの起動要求(i)とを、並行して実施することができる。   The gateway device 17 performs signal transmission to the Ethernet hub 11 via the communication bus 15 and signal transmission to the plurality of electronic control devices 12 via the signal lines 14 in parallel by a control unit (not shown). Can be implemented. Therefore, as illustrated in FIG. 1, the activation request (i) to the Ethernet hub 11 made via the communication bus 15 and the activation request (i) to the electronic control device 12_x made via the signal line 14_x Can be performed in parallel.

なお、上述した複数の電子制御装置12、複数の電子制御装置13、およびゲートウエイ装置17は、典型的には中央演算処理装置(CPU:Central Processing Unit)、メモリ、および入出力インタフェースを構成に含んだECUであり、メモリに格納されたプログラムをCPUが読み出して解釈実行することによって所定の機能を実現する。   The plurality of electronic control devices 12, the plurality of electronic control devices 13, and the gateway device 17 described above typically include a central processing unit (CPU), a memory, and an input / output interface. The ECU reads a program stored in the memory, interprets and executes the program, and realizes a predetermined function.

1−1−2.電子制御装置の起動方法
図2をさらに参照して、本発明の第1の実施形態に係る通信システム10で実行される電子制御装置の起動方法を説明する。図2は、ゲートウエイ装置(G/W_ECU)17において電子制御装置(ECU_x)12_xへのデータ送信要求が発生した場合に実行される電子制御装置(ECU_x)12_xの起動方法の手順を示すフローチャートである。
1-1-2. Electronic Control Device Activation Method With further reference to FIG. 2, an electronic control device activation method executed in the communication system 10 according to the first embodiment of the present invention will be described. FIG. 2 is a flowchart showing a procedure of a starting method of the electronic control unit (ECU_x) 12_x that is executed when a data transmission request to the electronic control unit (ECU_x) 12_x is generated in the gateway device (G / W_ECU) 17. .

なお、以下データ送信先の電子制御装置がスリープ状態にある場合を想定して説明するが、データ送信先の電子制御装置がウエイクアップ状態であっても、同じ電子制御装置の起動方法を適用することに何ら弊害は生じない。   In the following description, it is assumed that the data transmission destination electronic control device is in the sleep state, but the same electronic control device activation method is applied even if the data transmission destination electronic control device is in the wake-up state. In particular, no harmful effects occur.

データ送信の要求が発生すると、ゲートウエイ装置17(第1の装置)は、データ送信先の電子制御装置を判断する(ステップS21)。データ送信先がイーサネットハブ11(第2の装置)を介した電子制御装置12_x(第3の装置)である場合(ステップS22、Yes)、ゲートウエイ装置17は、通信バス15を介してイーサネットハブ11へ起動要求信号を送信することと並行して、信号線14_xを介して電子制御装置12_xへ起動要求信号を送信する(ステップS23)。この第1の実施形態では、ゲートウエイ装置17は、信号線14の電気回路の接点を閉じる信号を出力し、電気回路を介して電源電圧+Bを電子制御装置12の電源信号線に供給することで、電子制御装置12へ起動要求を行う。   When a data transmission request is generated, the gateway device 17 (first device) determines an electronic control device that is a data transmission destination (step S21). When the data transmission destination is the electronic control device 12_x (third device) via the Ethernet hub 11 (second device) (step S22, Yes), the gateway device 17 sends the Ethernet hub 11 via the communication bus 15. In parallel with the transmission of the activation request signal, the activation request signal is transmitted to the electronic control device 12_x via the signal line 14_x (step S23). In the first embodiment, the gateway device 17 outputs a signal for closing the contact of the electric circuit of the signal line 14 and supplies the power supply voltage + B to the power supply signal line of the electronic control device 12 through the electric circuit. Then, an activation request is sent to the electronic control unit 12.

一方、データ送信先がイーサネットハブ11を介した電子制御装置12ではない場合(ステップS22、No)、ゲートウエイ装置17は、図示しない通信バスを介して該当する電子制御装置へ起動要求信号を送信する(ステップS24)。   On the other hand, when the data transmission destination is not the electronic control device 12 via the Ethernet hub 11 (No at Step S22), the gateway device 17 transmits an activation request signal to the corresponding electronic control device via a communication bus (not shown). (Step S24).

起動要求信号を送信した後、ゲートウエイ装置17は、起動が完了してデータを受信できる状態となったことを示す通信許可を、データ送信先の電子制御装置から受信したか否かを判断する(ステップS25)。そして、ゲートウエイ装置17は、通信許可を受信した場合に(ステップS25;Yes)、所定の通信プロトコルに従ってデータ送信先の電子制御装置へデータを送信する(ステップS26)。例えば、データ送信先がイーサネットネットワークの電子制御装置12であった場合には、イーサネット通信プロトコルに従ってデータが送信される。   After transmitting the activation request signal, the gateway device 17 determines whether or not the communication permission indicating that the activation has been completed and the data can be received has been received from the data transmission destination electronic control device ( Step S25). When the gateway device 17 receives the communication permission (step S25; Yes), the gateway device 17 transmits the data to the data transmission destination electronic control device according to a predetermined communication protocol (step S26). For example, when the data transmission destination is the electronic control device 12 of the Ethernet network, the data is transmitted according to the Ethernet communication protocol.

なお、ゲートウエイ装置17以外の電子制御装置においてデータ送信の要求が発生した場合にも、上述した電子制御装置の起動方法と同様の手順が実行される。この場合、ゲートウエイ装置17はデータ中継装置となり、ステップS21の前に、データ送信の要求が発生した電子制御装置(例えば電子制御装置13_a)が、ゲートウエイ装置17の起動要求およびデータ送信先の電子制御装置へ送信するデータをゲートウエイ装置17へ送信するステップが追加される。そして、ゲートウエイ装置17は、電子制御装置から起動要求および送信データを受信すると、ステップS21以降の処理を実行することとなる。   Even when a data transmission request is generated in an electronic control device other than the gateway device 17, the same procedure as that of the electronic control device activation method described above is executed. In this case, the gateway device 17 serves as a data relay device, and before step S21, the electronic control device (for example, the electronic control device 13_a) that issued the data transmission request sends an activation request for the gateway device 17 and electronic control of the data transmission destination. A step of transmitting data to be transmitted to the device to the gateway device 17 is added. And the gateway apparatus 17 will perform the process after step S21, if a starting request | requirement and transmission data are received from an electronic controller.

1−1−3.本実施形態による作用および効果
上述した本発明の第1の実施形態に係る通信システム10では、ゲートウエイ装置17(第1の装置)から電子制御装置12(第3の装置)の電源信号線に電源を直接供給できる信号線14を設ける。これにより、ゲートウエイ装置17は、通信バス15を介したイーサネットハブ11(第2の装置)に対する起動要求信号の送信と、信号線14を介した電子制御装置12に対する起動要求信号の送信とを、並行して実施することができる。
1-1-3. Operation and Effect of the Present Embodiment In the communication system 10 according to the first embodiment of the present invention described above, power is supplied from the gateway device 17 (first device) to the power signal line of the electronic control device 12 (third device). Is provided directly. Thereby, the gateway device 17 transmits the activation request signal to the Ethernet hub 11 (second device) via the communication bus 15 and transmits the activation request signal to the electronic control device 12 via the signal line 14. Can be performed in parallel.

従って、イーサネットハブ11(第2の装置)を介してゲートウエイ装置17(第1の装置)に接続される電子制御装置12(第3の装置)がデータ送信先となった場合、起動要求を並列送信してからイーサネットハブ11および電子制御装置12の両方が起動を完了するまでの総起動時間は、イーサネットハブ11の起動時間または電子制御装置12の起動時間のいずれか長い方の時間となるため、リレー方式に比べて短縮することができる。よって、データ送信先の電子制御装置12にデータを素早く届けることができる。   Accordingly, when the electronic control device 12 (third device) connected to the gateway device 17 (first device) via the Ethernet hub 11 (second device) becomes the data transmission destination, the activation request is parallelized. The total startup time from the transmission to the completion of startup of both the Ethernet hub 11 and the electronic control device 12 is the longer of the startup time of the Ethernet hub 11 or the startup time of the electronic control device 12, whichever is longer. It can be shortened compared to the relay system. Therefore, the data can be quickly delivered to the electronic control device 12 as the data transmission destination.

また、第1の実施形態に係る通信システム10では、信号線14によって複数の電子制御装置12の電源を一元的に管理している。よって、電子制御装置12の電源管理に各々必要だった暗電流を無くすことができる。   Further, in the communication system 10 according to the first embodiment, the power sources of the plurality of electronic control devices 12 are centrally managed by the signal line 14. Therefore, it is possible to eliminate dark currents necessary for power management of the electronic control unit 12.

[第1の実施形態の応用例]
図3は、本発明の第1の実施形態の応用例に係る通信システム20の構成例を示す図である。図3に例示した通信システム20は、イーサネットハブ(HUB)11と、複数の電子制御装置(ECU)22および13と、複数の信号線24と、ゲートウエイ装置(G/W_ECU)17とを、含んで構成される。
[Application example of the first embodiment]
FIG. 3 is a diagram illustrating a configuration example of the communication system 20 according to an application example of the first embodiment of the present invention. The communication system 20 illustrated in FIG. 3 includes an Ethernet hub (HUB) 11, a plurality of electronic control units (ECUs) 22 and 13, a plurality of signal lines 24, and a gateway unit (G / W_ECU) 17. Consists of.

本応用例に係る通信システム20は、上述した第1の実施形態に係る通信システム10と、複数の電子制御装置22および複数の信号線24の構成が異なる。以下、この異なる構成を中心に応用例を説明する。なお、通信システム10と同じ構成については、同一の参照符号を付して説明を一部省略する。   The communication system 20 according to this application example is different from the communication system 10 according to the first embodiment described above in the configuration of a plurality of electronic control devices 22 and a plurality of signal lines 24. Hereinafter, application examples will be described focusing on the different configurations. In addition, about the same structure as the communication system 10, the same referential mark is attached | subjected and description is partially abbreviate | omitted.

1−2−1.通信システムの各構成
イーサネットハブ11は、複数の電子制御装置22を接続している。図3では、簡単のため、電子制御装置22_1と電子制御装置22_xとだけを描いている。このイーサネットハブ11は、ゲートウエイ装置17を所定の電子制御装置22に接続するスイッチ機能を有したネットワーク機器である。イーサネットハブ11は、接続されている全ての電子制御装置22のMACアドレスを記憶しており、宛先のMACアドレスと一致するMACアドレスの電子制御装置22が接続されている通信ポートにだけデータを送信する。
1-2-1. Each component Ethernet hub 11 of the communication system is connected to a plurality of electronic control units 22. In FIG. 3, only the electronic control device 22_1 and the electronic control device 22_x are illustrated for simplicity. The Ethernet hub 11 is a network device having a switch function for connecting the gateway device 17 to a predetermined electronic control device 22. The Ethernet hub 11 stores the MAC addresses of all the electronic control devices 22 connected thereto, and transmits data only to the communication port to which the electronic control device 22 having the MAC address that matches the destination MAC address is connected. To do.

複数の電子制御装置22は、イーサネットハブ11にそれぞれ接続されている。さらに、複数の電子制御装置22は、後述する信号線24を介してゲートウエイ装置17にそれぞれ独立して接続されている。図3では、簡単のため、電子制御装置22_1が信号線24_1を介してゲートウエイ装置17に接続され、電子制御装置22_xが信号線24_xを介してゲートウエイ装置17に接続されている状態だけを描いている。なお、信号線24によるゲートウエイ装置17との接続は、全ての電子制御装置22に施す必要はなく、後述する並列起動処理が求められる電子制御装置22だけに対して施せばよい。   The plurality of electronic control devices 22 are respectively connected to the Ethernet hub 11. Further, the plurality of electronic control devices 22 are independently connected to the gateway device 17 via signal lines 24 described later. In FIG. 3, for simplicity, only the state where the electronic control device 22_1 is connected to the gateway device 17 via the signal line 24_1 and the electronic control device 22_x is connected to the gateway device 17 via the signal line 24_x is illustrated. Yes. The connection with the gateway device 17 by the signal line 24 does not need to be made to all the electronic control devices 22, and may be made only to the electronic control devices 22 that require parallel activation processing described later.

複数の電子制御装置22は、信号線24を介してゲートウエイ装置17から受信する休止要求に応じた信号に基づいて、ウエイクアップ状態からスリープ状態へ移行することができる。また、複数の電子制御装置22は、信号線24を介してゲートウエイ装置17から受信する起動要求に応じた信号に基づいて、スリープ状態からウエイクアップ状態へ移行することができる。電子制御装置22が起動要求に応じた信号を受信してから起動が完了するまでにかかる時間を、起動時間という。   The plurality of electronic control devices 22 can shift from the wake-up state to the sleep state based on a signal corresponding to the suspension request received from the gateway device 17 via the signal line 24. Further, the plurality of electronic control devices 22 can shift from the sleep state to the wake-up state based on a signal corresponding to the activation request received from the gateway device 17 via the signal line 24. The time taken from when the electronic control unit 22 receives a signal corresponding to the activation request until the activation is completed is referred to as an activation time.

上述したイーサネットハブ11、複数の電子制御装置22、および通信バス15は、イーサネット通信プロトコルに従ってデータの送受信を行うイーサネットネットワークを構成する。   The Ethernet hub 11, the plurality of electronic control devices 22, and the communication bus 15 described above constitute an Ethernet network that transmits and receives data according to the Ethernet communication protocol.

ゲートウエイ装置17は、複数の信号線24を介して複数の電子制御装置22をそれぞれ独立的に接続している。信号線14は、電子制御装置22が有する内部電源回路を制御できるように接続されており、ゲートウエイ装置17から与えられる電源供給を指示する信号に基づいて、電源電圧+Bを電子制御装置12の電源信号線に接続するよう内部電源回路を制御する。   The gateway device 17 independently connects a plurality of electronic control devices 22 via a plurality of signal lines 24. The signal line 14 is connected so as to control the internal power supply circuit of the electronic control device 22, and the power supply voltage + B is supplied to the power supply of the electronic control device 12 based on a signal instructing power supply supplied from the gateway device 17. The internal power supply circuit is controlled so as to be connected to the signal line.

このゲートウエイ装置17は、図示しない制御部によって、イーサネットハブ11に対する通信バス15を介した信号の送信と、複数の電子制御装置22に対する複数の信号線24を介した信号の送信とを、並行して実施することが可能に構成されている。従って、図3で例示するように、通信バス15を介して行うイーサネットハブ11への起動要求(i)と、信号線24_xを介して行う電子制御装置22_xへの起動要求(i)とを、並行して実施することができる。   The gateway device 17 performs, in parallel, transmission of signals to the Ethernet hub 11 via the communication bus 15 and transmission of signals to the plurality of electronic control devices 22 via the plurality of signal lines 24 by a control unit (not shown). Can be implemented. Therefore, as illustrated in FIG. 3, the activation request (i) to the Ethernet hub 11 made via the communication bus 15 and the activation request (i) to the electronic control device 22_x made via the signal line 24 — x Can be performed in parallel.

なお、上述した複数の電子制御装置22、複数の電子制御装置13、およびゲートウエイ装置17は、典型的には中央演算処理装置(CPU)、メモリ、および入出力インタフェースを構成に含んだECUであり、メモリに格納されたプログラムをCPUが読み出して解釈実行することによって所定の機能を実現する。   The plurality of electronic control devices 22, the plurality of electronic control devices 13, and the gateway device 17 described above are typically ECUs that include a central processing unit (CPU), a memory, and an input / output interface. The CPU reads out the program stored in the memory, interprets and executes it, thereby realizing a predetermined function.

1−2−2.電子制御装置の起動方法
本発明の第1の実施形態の応用例に係る通信システム20で実行される電子制御装置の起動方法は、図2で示した第1の実施形態に係る通信システム10で実行される手順に準ずる。以下、図2のフローチャートを参照して電子制御装置の起動方法を説明する。
1-2-2. Electronic Control Device Activation Method The electronic control device activation method executed in the communication system 20 according to the application example of the first embodiment of the present invention is the communication system 10 according to the first embodiment shown in FIG. Follow the procedure to be executed. Hereinafter, the starting method of the electronic control apparatus will be described with reference to the flowchart of FIG.

データ送信の要求が発生すると、ゲートウエイ装置17(第1の装置)は、データ送信先の電子制御装置を判断する(ステップS21)。データ送信先がイーサネットハブ11(第2の装置)を介した電子制御装置22_x(第3の装置)である場合(ステップS22、Yes)、ゲートウエイ装置17は、通信バス15を介してイーサネットハブ11へ起動要求信号を送信することと並行して、信号線24_xを介して電子制御装置22_xへ起動要求信号を送信する(ステップS23)。この第1の実施形態の応用例では、ゲートウエイ装置17は、電源電圧+Bを電源信号線に接続するよう電子制御装置22の内部電源回路を制御する信号を送信することで、電子制御装置12への起動要求を行う。   When a data transmission request is generated, the gateway device 17 (first device) determines an electronic control device that is a data transmission destination (step S21). When the data transmission destination is the electronic control device 22_x (third device) via the Ethernet hub 11 (second device) (Yes in step S22), the gateway device 17 sends the Ethernet hub 11 via the communication bus 15. In parallel with the transmission of the activation request signal, the activation request signal is transmitted to the electronic control unit 22_x via the signal line 24_x (step S23). In the application example of the first embodiment, the gateway device 17 transmits to the electronic control device 12 a signal for controlling the internal power supply circuit of the electronic control device 22 so as to connect the power supply voltage + B to the power supply signal line. Make a startup request.

一方、データ送信先がイーサネットハブ11を介した電子制御装置22ではない場合(ステップS22、No)、ゲートウエイ装置17は、図示しない通信バスを介して該当する電子制御装置へ起動要求信号を送信する(ステップS24)。   On the other hand, when the data transmission destination is not the electronic control device 22 via the Ethernet hub 11 (step S22, No), the gateway device 17 transmits an activation request signal to the corresponding electronic control device via a communication bus (not shown). (Step S24).

起動要求信号を送信した後、ゲートウエイ装置17は、起動が完了してデータを受信できる状態となったことを示す通信許可を、データ送信先の電子制御装置から受信したか否かを判断する(ステップS25)。そして、ゲートウエイ装置17は、通信許可を受信した場合に(ステップS25;Yes)、所定の通信プロトコルに従ってデータ送信先の電子制御装置へデータを送信する(ステップS26)。例えば、データ送信先がイーサネットネットワークの電子制御装置22であった場合には、イーサネット通信プロトコルに従ってデータが送信される。   After transmitting the activation request signal, the gateway device 17 determines whether or not the communication permission indicating that the activation has been completed and the data can be received has been received from the data transmission destination electronic control device ( Step S25). When the gateway device 17 receives the communication permission (step S25; Yes), the gateway device 17 transmits the data to the data transmission destination electronic control device according to a predetermined communication protocol (step S26). For example, when the data transmission destination is the electronic control device 22 of the Ethernet network, the data is transmitted according to the Ethernet communication protocol.

なお、ゲートウエイ装置17以外の電子制御装置においてデータ送信の要求が発生した場合にも、上述した電子制御装置の起動方法と同様の手順が実行される。この場合、ゲートウエイ装置17はデータ中継装置となり、ステップS21の前に、データ送信の要求が発生した電子制御装置(例えば電子制御装置13_a)が、ゲートウエイ装置17の起動要求およびデータ送信先の電子制御装置へ送信するデータをゲートウエイ装置17へ送信するステップが追加される。そして、ゲートウエイ装置17は、電子制御装置から起動要求および送信データを受信すると、ステップS21以降の処理を実行することとなる。   Even when a data transmission request is generated in an electronic control device other than the gateway device 17, the same procedure as that of the electronic control device activation method described above is executed. In this case, the gateway device 17 serves as a data relay device, and before step S21, the electronic control device (for example, the electronic control device 13_a) that issued the data transmission request sends an activation request for the gateway device 17 and electronic control of the data transmission destination. A step of transmitting data to be transmitted to the device to the gateway device 17 is added. And the gateway apparatus 17 will perform the process after step S21, if a starting request | requirement and transmission data are received from an electronic controller.

1−2−3.本実施形態の応用例による作用および効果
上述した本発明の第1の実施形態の応用例に係る通信システム20では、ゲートウエイ装置17(第1の装置)から電子制御装置22(第3の装置)の内部電源回路を制御して電源信号線に電源を供給させることができる信号線24を設ける。これにより、ゲートウエイ装置17は、通信バス15を介したイーサネットハブ11に対する起動要求信号の送信と、信号線24を介した電子制御装置22に対する起動要求信号の送信とを、並行して実施することができる。
1-2-3. Operation and effect of application example of this embodiment In the communication system 20 according to the application example of the first embodiment of the present invention described above, the gateway device 17 (first device) to the electronic control device 22 (third device). A signal line 24 that can control the internal power supply circuit and supply power to the power signal line is provided. As a result, the gateway device 17 performs transmission of the activation request signal to the Ethernet hub 11 via the communication bus 15 and transmission of the activation request signal to the electronic control device 22 via the signal line 24 in parallel. Can do.

従って、イーサネットハブ11(第2の装置)を介してゲートウエイ装置17(第1の装置)に接続される電子制御装置22(第3の装置)がデータ送信先となった場合、起動要求を並列送信してからイーサネットハブ11および電子制御装置22の両方が起動を完了するまでの総起動時間は、イーサネットハブ11の起動時間または電子制御装置22の起動時間のいずれか長い方の時間となるため、リレー方式に比べて短縮することができる。よって、データ送信先の電子制御装置22にデータを素早く届けることができる。   Therefore, when the electronic control device 22 (third device) connected to the gateway device 17 (first device) via the Ethernet hub 11 (second device) becomes the data transmission destination, the activation request is parallelized. The total startup time from the transmission to the completion of startup of both the Ethernet hub 11 and the electronic control device 22 is the longer of the startup time of the Ethernet hub 11 or the startup time of the electronic control device 22, whichever is longer. It can be shortened compared to the relay system. Therefore, the data can be quickly delivered to the electronic control device 22 as the data transmission destination.

また、第1の実施形態の応用例に係る通信システム20では、所定の電気的信号によって電気回路の接点を開閉して電源供給を行える機能(電源リレー回路など)を含まない信号線24を用いている。よって、第1の実施形態の応用例に係る通信システム20を、第1の実施形態に係る通信システム10よりも、安価かつ軽量に構成することができる。   In the communication system 20 according to the application example of the first embodiment, the signal line 24 that does not include a function (power relay circuit or the like) that can supply power by opening and closing the contact of the electric circuit by a predetermined electric signal is used. ing. Therefore, the communication system 20 according to the application example of the first embodiment can be configured to be cheaper and lighter than the communication system 10 according to the first embodiment.

[第2の実施形態]
図4は、本発明の第2の実施形態に係る通信システム30の構成例を示す図である。図4に例示した通信システム30は、イーサネットハブ(HUB)31と、複数の電子制御装置(ECU)32および33と、複数の信号線34と、ゲートウエイ装置(G/W_ECU)37とを、含んで構成される。
[Second Embodiment]
FIG. 4 is a diagram illustrating a configuration example of a communication system 30 according to the second embodiment of the present invention. The communication system 30 illustrated in FIG. 4 includes an Ethernet hub (HUB) 31, a plurality of electronic control units (ECUs) 32 and 33, a plurality of signal lines 34, and a gateway unit (G / W_ECU) 37. Consists of.

2−1−1.通信システムの各構成
イーサネットハブ31は、複数の電子制御装置32を接続している。図4では、簡単のため、電子制御装置32_1と電子制御装置32_xとだけを描いている。このイーサネットハブ31は、ゲートウエイ装置37を所定の電子制御装置32に接続するスイッチ機能を有したネットワーク機器である。例えば、イーサネットハブ31は、接続されている全ての電子制御装置32のMACアドレスを記憶しており、宛先のMACアドレスと一致するMACアドレスの電子制御装置32が接続されている通信ポートにだけデータを送信する。
2-1-1. Each component Ethernet hub 31 of the communication system connects a plurality of electronic control devices 32. In FIG. 4, only the electronic control device 32_1 and the electronic control device 32_x are illustrated for simplicity. The Ethernet hub 31 is a network device having a switch function for connecting the gateway device 37 to a predetermined electronic control device 32. For example, the Ethernet hub 31 stores the MAC addresses of all the electronic control devices 32 connected thereto, and data is transmitted only to the communication port to which the electronic control device 32 having the MAC address that matches the destination MAC address is connected. Send.

また、イーサネットハブ31は、通信バス35を介してゲートウエイ装置37に接続されている。イーサネットハブ31は、ゲートウエイ装置37から受信する休止要求に基づいて、全ての機能を稼働させているウエイクアップ状態から一部または全ての機能を休止するスリープ状態へ移行することができる。また、イーサネットハブ31は、ゲートウエイ装置37から受信する起動要求に基づいて、スリープ状態からウエイクアップ状態へ移行することができる。イーサネットハブ31が起動要求を受信してから起動が完了するまでにかかる時間を、起動時間という。   The Ethernet hub 31 is connected to a gateway device 37 via a communication bus 35. Based on the suspension request received from the gateway device 37, the Ethernet hub 31 can transition from a wake-up state in which all functions are operating to a sleep state in which some or all functions are suspended. Further, the Ethernet hub 31 can shift from the sleep state to the wake-up state based on the activation request received from the gateway device 37. The time taken from when the Ethernet hub 31 receives the activation request until the activation is completed is referred to as activation time.

さらに、イーサネットハブ31は、後述する信号線34を介して、通信バス35とは異なる他の通信バス36に接続された電子制御装置33に、ゲートウエイ装置37を介さずに直接接続されている。図4では、イーサネットハブ31が、信号線34_hを介して電子制御装置33_aに接続されている状態を描いている。   Further, the Ethernet hub 31 is directly connected to an electronic control device 33 connected to another communication bus 36 different from the communication bus 35 via a signal line 34 to be described later without using a gateway device 37. FIG. 4 illustrates a state in which the Ethernet hub 31 is connected to the electronic control device 33_a via the signal line 34_h.

複数の電子制御装置32は、イーサネットハブ31にそれぞれ接続されている。さらに、複数の電子制御装置32は、後述する信号線34を介して、通信バス35とは異なる他の通信バス36に接続された電子制御装置33に、ゲートウエイ装置37を介さずにそれぞれ独立して直接接続されている。図4では、簡単のため、電子制御装置32_1が信号線34_1を介して電子制御装置33_aに接続され、電子制御装置32_xが信号線34_xを介して電子制御装置33_aに接続されている状態だけを描いている。   The plurality of electronic control devices 32 are respectively connected to the Ethernet hub 31. Further, the plurality of electronic control devices 32 are independent of the electronic control device 33 connected to another communication bus 36 different from the communication bus 35 via the signal line 34 described later without using the gateway device 37. Connected directly. In FIG. 4, for the sake of simplicity, only the state where the electronic control device 32_1 is connected to the electronic control device 33_a via the signal line 34_1 and the electronic control device 32_x is connected to the electronic control device 33_a via the signal line 34_x. I'm drawing.

なお、信号線34による電子制御装置33との接続は、全ての電子制御装置32に施す必要はなく、後述する並列起動処理が求められる電子制御装置32だけに対して施せばよい。また、電子制御装置32と信号線34による接続を行う電子制御装置33は、他の通信バス36に接続された一部の電子制御装置だけであってもよいし、全ての電子制御装置であってもよい。   The connection with the electronic control device 33 by the signal line 34 does not have to be made to all the electronic control devices 32, and may be made only to the electronic control device 32 that requires parallel activation processing described later. Further, the electronic control device 33 that performs the connection with the electronic control device 32 by the signal line 34 may be only a part of the electronic control devices connected to the other communication bus 36, or may be all electronic control devices. May be.

複数の電子制御装置32は、信号線34を介して電子制御装置33から受信する休止要求に応じた信号に基づいて、ウエイクアップ状態からスリープ状態へ移行することができる。また、複数の電子制御装置32は、信号線34を介して電子制御装置33から受信する起動要求に応じた信号に基づいて、スリープ状態からウエイクアップ状態へ移行することができる。電子制御装置32が起動要求に応じた信号を受信してから起動が完了するまでにかかる時間を、起動時間という。   The plurality of electronic control devices 32 can shift from the wake-up state to the sleep state based on a signal corresponding to the suspension request received from the electronic control device 33 via the signal line 34. Further, the plurality of electronic control devices 32 can shift from the sleep state to the wake-up state based on a signal corresponding to the activation request received from the electronic control device 33 via the signal line 34. The time taken from when the electronic control unit 32 receives a signal corresponding to the activation request until the activation is completed is referred to as an activation time.

上述したイーサネットハブ31、複数の電子制御装置32、および通信バス35は、イーサネット通信プロトコルに従ってデータの送受信を行うイーサネットネットワークを構成する。   The Ethernet hub 31, the plurality of electronic control devices 32, and the communication bus 35 described above constitute an Ethernet network that transmits and receives data according to the Ethernet communication protocol.

複数の電子制御装置33は、通信バス36を介してゲートウエイ装置37に接続されている。図4では、簡単のため、電子制御装置33_aと電子制御装置33_bとだけを描いている。この複数の電子制御装置33および通信バス36は、所定の通信プロトコル(CAN、LINなど)に従ってデータの送受信を行うネットワーク(CANネットワーク、LINネットワークなど)を構成する。   The plurality of electronic control devices 33 are connected to the gateway device 37 via the communication bus 36. In FIG. 4, only the electronic control device 33_a and the electronic control device 33_b are illustrated for simplicity. The plurality of electronic control devices 33 and the communication bus 36 constitute a network (CAN network, LIN network, etc.) that transmits and receives data according to a predetermined communication protocol (CAN, LIN, etc.).

また、複数の電子制御装置33の少なくとも1つ(図4の例では電子制御装置33_a)は、複数の信号線34を介してイーサネットハブ31および複数の電子制御装置32をそれぞれ独立的に接続している。信号線34には、例えば図4に示すように、所定の電気的信号によって電気回路の接点を開閉して電源供給を行える機能(電源リレー回路など)が含まれている。この信号線34は、電子制御装置33から与えられる回路閉を指示する信号に基づいて電気回路の接点を閉じ、電気回路を通じて電源電圧+Bをイーサネットハブ31および電子制御装置32の電源信号線に供給するように接続されている。   In addition, at least one of the plurality of electronic control devices 33 (electronic control device 33_a in the example of FIG. 4) independently connects the Ethernet hub 31 and the plurality of electronic control devices 32 via the plurality of signal lines 34, respectively. ing. For example, as shown in FIG. 4, the signal line 34 includes a function (power relay circuit or the like) that can supply power by opening and closing a contact of the electric circuit by a predetermined electric signal. The signal line 34 closes the contact of the electric circuit based on a signal given from the electronic control device 33 to close the circuit, and supplies the power supply voltage + B to the power supply signal line of the Ethernet hub 31 and the electronic control device 32 through the electric circuit. To be connected.

この電子制御装置33は、図示しない制御部によって、ゲートウエイ装置37に対する通信バス36を介した信号の送信と、イーサネットハブ31に対する信号線34を介した信号の送信と、複数の電子制御装置32に対する複数の信号線34を介した信号の送信とを、並行して実施することが可能に構成されている。従って、図4で例示するように、信号線34_hを介して行うイーサネットハブ31への起動要求(i)と、信号線34_xを介して行う電子制御装置32_xへの起動要求(i)と、通信バス36を介して行うゲートウエイ装置37への起動要求(i)とを、並行して実施することができる。   This electronic control device 33 is transmitted by the control unit (not shown) to the gateway device 37 via the communication bus 36, to the Ethernet hub 31 via the signal line 34, and to the plurality of electronic control devices 32. The transmission of signals via the plurality of signal lines 34 can be performed in parallel. Therefore, as illustrated in FIG. 4, the activation request (i) to the Ethernet hub 31 made via the signal line 34_h, the activation request (i) to the electronic control device 32_x made via the signal line 34_x, and communication The activation request (i) to the gateway device 37 performed via the bus 36 can be performed in parallel.

ゲートウエイ装置37は、例えばマルチプロトコルゲートウエイ装置であり、異なるネットワークにある電子制御装置間のデータ通信を中継する機器である。図4の例では、ゲートウエイ装置37は、通信バス35を介してイーサネットハブ31と接続されており、通信バス36を介して複数の電子制御装置33と接続されている。   The gateway device 37 is a multi-protocol gateway device, for example, and is a device that relays data communication between electronic control devices in different networks. In the example of FIG. 4, the gateway device 37 is connected to the Ethernet hub 31 via the communication bus 35, and is connected to a plurality of electronic control devices 33 via the communication bus 36.

このゲートウエイ装置37は、中継元のネットワークの電子制御装置から受信したデータの形式を、中継先のネットワークに適したデータ形式に変換して、中継先のネットワークの電子制御装置へ送信する。例えば図4において、CANネットワークの電子制御装置33からCAN通信で受信したデータを、イーサネット通信で送信できる形式に変換して、変換後のデータをイーサネットネットワークの電子制御装置32へイーサネットハブ31を介して送信する処理を行う。   The gateway device 37 converts the format of data received from the electronic control device of the relay source network into a data format suitable for the relay destination network, and transmits the data format to the electronic control device of the relay destination network. For example, in FIG. 4, data received by CAN communication from the CAN network electronic control device 33 is converted into a format that can be transmitted by Ethernet communication, and the converted data is sent to the Ethernet network electronic control device 32 via the Ethernet hub 31. Process to send.

また、ゲートウエイ装置37は、電子制御装置33から受信するデータ送信要求に基づいて、一部または全ての機能を休止するスリープ状態から必要な機能を稼働させたウエイクアップ状態へ移行することができる。ゲートウエイ装置37がデータ送信要求を受信してから起動が完了するまでにかかる時間を、起動時間という。   Further, based on the data transmission request received from the electronic control device 33, the gateway device 37 can shift from a sleep state in which some or all functions are suspended to a wake-up state in which necessary functions are operated. The time it takes for the activation to be completed after the gateway device 37 receives the data transmission request is called activation time.

なお、上述した複数の電子制御装置32、複数の電子制御装置33、およびゲートウエイ装置37は、典型的には中央演算処理装置(CPU)、メモリ、および入出力インタフェースを構成に含んだECUであり、メモリに格納されたプログラムをCPUが読み出して解釈実行することによって所定の機能を実現する。   The plurality of electronic control devices 32, the plurality of electronic control devices 33, and the gateway device 37 described above are typically ECUs that include a central processing unit (CPU), a memory, and an input / output interface. The CPU reads out the program stored in the memory, interprets and executes it, thereby realizing a predetermined function.

2−1−2.電子制御装置の起動方法
図5をさらに参照して、本発明の第2の実施形態に係る通信システム30で実行される電子制御装置の起動方法を説明する。図5は、電子制御装置(ECU_A)33_aにおいて電子制御装置(ECU_x)32_xへのデータ送信要求が発生した場合に実行される電子制御装置(ECU_x)32_xの起動方法の手順を示すフローチャートである。
2-1-2. Electronic Control Device Activation Method With further reference to FIG. 5, an electronic control device activation method executed in the communication system 30 according to the second embodiment of the present invention will be described. FIG. 5 is a flowchart illustrating a procedure of a method of starting the electronic control unit (ECU_x) 32_x that is executed when a data transmission request to the electronic control unit (ECU_x) 32_x is generated in the electronic control unit (ECU_A) 33_a.

なお、以下データ送信先の電子制御装置がスリープ状態にある場合を想定して説明するが、データ送信先の電子制御装置がウエイクアップ状態であっても、同じ電子制御装置の起動方法を適用することに何ら弊害は生じない。   In the following description, it is assumed that the data transmission destination electronic control device is in the sleep state, but the same electronic control device activation method is applied even if the data transmission destination electronic control device is in the wake-up state. In particular, no harmful effects occur.

データ送信の要求が発生すると、電子制御装置33_a(第1の装置)は、データ送信先の電子制御装置を判断する(ステップS51)。データ送信先がイーサネットハブ31(第3の装置)を介した電子制御装置32_x(第3の装置)である場合(ステップS52、Yes)、電子制御装置33_aは、通信バス35を介してゲートウエイ装置37へ起動要求信号(第1信号)を送信することと並行して、信号線34_hを介してイーサネットハブ31へ起動要求信号を送信しおよび信号線34_xを介して電子制御装置32_xへ起動要求信号を送信する(ステップS53)。この第2の実施形態では、電子制御装置33_aは、信号線34_hの電気回路の接点を閉じる信号を出力し、電気回路を介して電源電圧+Bをイーサネットハブ31の電源信号線に供給することで、イーサネットハブ31へ起動要求を行い、また、信号線34_xの電気回路の接点を閉じる信号を出力し、電気回路を介して電源電圧+Bを電子制御装置32_xの電源信号線に供給することで、電子制御装置32_xへ起動要求を行う。   When a request for data transmission occurs, the electronic control device 33_a (first device) determines the electronic control device that is the data transmission destination (step S51). When the data transmission destination is the electronic control device 32_x (third device) via the Ethernet hub 31 (third device) (step S52, Yes), the electronic control device 33_a receives the gateway device via the communication bus 35. In parallel with the transmission of the activation request signal (first signal) to 37, the activation request signal is transmitted to the Ethernet hub 31 via the signal line 34_h and the activation request signal to the electronic control unit 32_x via the signal line 34_x. Is transmitted (step S53). In the second embodiment, the electronic control unit 33_a outputs a signal for closing the contact of the electric circuit of the signal line 34_h, and supplies the power supply voltage + B to the power supply signal line of the Ethernet hub 31 through the electric circuit. , By making an activation request to the Ethernet hub 31, outputting a signal for closing the contact of the electric circuit of the signal line 34_x, and supplying the power supply voltage + B to the power supply signal line of the electronic control device 32_x through the electric circuit, An activation request is made to the electronic control device 32_x.

一方、データ送信先がイーサネットハブ31を介した電子制御装置32ではない場合(ステップS52、No)、電子制御装置33_aは、データ送信先がゲートウエイ装置37による中継が必要な電子制御装置であるか否かを判断する(ステップS54)。すなわち、電子制御装置33_aは、通信バス36で接続された自ネットワーク内でのデータ送信か否か否かを判断する。   On the other hand, if the data transmission destination is not the electronic control device 32 via the Ethernet hub 31 (No in step S52), is the electronic control device 33_a an electronic control device whose data transmission destination needs to be relayed by the gateway device 37? It is determined whether or not (step S54). That is, the electronic control unit 33_a determines whether or not data transmission is performed within the own network connected by the communication bus 36.

データ送信先がゲートウエイ装置37による中継が必要な電子制御装置である場合(ステップS54、Yes)、電子制御装置33_aは、ゲートウエイ装置37へ起動要求信号を送信する(ステップS55)。一方、データ送信先がゲートウエイ装置37による中継が必要な電子制御装置ではない場合(ステップS54、No)、電子制御装置33_aは、所定の通信プロトコルに従って通信バス36を介して該当する電子制御装置33へデータを送信する(ステップS57)。   When the data transmission destination is an electronic control device that needs to be relayed by the gateway device 37 (step S54, Yes), the electronic control device 33_a transmits an activation request signal to the gateway device 37 (step S55). On the other hand, when the data transmission destination is not an electronic control device that needs to be relayed by the gateway device 37 (No in step S54), the electronic control device 33_a corresponds to the corresponding electronic control device 33 via the communication bus 36 according to a predetermined communication protocol. Data is transmitted to (step S57).

電子制御装置33_aから起動要求信号を受信したゲートウエイ装置37は、起動処理を実行して起動した後(ステップS61)、電子制御装置33_aへ応答を返信する。起動の応答を受信した電子制御装置33_aは、ゲートウエイ装置37へデータを送信する(ステップS56)。   The gateway device 37 that has received the activation request signal from the electronic control device 33_a executes the activation process and is activated (step S61), and then returns a response to the electronic control device 33_a. Receiving the activation response, the electronic control device 33_a transmits data to the gateway device 37 (step S56).

電子制御装置33_aからデータを受信した後(ステップS62)、ゲートウエイ装置37は、起動が完了してデータを受信できる状態となったことを示す通信許可を、データ送信先の電子制御装置から受信したか否かを判断する(ステップS63)。そして、ゲートウエイ装置37は、通信許可を受信した場合に(ステップS63;Yes)、所定の通信プロトコルに従ってデータ送信先の電子制御装置へデータを送信する(ステップS64)。例えば、データ送信先がイーサネットネットワークの電子制御装置32_xであった場合には、イーサネット通信プロトコルに従ってデータが送信される。   After receiving data from the electronic control device 33_a (step S62), the gateway device 37 has received communication permission from the electronic control device that is the data transmission destination, indicating that the activation has been completed and the data can be received. Whether or not (step S63). When the gateway device 37 receives the communication permission (step S63; Yes), the gateway device 37 transmits data to the data transmission destination electronic control device according to a predetermined communication protocol (step S64). For example, when the data transmission destination is the electronic control device 32_x of the Ethernet network, the data is transmitted according to the Ethernet communication protocol.

2−1−3.本実施形態による作用および効果
上述した本発明の第2の実施形態に係る通信システム30では、第1のネットワークに接続された電子制御装置33(第1の装置)から第2のネットワークに接続されたイーサネットハブ31(第3の装置)および電子制御装置32(第3の装置)の電源信号線に電源を直接供給できる信号線34をそれぞれ設ける。これにより、電子制御装置33は、通信バス36を介したゲートウエイ装置37(第2の装置)に対する起動要求信号の送信と、信号線34を介したイーサネットハブ31および電子制御装置32に対する起動要求とを、並行して実施することができる。
2-1-3. Operation and Effect of the Present Embodiment In the communication system 30 according to the second embodiment of the present invention described above, the electronic control device 33 (first device) connected to the first network is connected to the second network. Further, signal lines 34 that can supply power directly to the power signal lines of the Ethernet hub 31 (third device) and the electronic control device 32 (third device) are provided. As a result, the electronic control device 33 transmits the activation request signal to the gateway device 37 (second device) via the communication bus 36, and the activation request to the Ethernet hub 31 and the electronic control device 32 via the signal line 34. Can be implemented in parallel.

従って、イーサネットハブ31(第3の装置)を介してゲートウエイ装置37(第2の装置)に接続される電子制御装置32(第3の装置)がデータ送信先となった場合、起動要求を並列送信してからゲートウエイ装置37、イーサネットハブ31、および電子制御装置32の全てが起動を完了するまでの総起動時間は、ゲートウエイ装置37の起動時間イーサネットハブ31の起動時間または電子制御装置32の起動時間のいずれか長い方の時間となるため、リレー方式に比べて短縮することができる。よって、データ送信先の電子制御装置32にデータを素早く届けることができる。 Therefore, when the electronic control device 32 (third device) connected to the gateway device 37 (second device) via the Ethernet hub 31 (third device) becomes the data transmission destination, the activation request is parallelized. The total startup time from the transmission until the gateway device 37, the Ethernet hub 31 and the electronic control device 32 all start up is the startup time of the gateway device 37, the startup time of the Ethernet hub 31 , or the electronic control device 32. since the between time any longer startup time can be shortened as compared with the relay system. Therefore, the data can be quickly delivered to the electronic control device 32 as the data transmission destination.

また、第2の実施形態に係る通信システム30では、信号線34によってイーサネットハブ31および複数の電子制御装置32の電源を一元的に管理している。よって、イーサネットハブ31および電子制御装置32の電源管理に各々必要だった暗電流を無くすことができる。   Further, in the communication system 30 according to the second embodiment, the power supply of the Ethernet hub 31 and the plurality of electronic control devices 32 is centrally managed by the signal line 34. Therefore, it is possible to eliminate dark currents necessary for power management of the Ethernet hub 31 and the electronic control unit 32, respectively.

[第2の実施形態の応用例]
図6は、本発明の第2の実施形態の応用例に係る通信システム40の構成例を示す図である。図6に例示した通信システム40は、イーサネットハブ(HUB)31と、複数の電子制御装置(ECU)42および33と、複数の信号線44と、ゲートウエイ装置(G/W_ECU)37とを、含んで構成される。
[Application Example of Second Embodiment]
FIG. 6 is a diagram illustrating a configuration example of a communication system 40 according to an application example of the second embodiment of the present invention. The communication system 40 illustrated in FIG. 6 includes an Ethernet hub (HUB) 31, a plurality of electronic control units (ECUs) 42 and 33, a plurality of signal lines 44, and a gateway unit (G / W_ECU) 37. Consists of.

本応用例に係る通信システム40は、上述した第2の実施形態に係る通信システム30と、複数の電子制御装置42および複数の信号線44の構成が異なる。以下、この異なる構成を中心に応用例を説明する。なお、通信システム30と同じ構成については、同一の参照符号を付して説明を一部省略する。   The communication system 40 according to this application example is different from the communication system 30 according to the second embodiment described above in the configuration of a plurality of electronic control devices 42 and a plurality of signal lines 44. Hereinafter, application examples will be described focusing on the different configurations. In addition, about the same structure as the communication system 30, the same referential mark is attached | subjected and description is partially abbreviate | omitted.

2−2−1.通信システムの各構成
イーサネットハブ31は、複数の電子制御装置42を接続している。図6では、簡単のため、電子制御装置42_1と電子制御装置42_xとだけを描いている。このイーサネットハブ31は、ゲートウエイ装置37を所定の電子制御装置42に接続するスイッチ機能を有したネットワーク機器である。例えば、イーサネットハブ31は、接続されている全ての電子制御装置42のMACアドレスを記憶しており、宛先のMACアドレスと一致するMACアドレスの電子制御装置42が接続されている通信ポートにだけデータを送信する。
2-2-1. Each component Ethernet hub 31 of the communication system is connected to a plurality of electronic control devices 42. In FIG. 6, only the electronic control device 42_1 and the electronic control device 42_x are illustrated for simplicity. The Ethernet hub 31 is a network device having a switch function for connecting the gateway device 37 to a predetermined electronic control device 42. For example, the Ethernet hub 31 stores the MAC addresses of all the electronic control devices 42 that are connected, and data is transmitted only to the communication port to which the electronic control device 42 with the MAC address that matches the destination MAC address is connected. Send.

また、イーサネットハブ31は、後述する信号線44を介して、通信バス35とは異なる他の通信バス36に接続された電子制御装置33に、ゲートウエイ装置37を介さずに直接接続されている。図6では、イーサネットハブ31が、信号線44_hを介して電子制御装置33_aに接続されている状態を描いている。   Further, the Ethernet hub 31 is directly connected to the electronic control device 33 connected to another communication bus 36 different from the communication bus 35 via the signal line 44 described later without using the gateway device 37. FIG. 6 illustrates a state where the Ethernet hub 31 is connected to the electronic control device 33_a via the signal line 44_h.

複数の電子制御装置42は、イーサネットハブ31にそれぞれ接続されている。さらに、複数の電子制御装置42は、後述する信号線44を介して、通信バス35とは異なる他の通信バス36に接続された電子制御装置33に、ゲートウエイ装置37を介さずにそれぞれ独立して直接接続されている。図6では、簡単のため、電子制御装置42_1が信号線44_1を介して電子制御装置33_aに接続され、電子制御装置42_xが信号線44_xを介して電子制御装置33_aに接続されている状態だけを描いている。   The plurality of electronic control devices 42 are respectively connected to the Ethernet hub 31. Further, the plurality of electronic control devices 42 are independent of the electronic control device 33 connected to another communication bus 36 different from the communication bus 35 via the signal line 44 described later without using the gateway device 37. Connected directly. In FIG. 6, for the sake of simplicity, only the state where the electronic control device 42_1 is connected to the electronic control device 33_a via the signal line 44_1 and the electronic control device 42_x is connected to the electronic control device 33_a via the signal line 44_x. I'm drawing.

なお、信号線44による電子制御装置33との接続は、全ての電子制御装置42に施す必要はなく、後述する並列起動処理が求められる電子制御装置42だけに対して施せばよい。また、電子制御装置42と信号線44による接続を行う電子制御装置33は、他の通信バス36に接続された一部の電子制御装置だけであってもよいし、全ての電子制御装置であってもよい。   The connection to the electronic control device 33 by the signal line 44 is not necessarily made to all the electronic control devices 42, and may be made only to the electronic control device 42 that requires parallel activation processing described later. Further, the electronic control device 33 that performs the connection with the electronic control device 42 by the signal line 44 may be only a part of the electronic control devices connected to the other communication bus 36, or may be all electronic control devices. May be.

複数の電子制御装置42は、信号線44を介して電子制御装置33から受信する休止要求に応じた信号に基づいて、ウエイクアップ状態からスリープ状態へ移行することができる。また、複数の電子制御装置42は、信号線44を介して電子制御装置33から受信する起動要求に応じた信号に基づいて、スリープ状態からウエイクアップ状態へ移行することができる。電子制御装置42が起動要求に応じた信号を受信してから起動が完了するまでにかかる時間を、起動時間という。   The plurality of electronic control devices 42 can shift from the wake-up state to the sleep state based on a signal corresponding to the suspension request received from the electronic control device 33 via the signal line 44. Further, the plurality of electronic control devices 42 can shift from the sleep state to the wake-up state based on a signal corresponding to the activation request received from the electronic control device 33 via the signal line 44. The time taken from when the electronic control device 42 receives a signal corresponding to the activation request until the activation is completed is referred to as an activation time.

上述したイーサネットハブ31、複数の電子制御装置42、および通信バス35は、イーサネット通信プロトコルに従ってデータの送受信を行うイーサネットネットワークを構成する。   The Ethernet hub 31, the plurality of electronic control devices 42, and the communication bus 35 described above constitute an Ethernet network that transmits and receives data according to the Ethernet communication protocol.

複数の電子制御装置33の少なくとも1つ(図6の例では電子制御装置33_a)は、複数の信号線44を介してイーサネットハブ31および複数の電子制御装置42をそれぞれ独立的に接続している。信号線44は、電子制御装置42が有する内部電源回路を制御できるように接続されており、電子制御装置33から与えられる電源供給を指示する信号に基づいて、電源電圧+Bを電子制御装置42の電源信号線に接続するよう内部電源回路を制御する。   At least one of the plurality of electronic control devices 33 (electronic control device 33_a in the example of FIG. 6) independently connects the Ethernet hub 31 and the plurality of electronic control devices 42 via the plurality of signal lines 44, respectively. . The signal line 44 is connected so that the internal power supply circuit of the electronic control device 42 can be controlled, and the power supply voltage + B is supplied to the electronic control device 42 based on a signal instructing power supply supplied from the electronic control device 33. The internal power supply circuit is controlled to connect to the power supply signal line.

この電子制御装置33は、図示しない制御部によって、ゲートウエイ装置37に対する通信バス36を介した信号の送信と、イーサネットハブ31に対する信号線44を介した信号の送信と、複数の電子制御装置42に対する複数の信号線44を介した信号の送信とを、並行して実施することが可能に構成されている。従って、図6で例示するように、信号線34_hを介して行うイーサネットハブ31への起動要求(i)と、信号線34_xを介して行う電子制御装置32_xへの起動要求(i)と、通信バス36を介して行うゲートウエイ装置37への起動要求(i)とを、並行して実施することができる。   The electronic control device 33 transmits a signal to the gateway device 37 via the communication bus 36, a signal via the signal line 44 to the Ethernet hub 31, and a plurality of electronic control devices 42 by a control unit (not shown). The transmission of signals via the plurality of signal lines 44 can be performed in parallel. Therefore, as illustrated in FIG. 6, the activation request (i) to the Ethernet hub 31 made via the signal line 34_h, the activation request (i) to the electronic control device 32_x made via the signal line 34_x, and communication The activation request (i) to the gateway device 37 performed via the bus 36 can be performed in parallel.

なお、上述した複数の電子制御装置42、複数の電子制御装置33、およびゲートウエイ装置37は、典型的には中央演算処理装置(CPU)、メモリ、および入出力インタフェースを構成に含んだECUであり、メモリに格納されたプログラムをCPUが読み出して解釈実行することによって所定の機能を実現する。   The plurality of electronic control devices 42, the plurality of electronic control devices 33, and the gateway device 37 described above are typically ECUs that include a central processing unit (CPU), a memory, and an input / output interface. The CPU reads out the program stored in the memory, interprets and executes it, thereby realizing a predetermined function.

2−2−2.電子制御装置の起動方法
本発明の第2の実施形態の応用例に係る通信システム40で実行される電子制御装置の起動方法は、図5で示した第2の実施形態に係る通信システム30で実行される手順に準ずる。以下、図5のフローチャートを参照して電子制御装置の起動方法を説明する。
2-2-2. Electronic Controller Start Method The electronic controller start method executed in the communication system 40 according to the application example of the second embodiment of the present invention is the communication system 30 according to the second embodiment shown in FIG. Follow the procedure to be executed. Hereinafter, the starting method of the electronic control apparatus will be described with reference to the flowchart of FIG.

データ送信の要求が発生すると、電子制御装置33_a(第1の装置)は、データ送信先の電子制御装置を判断する(ステップS51)。データ送信先がイーサネットハブ31(第3の装置)を介した電子制御装置42_x(第3の装置)である場合(ステップS52、Yes)、電子制御装置33_aは、通信バス36を介してゲートウエイ装置37へ起動要求信号を送信することと並行して、信号線44_hを介してイーサネットハブ31へ起動要求信号を送信しおよび信号線44_xを介して電子制御装置42_xへ起動要求信号を送信する(ステップS53)。この第2の実施形態の応用例では、電子制御装置33_aは、信号線44_hの電気回路の接点を閉じる信号を出力し、電気回路を介して電源電圧+Bをイーサネットハブ31の電源信号線に供給することで、イーサネットハブ31へ起動要求を行い、また、信号線44_xの電気回路の接点を閉じる信号を出力し、電気回路を介して電源電圧+Bを電子制御装置42_xの電源信号線に供給することで、電子制御装置42_xへ起動要求を行う。   When a request for data transmission occurs, the electronic control device 33_a (first device) determines the electronic control device that is the data transmission destination (step S51). When the data transmission destination is the electronic control device 42_x (third device) via the Ethernet hub 31 (third device) (step S52, Yes), the electronic control device 33_a receives the gateway device via the communication bus 36. In parallel with the transmission of the activation request signal to 37, the activation request signal is transmitted to the Ethernet hub 31 via the signal line 44_h, and the activation request signal is transmitted to the electronic control unit 42_x via the signal line 44_x (step). S53). In the application example of the second embodiment, the electronic control unit 33_a outputs a signal for closing the contact of the electric circuit of the signal line 44_h, and supplies the power supply voltage + B to the power supply signal line of the Ethernet hub 31 through the electric circuit. As a result, an activation request is made to the Ethernet hub 31, a signal for closing the contact of the electric circuit of the signal line 44_x is output, and the power supply voltage + B is supplied to the power supply signal line of the electronic control device 42_x through the electric circuit. As a result, an activation request is sent to the electronic control unit 42_x.

一方、データ送信先がイーサネットハブ31を介した電子制御装置42ではない場合(ステップS52、No)、電子制御装置33_aは、データ送信先がゲートウエイ装置37による中継が必要な電子制御装置であるか否かを判断する(ステップS54)。すなわち、電子制御装置33_aは、通信バス36で接続された自ネットワーク内でのデータ送信か否か否かを判断する。   On the other hand, if the data transmission destination is not the electronic control device 42 via the Ethernet hub 31 (No in step S52), the electronic control device 33_a is an electronic control device whose data transmission destination needs to be relayed by the gateway device 37. It is determined whether or not (step S54). That is, the electronic control unit 33_a determines whether or not data transmission is performed within the own network connected by the communication bus 36.

データ送信先がゲートウエイ装置37による中継が必要な電子制御装置である場合(ステップS54、Yes)、電子制御装置33_aは、ゲートウエイ装置37へ起動要求信号を送信する(ステップS55)。一方、データ送信先がゲートウエイ装置37による中継が必要な電子制御装置ではない場合(ステップS54、No)、電子制御装置33_aは、所定の通信プロトコルに従って通信バス36を介して該当する電子制御装置33へデータを送信する(ステップS57)。   When the data transmission destination is an electronic control device that needs to be relayed by the gateway device 37 (step S54, Yes), the electronic control device 33_a transmits an activation request signal to the gateway device 37 (step S55). On the other hand, when the data transmission destination is not an electronic control device that needs to be relayed by the gateway device 37 (No in step S54), the electronic control device 33_a corresponds to the corresponding electronic control device 33 via the communication bus 36 according to a predetermined communication protocol. Data is transmitted to (step S57).

電子制御装置33_aから起動要求信号を受信したゲートウエイ装置37は、起動処理を実行して起動した後(ステップS61)、電子制御装置33_aへ応答を返信する。起動の応答を受信した電子制御装置33_aは、ゲートウエイ装置37へデータを送信する(ステップS56)。   The gateway device 37 that has received the activation request signal from the electronic control device 33_a executes the activation process and is activated (step S61), and then returns a response to the electronic control device 33_a. Receiving the activation response, the electronic control device 33_a transmits data to the gateway device 37 (step S56).

電子制御装置33_aからデータを受信した後(ステップS62)、ゲートウエイ装置37は、起動が完了してデータを受信できる状態となったことを示す通信許可を、データ送信先の電子制御装置から受信したか否かを判断する(ステップS63)。そして、ゲートウエイ装置37は、通信許可を受信した場合に(ステップS63;Yes)、所定の通信プロトコルに従ってデータ送信先の電子制御装置へデータを送信する(ステップS64)。例えば、データ送信先がイーサネットネットワークの電子制御装置42_xであった場合には、イーサネット通信プロトコルに従ってデータが送信される。   After receiving data from the electronic control device 33_a (step S62), the gateway device 37 has received communication permission from the electronic control device that is the data transmission destination, indicating that the activation has been completed and the data can be received. Whether or not (step S63). When the gateway device 37 receives the communication permission (step S63; Yes), the gateway device 37 transmits data to the data transmission destination electronic control device according to a predetermined communication protocol (step S64). For example, when the data transmission destination is the electronic control device 42_x of the Ethernet network, the data is transmitted according to the Ethernet communication protocol.

2−2−3.本実施形態による作用および効果
上述した本発明の第2の実施形態の応用例に係る通信システム40では、第1のネットワークに接続された電子制御装置33(第1の装置)から第2のネットワークに接続されたイーサネットハブ31(第3の装置)および電子制御装置42(第3の装置)の内部電源回路を制御して電源信号線に電源を供給させることができる信号線44をそれぞれ設ける。これにより、電子制御装置33は、通信バス36を介したゲートウエイ装置37(第2の装置)に対する起動要求信号の送信と、信号線44を介したイーサネットハブ31および電子制御装置42に対する起動要求とを、並行して実施することができる。
2-2-3. Functions and Effects of the Present Embodiment In the communication system 40 according to the application example of the second embodiment of the present invention described above, the electronic control device 33 (first device) connected to the first network to the second network. A signal line 44 is provided which can control the internal power supply circuit of the Ethernet hub 31 (third device) and the electronic control device 42 (third device) connected to the power supply signal line to supply power to the power signal line. As a result, the electronic control unit 33 transmits the activation request signal to the gateway device 37 (second device) via the communication bus 36, and the activation request to the Ethernet hub 31 and the electronic control unit 42 via the signal line 44. Can be implemented in parallel.

従って、イーサネットハブ31(第3の装置)を介してゲートウエイ装置37(第2の装置)に接続される電子制御装置42(第3の装置)がデータ送信先となった場合、起動要求を並列送信してからゲートウエイ装置37、イーサネットハブ31、および電子制御装置42の全てが起動を完了するまでの総起動時間は、ゲートウエイ装置37の起動時間イーサネットハブ31の起動時間または電子制御装置42の起動時間のいずれか長い方の時間となるため、リレー方式に比べて短縮することができる。よって、データ送信先の電子制御装置42にデータを素早く届けることができる。 Accordingly, when the electronic control device 42 (third device) connected to the gateway device 37 (second device) via the Ethernet hub 31 (third device) becomes the data transmission destination, the activation request is parallelized. The total startup time from the transmission until the gateway device 37, the Ethernet hub 31, and the electronic control device 42 all start up is the startup time of the gateway device 37, the startup time of the Ethernet hub 31 , or the electronic control device 42. since the between time any longer startup time can be shortened as compared with the relay system. Therefore, the data can be quickly delivered to the electronic control device 42 as the data transmission destination.

また、第2の実施形態の応用例に係る通信システム40では、所定の電気的信号によって電気回路の接点を開閉して電源供給を行える機能(電源リレー回路など)を含まない信号線44を用いている。よって、第2の実施形態の応用例に係る通信システム40を、第2の実施形態に係る通信システム30よりも、安価かつ軽量に構成することができる。   Further, in the communication system 40 according to the application example of the second embodiment, the signal line 44 that does not include a function (power relay circuit or the like) that can supply power by opening and closing the contact of the electric circuit by a predetermined electric signal is used. ing. Therefore, the communication system 40 according to the application example of the second embodiment can be configured to be cheaper and lighter than the communication system 30 according to the second embodiment.

[通信システムの具体例]
(1)車載バックモニタカメラの起動高速化
車載バックモニタカメラの画像データの送信には、大容量の通信を必要とするため、イーサネットネットワークに接続されることが考えられる。また、車載バックモニタカメラは、安全面と利便性との観点から、エンジン始動(IG_ON)から起動までの時間が早いことが望まれる。
[Specific examples of communication systems]
(1) Increase in startup speed of in-vehicle back monitor camera Since transmission of image data from the in-vehicle back monitor camera requires a large amount of communication, it may be connected to an Ethernet network. In addition, it is desirable that the in-vehicle back monitor camera has a fast time from engine start (IG_ON) to start-up from the viewpoint of safety and convenience.

そこで、車載バックモニタのシステムに本発明の電子制御装置の起動方法を適用し、ワイヤレスキーが車内にあることをセンサーなどで感知した際に、直ちに車載バックモニタカメラの電子制御装置およびイーサネットハブへ並列に起動要求を送信する。これにより、エンジン始動(IG_ON)から車載バックモニタカメラが起動するまでの時間を短縮でき、車載バックモニタカメラに対してデータを素早く届けることができる。   Therefore, when the activation method of the electronic control device of the present invention is applied to the in-vehicle back monitor system and the wireless key is detected in the vehicle by a sensor or the like, the electronic control device and the Ethernet hub of the in-vehicle back monitor camera are immediately used. Send startup requests in parallel. Thereby, it is possible to shorten the time from the start of the engine (IG_ON) to the start of the in-vehicle back monitor camera, and to quickly deliver data to the in-vehicle back monitor camera.

(2)車載リアシートエンターティメント(RSE)の起動高速化
車載リアシートエンターティメントは、音楽や動画といった大容量のデータ通信が必要なことから、イーサネットネットワークに接続されることが考えられる。また、ユーザビリティの観点から、エンジン始動(IG_ON)から起動までの時間が早いことが望まれる。
(2) Faster startup of in-vehicle rear seat entertainment (RSE) Since in-vehicle rear seat entertainment requires large-capacity data communication such as music and moving images, it may be connected to an Ethernet network. From the viewpoint of usability, it is desirable that the time from engine start (IG_ON) to start-up is fast.

そこで、車載リアシートエンターティメントのシステムに本発明の電子制御装置の起動方法を適用し、後部座席に人が乗車していることをセンサーなどで感知した際に、直ちに車載リアシートエンターティメントの電子制御装置およびイーサネットハブへ並列に起動要求を送信する。これにより、エンジン始動(IG_ON)から車載リアシートエンターティメントが起動するまでの時間を短縮でき、車載リアシートエンターティメントに対してデータを素早く届けることができる。   Therefore, when the electronic control device activation method of the present invention is applied to the in-vehicle rear seat entertainment system and a person detects that a person is riding in the rear seat, the electronic in-vehicle rear seat entertainment is immediately detected. A startup request is sent in parallel to the control device and the Ethernet hub. Thereby, it is possible to shorten the time from the start of the engine (IG_ON) to the start of the in-vehicle rear seat entertainment, and it is possible to quickly deliver data to the in-vehicle rear seat entertainment.

本発明の通信システムは、第1の装置が第2の装置に起動要求を送信してから第2の装置およびデータ送信先の第3の装置の両方が起動を完了するまでの総起動時間を短縮したい場合に有用である。   In the communication system of the present invention, the total startup time from when the first device transmits a startup request to the second device until both of the second device and the third device of the data transmission destination complete the startup. Useful when you want to shorten it.

10、20、30、40 通信システム
11、31 イーサネットハブ(HUB)
12、13、22、32、33、42 電子制御装置(ECU)
14、24、34、44 信号線
15、16、35、36 通信バス
17、37 ゲートウエイ装置(G/W_ECU)
10, 20, 30, 40 Communication system 11, 31 Ethernet hub (HUB)
12, 13, 22, 32, 33, 42 Electronic control unit (ECU)
14, 24, 34, 44 Signal lines 15, 16, 35, 36 Communication buses 17, 37 Gateway device (G / W_ECU)

Claims (1)

ゲートウエイ装置と、第1の通信バスを介して当該ゲートウエイ装置とデータ通信可能に接続された1つのハブと、第2の通信バスを介して当該ハブとデータ通信可能に接続された複数の電子制御装置とを、含む通信システムであって、
前記ゲートウエイ装置は、
前記複数の電子制御装置のそれぞれに対応して直接信号送信可能に接続される複数の信号線と、
前記ハブを介して前記複数の電子制御装置の少なくとも1つへデータを送信する場合、前記第1の通信バスを介した前記ハブへの第1の起動要求信号の送信と並行して、前記信号線を介して前記少なくとも1つの電子制御装置へ第2の起動要求信号を送信する制御部とを備え、
前記少なくとも1つの電子制御装置は、前記第2の起動要求信号により起動したことを示す通信許可を前記ゲートウエイ装置へ送信し、
前記ゲートウエイ装置は、前記少なくとも1つの電子制御装置から前記通信許可を受信した時点で、前記データを前記少なくとも1つの電子制御装置へ前記ハブを介して送信する処理を開始する、
通信システム。
A gateway device, one hub connected to the gateway device via the first communication bus so as to be able to perform data communication, and a plurality of electronic controls connected to the hub via the second communication bus so as to be able to perform data communication A communication system comprising: an apparatus;
The gateway device is
A plurality of signal lines connected so as to be capable of direct signal transmission corresponding to each of the plurality of electronic control units;
Wherein optionally via a hub for transmitting data to at least one of the plurality of electronic control devices, in parallel with the transmission of the first activation request signal to the hub through the first communication bus, the signal A control unit that transmits a second activation request signal to the at least one electronic control unit via a line,
The at least one electronic control device transmits a communication permission indicating that the device has been activated by the second activation request signal to the gateway device;
The gateway system, upon the receiving the communication permission from at least one electronic control device, you start the process of transmitting the data via the at least one of said hub to the electronic control unit,
Communications system.
JP2016003636A 2016-01-12 2016-01-12 Communications system Active JP6572779B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2016003636A JP6572779B2 (en) 2016-01-12 2016-01-12 Communications system

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2016003636A JP6572779B2 (en) 2016-01-12 2016-01-12 Communications system

Publications (2)

Publication Number Publication Date
JP2017126828A JP2017126828A (en) 2017-07-20
JP6572779B2 true JP6572779B2 (en) 2019-09-11

Family

ID=59364327

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2016003636A Active JP6572779B2 (en) 2016-01-12 2016-01-12 Communications system

Country Status (1)

Country Link
JP (1) JP6572779B2 (en)

Families Citing this family (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2023152363A (en) * 2022-04-04 2023-10-17 株式会社オートネットワーク技術研究所 On-vehicle device, on-vehicle system, control method and computer program

Family Cites Families (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP3281009B2 (en) * 1991-11-19 2002-05-13 ナルデック株式会社 Multiplex transmission equipment
JP2000069059A (en) * 1998-08-20 2000-03-03 Yazaki Corp Device and method for multiple transmission
JP5196931B2 (en) * 2007-09-25 2013-05-15 キヤノン株式会社 Network system and control wireless device
JP2009124480A (en) * 2007-11-15 2009-06-04 Toyota Motor Corp Onboard gateway and vehicle communication system
JP5502372B2 (en) * 2009-06-05 2014-05-28 トヨタ自動車株式会社 In-vehicle electronic system
JP2011035834A (en) * 2009-08-05 2011-02-17 Autonetworks Technologies Ltd Communication system, communication apparatus and communication method
JP5614365B2 (en) * 2011-04-27 2014-10-29 トヨタ自動車株式会社 Data relay device, in-vehicle network

Also Published As

Publication number Publication date
JP2017126828A (en) 2017-07-20

Similar Documents

Publication Publication Date Title
US9413549B2 (en) Method for activating a network component of a motor vehicle network system
JP6872016B2 (en) Vehicle control device
JP2006511172A (en) Automatic address assignment method in bus system
CN103685457A (en) Automotive neural network
CN112075063B (en) Gateway for data communication in a vehicle
WO2020039844A1 (en) In-vehicle communication device and in-vehicle system
JP2018074798A5 (en)
JP4367528B2 (en) Serial communication device
US20160278017A1 (en) Relay apparatus
JP6572779B2 (en) Communications system
JP2015107672A (en) On-vehicle network system
WO2021100548A1 (en) Onboard relay device and relay method
JP6569547B2 (en) Communication method
JP5780310B2 (en) Electronic control device and microcomputer control method
JP6981114B2 (en) Vehicle network system
JP2018120438A (en) Electronic control device and program rewriting system
JP2008227558A (en) Network adapter, communication terminal, communication path distribution method and program thereof
CN106664212B (en) Switch unit, Ethernet network and method for activating components in an Ethernet network
JP4954832B2 (en) In-vehicle communication system
JP2009124480A (en) Onboard gateway and vehicle communication system
JP3889717B2 (en) Signal repeater for optical communication system
JP6296462B2 (en) In-vehicle control device
WO2021009996A1 (en) Onboard communication system, switch device, and control method
JP6337783B2 (en) In-vehicle network system
JP2020088568A (en) Electronic control device

Legal Events

Date Code Title Description
A621 Written request for application examination

Free format text: JAPANESE INTERMEDIATE CODE: A621

Effective date: 20180214

A131 Notification of reasons for refusal

Free format text: JAPANESE INTERMEDIATE CODE: A131

Effective date: 20181106

A521 Written amendment

Free format text: JAPANESE INTERMEDIATE CODE: A523

Effective date: 20181219

A131 Notification of reasons for refusal

Free format text: JAPANESE INTERMEDIATE CODE: A131

Effective date: 20190514

A521 Written amendment

Free format text: JAPANESE INTERMEDIATE CODE: A523

Effective date: 20190607

TRDD Decision of grant or rejection written
A01 Written decision to grant a patent or to grant a registration (utility model)

Free format text: JAPANESE INTERMEDIATE CODE: A01

Effective date: 20190716

A61 First payment of annual fees (during grant procedure)

Free format text: JAPANESE INTERMEDIATE CODE: A61

Effective date: 20190729

R151 Written notification of patent or utility model registration

Ref document number: 6572779

Country of ref document: JP

Free format text: JAPANESE INTERMEDIATE CODE: R151