JP2005086692A - Gateway apparatus - Google Patents

Gateway apparatus Download PDF

Info

Publication number
JP2005086692A
JP2005086692A JP2003318813A JP2003318813A JP2005086692A JP 2005086692 A JP2005086692 A JP 2005086692A JP 2003318813 A JP2003318813 A JP 2003318813A JP 2003318813 A JP2003318813 A JP 2003318813A JP 2005086692 A JP2005086692 A JP 2005086692A
Authority
JP
Japan
Prior art keywords
cpu
bus
gateway device
state
signal
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
JP2003318813A
Other languages
Japanese (ja)
Inventor
Shinjiro Hioki
慎二郎 日置
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.)
Marelli Corp
Original Assignee
Calsonic Kansei 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 Calsonic Kansei Corp filed Critical Calsonic Kansei Corp
Priority to JP2003318813A priority Critical patent/JP2005086692A/en
Publication of JP2005086692A publication Critical patent/JP2005086692A/en
Pending legal-status Critical Current

Links

Images

Landscapes

  • Small-Scale Networks (AREA)

Abstract

<P>PROBLEM TO BE SOLVED: To provide a gateway apparatus capable of starting an on-vehicle apparatus connected to a different network from a sleep state without causing a delay in message delivery. <P>SOLUTION: Units connected to different in-vehicle networks exchange message data and each unit reaches a sleep state in a standby state. The gateway apparatus 1 connects signal lines 51, 52 connected to CAN buses 7a, 7b of ordinary transfer paths by switches 4a, 4b in the sleep state and disconnects the signal lines 51, 52 by the switches 4a, 4b in a start state. <P>COPYRIGHT: (C)2005,JPO&NCIPI

Description

本発明は、車両内の車載装置により構成される複数のネットワークを接続し、データの送受信を行えるようにするとともに、消費電流の節約のためにスリープ状態にした異なるネットワークに接続されている車載装置を遅れなく起動させる車載用のゲートウェイ装置の技術分野に属する。   The present invention connects a plurality of networks configured by in-vehicle devices in a vehicle, enables data transmission / reception, and is connected to different networks in a sleep state in order to save current consumption. Belongs to the technical field of in-vehicle gateway devices that start up without delay.

