JP2009124480A - Onboard gateway and vehicle communication system - Google Patents

Onboard gateway and vehicle communication system Download PDF

Info

Publication number
JP2009124480A
JP2009124480A JP2007296777A JP2007296777A JP2009124480A JP 2009124480 A JP2009124480 A JP 2009124480A JP 2007296777 A JP2007296777 A JP 2007296777A JP 2007296777 A JP2007296777 A JP 2007296777A JP 2009124480 A JP2009124480 A JP 2009124480A
Authority
JP
Japan
Prior art keywords
node
signal
network
ecu
vehicle
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
JP2007296777A
Other languages
Japanese (ja)
Inventor
Koji Hirabayashi
幸治 平林
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 JP2007296777A priority Critical patent/JP2009124480A/en
Publication of JP2009124480A publication Critical patent/JP2009124480A/en
Pending legal-status Critical Current

Links

Images

Abstract

<P>PROBLEM TO BE SOLVED: To provide an onboard gateway and vehicle communication system capable of leading whether the node of one network initiates the node of another network. <P>SOLUTION: The onboard gateway 5 relays data exchange between an ECU at the side of a CAN 1 and an ECU at the side of a CAN 2. A wake-up signal WKUP flowing to the CAN 2 is received, and it is determined based on information contained in the received wake-up signal WKUP whether to transmit the wake-up signal WKUP for initiating the ECU at the side of the CAN 1 and when information of the wake-up signal WKUP is the one indicating that cooperative control with the CAN 1 is not necessary, the wake-up signal WKUP is not transmitted to the ECU at the side of the CAN 1. <P>COPYRIGHT: (C)2009,JPO&INPIT

Description

本発明は、異なるネットワークのノード同士のデータ送受を中継する車載ゲートウェイ、及び、その車載ゲートウェイを有する車両用通信システムに関する。   The present invention relates to an in-vehicle gateway that relays data transmission / reception between nodes of different networks, and a vehicle communication system having the in-vehicle gateway.

従来技術として、少なくとも2種類のバスを接続し、データ転送やプロトコル変換を行う車載ゲートウェイであって、前記少なくとも2種類のバスの一方からのデータパケットの内容を確認し、その内容に応じてそのデータパケットを他方のバスに転送するか否かを決定することを特徴とする、車載ゲートウェイが知られている(例えば、特許文献1参照)。特許文献1には、不必要なデータの転送をなくすため、イグニッション電源やアクセサリ電源のON状態といった車両の電源の状態のモニタ結果に基づいて、通過させるデータの制限を行っている点が開示され、特に、電源の状態によって動作していない機器に向けられたデータパケットはゲートウェイでカットする点が開示されている。
特開2002−16614号公報
As a prior art, an in-vehicle gateway that connects at least two types of buses and performs data transfer and protocol conversion, and confirms the contents of a data packet from one of the at least two types of buses, and according to the contents, An in-vehicle gateway characterized by determining whether to transfer a data packet to the other bus is known (see, for example, Patent Document 1). Patent Document 1 discloses that, in order to eliminate unnecessary data transfer, the data to be passed is limited based on the monitoring result of the power state of the vehicle such as the ON state of the ignition power source or the accessory power source. In particular, it is disclosed that a data packet directed to a device that is not operating depending on a power supply state is cut by a gateway.
JP 2002-16614 A

しかしながら、特許文献1の開示内容のままでは、ネットワーク上のノードの意思にかかわらず、車両の電源の状態に応じてデータを転送するか否かが一律に車載ゲートウェイによって決定されてしまうので、一方のネットワークのノードが他方のネットワークのノードを起動させるか否かについて主導することができない。例えば、一方のネットワークのノードが他方のネットワークのノードを起動させたくても、特許文献1の開示内容によれば、未起動のノードに向けられたデータパケットであるために一律にデータ転送がカットされてしまう。逆に、一方のネットワークのノードが他方のネットワークのノードを起動させたくない場合、特許文献1には、どのようにデータの送受を行えばよいかまでは、開示も示唆もされていない。   However, with the disclosure of Patent Document 1, the in-vehicle gateway uniformly determines whether to transfer data according to the state of the power source of the vehicle regardless of the intention of the node on the network. It is not possible to take the lead as to whether a node in one network activates a node in the other network. For example, even if a node of one network wants to activate a node of the other network, according to the disclosure of Patent Document 1, data transfer is uniformly cut because the data packet is directed to an unactivated node. Will be. Conversely, if a node of one network does not want to activate a node of the other network, Patent Document 1 does not disclose or suggest how to send and receive data.

そこで、本発明は、一方のネットワークのノードが他方のネットワークのノードを起動させるか否かについて主導することができる、車載ゲートウェイ及び車両用通信システムの提供を目的とする。   Therefore, an object of the present invention is to provide an in-vehicle gateway and a vehicle communication system capable of leading whether a node of one network activates a node of the other network.

上記目的を達成するため、第1の発明に係る車載ゲートウェイは、
異なるネットワークのノード同士のデータ送受を中継する車載ゲートウェイであって、
一方のネットワークのリンクに流れる第1の信号を受信する第1の信号受信手段と、
前記第1の信号受信手段によって受信された第1の信号に含まれる情報に従って、他方のネットワークのノードを起動させるための第2の信号を、前記他方のネットワークのノードに送信する第2の信号送信手段とを備えることを特徴とする。
In order to achieve the above object, the in-vehicle gateway according to the first invention is:
An in-vehicle gateway that relays data transmission / reception between nodes in different networks,
First signal receiving means for receiving a first signal flowing in a link of one network;
A second signal for transmitting a second signal for activating a node of the other network to the node of the other network in accordance with information included in the first signal received by the first signal receiving means; And a transmission means.

第2の発明は、第1の発明に係る車載ゲートウェイであって、
前記第1の信号は、前記一方のネットワークのノードと前記他方のネットワークのノードの一方又は両方を起動させるための信号であることを特徴とする。
The second invention is an in-vehicle gateway according to the first invention,
The first signal is a signal for activating one or both of a node of the one network and a node of the other network.