従来のゲートウェイ装置は、車内の民生LANとOEM−LANのコマンドのやり取りをI/Oプロセッサで受信することにより起動状態を判定し、起動時間の差を吸収するよう処理を行っている(例えば、特許文献1参照。)。
特開2003−124966号公報(第2−4頁、全図)
The conventional gateway apparatus determines the activation state by receiving the exchange of commands between the consumer LAN and the OEM-LAN in the vehicle by the I / O processor, and performs processing to absorb the difference in activation time (for example, (See Patent Document 1).
JP 2003-124966 A (page 2-4, full view)

しかしながら、従来のゲートウェイ装置にあっては、スリープ状態にすることによりメッセージの送信遅れが発生していた。   However, in the conventional gateway device, a message transmission delay occurs due to the sleep state.

本発明は、上記問題点に着目してなされたもので、その目的とするところは、メッセージ遅れなく異なるネットワークに接続している車載装置をスリープ状態から起動させることができるゲートウェイ装置を提供することにある。   The present invention has been made paying attention to the above problems, and an object of the present invention is to provide a gateway device that can start an in-vehicle device connected to a different network without a message delay from a sleep state. It is in.

上記目的を達成するため、請求項1記載の発明では、車内の車載装置を異なるバスで接続して複数の車内ネットワークを構成し、複数の前記車内ネットワークは、同じ通信プロトコルを用い、前記車内ネットワーク全体に接続される車載装置の数に制限があるものであって、異なる車内ネットワークに接続している車載装置間でのデータのやり取りを行うとともに、待機状態の際には各車載装置とともにスリープ状態となる、ゲートウェイ装置において、通常の転送経路と別に異なるネットワークのバス間をスリープ状態の際に接続するスリープ接続手段を設け、前記スリープ接続手段は前記ゲートウェイ装置の起動の際に非接続状態にすることを特徴とする。   In order to achieve the above object, according to the first aspect of the present invention, a plurality of in-vehicle networks are configured by connecting in-vehicle devices in a vehicle by different buses, and the plurality of in-vehicle networks use the same communication protocol, and the in-vehicle network The number of in-vehicle devices connected to the entire system is limited, and data is exchanged between in-vehicle devices connected to different in-vehicle networks. The gateway device is provided with sleep connection means for connecting different network buses in a sleep state separately from a normal transfer path, and the sleep connection means is brought into a non-connection state when the gateway device is activated. It is characterized by that.

請求項2記載の発明では、請求項1に記載されたゲートウェイ装置において、演算制御を行うCPUが、送受信を行うトランシーバを介してバスに接続する構成にし、前記スリープ接続手段が、前記トランシーバとバスの途中の信号伝達経路をスイッチで接続するようにし、CPUからの制御信号で前記スイッチが信号伝達経路の開閉を行うようにしたことを特徴とする。   According to a second aspect of the present invention, in the gateway device according to the first aspect, a CPU that performs arithmetic control is configured to connect to a bus via a transceiver that performs transmission and reception, and the sleep connection unit includes the transceiver and the bus. The signal transmission path in the middle is connected by a switch, and the switch opens and closes the signal transmission path by a control signal from the CPU.

よって、請求項1記載の発明にあっては、スリープ状態の際に、スリープ接続手段により異なるネットワークのバス間を通常の転送経路と別の転送経路で接続するので、各車載装置を起動させるためのウエィクアップ信号を受信できる待機状態にする特定信号を、ゲートウェイ装置がスリープ状態でも送信でき、その特定される各車載装置とゲートウェイ装置を、ウェイクアップ信号によって一斉にかつ確実に起動させることができ、ゲートウェイ装置のメッセージの転送遅れをゲートウェイの転送時間のみにすることができる。
また、スリープ接続手段によりゲートウェイ装置の処理負荷が軽減できる。
Therefore, in the invention according to claim 1, in the sleep state, the sleep connection means connects the buses of different networks through a different transfer path from the normal transfer path. The gateway device can send a specific signal that makes it possible to receive the wake-up signal even when the gateway device is in the sleep state, and each specified in-vehicle device and gateway device can be activated simultaneously and reliably by the wake-up signal. The message transfer delay of the gateway device can be made only to the gateway transfer time.
In addition, the processing load of the gateway device can be reduced by the sleep connection means.

請求項2記載の発明では、CPUからの制御信号によってスイッチの切り換えで、異なるネットワークのトランシーバとバスの途中同士を接続し、ゲートウェイ装置のCPUを介することなく、各車載装置を起動させるためのウエィクアップ信号を受信できる待機状態にする特定信号を送受信することができる。   According to the second aspect of the present invention, a switch for switching between switches according to a control signal from the CPU connects the transceivers of different networks and the middle of the bus, and a way for starting each in-vehicle device without going through the CPU of the gateway device. It is possible to transmit / receive a specific signal for setting a standby state in which a wakeup signal can be received.

以下、本発明のゲートウェイ装置を実現する実施の形態を、請求項1,2に係る発明に対応する実施例に基づいて説明する。   Hereinafter, an embodiment for realizing the gateway device of the present invention will be described based on examples corresponding to the inventions according to claims 1 and 2.

(実施例)
まず、構成を説明する。
図1は実施例のゲートウェイ装置を示すブロック図である。図2は実施例のゲートウェイ装置の状態変化を示す状態遷移図である。図3は実施例のゲートウェイ装置の処理の流れを示すフローチャート図である。
(Example)
First, the configuration will be described.
FIG. 1 is a block diagram illustrating a gateway device according to an embodiment. FIG. 2 is a state transition diagram illustrating a state change of the gateway device according to the embodiment. FIG. 3 is a flowchart showing the flow of processing of the gateway device of the embodiment.

実施例のゲートウェイ装置1は、車両内に車載されるユニットA81やユニットB82などをCANバスA7aに接続して構成されるネットワーク9aと、車両内に車載されるユニットC83等をCANバスB7bに接続して構成されるネットワーク9bとを接続するように設けられる。
ネットワークA9aとネットワークB9bは、通信プロトコルとして同じCAN(Controller Area Network)プロトコルを用いている。
The gateway device 1 of the embodiment connects a network 9a configured by connecting a unit A81, a unit B82, etc. mounted in the vehicle to the CAN bus A7a, and a unit C83 mounted in the vehicle connected to the CAN bus B7b. And a network 9b configured as described above.
The network A9a and the network B9b use the same CAN (Controller Area Network) protocol as a communication protocol.

ゲートウェイ装置1は、CPU2、トランシーバ3a,3b、スイッチ4a,4b、信号ライン51,52、信号ライン53〜56,6を主要な構成としている。   The gateway device 1 mainly includes a CPU 2, transceivers 3a and 3b, switches 4a and 4b, signal lines 51 and 52, and signal lines 53 to 56 and 6.

CPU2は、トランシーバ3a,3bを介して入力されるネットワークA9a又はネットワークB9bからのデータを、別のネットワークとなるネットワークA9a又はネットワークB9bに適時、同期させて出力する処理を行う。   The CPU 2 performs a process of outputting data from the network A9a or the network B9b input via the transceivers 3a and 3b in synchronization with the network A9a or the network B9b serving as another network in a timely manner.

トランシーバ3a,3bは、CANバスA7a,CANバスB7bと信号ライン53〜56を介して接続し、図1に示すようにツイストペア線であるCANバスA7aまたはCANバスB7bの2本の線の電位差、つまりドミナントレベルとレセシブレベルからビット信号に変換してCPU2へデータを出力し、CPU2が出力したデータを、ツイストペア線を使用してドミナントレベルとレセシブレベルの組み合わせでCANバスA7a,CANバスB7bへ送信する。   The transceivers 3a and 3b are connected to the CAN bus A7a and the CAN bus B7b via signal lines 53 to 56, and as shown in FIG. 1, the potential difference between two lines of the CAN bus A7a or the CAN bus B7b, which is a twisted pair line, In other words, the dominant level and the recessive level are converted into bit signals and data is output to the CPU 2, and the data output by the CPU 2 is transmitted to the CAN bus A7a and the CAN bus B7b by a combination of the dominant level and the recessive level using a twisted pair line.

スイッチ4a,4b(CPU2、信号ライン51,52,6とともにスリープ接続手段を構成する)は、信号ライン6によるCPU2からの信号(HiレベルorLoレベル)に応じて、信号ライン51,52を開閉(接続、非接続)する。   The switches 4a and 4b (which constitute the sleep connection means together with the CPU 2 and the signal lines 51, 52 and 6) open and close the signal lines 51 and 52 according to the signal (Hi level or Lo level) from the CPU 2 by the signal line 6 ( Connect or disconnect).

[切り換え処理]
図3は実施例のゲートウェイ装置1のCPUで実行されるスイッチ切り換え処理の流れを示すフローチャートで、以下、各ステップについて説明する。
[Switching process]
FIG. 3 is a flowchart showing the flow of switch switching processing executed by the CPU of the gateway device 1 of the embodiment. Each step will be described below.

ステップS1では、ゲートウェイ装置1がスリープ状態にあるかどうかを判断し、スリープ状態であるならばステップS2に移行し、通常作動状態であるならばステップS6に移行する。   In step S1, it is determined whether the gateway device 1 is in a sleep state. If the gateway device 1 is in a sleep state, the process proceeds to step S2, and if it is in a normal operation state, the process proceeds to step S6.

ステップS2では、特定のユニットを起動させるウェイクアップ信号を受信できる待機状態にする特定信号による割り込み処理があるかどうかを判断し、特定信号による割り込み処理があるならばステップS3に移行し、特定信号による割り込み処理がないならばステップS7に移行する。   In step S2, it is determined whether or not there is an interrupt process based on a specific signal that makes a standby state capable of receiving a wake-up signal that activates a specific unit. If there is an interrupt process based on the specific signal, the process proceeds to step S3. If there is no interrupt processing due to, the process proceeds to step S7.

ステップS3では、CPU2からスイッチ4a,4bへの出力レベルをHiにし、スイッチ4a,4bを切り換えてCANバスA7aとCANバスB7bをゲートウェイ装置1のトランシーバ3a,3b、CPU2を介して通信する状態にする。   In step S3, the output level from the CPU 2 to the switches 4a and 4b is set to Hi, and the switches 4a and 4b are switched so that the CAN bus A7a and the CAN bus B7b communicate with each other via the transceivers 3a and 3b of the gateway apparatus 1 and the CPU2. To do.

ステップS4では、ウェイクアップ信号を受信したかどうかを判断し、受信したならばステップS5に移行し、受信していないならばステップS7に移行する。   In step S4, it is determined whether or not a wake-up signal has been received. If received, the process proceeds to step S5, and if not received, the process proceeds to step S7.

ステップS5では、通常のゲートウェイ処理を行うアプリケーションを起動するとともにCPU2から信号ラインへの出力レベルをHiの状態にする。   In step S5, an application for performing normal gateway processing is started and the output level from the CPU 2 to the signal line is set to Hi.

ステップS6では、スリープ信号を受信したかどうかを判断し、受信したならばステップS7に移行し、受信しないならばステップS5に移行する。   In step S6, it is determined whether or not a sleep signal is received. If received, the process proceeds to step S7, and if not received, the process proceeds to step S5.

ステップS7では、CPU2をスリープ状態にし、CPU2から信号ラインへの出力レベルをLoの状態にし、スイッチを作動させて、信号ラインを接続状態にする。   In step S7, the CPU 2 is set to the sleep state, the output level from the CPU 2 to the signal line is set to Lo, the switch is operated, and the signal line is set to the connected state.

[CPUの状態変移]
図2に示すのはゲートウェイ装置1のCPU2の状態の変移の様子を示す状態遷移図である。
[CPU state transition]
FIG. 2 is a state transition diagram showing how the state of the CPU 2 of the gateway device 1 changes.

ゲートウェイ装置1のCPU2がスリープ状態101では、CPU2の出力がLoレベルになっており、スリープ状態であるため消費電流を低く抑えた状態である。   When the CPU 2 of the gateway device 1 is in the sleep state 101, the output of the CPU 2 is at the Lo level and is in the sleep state, so that the current consumption is kept low.

このスリープ状態101に対し、いずれかの車載されるユニットから、そのユニットのあるネットワークと異なるネットワークのユニットを起動させる要求信号となる特定信号が出力され、この割り込み処理である特定信号をCPU2が受信すると、スリープ状態101からCPU起動準備状態102となる。   In response to the sleep state 101, a specific signal serving as a request signal for starting a unit in a network different from the network in which the unit is provided is output from any vehicle-mounted unit, and the CPU 2 receives the specific signal as an interrupt process. Then, the CPU starts preparation state 102 from the sleep state 101.

CPU起動準備状態102では、CPUの出力がHiレベルになり、CPU2がタイマによるカウントによりこの状態での経過時間を計測する。この経過時間が所定の時間になっても次のウェイクアップ信号が得られえない場合には、タイムアウトして,CPU2はスリープ状態101に戻る。   In the CPU activation preparation state 102, the output of the CPU becomes Hi level, and the CPU 2 measures the elapsed time in this state by counting by a timer. If the next wakeup signal cannot be obtained even when the elapsed time reaches a predetermined time, the CPU 2 times out and returns to the sleep state 101.

CPU起動準備状態102に対し、さらにそのネットワークを異にする特定のユニットへのウェイクアップ信号をCPU2で受信すると、CPU2はアプリケーションを起動して通常の起動状態103に移行する。   When the CPU 2 receives a wake-up signal for a specific unit having a different network from the CPU activation preparation state 102, the CPU 2 activates the application and shifts to the normal activation state 103.

CPUの通常に起動状態103に対し、スリープ信号をCPU2が受信すると、CPU2は出力がまだHiレベルで、直ぐに通常の起動状態に戻れる状態であり、かつスリープ状態へ移行できるスリープ準備状態104に移行する。   When the CPU 2 receives a sleep signal with respect to the normal activation state 103 of the CPU, the CPU 2 is still in a state where the output is still at the Hi level and can immediately return to the normal activation state, and the state shifts to the sleep preparation state 104 where the CPU 2 can enter the sleep state. To do.

CPU2がスリープ準備状態104になると、経過時間が計測され、所定の時間内に再度、ウェイクアップ信号を受信しなければ、CPU2はスリープ状態101に移行する。   When the CPU 2 enters the sleep preparation state 104, the elapsed time is measured, and if the wakeup signal is not received again within a predetermined time, the CPU 2 shifts to the sleep state 101.

[メッセージ送信遅れについて]
ここで、メッセージ遅れについて説明する。
図4に示すようにCANバスAにユニットA、ユニットBなどが接続されて1つのネットワークを構成し、CANバスBにユニットCなどが接続されて別のネットワークを構成しているとする。待機時の消費電流を抑えるために各ユニット及びゲートウェイ装置をスリープ状態にする。
例えば、CANバスAに接続しているユニットAが同じCANバスAに接続しているユニットBを起動させる際には、ユニットBを特定する特定信号をまずCANバスAに流し、特定信号を受信したユニットBはメッセージの送受信が行えるように各コンポーネントの起動を開始し、その後にユニットAがCANバスAに特定のウェイクアップ信号を流し、このウェイクアップ信号を受信したユニットBが起動して通常の動作状態に遷移する。
[Message transmission delay]
Here, the message delay will be described.
As shown in FIG. 4, it is assumed that unit A, unit B, etc. are connected to the CAN bus A to form one network, and unit C, etc. are connected to the CAN bus B to form another network. In order to suppress current consumption during standby, each unit and the gateway device are set to a sleep state.
For example, when the unit A connected to the CAN bus A activates the unit B connected to the same CAN bus A, a specific signal specifying the unit B is first sent to the CAN bus A and the specific signal is received. The unit B starts the activation of each component so that the message can be transmitted and received. After that, the unit A sends a specific wakeup signal to the CAN bus A, and the unit B that receives this wakeup signal starts and Transition to the operating state.

次に、例えばCANバスAに接続しているユニットAがCANバスBに接続しているユニットCを起動させる際には、ユニットCを特定する信号をCANバスAに流すが、ゲートウェイ装置が動作状態でないために特定信号はCANバスBに転送されない。(このままでは、まずゲートウェイ装置を起動させた後に特定のユニットに特定信号を送ることになるが非常に時間がかかることになる)
この場合にユニットCを起動させるためには、ユニットCがゲートウェイ装置の転送するウェイクアップ信号を受信する前に、ゲートウェイ装置から特定信号をCANバスBに流してユニットCに受信させなければならない。
Next, for example, when the unit A connected to the CAN bus A activates the unit C connected to the CAN bus B, a signal specifying the unit C is sent to the CAN bus A, but the gateway device operates. The specific signal is not transferred to the CAN bus B because it is not in a state. (In this state, the gateway device is first activated and then a specific signal is sent to a specific unit, but it takes a very long time.)
In order to activate unit C in this case, before unit C receives the wake-up signal transferred by the gateway device, a specific signal from the gateway device must flow through CAN bus B to be received by unit C.

このようにすると、制御は複雑となり、また、ユニットAからの特定信号により、ゲートウェイ装置を起動、ゲートウェイ装置から特定信号を送信、となるため、時間がかかり、ユニットAからのウェイクアップ信号を受信するまでの時間間隔が充分でなく、受信できないことがある。このため、ユニットCが確実に特定信号とウェイクアップ信号を受信できるように、ウェイクアップ信号をゲートウェイ装置が転送するのを遅らせることを行うとメッセージ遅れが発生してしまう。   In this way, the control becomes complicated, and the gateway device is activated and the specific signal is transmitted from the gateway device by the specific signal from the unit A. Therefore, it takes time, and the wakeup signal from the unit A is received. There is a case where the time interval until the transmission is not sufficient and reception is not possible. For this reason, if the gateway device delays the transfer of the wake-up signal so that the unit C can reliably receive the specific signal and the wake-up signal, a message delay occurs.

[遅れのないメッセージ通信作用]
〈1〉スリープ状態
両方のネットワークを含むネットワーク全体に接続されているユニットA81、ユニットB82、ユニットC83などと、ゲートウェイ装置1がスリープ状態にあり、消費電力を節約している状態にある際には、ゲートウェイ装置1はステップS7の処理により信号ラインへの出力をLoレベルにする。信号ラインへの出力がLoレベルになると、スイッチ4a,4bは閉状態(接続状態)となる。スイッチ4a,4bが閉状態になると、CANバスA7aに接続している信号ライン53とCANバスB7bに接続している信号ライン55が信号ライン52により接続され、CANバスA7aに接続している信号ライン54とCANバスB7bに接続している信号ライン56が信号ライン51により接続された状態(図2(b)下段の状態)となる。つまり、スリープ状態では、CANバスA7aとCANバスB7bはスイッチ4a,4b及び信号ライン51〜56によりそれぞれ電気的に接続した1本の連続したバスラインとなる。これにより、車内ネットワーク上のウェイクアップ可能な全てのユニットは同一のバスラインに接続されていることになる。
[Message communication without delay]
<1> Sleep State When the unit A 81, unit B 82, unit C 83, etc. connected to the entire network including both networks and the gateway device 1 are in the sleep state and are saving power consumption The gateway device 1 sets the output to the signal line to the Lo level by the process of step S7. When the output to the signal line becomes Lo level, the switches 4a and 4b are closed (connected state). When the switches 4a and 4b are closed, the signal line 53 connected to the CAN bus A7a and the signal line 55 connected to the CAN bus B7b are connected by the signal line 52, and the signal connected to the CAN bus A7a. The signal line 56 connected to the line 54 and the CAN bus B7b is connected by the signal line 51 (the lower state in FIG. 2B). That is, in the sleep state, the CAN bus A7a and the CAN bus B7b are one continuous bus line electrically connected by the switches 4a and 4b and the signal lines 51 to 56, respectively. As a result, all the units that can wake up on the in-vehicle network are connected to the same bus line.

〈2〉CPU起動準備状態への移行
ゲートウェイ装置1を含む全てのユニットがスリープ状態にある際に、CANバスA7aに接続しているユニットA81に何らかのトリガが入り、ユニットA81がことなる通信線に接続されているユニットC83を起動させなければならない場合、ユニットA81は起動させたいユニットC83を特定する特定信号をCANバスA7aに流す。ゲートウェイ装置1のCPU2は、特定信号を受信すると、ステップS2の処理により判断してステップS3の処理によりスリープ状態101からCPU起動準備状態102に移行する。
<2> Transition to the CPU startup preparation state When all the units including the gateway device 1 are in the sleep state, some trigger enters the unit A81 connected to the CAN bus A7a, and the unit A81 is connected to a different communication line. When the connected unit C83 has to be activated, the unit A81 sends a specific signal for identifying the unit C83 to be activated to the CAN bus A7a. When the CPU 2 of the gateway apparatus 1 receives the specific signal, the CPU 2 determines from the process of step S2 and shifts from the sleep state 101 to the CPU activation preparation state 102 by the process of step S3.

CPU起動準状態では、次にウェイクアップ信号を受信すると起動できる状態で待機するとともに、CPU2から信号ライン6への出力をLoからHiに切り換える。すると、スイッチ4a,4bはこれにより信号ライン51,52を閉(接続状態)から開(非接状態)に切り換え、トランシーバ3a,3b及びCPU2を介してメッセージデータをネットワークA9aからネットワークB9bに送受信できる接続、つまり、CANバスA7aとCANバスB7bの接続が遮断され、2本の独立したバスラインとなる。   In the CPU start-up state, when the next wake-up signal is received, the CPU waits in a state where it can be started, and the output from the CPU 2 to the signal line 6 is switched from Lo to Hi. Then, the switches 4a and 4b can switch the signal lines 51 and 52 from closed (connected state) to open (non-connected state), and transmit / receive message data from the network A9a to the network B9b via the transceivers 3a and 3b and the CPU 2. The connection, that is, the connection between the CAN bus A7a and the CAN bus B7b is cut off, resulting in two independent bus lines.

また、特定信号を受信したその特定されるユニットC83も、ウェイクアップ信号により起動できる待機状態になる。   Further, the specified unit C83 that has received the specific signal also enters a standby state in which it can be activated by the wakeup signal.

〈3〉通常起動状態への移行
CPU起動準備状態において、異なるネットワーク9bのCANバスB7bに接続しているユニットC83へウェイクアップ信号が出力されると、CPU2は既に待機状態にあるため、アプリケーションを起動して通常起動状態(図2(b)の上段の状態)に移行し、ウェイクアップ信号が特定ユニットC83に送信される。その特定ユニットC83は、すでに特定信号を受けて待機状態にあるため、直ちに遅れなく起動する。よって、その後に異なるネットワークA9aから送信されるデータは、ゲートウェイ装置1により遅れなくメッセージとして送信され、特定されるユニットC83では遅れなく受信することになる。
つまり、この際の通信遅れは、通常の状態と同じようにゲートウェイ装置1が転送するのに発生する遅延のみとなる。これにより、特定されるユニットC83のアプリケーションではデータ待ちを行うことなく処理を行うことができる。または、前もしくは基準データ等を用いることなく通信で得る最新のデータを使用できることになる。
このことは、車内ネットワーク全体から見れば、特定の機器の起動を待たずして通常のメッセージ交換を行えることになる。
<3> Transition to the normal startup state When the wakeup signal is output to the unit C83 connected to the CAN bus B7b of the different network 9b in the CPU startup preparation state, the CPU 2 is already in the standby state. It starts and shifts to a normal start state (upper state in FIG. 2B), and a wakeup signal is transmitted to the specific unit C83. Since the specific unit C83 has already received the specific signal and is in a standby state, the specific unit C83 starts immediately without delay. Therefore, data transmitted from the different network A9a thereafter is transmitted as a message by the gateway device 1 without delay, and is received by the specified unit C83 without delay.
In other words, the communication delay at this time is only the delay that occurs when the gateway apparatus 1 transfers the same as in the normal state. As a result, the application of the specified unit C83 can perform processing without waiting for data. Alternatively, the latest data obtained by communication can be used without using previous or reference data.
From the viewpoint of the entire in-vehicle network, this means that normal message exchange can be performed without waiting for activation of a specific device.

[処理負荷の軽減作用]
スリープ状態での特定信号の送受信に対して、CPU2に特別な処理は必要なく、信号ライン6への出力のHiとLoをCPU自身の状態に合わせて切り換えるだけである。よって、CPU2の処理負荷は軽減された状態でこのような効果を得ることとなる。
[Reducing processing load]
No special processing is required for the CPU 2 for transmission / reception of a specific signal in the sleep state, and only the output Hi and Lo to the signal line 6 are switched in accordance with the state of the CPU itself. Therefore, such an effect is obtained in a state where the processing load on the CPU 2 is reduced.

[高速な通信速度の維持]
本実施例では、スイッチ4a,4bの接続により、信号ライン51,52を有効にし、CANバスA7aとCANバスB7bを1つのバスとして使用する際には、CANバスA7aとCANバスB7bに接続した全ユニットの内、16以下のユニットのみを起動させるようにして高速な通信速度を維持する。
[Maintaining high communication speed]
In this embodiment, the signal lines 51 and 52 are enabled by connecting the switches 4a and 4b, and when the CAN bus A7a and the CAN bus B7b are used as one bus, they are connected to the CAN bus A7a and the CAN bus B7b. A high communication speed is maintained by activating only 16 units or less of all units.

次に、効果を説明する。
実施例のゲートウェイ装置にあっては、下記に列挙する効果を得ることができる。
Next, the effect will be described.
In the gateway device of the embodiment, the effects listed below can be obtained.

(1)車内のユニットをCANバスA7a,CANバスB7bで接続して複数のネットワークA9a,ネットワークB9bを構成し、複数のネットワークA9a,ネットワークB9bは、同じ通信プロトコルを用い、車内ネットワーク全体に接続されるユニットの数に制限があるものであって、異なる車内ネットワークに接続しているユニット間でのメッセージデータのやり取りを行うとともに、待機状態の際には各ユニットとともにスリープ状態となる、ゲートウェイ装置1において、通常の転送経路のCANバスA7a,CANバスB7bに接続する信号ライン51,52をスリープ状態の際にスイッチ4a,4bで接続するようにし、起動の際にはスイッチ4a,4bで非接続にするため、特定される各ユニットとゲートウェイ装置1を、ウェイクアップ信号によって一斉にかつ確実に起動させることができ、ゲートウェイ装置1のメッセージの転送遅れをゲートウェイの転送時間のみにすることができる。
このことは車内ネットワークから見れば、特定のユニットの起動を待たずにメッセージ交換処理ができるためより効率的に全体が同時に相互な通信を行って作動するような車内ネットワーク環境にできることとなる。
また、スリープ接続手段によりゲートウェイ装置1の処理負荷が軽減できる。
(1) Units in the vehicle are connected by CAN bus A7a and CAN bus B7b to form a plurality of networks A9a and B9b. The plurality of networks A9a and network B9b are connected to the entire in-vehicle network using the same communication protocol. The gateway device 1 has a limit on the number of units to be exchanged, exchanges message data between units connected to different in-vehicle networks, and enters a sleep state together with each unit in a standby state. , The signal lines 51 and 52 connected to the CAN bus A7a and CAN bus B7b of the normal transfer path are connected by the switches 4a and 4b in the sleep state, and are not connected by the switches 4a and 4b at the start-up. In order to make each specified unit and the gateway device 1, Can be activated simultaneously and reliably by wakes up signal, the transfer delay of the message of the gateway device 1 can only be the gateway transfer time.
From the viewpoint of the in-vehicle network, the message exchange process can be performed without waiting for the activation of a specific unit, so that the entire in-vehicle network environment can be operated by performing mutual communication simultaneously.
Further, the processing load of the gateway device 1 can be reduced by the sleep connection means.

(2)演算制御を行うCPU2が、送受信を行うトランシーバ3a,3bを介してCANバスA7a,CANバスB7bに接続する構成にし、トランシーバ3a,3bとCANバスA7a,CANバスB7bの途中の信号ライン53〜56をスイッチ4a,4bで接続するようにし、CPU2からの制御信号でスイッチ4a,4bが信号ライン51,52の開閉(接続・非接続)を行うようにしたため、コストを抑制したCPU2からの制御信号によってスイッチ4a,4bの切り換えで、異なるネットワークのトランシーバ3a,3bとCANバスA7a,CANバスB7bの途中同士を接続し、ゲートウェイ装置1のCPU2を介することなく、各車載装置を起動させるためのウエィクアップ信号を受信できる待機状態にする特定信号を送受信することができる。   (2) The CPU 2 that performs arithmetic control is configured to connect to the CAN bus A7a and the CAN bus B7b via the transceivers 3a and 3b that perform transmission and reception, and a signal line in the middle of the transceivers 3a and 3b and the CAN bus A7a and CAN bus B7b. 53 to 56 are connected by the switches 4a and 4b, and the switches 4a and 4b open and close (connect / disconnect) the signal lines 51 and 52 by a control signal from the CPU 2, so that the CPU 2 can control costs. By switching the switches 4a and 4b according to the control signal, the transceivers 3a and 3b of different networks are connected to each other in the middle of the CAN bus A7a and CAN bus B7b, and each vehicle-mounted device is activated without going through the CPU 2 of the gateway device 1. Send / receive a specific signal to enter standby mode to receive a wakeup signal for It can be.

以上、本発明のゲートウェイ装置を実施例に基づき説明してきたが、具体的な構成については、これらの実施例に限られるものではなく、特許請求の範囲の各請求項に係る発明の要旨を逸脱しない限り、設計の変更や追加等は許容される。   The gateway device of the present invention has been described based on the embodiments. However, the specific configuration is not limited to these embodiments, and departs from the gist of the invention according to each claim of the claims. Unless otherwise, design changes and additions are permitted.

例えば、実施例では、スリープ接続手段としてCPUの制御信号で切り換えを行うスイッチを示したが、他の回路装置により切り換えるものであっても良い。   For example, in the embodiment, the switch for switching by the control signal of the CPU is shown as the sleep connection means. However, the switch may be switched by another circuit device.

実施例のゲートウェイ装置を示すブロック図である。It is a block diagram which shows the gateway apparatus of an Example. 実施例のゲートウェイ装置の状態変化を示す状態遷移図である。It is a state transition diagram which shows the state change of the gateway apparatus of an Example. 実施例のゲートウェイ装置の処理の流れを示すフローチャート図である。It is a flowchart figure which shows the flow of a process of the gateway apparatus of an Example. 従来の実施例のゲートウェイ装置を示すブロック図である。It is a block diagram which shows the gateway apparatus of the conventional Example.

符号の説明Explanation of symbols

1 ゲートウェイ装置
2 CPU
3a トランシーバ
3b トランシーバ
4a スイッチ
4b スイッチ
51 信号ライン
52 信号ライン
53 信号ライン
54 信号ライン
55 信号ライン
56 信号ライン
6 信号ライン
7a CANバスA
7b CANバスB
81 ユニットA
82 ユニットB
83 ユニットC
9a ネットワークA
9b ネットワークB
1 Gateway device 2 CPU
3a transceiver 3b transceiver 4a switch 4b switch 51 signal line 52 signal line 53 signal line 54 signal line 55 signal line 56 signal line 6 signal line 7a CAN bus A
7b CAN bus B
81 Unit A
82 Unit B
83 Unit C
9a Network A
9b Network B

Claims (2)

車内の車載装置を異なるバスで接続して複数の車内ネットワークを構成し、
複数の前記車内ネットワークは、
同じ通信プロトコルを用い、
前記車内ネットワーク全体に接続される車載装置の数に制限があるものであって、
異なる車内ネットワークに接続している車載装置間でのデータのやり取りを行うとともに、
待機状態の際には各車載装置とともにスリープ状態となる、
ゲートウェイ装置において、
通常の転送経路と別に異なるネットワークのバス間をスリープ状態の際に接続するスリープ接続手段を設け、
前記スリープ接続手段は前記ゲートウェイ装置の起動の際に非接続状態にする、
ことを特徴とするゲートウェイ装置。
Connect in-vehicle devices in the car with different buses to configure multiple in-car networks,
The plurality of in-vehicle networks are
Using the same communication protocol
There is a limit to the number of in-vehicle devices connected to the entire in-vehicle network,
While exchanging data between in-vehicle devices connected to different in-vehicle networks,
In the standby state, it goes to sleep with each in-vehicle device.
In the gateway device,
Provided with a sleep connection means to connect between different network buses in the sleep state separately from the normal transfer path,
The sleep connection means is disconnected when the gateway device is activated;
A gateway device characterized by that.
請求項1に記載されたゲートウェイ装置において、
演算制御を行うCPUが、送受信を行うトランシーバを介してバスに接続する構成にし、
前記スリープ接続手段が、
前記トランシーバとバスの途中の信号伝達経路をスイッチで接続するようにし、
CPUからの制御信号で前記スイッチが信号伝達経路の開閉を行うようにした、
ことを特徴とするゲートウェイ装置。
The gateway device according to claim 1,
The CPU that performs arithmetic control is configured to connect to the bus via a transceiver that performs transmission and reception,
The sleep connection means
The transceiver and the signal transmission path in the middle of the bus are connected by a switch,
The switch opens and closes the signal transmission path with a control signal from the CPU.
A gateway device characterized by that.
JP2003318813A 2003-09-10 2003-09-10 Gateway apparatus Pending JP2005086692A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2003318813A JP2005086692A (en) 2003-09-10 2003-09-10 Gateway apparatus

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2003318813A JP2005086692A (en) 2003-09-10 2003-09-10 Gateway apparatus

Publications (1)

Publication Number Publication Date
JP2005086692A true JP2005086692A (en) 2005-03-31

Family

ID=34417991

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2003318813A Pending JP2005086692A (en) 2003-09-10 2003-09-10 Gateway apparatus

Country Status (1)

Country Link
JP (1) JP2005086692A (en)

Cited By (12)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2008017595A (en) * 2006-07-05 2008-01-24 Matsushita Electric Ind Co Ltd Vehicle inverter device
JP2008043189A (en) * 2006-07-12 2008-02-21 Matsushita Electric Ind Co Ltd Inverter apparatus for vehicle
CN102555951A (en) * 2012-01-16 2012-07-11 河南科技大学 Whole automobile controller awakening method and circuit for new energy automobile
JP2013057994A (en) * 2011-09-07 2013-03-28 Mitsubishi Electric Corp Control system
JP2014086848A (en) * 2012-10-23 2014-05-12 Mitsubishi Electric Corp Communication system and communication method
JP2014165746A (en) * 2013-02-26 2014-09-08 Denso Corp Data relay device
CN104035395A (en) * 2014-03-12 2014-09-10 武汉英泰斯特电子技术有限公司 Low power consumption vehicle-mounted terminal and low power consumption achieving method of vehicle-mounted terminal
WO2019073721A1 (en) * 2017-10-10 2019-04-18 日立オートモティブシステムズ株式会社 Gateway device
JPWO2018235790A1 (en) * 2017-06-22 2020-02-27 日立オートモティブシステムズ株式会社 Vehicle control device
CN111532227A (en) * 2020-07-02 2020-08-14 深圳市法拉第电驱动有限公司 CAN network management method and system for electric vehicle controller
CN114731298A (en) * 2019-11-22 2022-07-08 株式会社自动网络技术研究所 Vehicle-mounted relay device and relay method
JP7405060B2 (en) 2020-10-26 2023-12-26 株式会社デンソー network system

Cited By (16)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2008017595A (en) * 2006-07-05 2008-01-24 Matsushita Electric Ind Co Ltd Vehicle inverter device
JP2008043189A (en) * 2006-07-12 2008-02-21 Matsushita Electric Ind Co Ltd Inverter apparatus for vehicle
JP2013057994A (en) * 2011-09-07 2013-03-28 Mitsubishi Electric Corp Control system
CN102555951A (en) * 2012-01-16 2012-07-11 河南科技大学 Whole automobile controller awakening method and circuit for new energy automobile
CN102555951B (en) * 2012-01-16 2014-05-28 河南科技大学 Whole automobile controller awakening method and circuit for new energy automobile
JP2014086848A (en) * 2012-10-23 2014-05-12 Mitsubishi Electric Corp Communication system and communication method
US9166910B2 (en) 2013-02-26 2015-10-20 Denso Corporation Data relay apparatus
JP2014165746A (en) * 2013-02-26 2014-09-08 Denso Corp Data relay device
CN104035395A (en) * 2014-03-12 2014-09-10 武汉英泰斯特电子技术有限公司 Low power consumption vehicle-mounted terminal and low power consumption achieving method of vehicle-mounted terminal
JPWO2018235790A1 (en) * 2017-06-22 2020-02-27 日立オートモティブシステムズ株式会社 Vehicle control device
WO2019073721A1 (en) * 2017-10-10 2019-04-18 日立オートモティブシステムズ株式会社 Gateway device
JPWO2019073721A1 (en) * 2017-10-10 2020-10-22 日立オートモティブシステムズ株式会社 Gateway device
US11115238B2 (en) 2017-10-10 2021-09-07 Hitachi Automotive Systems, Ltd. Gateway device
CN114731298A (en) * 2019-11-22 2022-07-08 株式会社自动网络技术研究所 Vehicle-mounted relay device and relay method
CN111532227A (en) * 2020-07-02 2020-08-14 深圳市法拉第电驱动有限公司 CAN network management method and system for electric vehicle controller
JP7405060B2 (en) 2020-10-26 2023-12-26 株式会社デンソー network system

Similar Documents

Publication Publication Date Title
EP2224311B1 (en) System and method for energy savings through emulation of wake on lan in energy efficient ethernet
JP2006164232A (en) Control method and dual processor structure of data communication between 1st processor and 2nd processor connected to 1st processor
JP2005086692A (en) Gateway apparatus
JP5221617B2 (en) COMMUNICATION DEVICE, COMMUNICATION SYSTEM, CONTROL METHOD, AND PROGRAM
KR20160146055A (en) Operating method of a communication node in automotive network
JPWO2018235790A1 (en) Vehicle control device
JP2009296280A (en) Communication network system, and communication control method thereof
CN103078756A (en) Mode switching method and CAN (Controller Area Network)
US20210352585A1 (en) Low energy power saving fast reconnect for wireless communications devices
US20220417346A1 (en) In-Vehicle Relay Device and Relay Method
JP2008293367A (en) Serial communication device
JP2002244833A (en) System, device and method for controlling printer
JP2005080158A (en) Wireless communication apparatus
JP5780310B2 (en) Electronic control device and microcomputer control method
JP2008283492A (en) Gateway device, and on-vehicle communication system
JP2004328262A (en) Usb hub device, usb peripheral device, and data transmission and reception method
US9619005B2 (en) Apparatus and method for saving power of USB device
CN111625484B (en) Communication device
JP4880739B2 (en) Wireless LAN system, data communication control method, and access point
JP5436176B2 (en) Information processing apparatus and control method thereof
JP6642990B2 (en) Communication device, control method, and program
JP6337783B2 (en) In-vehicle network system
JPH0638276A (en) Multiplex transmitter
JPWO2019073721A1 (en) Gateway device
JP3533419B2 (en) Communication device

Legal Events

Date Code Title Description
RD04 Notification of resignation of power of attorney

Effective date: 20051114

Free format text: JAPANESE INTERMEDIATE CODE: A7424