第3の発明は、第1又は第2の発明に係る車載ゲートウェイであって、
前記第1の信号受信手段によって受信された第1の信号に含まれる情報に従って、前記一方のネットワークのノードに対して伝達すべき情報を含んだ第3の信号を、前記一方のネットワークのノードに送信する第3の信号送信手段を備えることを特徴とする。
The third invention is an in-vehicle gateway according to the first or second invention,
According to the information included in the first signal received by the first signal receiving means, a third signal including information to be transmitted to the node of the one network is transmitted to the node of the one network. A third signal transmission means for transmitting is provided.

第4の発明は、第3の発明に係る車載ゲートウェイであって、
前記第3の信号は、前記一方のネットワークのノードによって行われる通信異常の検知を制限させるための信号であることを特徴とする。
A fourth invention is an in-vehicle gateway according to the third invention,
The third signal is a signal for limiting detection of a communication abnormality performed by a node of the one network.

第5の発明は、第1から第4のいずれか一の発明に係る車載ゲートウェイであって、
前記一方のネットワークのノードには、前記他方のネットワークのノードに少なくとも電力を供給する電源を使って充電を行う制御を実行するノードが含まれることを特徴とする。
A fifth invention is an in-vehicle gateway according to any one of the first to fourth inventions,
The node of the one network includes a node that performs control for charging using a power source that supplies at least power to the node of the other network.

また、上記目的を達成するため、第6の発明に係る車両用通信システムは、
少なくとも一つのノードをそれぞれ備える複数のネットワークと、
前記複数のネットワークのそれぞれのノード同士のデータ送受を中継する車載ゲートウェイとを有する、車両用通信システムであって、
一方のネットワークのノードから前記車載ゲートウェイに第1の信号を送信する第1の信号送信手段と、
前記第1の信号に含まれる情報に従って、他方のネットワークのノードを起動させるための第2の信号を、前記車載ゲートウェイから前記他方のネットワークのノードに送信する第2の信号送信手段とを備えることを特徴とする。
In order to achieve the above object, a vehicle communication system according to a sixth invention comprises:
A plurality of networks each comprising at least one node;
A vehicle communication system having an in-vehicle gateway that relays data transmission / reception between nodes of the plurality of networks,
First signal transmitting means for transmitting a first signal from a node of one network to the in-vehicle gateway;
2nd signal transmission means which transmits the 2nd signal for starting the node of the other network from the in-vehicle gateway to the node of the other network according to the information included in the first signal. It is characterized by.

本発明によれば、一方のネットワークのノードが他方のネットワークのノードを起動させるか否かについて主導することができる。   According to the present invention, it is possible to lead whether or not a node of one network activates a node of the other network.

以下、図面を参照して、本発明を実施するための最良の形態の説明を行う。図1は、本発明の一実施形態である車両用通信システム100の構成図である。車両用通信システム100は、CAN(Controller Area Network)方式の通信線であるCAN1バス及びCAN2バスを介して互いに通信可能なように接続される5つの電子制御装置(以下、「ECU」という)1−1,1−2,2−1,2−2,2−3を一般ノードとして有している。また、車両用通信システム100は、ゲートウェイ機能を有するゲートウェイ装置(以下、「GW」という)5を有する。図1の場合、ECU1−1及び1−2が接続されるCAN1バスとECU2−1,2−2及び2−3が接続されるCAN2バスとがGW5を介して接続されている。すなわち、GW5は、ECU1−1及び1−2をノードとして備えCAN1バスをリンクとして備えるローカルエリアネットワークと、ECU2−1,2−2及び2−3をノードとして備えCAN2バスをリンクとして備えるローカルエリアネットワークと、を通信可能に接続する。GW5の介在によりローカルエリアネットワーク(LAN)を2系統の分割することによって、各ECU間の通信負荷を低減することができる。なお、以下、ECU1−1及び1−2を「CAN1側ECU」といい、ECU2−1,2−2及び2−3を「CAN2側ECU」という。また、CAN1側ECUとCAN2側ECUの個数は、いずれも少なくとも一つ以上あればよい。また、各LANの構成は、バス型に限らず、メッシュ型や階層型などの構成でもよい。また、GW5に接続されるLANの個数は、3以上あってもよい。   The best mode for carrying out the present invention will be described below with reference to the drawings. FIG. 1 is a configuration diagram of a vehicle communication system 100 according to an embodiment of the present invention. The vehicle communication system 100 includes five electronic control units (hereinafter referred to as “ECUs”) 1 connected so as to be able to communicate with each other via a CAN1 bus and a CAN2 bus which are CAN (Controller Area Network) communication lines. -1,1-2,2-1,2-2,2-3 are provided as general nodes. Further, the vehicle communication system 100 includes a gateway device (hereinafter referred to as “GW”) 5 having a gateway function. In the case of FIG. 1, a CAN1 bus to which the ECUs 1-1 and 1-2 are connected and a CAN2 bus to which the ECUs 2-1, 2-2 and 2-3 are connected are connected via a GW5. That is, the GW 5 includes a local area network including ECUs 1-1 and 1-2 as nodes and a CAN1 bus as a link, and a local area including ECUs 2-1, 2-2 and 2-3 as nodes and a CAN2 bus as a link. Connect to the network so that they can communicate By dividing the local area network (LAN) into two systems with the GW 5 interposed, the communication load between the ECUs can be reduced. Hereinafter, the ECUs 1-1 and 1-2 are referred to as “CAN1 side ECU”, and the ECUs 2-1, 2-2, and 2-3 are referred to as “CAN2 side ECU”. Further, the number of CAN1 side ECUs and CAN2 side ECUs may be at least one. The configuration of each LAN is not limited to the bus type, and may be a mesh type or a hierarchical type. Further, the number of LANs connected to the GW 5 may be three or more.

各ECUは、制御プログラムや制御データを記憶するメモリと制御プログラムなどを処理するCPU(中央演算処理装置)とを有するマイクロコンピュータを備える制御手段である。また、各ECUは、信号送信手段又は信号受信手段として、CAN1バス及びCAN2バスを介して他のECUとシリアル通信するための通信モジュールを備える。各ECU間の通信がCAN通信であれば、CANドライバなどの送受信可能な通信インターフェイス回路がCAN1バス又はCAN2バスに接続して各ECUに備えられる。各ECUは、CAN1バス及び/又はCAN2バスを介して、通信データを送受し、他のECUから受信した通信データに基づいて、各ECUが制御すべき制御処理(例えば、エンジン制御処理やブレーキ制御処理や充電制御処理)を実行する。また、各ECUに与えられている機能に応じて、センサによって得られた情報が入力される入力回路や、マイクロコンピュータによる演算結果を制御信号として出力する出力回路を備えてもよい。   Each ECU is a control means including a microcomputer having a memory for storing a control program and control data and a CPU (Central Processing Unit) for processing the control program. Each ECU includes a communication module for serially communicating with other ECUs via the CAN1 bus and the CAN2 bus as signal transmitting means or signal receiving means. If the communication between the ECUs is CAN communication, a communication interface circuit such as a CAN driver that can transmit and receive is connected to the CAN1 bus or the CAN2 bus and provided in each ECU. Each ECU transmits and receives communication data via the CAN1 bus and / or the CAN2 bus, and control processing (for example, engine control processing and brake control) that each ECU should control based on communication data received from other ECUs. Process and charge control process). Further, an input circuit for inputting information obtained by the sensor or an output circuit for outputting a calculation result by the microcomputer as a control signal may be provided according to the function given to each ECU.

バッテリ20は、各ECUやGW5に電力を供給する共通電源であって、電源ライン(ハーネス)16を介してCAN1側ECUに電力を供給し、電源ライン17を介してCAN2側ECUに電力を供給し、電源ライン15を介してGW5に電力を供給する。また、バッテリ20を電源とするECU等の負荷とバッテリ20との間の通電/非通電を切り替える手段として、その間の電源ライン上にバッテリリレー40が備えられている。バッテリリレー40は、例えば、車外からの遠隔操作を可能にするユーザ端末装置からの操作信号に基づいて、あるいは、車内に設置されたパワースイッチや乗降ドアに設置された施解錠スイッチからの操作信号に基づいて、切り替え駆動される。ボデーECUやバッテリECUなどの不図示のバッテリリレー駆動装置が、それらの操作信号に基づいて、バッテリリレー40を駆動する。また、それらの操作信号が、バッテリリレー40を直接駆動してもよい。   The battery 20 is a common power source that supplies power to each ECU and the GW 5, and supplies power to the CAN 1 side ECU via the power line (harness) 16 and supplies power to the CAN 2 side ECU via the power line 17. Then, power is supplied to the GW 5 through the power supply line 15. In addition, a battery relay 40 is provided on a power supply line therebetween as means for switching between energization / non-energization between the battery 20 and a load such as an ECU that uses the battery 20 as a power source. The battery relay 40 is, for example, based on an operation signal from a user terminal device that enables remote operation from outside the vehicle, or an operation signal from a power switch installed in the vehicle or an unlocking / unlocking switch installed in a passenger door Based on the above, switching is driven. A battery relay driving device (not shown) such as a body ECU or a battery ECU drives the battery relay 40 based on these operation signals. Further, those operation signals may directly drive the battery relay 40.

上述のユーザ端末装置は、ユーザによって操作される装置であって、その操作信号を例えばバッテリリレー駆動装置に送信する。ユーザ端末装置は、例えば、車両を操作するためのキーやカード、携帯電話あるいは専用端末などのユーザが携帯可能な端末装置である。また、定置のパソコン等の携帯不可能な端末装置であってもよい。ユーザ端末装置からの操作信号を受信したバッテリリレー駆動装置は、例えば、エンジンの作動状態を示すイグニッション状態がオフ状態(エンジン停止状態)であり車両が停車状態である場合(停車状態は、車速センサやシフトポジションセンサなどによって状態検知可能)、バッテリリレー40をオフ状態からオン状態にする。バッテリリレー40がオン状態(バッテリオン状態)になると、バッテリ20からの給電によって、CAN1側ECU及びCAN2側ECU、並びにGW5が通電状態となる。   The above-described user terminal device is a device operated by a user, and transmits its operation signal to, for example, a battery relay drive device. The user terminal device is a terminal device that can be carried by a user, such as a key or card for operating a vehicle, a mobile phone, or a dedicated terminal. Further, it may be a non-portable terminal device such as a stationary personal computer. The battery relay drive device that has received the operation signal from the user terminal device, for example, when the ignition state indicating the engine operating state is in an off state (engine stop state) and the vehicle is in a stop state (the stop state is a vehicle speed sensor). The state can be detected by a shift position sensor or the like), and the battery relay 40 is changed from the off state to the on state. When the battery relay 40 is turned on (battery-on state), the CAN 1 side ECU, the CAN 2 side ECU, and the GW 5 are energized by power feeding from the battery 20.

また、上述のパワースイッチは、車室内の運転席近くに設置される操作スイッチであって、その操作信号を例えばバッテリリレー駆動装置に送信する。車両に乗り込んだユーザはパワースイッチの押下によってエンジンの始動や停止を操作する。パワースイッチからの操作信号を受信したバッテリリレー駆動装置は、例えば、ユーザ端末装置の場合と同様に、イグニッション状態がオフ状態であり車両が停車状態である場合、バッテリリレー40をオフ状態からオン状態にする。バッテリリレー40がオン状態(バッテリオン状態)になると、バッテリ20からの給電によって、CAN1側ECU及びCAN2側ECU、並びにGW5が通電状態となる。   The power switch described above is an operation switch installed near the driver's seat in the vehicle interior, and transmits the operation signal to, for example, a battery relay drive device. A user who gets into the vehicle operates to start and stop the engine by pressing the power switch. The battery relay drive device that has received the operation signal from the power switch, for example, as in the case of the user terminal device, turns the battery relay 40 from the off state to the on state when the ignition state is off and the vehicle is stopped. To. When the battery relay 40 is turned on (battery-on state), the CAN 1 side ECU, the CAN 2 side ECU, and the GW 5 are energized by power feeding from the battery 20.

また、パワースイッチが操作されたときに、例えば、イグニッション状態がオフ状態であり車両が停車状態でありブレーキが踏まれている状態である場合には、イグニッション状態がオフ状態からオン状態となり、エンジンが始動しオルタネータの発電が開始する。一方、パワースイッチが操作されたときに、イグニッション状態がオフ状態であり車両が停車状態でありブレーキが踏まれていない状態である場合には、イグニッション状態はオン状態にならず、バッテリオン状態のままである。   Also, when the power switch is operated, for example, when the ignition state is off, the vehicle is stopped and the brake is depressed, the ignition state changes from off to on. Starts and power generation of the alternator starts. On the other hand, when the power switch is operated, if the ignition state is off, the vehicle is stopped, and the brake is not depressed, the ignition state is not on and the battery is on. It remains.

CAN2側ECUのうち少なくとも一つのECUは,マスターECUとして機能する。通電されることにより起動したマスターECUは、通電状態となった他のECU(スレーブECU)が実行すべき制御処理を開始させるために、スレーブECUを起動させる起動信号をCAN2バス上に送信する。起動信号を受信したCAN2側ECU及びGW5を介して起動信号を受信したCAN1側ECUは、起動して、それぞれの制御処理(他のECUとの通信異常を検知する異常検知処理も含む)を開始する。   At least one of the CAN2 side ECUs functions as a master ECU. The master ECU activated by being energized transmits an activation signal for activating the slave ECU on the CAN2 bus in order to start a control process to be executed by another energized ECU (slave ECU). The CAN2 side ECU that has received the activation signal and the CAN1 side ECU that has received the activation signal via the GW5 are activated and start their respective control processes (including abnormality detection processes for detecting communication abnormality with other ECUs). To do.

また、CAN2側ECUのうち少なくとも一つのECU(マスターECUでもよいしスレーブECUでもよい)は、イグニッション状態がオフ状態且つバッテリオン状態のときに、バッテリ20を使用する充電制御処理を実行する。仮に、ECU2−1が充電制御を実行するECUであるとする。   Further, at least one of the CAN2 side ECUs (which may be a master ECU or a slave ECU) executes a charge control process using the battery 20 when the ignition state is off and the battery is on. Suppose that the ECU 2-1 is an ECU that performs charge control.

バッテリ20を充電する制御を行うことによって、バッテリ20を電源とするECU等の負荷に対する給電量の低下を抑えることができる。ECU2−1は、例えば、DC−DCコンバータ30に電圧変換動作をさせることにより、バッテリ20と異なるバッテリ21(例えば、バッテリ20と異なる電圧系のバッテリ)をDC−DCコンバータ30を介して放電させることによって、バッテリ20を充電する充電制御を実行する。   By performing control for charging the battery 20, it is possible to suppress a decrease in the amount of power supplied to a load such as an ECU that uses the battery 20 as a power source. For example, the ECU 2-1 causes the DC-DC converter 30 to perform a voltage conversion operation to discharge the battery 21 different from the battery 20 (for example, a battery having a voltage system different from the battery 20) via the DC-DC converter 30. Thus, charge control for charging the battery 20 is executed.

また、ECU2−1は、例えば、イグニッション状態がオフ状態且つバッテリオン状態のときに、バッテリ20の放電によりバッテリ21を充電する充電制御を実行してもよい。バッテリ20の放電によりバッテリ21を充電する制御を行うことによって、バッテリ20の蓄電量に余裕がある条件下で、バッテリ21を電源とするECU等の負荷に対する給電量の低下を抑えることができる。ECU2−1は、例えば、DC−DCコンバータ30に電圧変換動作をさせることにより、バッテリ20をDC−DCコンバータ30を介して放電させることによって、バッテリ21を充電する充電制御を実行する。   Further, for example, the ECU 2-1 may execute charge control for charging the battery 21 by discharging the battery 20 when the ignition state is an off state and the battery is on. By performing control to charge the battery 21 by discharging the battery 20, it is possible to suppress a decrease in the amount of power supplied to a load such as an ECU that uses the battery 21 as a power source under a condition in which there is a margin in the amount of power stored in the battery 20. The ECU 2-1 executes charge control for charging the battery 21 by discharging the battery 20 via the DC-DC converter 30 by causing the DC-DC converter 30 to perform a voltage conversion operation, for example.

一方、GW5は、CAN1とCAN2を含めたネットワーク全体で通信可能な状態を保持する協調制御を実行し、一方のバス(例えば、CAN1)のノードがウェイクアップしたら他方のバス(例えば、CAN2)のノードをウェイクアップさせる通常起動処理を実行する。また、GW5は、通常起動処理を実行する際に、ECUへの通電後にそのECUから最初に送信されるウェイクアップフレーム(起動信号)の内容に応じて、ウェイクアップさせるバスを限定する限定起動処理を実行する。すなわち、GW5は、特定バスからの所定の限定起動要求フレームを受信した場合、その特定バスだけを通信可能な状態とし、それ以外の他バスを無通信状態にする。このように、一部のバスを無通信状態にすることによって、その無通信状態のバス上のECU等のノードの消費電流を抑えることができ、車両全体としての消費電流を低減することができる。特に、イグニッション状態がオフ状態であることによりオルタネータが発電していないバッテリオン状態においてCAN1バスを無通信状態にする限定起動処理を実行した場合、CAN1側ECUの暗電流を抑えることができ、車両全体としての暗電流を低減することができる。   On the other hand, the GW 5 executes cooperative control for maintaining a communicable state across the entire network including the CAN 1 and the CAN 2, and when the node of one bus (for example, CAN 1) wakes up, the other bus (for example, CAN 2) A normal startup process is executed to wake up the node. In addition, when the GW 5 executes the normal activation process, the limited activation process for limiting the bus to be waked up according to the content of the wake-up frame (activation signal) first transmitted from the ECU after energizing the ECU. Execute. That is, when the GW 5 receives a predetermined limited activation request frame from a specific bus, the GW 5 sets only the specific bus to a communicable state and sets other buses to a non-communication state. Thus, by setting some of the buses in a no-communication state, current consumption of nodes such as ECUs on the bus in the no-communication state can be suppressed, and current consumption as a whole vehicle can be reduced. . In particular, when a limited activation process is performed in which the CAN1 bus is in a no-communication state in a battery-on state where the alternator is not generating power due to the ignition state being off, the dark current of the CAN1 side ECU can be suppressed, The dark current as a whole can be reduced.

続いて、車両用通信システム100の具体的な動作例について説明する。   Next, a specific operation example of the vehicle communication system 100 will be described.

図2(a)は、通常の協調制御を実行するときのデータの流れを示しているLAN構成図であり、図2(b)は、通常の協調制御を実行するときのバスシーケンスを示した図である。GW5は、通常、CAN2側ECUからのウェイクアップフレームWKUPの受信をトリガとして、CAN1バスにCAN1側ECUを起動させるためのウェイクアップフレームを送信する。ウェイクアップフレームWKUPの受信によって、CAN1側ECU及びCAN2側ECUは起動する。各ECUの起動後、GW5は、一方のバス上のフレームを他方のバスに中継することによって、当該一方のバス上のフレームを、当該一方のバスに接続されたECUに限らず、他方のバスに接続されたECUも受信することが可能となる。   FIG. 2 (a) is a LAN configuration diagram showing a data flow when executing normal cooperative control, and FIG. 2 (b) shows a bus sequence when executing normal cooperative control. FIG. The GW 5 normally transmits a wake-up frame for activating the CAN 1 -side ECU to the CAN 1 bus, triggered by reception of the wake-up frame WKUP from the CAN 2 -side ECU. The CAN1 side ECU and the CAN2 side ECU are activated by receiving the wakeup frame WKUP. After starting each ECU, the GW 5 relays the frame on one bus to the other bus, so that the frame on the one bus is not limited to the ECU connected to the one bus, but the other bus. It is also possible to receive the ECU connected to the.

一方、図3(a)は、限定起動処理を実行するときのデータの流れを示しているLAN構成図であり、図3(b)は、限定起動処理を実行するときのバスシーケンスを示した図である。CAN2側ECUのマスターECUは,CAN1バスとの協調制御は不要とする指示情報(協調制御不要情報)をデータフィールドに含むウェイクアップフレームWKUPを送信する。CAN2側ECUのスレーブECUは、協調制御不要情報の有無にかかわらず、当該ウェイクアップフレームWKUPの受信によって、起動する。一方、協調制御不要情報を含むウェイクアップフレームWKUPを受信したGW5は、CAN1バスにCAN1側ECUを起動させるためのウェイクアップフレームの送信を停止する。その結果、CAN1側ECUは、起動しない。その後も、協調制御不要である限り、CAN2側ECUからのフレームを中継しない。   On the other hand, FIG. 3A is a LAN configuration diagram showing the flow of data when executing the limited activation process, and FIG. 3B shows the bus sequence when executing the limited activation process. FIG. The master ECU of the CAN2 side ECU transmits a wakeup frame WKUP including instruction information (cooperation control unnecessary information) that does not require cooperative control with the CAN1 bus in the data field. The slave ECU of the CAN2 side ECU is activated upon receipt of the wakeup frame WKUP regardless of the presence or absence of cooperative control unnecessary information. On the other hand, the GW 5 that has received the wake-up frame WKUP including the cooperative control unnecessary information stops transmission of the wake-up frame for activating the CAN 1 side ECU on the CAN 1 bus. As a result, the CAN1 side ECU does not start. After that, as long as cooperative control is unnecessary, the frame from the CAN2 side ECU is not relayed.

これによって、CAN2側ECUのみが通常の制御処理を開始することができるので、ECU1側ECUが起動しない(通常の制御処理を開始しない)ことによってECU1側ECUの消費電力を抑制することができ、車両全体としての消費電力を低減することができる。また、CAN2側ECUは、CAN1側ECUが起動していない状態で、バッテリオン状態における上述の充電制御を実行することができるので、CAN1側ECUとのデータのやりとりがバッテリオン状態で不要であるならば、車両全体としての暗電流を抑えることができるとともに、バッテリ20からCAN1側ECUへの電力供給が抑えられる分だけ充電効率を高めることが可能になる。   As a result, only the CAN2 side ECU can start the normal control process, so that the ECU1 side ECU does not start (the normal control process is not started), thereby suppressing the power consumption of the ECU1 side ECU. The power consumption of the entire vehicle can be reduced. In addition, since the CAN2 side ECU can execute the above-described charging control in the battery-on state when the CAN1-side ECU is not activated, data exchange with the CAN1-side ECU is unnecessary in the battery-on state. Then, the dark current as a whole vehicle can be suppressed, and the charging efficiency can be increased by the amount that power supply from the battery 20 to the CAN1 side ECU can be suppressed.

なお、GW5は、CAN1側ECUからのウェイクアップフレームを受信したときやイグニッションスイッチがオンしたときなどは,車両全体としてのフレーム中継が必要であるとして、バス間の協調制御を行って、フレームの中継を実施してもよい。   When the GW 5 receives a wake-up frame from the CAN 1 side ECU or when the ignition switch is turned on, the GW 5 performs the cooperative control between the buses, assuming that the frame relay as a whole vehicle is necessary. Relay may be implemented.

図4は、ウェイクアップフレームを受信したGW5の処理フローを示した図である。GW5は、ウェイクアップフレームWKUPを受信すると(ステップ500)、その受信したウェイクアップフレームWKUP内に協調制御不要情報が含まれているか否かによって、協調制御の要否を判断する(ステップ510)。   FIG. 4 is a diagram illustrating a processing flow of the GW 5 that has received the wakeup frame. When the GW 5 receives the wake-up frame WKUP (step 500), the GW 5 determines whether or not the cooperative control is necessary depending on whether or not the received wake-up frame WKUP includes the cooperative control unnecessary information (step 510).

GW5は、協調制御が不要と判断した場合、CAN1側ECUは起動せずにスリープ可状態であるとしてCAN1バススリープ可フラグをオンにセットするとともに、CAN2側ECUはスリープ不可状態であるとしてCAN2バススリープ可フラグをオフにセットする(ステップ520)。フラグのセットの後、CAN2からCAN1へのフレームの中継を禁止する(ステップ530)。   When the GW 5 determines that the cooperative control is unnecessary, the CAN 1 side ECU is not activated and the CAN 1 bus sleep enable flag is set to ON, assuming that the sleep enabled state is set, and the CAN 2 side ECU is set to be in the sleep disabled state. The sleep enable flag is set to off (step 520). After the flag is set, the relay of the frame from CAN2 to CAN1 is prohibited (step 530).

そして、GW5は、「他バス非協調中」フレームの定期送信を開始する(ステップ540)。送信間隔は、通信する上で適切な任意の送信周期でよい。「他バス非協調中」フレームをGW5からCAN2側ECUに送信することによって、CAN1バスからの通信の途絶を通信異常としてCAN2側ECUが誤検知することを防ぐことができる。「他バス非協調中」フレームを受信したCAN2側ECUは、通信異常の検知を禁止し、CAN1側からのデータによらないデフォルト値による制御を実施する。   Then, the GW 5 starts regular transmission of the “other bus is not cooperating” frame (step 540). The transmission interval may be any transmission cycle appropriate for communication. By transmitting the “other bus non-coordinated” frame from the GW 5 to the CAN 2 side ECU, it is possible to prevent the CAN 2 side ECU from erroneously detecting a communication interruption from the CAN 1 bus as a communication abnormality. The CAN2 side ECU that has received the “other bus is not cooperating” frame prohibits detection of communication abnormality, and performs control based on default values not based on data from the CAN1 side.

一方、GW5は、協調制御が必要と判断した場合、CAN1側ECUはスリープ不可状態であるとしてCAN1バススリープ可フラグをオフにセットするとともに、CAN2側ECUはスリープ不可状態であるとしてCAN2バススリープ可フラグをオフにセットする(ステップ550)。フラグのセットの後、CAN2からCAN1へのウェイクアップフレームWKUPを中継し、フレーム中継処理を開始する(ステップ560)。   On the other hand, when the GW 5 determines that the cooperative control is necessary, the CAN1 side ECU sets the CAN1 bus sleep enable flag to be off, and the CAN2 side ECU sets the CAN2 bus sleep enable state to the sleep disabled state. The flag is set off (step 550). After the flag is set, the wakeup frame WKUP from CAN2 to CAN1 is relayed to start the frame relay processing (step 560).

図5は、両バスがウェイクアップ後のバス間協調制御の制御フローである。GW5は、CAN1側ECUがスリープ可能か否かを当該ECUからのフレーム情報に基づいて監視し、該当ECUが全てスリープ可能となった時点で、CAN1側ECUはスリープ可状態であるとしてCAN1バススリープ可フラグをオンにセットする(ステップ600)。一方、GW5は、CAN2側ECUもスリープ可能か否かを当該ECUからのフレーム情報に基づいて監視し、該当ECUが全てスリープ可能となった時点で、CAN2側ECUはスリープ可状態であるとしてCAN2バススリープ可フラグをオンにセットする(ステップ610)。   FIG. 5 is a control flow of inter-bus cooperative control after both buses have been woken up. The GW 5 monitors whether or not the CAN1 side ECU can sleep based on the frame information from the ECU, and when all the ECUs are able to sleep, the CAN1 side ECU assumes that the CAN1 side ECU is in a sleep enabled state. The enable flag is set on (step 600). On the other hand, the GW 5 monitors whether or not the CAN2 side ECU can also sleep based on the frame information from the ECU. When all the ECUs can sleep, the CAN2 side ECU is assumed to be in a sleepable state. The bus sleep enable flag is set on (step 610).

GW5は、CAN1バススリープ可フラグとCAN2バススリーブ可フラグの状態を参照し、いずれもオンにセットされている場合には(ステップ620,YES)、CAN1とCAN2のともにバススリープ状態に遷移して、処理を終了する(ステップ630)。いずれもオンにセットされていない場合には(ステップ620,No)、ステップ600に戻ってステップが繰り返される。   GW5 refers to the states of the CAN1 bus sleep enable flag and the CAN2 bus sleeve enable flag, and when both are set to ON (step 620, YES), both CAN1 and CAN2 transition to the bus sleep state. The process is terminated (step 630). If neither is set to ON (step 620, No), the process returns to step 600 and the steps are repeated.

したがって、GW5又は車両用通信システム100によれば、一方のバスのノード(マスターECU)から協調制御不要情報を含むウェイクアップフレームが送信されるので、一方のバスのノードが他方のバスのノードを起動させるか否かについて主導することができる。また、一方のバスだけを通信可能状態にし、他方のバスを無通信状態にすることによって、消費電流を削減することができる。特に、他方のバスが無通信状態且つバッテリオン状態で充電制御を実行することによって、充電効率を高めることができる。また、他バス非協調中フレームを送信することによって、一方のバスのノードが通信異常を誤検知することを防止することができる。   Therefore, according to the GW 5 or the vehicle communication system 100, the wake-up frame including the cooperative control unnecessary information is transmitted from the node (master ECU) of one bus. You can take the lead in whether to activate. In addition, current consumption can be reduced by making only one bus communicable and making the other bus non-communication. In particular, the charging efficiency can be increased by executing the charging control while the other bus is in a non-communication state and in a battery-on state. In addition, by transmitting the non-cooperative frame of the other bus, it is possible to prevent the node of one bus from erroneously detecting a communication abnormality.

また、イグニッション状態がオフ状態且つバッテリオン状態のときに実行される制御処理(例えば、上述の充電制御処理)を実行するECUのみが接続されるCAN2バスに「他バス非協調中」フレームの送信を行うことによって、当該制御処理に無関係なECUもCAN2バスに接続することが可能になる。   Also, transmission of the “other bus is not cooperating” frame to the CAN 2 bus connected only to the ECU that executes the control process (for example, the above-described charging control process) executed when the ignition state is off and the battery is on. By performing the above, it becomes possible to connect an ECU unrelated to the control process to the CAN2 bus.

すなわち、バス構成を設計するにあたり、連携が必要なECUのみを一つのバスに接続することが好ましい場合が多いため、それ以外の連携不要なECUは他のバスに接続したり新たに設けられたバスに接続したりする必要がある。例えば、CAN2バスに充電制御処理に関連するECUのみを接続することによって、充電制御処理に関連の無いECUが接続されていない分、充電効率を高めることができる。しかしながら、その背反として、このようなバス構成の場合、バスやハーネスの数が増加したり、他のバスの通信負荷が高くなったりしてしまう。そこで、連携が必要なECUのみが接続されるバスに連携が不要なECUを接続したとしても、「他バス非協調中」フレームを当該バスに送信することによって、連携が不要なECUも「他バス非協調中」であることを認識することができるので、相応の制御処理を実行することが可能になる。その結果、バスやハーネスの数を削減したり、他のバスの通信負荷を抑えたりすることができる。   In other words, when designing the bus configuration, it is often preferable to connect only the ECUs that require cooperation to one bus, so other ECUs that do not require cooperation are connected to other buses or newly provided. Need to connect to the bus. For example, by connecting only the ECU related to the charging control process to the CAN2 bus, the charging efficiency can be increased because the ECU not related to the charging control process is not connected. However, contrary to this, in the case of such a bus configuration, the number of buses and harnesses increases, and the communication load of other buses increases. Therefore, even if an ECU that does not require cooperation is connected to a bus to which only an ECU that requires cooperation is connected, an ECU that does not require cooperation can be Since it is possible to recognize that the bus is not being coordinated, it is possible to execute a corresponding control process. As a result, the number of buses and harnesses can be reduced, and the communication load of other buses can be suppressed.

したがって、「他バス非協調中」フレームの送信によって、バスに接続するECUの数やバスの数などのバス構成の設計を柔軟に行うことができる。   Accordingly, the transmission of the “other bus is not coordinating” frame can flexibly design the bus configuration such as the number of ECUs connected to the bus and the number of buses.

以上、本発明の好ましい実施例について詳説したが、本発明は、上述した実施例に制限されることはなく、本発明の範囲を逸脱することなく、上述した実施例に種々の変形及び置換を加えることができる。   The preferred embodiments of the present invention have been described in detail above. However, the present invention is not limited to the above-described embodiments, and various modifications and substitutions can be made to the above-described embodiments without departing from the scope of the present invention. Can be added.

例えば、CAN通信方式に限らず、例えば、イーサネット(登録商標)でもよい。イーサネット(登録商標)フレーム内の、46バイトから1500バイトまでのデータペイロードを格納可能なデータフィールドに、協調制御不要情報などの他バスへの指示情報が格納されるとよい。   For example, not only the CAN communication method but also Ethernet (registered trademark) may be used. Instruction information to other buses such as cooperative control unnecessary information may be stored in a data field that can store a data payload of 46 bytes to 1500 bytes in the Ethernet (registered trademark) frame.

本発明の一実施形態である車両用通信システム100の構成図である。1 is a configuration diagram of a vehicle communication system 100 according to an embodiment of the present invention. 通常の協調制御を実行するときの、データの流れを示しているLAN構成図(a)及びバスシーケンスを示した図(b)である。It is the LAN block diagram (a) which shows the flow of data, and the figure (b) which showed the bus sequence when performing normal cooperative control. 限定起動処理を実行するときの、データの流れを示しているLAN構成図(a)及びバスシーケンスを示した図(b)である。FIG. 4 is a LAN configuration diagram (a) showing a data flow and a bus sequence diagram (b) showing a data flow when a limited activation process is executed. ウェイクアップフレームを受信したGW5の処理フローを示した図である。It is the figure which showed the processing flow of GW5 which received the wakeup frame. 両バスがウェイクアップ後のバス間協調制御の制御フローである。It is a control flow of inter-bus cooperative control after both buses are woken up.

符号の説明Explanation of symbols

5 GW(ゲートウェイ装置)
15,16,17、18 電源ライン
20,21 バッテリ
30 DC−DCコンバータ
40 バッテリリレー
100 車両用通信システム
CAN1,CAN2 バス
5 GW (gateway device)
15, 16, 17, 18 Power line 20, 21 Battery 30 DC-DC converter 40 Battery relay 100 Vehicle communication system CAN1, CAN2 Bus

Claims (10)

異なるネットワークのノード同士のデータ送受を中継する車載ゲートウェイであって、
一方のネットワークのリンクに流れる第1の信号を受信する第1の信号受信手段と、
前記第1の信号受信手段によって受信された第1の信号に含まれる情報に従って、他方のネットワークのノードを起動させるための第2の信号を、前記他方のネットワークのノードに送信する第2の信号送信手段とを備えることを特徴とする、車載ゲートウェイ。
An in-vehicle gateway that relays data transmission / reception between nodes in different networks,
First signal receiving means for receiving a first signal flowing in a link of one network;
A second signal for transmitting a second signal for activating a node of the other network to the node of the other network in accordance with information included in the first signal received by the first signal receiving means; A vehicle-mounted gateway comprising a transmission means.
前記第1の信号は、前記一方のネットワークのノードと前記他方のネットワークのノードの一方又は両方を起動させるための信号である、請求項1に記載の車載ゲートウェイ。   The in-vehicle gateway according to claim 1, wherein the first signal is a signal for activating one or both of a node of the one network and a node of the other network. 前記第1の信号受信手段によって受信された第1の信号に含まれる情報に従って、前記一方のネットワークのノードに対して伝達すべき情報を含んだ第3の信号を、前記一方のネットワークのノードに送信する第3の信号送信手段を備える、請求項1又は2に記載の車載ゲートウェイ。   According to the information included in the first signal received by the first signal receiving means, a third signal including information to be transmitted to the node of the one network is transmitted to the node of the one network. The in-vehicle gateway according to claim 1, further comprising third signal transmission means for transmitting. 前記第3の信号は、前記一方のネットワークのノードによって行われる通信異常の検知を制限させるための信号である、請求項3に記載の車載ゲートウェイ。   The in-vehicle gateway according to claim 3, wherein the third signal is a signal for limiting detection of a communication abnormality performed by a node of the one network. 前記一方のネットワークのノードには、前記他方のネットワークのノードに少なくとも電力を供給する電源を使って充電を行う制御を実行するノードが含まれる、請求項1から4のいずれか一項に記載の車載ゲートウェイ。
5. The node according to claim 1, wherein the node of the one network includes a node that executes control of charging using a power source that supplies at least power to the node of the other network. 6. In-vehicle gateway.
少なくとも一つのノードをそれぞれ備える複数のネットワークと、
前記複数のネットワークのそれぞれのノード同士のデータ送受を中継する車載ゲートウェイとを有する、車両用通信システムであって、
一方のネットワークのノードから前記車載ゲートウェイに第1の信号を送信する第1の信号送信手段と、
前記第1の信号に含まれる情報に従って、他方のネットワークのノードを起動させるための第2の信号を、前記車載ゲートウェイから前記他方のネットワークのノードに送信する第2の信号送信手段とを備えることを特徴とする、車両用通信システム。
A plurality of networks each comprising at least one node;
A vehicle communication system having an in-vehicle gateway that relays data transmission / reception between nodes of the plurality of networks,
First signal transmitting means for transmitting a first signal from a node of one network to the in-vehicle gateway;
2nd signal transmission means which transmits the 2nd signal for starting the node of the other network from the in-vehicle gateway to the node of the other network according to the information included in the first signal. A vehicular communication system.
前記第1の信号は、前記一方のネットワークのノードと前記他方のネットワークのノードの一方又は両方を起動させるための信号である、請求項6に記載の車両用通信システム。   The vehicle communication system according to claim 6, wherein the first signal is a signal for activating one or both of a node of the one network and a node of the other network. 前記第1の信号に含まれる情報に従って、前記一方のネットワークのノードに対して伝達すべき情報を含んだ第3の信号を、前記一方のネットワークのノードに送信する第3の信号送信手段を備える、請求項6又は7に記載の車両用通信システム。   In accordance with the information included in the first signal, there is provided third signal transmitting means for transmitting a third signal including information to be transmitted to the node of the one network to the node of the one network. The vehicle communication system according to claim 6 or 7. 前記第3の信号は、前記一方のネットワークのノードによって行われる通信異常の検知を制限させるための信号である、請求項8に記載の車両用通信システム。   The vehicle communication system according to claim 8, wherein the third signal is a signal for limiting detection of a communication abnormality performed by a node of the one network. 前記一方のネットワークのノードには、前記他方のネットワークのノードに少なくとも電力を供給する電源を使って充電を行う制御を実行するノードが含まれる、請求項6から9のいずれか一項に記載の車両用通信システム。   10. The node according to claim 6, wherein the node of the one network includes a node that executes control of charging using a power source that supplies at least power to the node of the other network. 11. Vehicle communication system.
JP2007296777A 2007-11-15 2007-11-15 Onboard gateway and vehicle communication system Pending JP2009124480A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2007296777A JP2009124480A (en) 2007-11-15 2007-11-15 Onboard gateway and vehicle communication system

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2007296777A JP2009124480A (en) 2007-11-15 2007-11-15 Onboard gateway and vehicle communication system

Publications (1)

Publication Number Publication Date
JP2009124480A true JP2009124480A (en) 2009-06-04

Family

ID=40816145

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2007296777A Pending JP2009124480A (en) 2007-11-15 2007-11-15 Onboard gateway and vehicle communication system

Country Status (1)

Country Link
JP (1) JP2009124480A (en)

Cited By (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103676816A (en) * 2012-09-17 2014-03-26 现代自动车株式会社 System and method for controlling an integrated network of a vehicle
JP2015091062A (en) * 2013-11-06 2015-05-11 トヨタ自動車株式会社 Communication system, gateway device, and communication method
JP2017126828A (en) * 2016-01-12 2017-07-20 トヨタ自動車株式会社 Communication system
JP2019080196A (en) * 2017-10-25 2019-05-23 トヨタ自動車株式会社 On-vehicle repeating device, information processing method, program, repeating device, and information processing system

Cited By (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103676816A (en) * 2012-09-17 2014-03-26 现代自动车株式会社 System and method for controlling an integrated network of a vehicle
KR101393539B1 (en) * 2012-09-17 2014-05-09 기아자동차 주식회사 Integrated network system for vehicle
US8818628B2 (en) 2012-09-17 2014-08-26 Hyundai Motor Company System and method for controlling integrated network of a vehicle
CN103676816B (en) * 2012-09-17 2017-12-15 现代自动车株式会社 For the system and method for the integrated network for controlling vehicle
JP2015091062A (en) * 2013-11-06 2015-05-11 トヨタ自動車株式会社 Communication system, gateway device, and communication method
JP2017126828A (en) * 2016-01-12 2017-07-20 トヨタ自動車株式会社 Communication system
JP2019080196A (en) * 2017-10-25 2019-05-23 トヨタ自動車株式会社 On-vehicle repeating device, information processing method, program, repeating device, and information processing system

Similar Documents

Publication Publication Date Title
JP5363379B2 (en) Communications system
JP6010207B2 (en) Communications system
JP6464901B2 (en) In-vehicle communication system and relay device
US10780783B2 (en) Onboard vehicle communication system
JP5720707B2 (en) Communication system and communication node
US9164574B2 (en) Switching a control device in a vehicle network to sleep mode when velocity is above a threshold and switching to an operating mode after a number of received messages
JP5725058B2 (en) Data relay device
CN103314555A (en) Method for operating an electrical system of a motor vehicle and bus system operating in accordance with said method
JP2009296280A (en) Communication network system, and communication control method thereof
JP7238650B2 (en) In-vehicle network system
JP2009124480A (en) Onboard gateway and vehicle communication system
JP2010245935A (en) Gateway device, slave device, and network system
WO2021100548A1 (en) Onboard relay device and relay method
JP2010206268A (en) Communication system and node
JP5614365B2 (en) Data relay device, in-vehicle network
JP2019009678A (en) On-vehicle communication network system
CN108227672B (en) Vehicle-mounted communication system
JP2020088568A (en) Electronic control device
JP2011093377A (en) Power source control system and electronic device
JP2022132970A (en) Electronic control device and starting method for electronic control device
JP2008277975A (en) Relay connection unit