JP2011087112A - Network system and gateway device - Google Patents
Network system and gateway device Download PDFInfo
- Publication number
- JP2011087112A JP2011087112A JP2009238264A JP2009238264A JP2011087112A JP 2011087112 A JP2011087112 A JP 2011087112A JP 2009238264 A JP2009238264 A JP 2009238264A JP 2009238264 A JP2009238264 A JP 2009238264A JP 2011087112 A JP2011087112 A JP 2011087112A
- Authority
- JP
- Japan
- Prior art keywords
- ecu
- control message
- message
- control
- transmission
- 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.)
- Granted
Links
Images
Classifications
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L12/00—Data switching networks
- H04L12/02—Details
- H04L12/10—Current supply arrangements
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L12/00—Data switching networks
- H04L12/28—Data switching networks characterised by path configuration, e.g. LAN [Local Area Networks] or WAN [Wide Area Networks]
- H04L12/40—Bus networks
- H04L12/40006—Architecture of a communication node
- H04L12/40039—Details regarding the setting of the power status of a node according to activity on the bus
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L12/00—Data switching networks
- H04L12/66—Arrangements for connecting between networks having differing types of switching systems, e.g. gateways
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L69/00—Network arrangements, protocols or services independent of the application payload and not provided for in the other groups of this subclass
- H04L69/08—Protocols for interworking; Protocol conversion
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L67/00—Network arrangements or protocols for supporting network services or applications
- H04L67/50—Network services
- H04L67/56—Provisioning of proxy services
- H04L67/59—Providing operational support to end devices by off-loading in the network or by emulation, e.g. when they are unavailable
Landscapes
- Engineering & Computer Science (AREA)
- Computer Networks & Wireless Communication (AREA)
- Signal Processing (AREA)
- Computer Security & Cryptography (AREA)
- Small-Scale Networks (AREA)
Abstract
Description
この発明は、ネットワークマネジメント(以下、NMと称す)機能を備えたネットワークシステム及びゲートウェイ装置に関するものである。 The present invention relates to a network system and a gateway device having a network management (hereinafter referred to as NM) function.
自動車や船舶では、搭載されている電子制御装置(以下、ECUと称す)により制御が行われている。複数のECU間で協調し、自動車や船舶の制御を行うためには、制御対象の状態などの情報をECU間で共有する必要がある。そこで、各ECU間はネットワークで接続され、情報をメッセージとしてネットワーク上で送受信している。
ネットワークによっては、通信の信頼性を向上させるために、ネットワークマネジメント機能が用いられる。このNM機能とは、各ECUで同期してECUのノーマル状態(通常動作状態)やスリープ状態を変更させる機能である。この機能を用いることによって、例えば、全ECUを同期してスリープ状態へ遷移させることにより、消費電力を節約することができる。
In automobiles and ships, control is performed by an electronic control device (hereinafter referred to as ECU). In order to cooperate between a plurality of ECUs and control a car or a ship, it is necessary to share information such as the state of a control target between the ECUs. Therefore, the ECUs are connected by a network, and information is transmitted and received as messages on the network.
In some networks, a network management function is used to improve communication reliability. The NM function is a function that changes the normal state (normal operation state) and sleep state of the ECU in synchronization with each ECU. By using this function, for example, the power consumption can be saved by shifting all ECUs to the sleep state in synchronization.
NM機能を実現するには、ECUはECUの状態を示すNMメッセージを送受信する。非特許文献1では、ECUはNMメッセージとして、リングメッセージを用いる。例えば、ECUがノーマル状態中に、スリープ状態へ遷移可能(スリープ可能状態)であることを示すフラグを設定したリングメッセージを送信し、受信した他のECUがスリープ状態への遷移を許可した場合、全ECUはスリープ状態へ同期して遷移することができる。
非特許文献2、3では、ECUは周期的にNMメッセージを送信する。このNMメッセージは、ECUがノーマル状態であることを示す場合に送信し、スリープ可能状態である場合には送信しない。NMメッセージを受信しなくなると、各ECUは他の全ECUがスリープ可能状態であると判断し、スリープ状態へ同期して遷移することができる。
NM機能を運用するには、ネットワークに接続する全ECUがこの機能を備えていなくてはならない。NM機能を備えたECU(以下、NM対応ECUと称す)と、NM機能を備えていないECU(以下、NM未対応ECUと称す)が混在するネットワークシステムでは、NM対応ECUがスリープ状態に遷移すると、NM未対応ECUは、NMメッセージを送信しないため、NM対応ECUをウェイクアップすることができず、NM未対応ECUが必要とする制御メッセージを受信できなくなる。
In order to realize the NM function, the ECU transmits and receives an NM message indicating the state of the ECU. In
In Non-Patent Documents 2 and 3, the ECU periodically transmits NM messages. This NM message is transmitted when the ECU indicates that it is in a normal state, and is not transmitted when it is in a sleep enabled state. When the NM message is not received, each ECU determines that all other ECUs are in a sleep-enabled state, and can make a transition in synchronization with the sleep state.
In order to operate the NM function, all ECUs connected to the network must have this function. In a network system in which an ECU having an NM function (hereinafter referred to as an NM-compatible ECU) and an ECU not having an NM function (hereinafter referred to as an NM-non-compatible ECU) are mixed, the NM-compatible ECU transitions to a sleep state. Since the NM non-compliant ECU does not transmit the NM message, the NM non-compliant ECU cannot wake up and cannot receive the control message required by the NM non-compliant ECU.
NM未対応ECUを変更せずにNM対応ECUと接続し、NM機能を運用する方法として、特許文献1では、NM未対応ECUを、NM機能を備えたゲートウェイ装置(以下、G/W装置と称す)を介してNM対応ECUと接続する方法を提案している。
As a method of operating an NM function by connecting an NM non-compliant ECU without changing the NM non-compliant ECU, in
しかしながら、特許文献1では、G/W装置はNM機能を運用するために、NM未対応ECUの状態を検出するための検知用信号線や、NM未対応ECUの状態を変更するための移行用信号線を、G/W装置とNM未対応ECU間で接続する必要があった。したがって、信号線の配索量が増加することにより、信号線の配索が複雑化するという問題があった。
さらに、特許文献1では、NM未対応ECUはスリープ状態へ遷移する機能を備えていることが前提となっており、スリープ状態へ遷移することが想定されていないNM未対応ECUには適用できず、NM未対応ECUの変更が必要になり、開発工数やコストが増大するといった問題があった。
However, in
Furthermore, in
この発明は、上述のような課題を解決するためになされたものであり、NM未対応ECUであっても、NM機能を運用するための信号線を接続する必要がなく、またスリープ状態へ遷移することが想定されていないNM未対応ECUであっても、NM対応ECUに接続可能とするネットワークシステム及びG/W装置を得ることを目的としている。 The present invention has been made in order to solve the above-described problems. Even in an ECU that does not support NM, it is not necessary to connect a signal line for operating the NM function, and a transition to the sleep state is made. An object of the present invention is to obtain a network system and a G / W device that can be connected to an NM-compatible ECU even if the ECU is not supposed to be NM-compliant.
この発明に係わるネットワークシステムにおいては、NM対応ECU及びNM機能を備えたG/W装置が、第1の通信線を介して接続されるとともに、NM未対応ECU及びG/W装置が、第2の通信線を介して接続されたネットワークシステムであって、
G/W装置は、
第1の通信線を介して情報の送受信を行う第1の通信手段と、
第2の通信線を介して情報の送受信を行う第2の通信手段と、
第1の通信手段及び第2の通信手段の間に配置され、NM未対応ECU及びNM対応ECU間で送受信される制御メッセージを中継する制御メッセージ処理手段と、
第1の通信線を介して、NM機能を実行するためのNMメッセージを送受信するように構成され、NMメッセージを第1の所定期間、受信しない場合に、NM対応ECUがノーマル状態でないことを示すリモートスリープフラグをセットするNM処理手段と、
制御メッセージ処理手段によってNM未対応ECUから受信された制御メッセージについて、リモートスリープフラグの状態に応じて、NM対応ECUへ送信する必要があるかどうかを判定し、この判定結果を制御メッセージ処理手段に伝える制御メッセージ送信判定手段と、
この制御メッセージ送信判定手段によって、制御メッセージが送信不要と判定された場合に、NM処理手段にNMメッセージの送信停止を指示するNMメッセージ送信判定手段とを備えたものである。
In the network system according to the present invention, the NM compatible ECU and the G / W device having the NM function are connected via the first communication line, and the NM non-compatible ECU and the G / W device are the second A network system connected via a communication line of
G / W device
First communication means for transmitting and receiving information via a first communication line;
A second communication means for transmitting and receiving information via a second communication line;
A control message processing unit that is arranged between the first communication unit and the second communication unit and relays a control message transmitted and received between the NM non-compatible ECU and the NM compatible ECU;
An NM message for executing the NM function is configured to be transmitted / received via the first communication line, and indicates that the NM-compatible ECU is not in a normal state when the NM message is not received for the first predetermined period. NM processing means for setting a remote sleep flag;
The control message received from the non-NM-compatible ECU by the control message processing means determines whether it is necessary to transmit to the NM-compatible ECU according to the state of the remote sleep flag, and the determination result is sent to the control message processing means. A control message transmission judging means for communicating;
The control message transmission determining means includes an NM message transmission determining means for instructing the NM processing means to stop transmitting the NM message when it is determined that the control message is not required to be transmitted.
この発明は、以上説明したように、NM対応ECU及びNM機能を備えたG/W装置が、第1の通信線を介して接続されるとともに、NM未対応ECU及びG/W装置が、第2の通信線を介して接続されたネットワークシステムであって、
G/W装置は、
第1の通信線を介して情報の送受信を行う第1の通信手段と、
第2の通信線を介して情報の送受信を行う第2の通信手段と、
第1の通信手段及び第2の通信手段の間に配置され、NM未対応ECU及びNM対応ECU間で送受信される制御メッセージを中継する制御メッセージ処理手段と、
第1の通信線を介して、NM機能を実行するためのNMメッセージを送受信するように構成され、NMメッセージを第1の所定期間、受信しない場合に、NM対応ECUがノーマル状態でないことを示すリモートスリープフラグをセットするNM処理手段と、
制御メッセージ処理手段によってNM未対応ECUから受信された制御メッセージについて、リモートスリープフラグの状態に応じて、NM対応ECUへ送信する必要があるかどうかを判定し、この判定結果を制御メッセージ処理手段に伝える制御メッセージ送信判定手段と、
この制御メッセージ送信判定手段によって、制御メッセージが送信不要と判定された場合に、NM処理手段にNMメッセージの送信停止を指示するNMメッセージ送信判定手段とを備えたので、G/W装置は、NM未対応ECUから受信した制御メッセージに基づき、NM機能を実行するため、G/W装置とNM未対応ECUの間に、NM未対応ECUの状態を監視するための信号線を接続する必要がなく、またスリープ状態へ遷移することが想定されていないNM未対応ECUであっても、NM対応ECUに接続することができる。
これにより、NM信号線を接続するのに必要なコストを削減できる上、NM信号線の配索の複雑化を抑えることができる。また、NM未対応ECUを変更する必要がなく、開発工数やコストを抑えることができるという効果を奏する。
As described above, according to the present invention, the NM compatible ECU and the G / W device having the NM function are connected via the first communication line, and the NM non-compatible ECU and the G / W device are A network system connected via two communication lines,
G / W device
First communication means for transmitting and receiving information via a first communication line;
A second communication means for transmitting and receiving information via a second communication line;
A control message processing unit that is arranged between the first communication unit and the second communication unit and relays a control message transmitted and received between the NM non-compatible ECU and the NM compatible ECU;
An NM message for executing the NM function is configured to be transmitted / received via the first communication line, and indicates that the NM-compatible ECU is not in a normal state when the NM message is not received for the first predetermined period. NM processing means for setting a remote sleep flag;
The control message received from the non-NM-compatible ECU by the control message processing means determines whether it is necessary to transmit to the NM-compatible ECU according to the state of the remote sleep flag, and the determination result is sent to the control message processing means. A control message transmission judging means for communicating;
Since the control message transmission determining means includes the NM message transmission determining means for instructing the NM processing means to stop transmitting the NM message when it is determined that the control message is not required to be transmitted, the G / W device Since the NM function is executed based on the control message received from the unsupported ECU, there is no need to connect a signal line for monitoring the state of the NM unsupported ECU between the G / W device and the NM unsupported ECU. Further, even an NM non-compliant ECU that is not supposed to transition to the sleep state can be connected to the NM compatible ECU.
As a result, the cost required to connect the NM signal lines can be reduced, and the complexity of the wiring of the NM signal lines can be suppressed. In addition, there is no need to change the NM non-compliant ECU, and it is possible to reduce development man-hours and costs.
実施の形態1.
図1は、この発明の実施の形態1による車載ネットワークシステムを示す構成図であり、ハイブリッド自動車で想定される車載ネットワークシステムの一部を示している。
図1において、車載ネットワークシステムは、AUTOSAR仕様に準拠したNM対応ECUであるエンジン制御ECU101が、AUTOSAR仕様に準拠したNM機能を備えたG/W装置102と通信プロトコルFlexRay(登録商標)に準拠して動作する第1の通信線106によって接続される。
また、NM未対応ECUであるモータ制御ECU103、バッテリマネジメントECU104、ハイブリッド制御ECU105が、G/W装置102と通信プロトコルCANに準拠して動作する第2の通信線107によって接続されている。
エンジン制御ECU101には、発電用エンジン108、モータ制御ECU103にはモータ109とモータ用のトルクセンサ110がそれぞれ接続されている。
FIG. 1 is a configuration diagram showing an in-vehicle network system according to
In FIG. 1, an in-vehicle network system is such that an
Further, a
A
モータ制御ECU103は、モータ109を制御して車両を駆動するほか、モータ109の出力をトルクセンサ110により検出し、トルク値情報を制御メッセージとして送信する。
ハイブリッド制御ECU105は、車両の挙動を監視し、受信した制御メッセージのトルク値情報が所定の値以下となった場合には、トルク低下の情報を制御メッセージとして送信する。
バッテリマネジメントECU104は、バッテリ充電状態を監視し、ハイブリッド制御ECU105から、トルクが低下しているとの情報を制御メッセージとして受信し、バッテリの充電量が不足していると判断した場合には、エンジンの出力増加を要求する発電要求フラグをセットした制御メッセージを送信する。
エンジン制御ECU101は、ノーマル状態時には、発電用エンジン108を駆動して発電を行い、発電用エンジン108の状態を送信したり、トルク値情報の制御メッセージや、発電要求フラグに関する制御メッセージを受信する他、NM機能の実行に必要な自ECUの状態を示すNMメッセージを送受信する。一方、発電を行う必要がない場合で、G/W装置102から所定の期間、NMメッセージを受信しない場合には、消費電力を節約するため、スリープ状態に入り、NMメッセージを送信しない。この状態では、トルク値情報や発電要求フラグがセットされていない制御メッセージを受信する必要はないが、発電要求フラグをセットした制御メッセージは、スリープ状態からノーマル状態へ遷移して受信する必要がある。
G/W装置102は、エンジン制御ECU101がノーマル状態時には、エンジン制御ECU101とNMメッセージを送受信し、また、第2の通信線107を介して、他のECUから送信される制御メッセージを、第1の通信線106を介して、エンジン制御ECU101へ送信する。逆に、第1の通信線106を介してエンジン制御ECU101から送信される制御メッセージを、第2の通信線107を介して他のECUへ送信する。
The
The
The
In the normal state, the
The G /
図2は、この発明の実施の形態1による車載ネットワークシステムのG/W装置を示す構成図である。
図2において、G/W装置102は、第1の通信処理手段201(第1の通信手段)、第2の通信処理手段202(第2の通信手段)、制御メッセージ処理手段203、NM処理手段204、制御メッセージ送信判定手段205、送信判定用テーブル206、NMメッセージ送信判定手段207からなる。
第1の通信処理手段201は、第1の通信線106を介して、通信規格FlexRayに準拠した通信制御を行い、第2の通信処理手段202は、第2の通信線107を介して、通信規格CANに準拠した通信制御を行う。また、第1の通信処理手段201は、受信したメッセージの識別子から、そのメッセージがNMメッセージであるか制御メッセージであるかを判断し、NMメッセージである場合には、NM処理手段204へ、制御メッセージである場合には、制御メッセージ処理手段203へ、このメッセージを渡す。
制御メッセージ処理手段203は、第1の通信線106を介してエンジン制御ECU101から制御メッセージを受信すると、第2の通信線107を介して、NM未対応ECUへこの制御メッセージを送信する。また、第2の通信線107を介して、NM未対応ECUから制御メッセージを受信すると、その制御メッセージの情報を制御メッセージ送信判定手段205へ通知する。そして制御メッセージ送信判定手段205が制御メッセージ送信停止フラグをセットした場合には、この制御メッセージを破棄するとともに、制御メッセージ送信停止フラグをクリアする。制御メッセージ送信判定手段205が、制御メッセージ送信フラグをセットした場合には、この制御メッセージを第1の通信線106を介して、NM対応ECUであるエンジン制御ECU101へ送信するとともに、制御メッセージ送信フラグをクリアする。
FIG. 2 is a configuration diagram showing the G / W device of the in-vehicle network system according to
In FIG. 2, the G /
The first
When the control message processing means 203 receives a control message from the
NM処理手段204は、所定の期間(第1の所定期間)、NMメッセージを受信しないと、エンジン制御ECU101がスリープ状態であるか、スリープ可能状態であると判断し、リモートスリープフラグをセットする。一方、NMメッセージを受信すると、エンジン制御ECU101がノーマル状態であると判断し、リモートスリープフラグをクリアする。また、NMメッセージ送信停止フラグがクリアされている場合には、NMメッセージを周期的に送信し、エンジン制御ECU101がスリープ状態へ遷移することを防ぐ。
制御メッセージ送信判定手段205は、リモートスリープフラグがセットされている場合に、制御メッセージ処理手段203から、NM未対応ECUからの制御メッセージの情報を受け取ると、この情報を用いて送信判定用テーブル206を参照し、第1の通信線106を介してエンジン制御ECU101へ送信すべきメッセージかどうかを判断する。送信必要と判断した場合には、制御メッセージ送信フラグをセットし、送信不要と判断した場合には、制御メッセージ送信停止フラグをセットする。
If the
When the remote message flag is set, the control message
送信判定用テーブル206は、制御メッセージ送信判定手段205から参照される、後述する図5に示す、NM未対応ECUから受信する制御メッセージの情報とその送信の必要性を対応付けたテーブルである。
NMメッセージ送信判定手段207は、制御メッセージ送信停止フラグがセットされた場合に、NMメッセージ送信停止フラグをセットする。一方、NMメッセージ送信停止フラグがセットされている間に、制御メッセージ送信開始フラグがセットされた場合には、NMメッセージ送信停止フラグをクリアする。
The transmission determination table 206 is a table in which information on a control message received from an NM incompatible ECU shown in FIG.
The NM message transmission determination means 207 sets the NM message transmission stop flag when the control message transmission stop flag is set. On the other hand, if the control message transmission start flag is set while the NM message transmission stop flag is set, the NM message transmission stop flag is cleared.
なお、実施の形態1では、第1の通信処理手段201は、FlexRay、第2の通信処理手段202はCANに準拠して動作するものとしたが、第1の通信手段201と第2の通信手段202の通信規格が同じであったり、第1の通信処理手段201や第2の通信処理手段202がシリアル通信など他の通信規格で通信を行っても良い。
In the first embodiment, the first
また、実施の形態1では、AUTOSAR仕様に準拠したNM機能としたが、OSEKや、その他の同様のNM機能であってもよい。 In the first embodiment, the NM function conforms to the AUTOSAR specification. However, OSEK or other similar NM functions may be used.
図3は、この発明の実施の形態1による車載ネットワークシステムのG/W装置がNM対応ECUからNMメッセージや制御メッセージを受信した場合の処理内容を示すフローチャートである。
図4は、この発明の実施の形態1による車載ネットワークシステムのG/W装置がNM未対応ECUから制御メッセージを受信した場合の処理内容を示すフローチャートである。
FIG. 3 is a flowchart showing processing contents when the G / W device of the in-vehicle network system according to
FIG. 4 is a flowchart showing the processing contents when the G / W device of the in-vehicle network system according to
図5は、この発明の実施の形態1による車載ネットワークシステムの制御メッセージ送信判定手段が参照する送信判定用テーブルを示す図である。
図5において、送信判定用テーブル206は、制御メッセージ送信判定手段205から参照され、NM未対応ECUから受信する制御メッセージの情報とその送信の必要性を対応付けたテーブルである。情報として、発電要求フラグ、トルク値情報がある。発電要求フラグがセットされていれば(1)、送信要であり、セットされていなければ(0)、送信不要である。また、トルク値情報は、フラグに関わらず、送信不要であることを示している。
FIG. 5 is a diagram showing a transmission determination table referred to by the control message transmission determination means of the in-vehicle network system according to
In FIG. 5, a transmission determination table 206 is a table that is referred to by the control message
次に、G/W装置102の処理について、図3と図4のフローチャートに沿って説明する。
まず、図3により説明する。
ST301
第1の通信処理手段201は、受信したメッセージの識別子から、メッセージがNMメッセージであるか、制御メッセージであるかを判断する。NMメッセージである場合には、ST302へ進む。制御メッセージである場合には、ST308へ進む。
ST302
第1の通信処理手段201は、NM処理手段204へ受信したNMメッセージを渡す。
Next, processing of the G /
First, a description will be given with reference to FIG.
ST301
The first
ST302
The first
ST303
NM処理手段204は、NMメッセージを受信すると、エンジン制御ECU101がノーマル状態であると判断し、リモートスリープフラグの状態を確認する。リモートスリープフラグがセットされている場合には、ST304へ進む。リモートスリープフラグがクリアされている場合には、処理を終了する。
ST304
NM処理手段204は、リモートスリープフラグをクリアする。
ST305
NMメッセージ送信判定手段207は、NMメッセージ送信停止フラグがセットされているかどうかを確認する。セットされている場合には、ST306へ進む。クリアされている場合には、NMメッセージの処理を行う必要がなく、処理を終了する。
ST306
NMメッセージ送信判定手段207は、NMメッセージ送信停止フラグをクリアする。
ST307
NM処理手段204は、NMメッセージ送信停止フラグのクリアを受けて、NMメッセージの送信を開始し、処理を終了する。
ST308
第1の通信処理手段201は、制御メッセージ処理手段203へ受信した制御メッセージを渡す。
ST309
制御メッセージ処理手段203は、受信した制御メッセージを第2の通信処理手段202へ渡し、第2の通信処理手段202は、第2の通信線107を介して、モータ制御ECU103やバッテリマネジメントECU104へ制御メッセージを送信し、処理を終了する。
ST303
When receiving the NM message, the
ST304
The
ST305
The NM message
ST306
The NM message
ST307
The
ST308
The first
ST309
The control
次に図4について説明する。図4は、G/W装置102がNM未対応ECUから制御メッセージを受信した場合のフローを示している。
ST401
制御メッセージ処理手段203は、第2の通信処理手段202から制御メッセージを受信すると、この制御メッセージの情報を制御メッセージ送信判定手段205へ通知する。
ST402
制御メッセージ送信判定手段205は、リモートスリープフラグの状態を確認する。リモートスリープフラグがセットされている場合には、制御メッセージの受信側であるエンジン制御ECU101は、スリープ状態であると判断でき、ST403へ進む。リモートスリープフラグがクリアされている場合には、エンジン制御ECU101はノーマル状態であると判断でき、ST409へ進む。
ST403
制御メッセージ送信判定手段205は、制御メッセージ処理手段203から受け取った情報に基づいて、この制御メッセージをエンジン制御ECU101へ送信する必要があるかどうかを判定する。この判定には、制御メッセージ送信判定手段205が参照する送信判定用テーブル206を参照する。ここで、判定結果が送信「不要」の場合には、ST404へ進む。送信「要」の場合には、ST409へ進む。
Next, FIG. 4 will be described. FIG. 4 shows a flow when the G /
ST401
When the control
ST402
The control message
ST403
Based on the information received from the control
ST404
制御メッセージ送信判定手段205は、送信「不要」と判定したため、制御メッセージ送信停止フラグをセットする。
ST405
制御メッセージ処理手段203は、送信「不要」と判定された制御メッセージを破棄するとともに、制御メッセージ送信停止フラグをクリアし、ST406へ進む。
ST406
NMメッセージ送信判定手段207は、NMメッセージ送信停止フラグがクリアされているかどうかを確認する。セットされている場合には、G/W装置102は、すでにNMメッセージの送信を停止しているため、処理を終了する。クリアされている場合には、ST407へ進む。
ST407
NMメッセージ送信判定手段207は、NMメッセージ送信停止フラグをセットする。
ST404
Since the control message
ST405
Control
ST406
The NM message
ST407
The NM message
ST408
NM処理手段204は、NMメッセージ送信停止フラグがセットされたことを受けて、NMメッセージの送信を停止し、処理を終了する。
ST409
制御メッセージ送信判定手段205は、制御メッセージを送信すべきと判定したため、制御メッセージ送信フラグをセットする。
ST410
NMメッセージ送信判定手段207は、NMメッセージ送信停止フラグがセットされているか否かを確認する。セットされている場合には、ST411へ進む。クリアされている場合には、NMメッセージの処理を行う必要がなく、ST413へ進む。
ST411
NMメッセージ送信判定手段207は、NMメッセージ送信停止フラグをクリアする。
ST412
NM処理手段204は、NMメッセージ送信停止フラグのクリアを受けて、NMメッセージの送信を開始する。これにより、エンジン制御ECU101がスリープ状態であった場合には、ノーマル状態へ遷移する。
ST413
制御メッセージ処理手段203は、制御メッセージを第1の通信処理手段201から、制御メッセージを送信し、制御メッセージ送信フラグをクリアし、処理を終了する。
ST408
In response to the NM message transmission stop flag being set, the
ST409
Since the control message
ST410
The NM message
ST411
The NM message
ST412
The
ST413
The control
次に、図4のフローチャートにおいて、エンジン制御ECU101がノーマル状態、すなわち図3で説明したように、G/W装置102がエンジン制御ECU101からのNMメッセージを受信しており、NM処理手段204がリモートスリープフラグをクリアしている状態であるときに、G/W装置102が、バッテリマネジメントECU104が送信する発電要求フラグがセットされていない制御メッセージを受信した場合について説明する。
Next, in the flowchart of FIG. 4, the
ST401において、制御メッセージ処理手段203は、制御メッセージ送信判定手段205へ制御メッセージに含まれる発電要求フラグを渡す。ST402において、制御メッセージ送信判定手段205は、リモートスリープフラグがクリアされているため、ST409に進み、発電要求フラグを含む制御メッセージの制御メッセージ送信フラグをセットする。エンジン制御ECU101がノーマル状態であれば、NMメッセージ送信停止フラグはクリアされているため、ST410において、NMメッセージ送信判定手段207は、NMメッセージ送信停止フラグがクリアされていると判定し、ST413へ進む。そして、制御メッセージ処理手段203は、この制御メッセージをエンジン制御ECU101へ送信し、エンジン制御ECU101は受信した発電要求フラグの状態に基づいて、発電用エンジン108の制御を行う。
このように、エンジン制御ECU101がノーマル状態である場合には、発電要求フラグの値に関わらず、G/W装置102は、制御メッセージをエンジン制御ECU101へ送信する。
In ST401, the control
Thus, when the
続いて図4のフローチャートにおいて、エンジン制御ECU101がスリープ状態、すなわちG/W装置102がエンジン制御ECU101からのNMメッセージを所定の期間受信しないため、NM処理手段204がリモートスリープフラグをセットしており、またG/W装置102も、NMメッセージの送信を停止している状態であるときに、G/W装置102が、バッテリマネジメントECU104が送信する発電要求フラグがセットされていない制御メッセージを受信した場合について説明する。発電要求フラグがセットされていない制御メッセージは、前述の通りスリープ状態のエンジン制御ECU101が受信する必要はない。
ST401において、制御メッセージ処理手段203は、制御メッセージ送信判定手段205へ制御メッセージに含まれる発電要求フラグを渡す。ST402において、制御メッセージ送信判定手段205はリモートスリープフラグがセットされているため、ST403に進み、図5の送信判定用テーブル206を用いて発電要求フラグの送信の必要性を判定する。ここで、送信判定結果は送信「不要」となるため、ST404において、制御メッセージ送信判定手段205は、制御メッセージ送信停止フラグをセットする。このフラグに基づき、ST405において、制御メッセージ処理手段203は、発電要求フラグを含む制御メッセージを破棄し、制御メッセージ送信停止フラグをクリアする。さらにST406において、NMメッセージ送信停止フラグがセットされているか確認する。この場合、NMメッセージの送信はすでに停止しているため、NMメッセージ送信停止フラグはセットされており、処理を終了する。
このように、エンジン制御ECU101がスリープ状態である場合には、発電要求フラグがセットされていなければ、G/W装置102は、NMメッセージと発電要求フラグを含む制御メッセージをエンジン制御ECU101へ送信しない。したがって、エンジン制御ECU101はスリープ状態からノーマル状態へ不必要に遷移する必要がなく、消費電力を節約することができる。
Subsequently, in the flowchart of FIG. 4, since the
In ST401, the control
Thus, when the
続いて図4のフローチャートにおいて、エンジン制御ECU101がスリープ状態であり、またG/W装置102も、NMメッセージの送信を停止している状態であるときに、G/W装置102が、発電要求フラグがセットされた制御メッセージを受信した場合について説明する。
発電要求フラグがセットされた制御メッセージは、前述のとおり、スリープ状態のエンジン制御ECU101は、ノーマル状態へ遷移して受信する必要がある。
ST401において、制御メッセージ処理手段203は、制御メッセージ送信判定手段205へ制御メッセージに含まれる発電要求フラグを渡す。ST402において、制御メッセージ送信判定手段205は、リモートスリープフラグがセットされているため、ST403に進み、図5の送信判定用テーブル206を用いて、発電要求フラグの送信の必要性を判定する。ここで、発電要求フラグは、セットされているため、送信判定結果は送信「要」となり、ST409において、制御メッセージ送信判定手段205は、制御メッセージ送信フラグをセットする。
続いてST410では、エンジン制御ECU101がスリープ状態であり、またNMメッセージ送信停止フラグはセットされているため、ST411へ進む。NMメッセージ送信判定手段207がNMメッセージ送信停止フラグをクリアし、ST412において、NM処理手段204は、NMメッセージの送信を開始する。これにより、エンジン制御ECU101はスリープ状態からノーマル状態へ遷移し、制御メッセージを受信できる状態となる。そして、ST413において、制御メッセージ処理手段203は、発電要求フラグがセットされた制御メッセージをエンジン制御ECU101へ送信し、制御メッセージ送信フラグをクリアする。
このように、G/W装置102は、発電要求フラグがセットされている制御メッセージを受信した場合には、スリープ状態のエンジン制御ECU101であっても、スリープ状態からノーマル状態へ遷移させて、この制御メッセージを送信し、エンジン制御ECU101は、発電要求の制御メッセージを受けて、エンジン駆動して発電し、車両走行に必要なモータトルクを得られるようになる。
Subsequently, in the flowchart of FIG. 4, when the
As described above, the
In ST401, the control
Subsequently, in ST410, the
As described above, when the G /
実施の形態1によれば、G/W装置102は、NM未対応ECUから受信した制御メッセージと、NM対応ECUの状態に基づいて、NMメッセージの送信の必要性を判定することから、G/W装置102とNM未対応ECUの間に、NM未対応ECUの状態を監視したり、NM未対応ECUの状態を遷移させたりするための信号線を接続する必要がない。特に、本実施の形態1で示したように、NM未対応ECUが複数ある場合であっても、信号線が必要ないため、配索の複雑化を抑えることができる。
これにより、NM信号線を接続するのに必要なコストを削減できる上、NM信号線の配索による信号線の複雑化を抑えることができる。
また、モータ制御ECU103のように、既存のスリープ状態へ遷移することが想定されていないNM未対応ECUであっても変更することなく、G/W装置102を介することで、NM対応のエンジン制御ECU101と接続することが可能となる。これにより、NM未対応ECUの変更工数が不要のためコストを抑えることができる。
According to the first embodiment, the G /
As a result, the cost required for connecting the NM signal lines can be reduced, and the complexity of the signal lines due to the wiring of the NM signal lines can be suppressed.
Moreover, even if it is an NM non-corresponding ECU that is not supposed to transition to an existing sleep state like the
さらにまた、スリープ状態にあるNM対応ECUが制御メッセージを受信する必要がある場合には、G/W装置102のNMメッセージ送信判定手段207がNMメッセージの送信を開始することにより、NM対応ECUをスリープ状態からノーマル状態へ遷移させることができ、NM対応ECUが制御を開始することができる。
さらにまた、制御メッセージ送信判定手段205が、NM未対応ECUから受信した制御メッセージに含まれる情報を用いて制御メッセージの送信の必要性を判断することにより、スリープ状態のNM対応ECUをノーマル状態へ遷移させる条件を細かく設定することができ、NM対応ECUを不必要にノーマル状態へ遷移させることがなく、NM対応ECUの消費電力を低減することができる。
Furthermore, when it is necessary for the NM compatible ECU in the sleep state to receive the control message, the NM message transmission determining means 207 of the G /
Furthermore, the control message transmission determining means 205 determines the necessity of transmitting the control message using information included in the control message received from the NM non-compliant ECU, thereby setting the NM compatible ECU in the sleep state to the normal state. The conditions for transition can be set in detail, and the power consumption of the NM-compatible ECU can be reduced without unnecessarily transitioning the NM-compatible ECU to the normal state.
なお、本フローチャートでは、リモートスリープフラグの状態に関わらず、制御メッセージ処理手段203は、制御メッセージの情報を制御メッセージ送信判定手段205へ通知しているが、リモートスリープフラグがセットされている場合においてのみ、制御メッセージ処理手段203が制御メッセージの情報を制御メッセージ送信判定手段205へ通知する方法であっても良い。
In this flowchart, the control
また、制御メッセージ送信判定手段205は、制御メッセージ送信停止フラグと制御メッセージ送信フラグの2つを用いているが、制御メッセージ送信停止フラグのみ保持し、制御メッセージ処理手段203は、所定の期間、制御メッセージ送信判定手段205から制御メッセージ送信停止フラグを受け取らなかった場合には、送信可と判断してこの制御メッセージを送信する方法であっても良い。
The control message
さらにまた、バッテリマネジメントECUが、発電要求フラグがセットされていない制御メッセージを送信し、その制御メッセージがエンジン制御ECU101へ送信されたかどうかを判断する必要がある場合には、G/W装置102の制御メッセージ処理手段203は、制御メッセージ送信停止フラグがセットされ、発電要求フラグがセットされていない制御メッセージを破棄すると共に、この制御メッセージを送信したバッテリマネジメントECU104に対して、制御メッセージの送信が未完了であることを示すメッセージを送信しても良い。
このようにすることで、バッテリマネジメントECU104は、発電要求フラグを含む制御メッセージに対して応答がない場合であっても、受信側のエンジン制御ECU101にエラーが発生しているのか、またはスリープ状態であるのか、判断することができるため、適切な制御を行うことができる。
Further, when the battery management ECU transmits a control message in which the power generation request flag is not set and it is necessary to determine whether or not the control message is transmitted to the
In this way, even if the
実施の形態2.
実施の形態2は、電気自動車で想定される車載ネットワークシステムについてのものである。
図6は、この発明の実施の形態2による車載ネットワークシステムを示す構成図であり、電気自動車で想定される車載ネットワークシステムの一部を示している。
図6において、電気自動車で想定される車載ネットワークシステムでは、AUTOSAR仕様に準拠したNM対応ECUであるメータ制御ECU601が、AUTOSAR仕様に準拠したNM機能を備えたG/W装置602と通信プロトコルCANに準拠して動作する第1の通信線605によって接続され、NM未対応ECUである充電器接続管理ECU603、バッテリマネジメントECU604が、このG/W装置602と通信プロトコルCANに準拠して動作する第2の通信線606によって接続されている。
メータ制御ECU601には、インストルメントパネル(以下、インパネ)607、充電器接続管理ECU603には、充電器コネクタ608、バッテリマネジメントECU604には、バッテリ609が、それぞれ接続されている。
Embodiment 2. FIG.
The second embodiment relates to an in-vehicle network system assumed for an electric vehicle.
FIG. 6 is a block diagram showing an in-vehicle network system according to Embodiment 2 of the present invention, and shows a part of the in-vehicle network system assumed for an electric vehicle.
In FIG. 6, in an in-vehicle network system assumed for an electric vehicle, a
An instrument panel (hereinafter, instrument panel) 607 is connected to the
充電器接続管理ECU603は、充電器コネクタ608が外部の充電器に接続されているか否かの情報(以下、コネクタ接続情報)を制御メッセージとして周期送信する。
バッテリマネジメントECU604は、バッテリ609の充電状態を監視し、充電量の情報(以下、充電量情報)を制御メッセージとして周期送信する。
メータ制御ECU601は、ノーマル状態では、コネクタ接続情報や充電量情報の制御メッセージを受信し、充電器コネクタ608が外部の充電器に接続されているかどうかの情報やバッテリ充電量をインパネ607に表示する他、NMメッセージを送受信する。
一方、充電器コネクタ608が外部充電器に接続され、バッテリ充電量がフルになった場合には、インパネ607で表示する必要がないと判断し、スリープ状態へ移行し、NMメッセージを送信しない。したがって、この状態では、コネクタ接続情報や充電量情報を受信する必要がない。
G/W装置602は、メータ制御ECU601からNMメッセージを受信する間は、メータ制御ECU601に対して、NMメッセージを送信し、また、第2の通信線606を介して充電器接続管理ECU603などのNM未対応ECUから送信される制御メッセージを、第1の通信線605を介して、メータ制御ECUへ送信する。逆に、第1の通信線605を介してメータ制御ECU601から送信される制御メッセージを、第2の通信線606を介してNM未対応ECUへ送信する。
The charger
The
In the normal state, the
On the other hand, when the
While receiving the NM message from the
G/W装置602の構成は、第1の通信処理手段が、通信規格CANに準拠した通信制御を行うことを除き、実施の形態1で示したものと同じであるため、その説明は省略する。
実施の形態2における送信判定用テーブル206の内容は、後述する図8に示すとおりである。前述のように、メータ制御ECU601は、コネクタ接続情報が接続を示し、かつ充電量情報がフルを示す場合には、インパネ607に表示する必要がないため、制御メッセージ送信判定手段205は、この送信判定用テーブル206を用いて、条件を満たす場合は送信不要と判断する。
The configuration of the G /
The contents of the transmission determination table 206 in the second embodiment are as shown in FIG. As described above, the
図7は、この発明の実施の形態2による車載ネットワークシステムのG/W装置がNM未対応ECUから制御メッセージを受信した場合の処理内容を示すフローチャートである。 FIG. 7 is a flowchart showing the processing contents when the G / W device of the in-vehicle network system according to the second embodiment of the present invention receives a control message from the NM non-compliant ECU.
図8は、この発明の実施の形態2による車載ネットワークシステムの制御メッセージ送信判定手段が参照する送信判定用テーブルを示す図である。
図8において、充電量情報と、コネクタ接続情報に応じて、制御メッセージの送信要、不要が示されている。充電量情報がフルで、かつコネクタ接続情報が、接続を示しているとき、両制御メッセージとも送信不要とし、他の場合は、両制御メッセージの送信要としている。
FIG. 8 is a diagram showing a transmission determination table referred to by the control message transmission determination means of the in-vehicle network system according to the second embodiment of the present invention.
FIG. 8 shows whether or not the control message needs to be transmitted according to the charge amount information and the connector connection information. When the charge amount information is full and the connector connection information indicates connection, both control messages need not be transmitted, and in other cases, both control messages need to be transmitted.
次に、G/W装置602の処理を、図7のフローチャートに沿って説明する。
ただし、G/W装置602がメータ制御ECU601からNMメッセージや制御メッセージを受信した場合の処理フローは、実施の形態1の図3で示したものと同じであるため、その説明を省略する。
図7は、G/W装置602が充電器接続管理ECU603やバッテリマネジメントECU604から制御メッセージを受信した場合の処理を示すフローチャートである。本フローチャートでは、バッテリマネジメントECU604から充電量情報を含む制御メッセージを受信した後、充電器接続管理ECU603からコネクタ接続情報を含む制御メッセージを受信した場合について説明する。
ST701
制御メッセージ処理手段203は、第2の通信処理手段202から充電量情報を含む制御メッセージを受信すると、この充電量情報を制御メッセージ送信判定手段205へ渡す。
Next, the process of the G /
However, the processing flow when the G /
FIG. 7 is a flowchart illustrating processing when the G /
ST701
When the control
ST702
制御メッセージ送信判定手段205は、リモートスリープフラグの状態を確認する。リモートスリープフラグがセットされている場合には、制御メッセージの受信側であるメータ制御ECU601は、スリープ状態であると判断でき、ST703へ進む。リモートスリープフラグがクリアされている場合には、メータ制御ECU601はノーマル状態であると判断でき、ST712へ進む。
ST703
制御メッセージ送信判定手段205は、図8に示す送信判定用テーブル206を参照し、充電量情報に基づいて、この制御メッセージを送信するべきか否かを判定する。充電量情報がフル状態であることを示す場合には、制御メッセージ送信判定を行うために、コネクタ接続情報の受け取りを待つため、ST704へ進む。フル状態でない場合には、ST712へ進む。
ST704
制御メッセージ処理手段203が、続いて充電器接続管理ECU603から、第2の通信処理手段202を介してコネクタ接続情報を含む制御メッセージを受信する。
ST705
制御メッセージ処理手段203は、受信したコネクタ接続情報を制御メッセージ送信判定手段205へ渡す。
ST702
The control message
ST703
The control message
ST704
Subsequently, the control
ST705
The control
ST706
制御メッセージ送信判定手段205は、図8に示す送信判定用テーブル206を参照し、コネクタ接続情報に基づいて、この制御メッセージを送信するべきか否かを判定する。コネクタ接続情報が接続を示す場合には、充電量情報とコネクタ接続情報の制御メッセージ送信停止フラグをセットするため、ST707へ進む。コネクタ接続情報が未接続を示す場合には、両制御メッセージを送信する必要があるため、ST714へ進む。
ST707
制御メッセージ送信判定手段205は、充電量情報とコネクタ接続情報用の制御メッセージを、送信「不要」と判定したため、制御メッセージ送信停止フラグをセットする。
ST708
制御メッセージ処理手段203は、送信「不要」と判定された2つの制御メッセージを破棄するとともに、制御メッセージ送信停止フラグをクリアし、ST709へ進む。
ST706
The control message
ST707
Since the control message
ST708
Control
ST709
NMメッセージ送信判定手段207は、NMメッセージ送信停止フラグがクリアされているかどうかを確認する。セットされている場合には、G/W装置602は、すでにNMメッセージの送信を停止しているため、処理を終了する。クリアされている場合には、ST710へ進む。
ST710
NMメッセージ送信判定手段207は、NMメッセージ送信停止フラグをセットする。
ST711
NM処理手段204は、NMメッセージ送信停止フラグがセットされたことを受けて、NMメッセージの送信を停止し、処理を終了する。
ST709
The NM message
ST710
The NM message
ST711
In response to the NM message transmission stop flag being set, the
ST712
制御メッセージ処理手段203が、続いて充電器接続管理ECU603から、第2の通信処理手段202を介して、コネクタ接続情報を含む制御メッセージを受信する。
ST713
制御メッセージ処理手段203は、受信したコネクタ接続情報を制御メッセージ送信判定手段205へ渡す。
ST714
制御メッセージ送信判定手段205は、充電量情報とコネクタ接続情報用の制御メッセージを、送信「必要」と判定したため、制御メッセージ送信フラグをセットする。
ST715
NMメッセージ送信判定手段207は、NMメッセージ送信停止フラグがセットされているか否かを確認する。セットされている場合には、ST716へ進む。クリアされている場合には、NMメッセージの処理は行う必要がなく、ST718へ進む。
ST712
Subsequently, the control
ST713
The control
ST714
Since the control message
ST715
The NM message
ST716
NMメッセージ送信判定手段207は、NMメッセージ送信停止フラグをクリアする。
ST717
NM処理手段204は、NMメッセージ送信停止フラグのクリアを受けて、NMメッセージの送信を開始する。これにより、メータ制御ECU601は、スリープ状態であった場合には、ノーマル状態へ遷移する。
ST718
制御メッセージ処理手段203は、第1の通信処理手段201から、充電量情報を含む制御メッセージや、コネクタ接続情報を含む制御メッセージを送信し、制御メッセージ送信フラグをクリアし、処理を終了する。
ST716
The NM message
ST717
The
ST718
The control
図7のフローチャートにおいて、メータ制御ECU601がノーマル状態である場合には、実施の形態1と同じ処理内容となるため、その説明を省略する。この処理により、充電量情報やコネクタ接続情報の値に関わらず、G/W装置602は、制御メッセージをメータ制御ECU601へ送信し、メータ制御ECU601は、これらの情報をインパネ607に表示することができる。
In the flowchart of FIG. 7, when the
続いて図7のフローチャートにおいて、メータ制御ECU601がスリープ状態、すなわちG/W装置602がリモートスリープフラグとNMメッセージの送信を停止している状態であるときに、充電器コネクタ608が外部の充電器と接続され、かつ充電量がフル状態でない充電中の場合について説明する。
ST701において、制御メッセージ処理手段203は、制御メッセージ送信判定手段205へ、充電量がフル状態ではないことを示す充電量情報を渡す。ST702において、制御メッセージ送信判定手段205は、リモートスリープフラグがセットされているため、ST703へ進み、図8の送信判定用テーブル206を用いて、送信の必要性を判断する。ここで、送信判定結果は送信「要」となるため、ST712へ進む。そして、G/W装置602が充電器接続管理ECU603からコネクタ接続情報を受信すると、ST713において、制御メッセージ処理手段203は、制御メッセージ送信判定手段205へ充電器コネクタ608が外部の充電器と接続されていることを示すコネクタ接続情報を渡す。
そして、ST714において、制御メッセージ送信判定手段205は、送信「要」の送信判定結果に基づき、充電量情報、コネクタ接続情報の2つの制御メッセージの制御メッセージ送信フラグをセットする。
Subsequently, in the flowchart of FIG. 7, when the
In ST701, the control
Then, in ST714, the control message transmission determination means 205 sets a control message transmission flag of two control messages of charge amount information and connector connection information based on the transmission determination result of transmission “necessary”.
次いで、ST715において、NMメッセージ送信停止フラグがセットされているため、ST716へ進み、NMメッセージ送信判定手段207がNMメッセージ送信停止フラグをクリアし、ST717において、NM処理手段204はNMメッセージの送信を開始する。
これにより、メータ制御ECU601は、スリープ状態からノーマル状態へ遷移し、制御メッセージを受信できる状態となる。そしてST718において、制御メッセージ処理手段203は、制御メッセージ送信フラグがセットされた充電量情報、コネクタ接続情報の2つの制御メッセージをメータ制御ECU601へ送信し、この制御メッセージ送信フラグをクリアする。
このように、充電器コネクタ608を接続して充電を開始してから、充電がフル状態でない間は、G/W装置602がスリープ状態のメータ制御ECU601をノーマル状態へ遷移させ、これらの制御メッセージを送信することにより、メータ制御ECUはインパネ607に充電器コネクタ608の接続有無や充電量を表示させることができる。
したがって、充電中は充電が行われていることを、インパネ607によって確認することができる。
Next, in ST715, since the NM message transmission stop flag is set, the process proceeds to ST716, in which the NM message transmission determination means 207 clears the NM message transmission stop flag. In ST717, the NM processing means 204 transmits the NM message. Start.
Thereby, meter control ECU601 changes to a normal state from a sleep state, and will be in the state which can receive a control message. Then, in ST718, the control message processing means 203 transmits two control messages of the charge amount information and the connector connection information in which the control message transmission flag is set to the
As described above, after the
Therefore, it is possible to confirm by the
続いて図7のフローチャートにおいて、メータ制御ECU601がスリープ状態であるときに、充電器コネクタ608が外部の充電器と接続され、かつ充電量がフル状態を示し、充電が完了した場合について説明する。
ST701において、制御メッセージ処理手段203は、制御メッセージ送信判定手段205へ、充電量がフル状態であること示す充電量情報を渡す。ST702において、制御メッセージ送信判定手段205は、リモートスリープフラグがセットされているため、ST703へ進み、図8の送信判定用テーブル206を用いて、送信の必要性を判断する。ここで、送信判定結果は、コネクタ接続情報を受信するまで、送信「要」「不要」のどちらも取り得る。
次に、G/W装置602が、充電器接続管理ECU603からコネクタ接続情報を受信すると、ST705において、制御メッセージ処理手段203は、制御メッセージ送信判定手段205へ充電器コネクタ608が接続されていることを示すコネクタ接続情報を渡す。ST706において、図8の送信判定用テーブル206を用いて、送信の必要性を判断し、これにより、送信判定結果は両制御メッセージとも送信「不要」となる。
Next, in the flowchart of FIG. 7, a case will be described in which when the
In ST701, the control
Next, when the G /
そして、ST707において、制御メッセージ送信判定手段205は、送信「不要」の送信判定結果に基づき、充電量情報、コネクタ接続情報の2つの制御メッセージの制御メッセージ送信停止フラグをセットする。ST708において、制御メッセージ処理手段203は、充電量情報、コネクタ接続情報の2つの制御メッセージを破棄し、制御メッセージ送信停止フラグをクリアする。ST709において、NMメッセージ送信停止フラグは既にセットされているため処理を終了する。
このように、充電器コネクタ608を接続し、充電が完了した後は、G/W装置602は、NMメッセージと2つの制御メッセージをメータ制御ECU601へ送信せず、メータ制御ECU601は、スリープ状態からノーマル状態へ不必要に遷移する必要がなく、消費電力を節約することができる。
例えば、夜間の充電時などは、充電量がフルになれば、自動的にメータ制御ECU601がスリープへ遷移し、消費電力を節約することができるようになる。
In ST707, control message
Thus, after the
For example, at the time of charging at night, when the amount of charge becomes full, the
また、充電器コネクタ608が接続されていない場合には、図8の送信判定用テーブル206で示すように充電器接続管理ECU603やバッテリマネジメントECU604から制御メッセージが送信される限り、メータ制御ECU601は、インパネ607に充電器コネクタ608の接続有無や充電量を表示する必要がある。
したがって、G/W装置602は、スリープ状態のメータ制御ECU601であってもノーマル状態へ遷移させた後、これらの制御メッセージを送信し、メータ制御ECU601が情報をインパネ607に表示させる。この場合の処理フローは、先に示した2つの例の処理フローの組み合わせとなるため、その説明は省略する。
このようにすることで、運転者は常に充電量とコネクタ接続の情報を確認することができる。
Further, when the
Therefore, even if the
By doing in this way, the driver | operator can always confirm the charge amount and the information of connector connection.
実施の形態2によれば、複数の制御メッセージの情報を用いて、G/W装置602がNM対応ECUへの制御メッセージ送信判定を行うことにより、1つの制御メッセージの情報を用いる場合よりもNM対応ECUの状態の遷移条件を細かく設定、管理することができるようになる。
According to the second embodiment, the G /
なお、実施の形態2では、G/W装置602が、充電量情報、コネクタ接続情報の順に受信するものとしているが、逆であっても良い。
In the second embodiment, the G /
また、実施の形態2では、制御メッセージ送信判定手段205は、充電量情報がフルでない場合や、リモートスリープフラグがセットされていない場合には、ST712へ進み、コネクタ接続情報を受け取った後に、ST714にて充電量情報の制御メッセージとコネクタ接続情報の制御メッセージ送信フラグをセットしている。
しかし、両制御メッセージ送信フラグを同時にセットする必要はなく、制御メッセージ送信判定手段205が、コネクタ接続情報の制御メッセージを受け取る前に、ただちに充電量情報の制御メッセージ送信停止フラグをセットしても良い。
In the second embodiment, if the charge amount information is not full or the remote sleep flag is not set, the control message
However, it is not necessary to set both control message transmission flags at the same time, and the control message transmission determination means 205 may immediately set the control message transmission stop flag of the charge amount information before receiving the connector connection information control message. .
また、実施の形態1と同様、制御メッセージ処理手段203は、リモートスリープフラグがセットされている場合においてのみ、制御メッセージ処理手段203が制御メッセージの情報を制御メッセージ送信判定手段205へ通知する方法であっても良い。
As in the first embodiment, the control
実施の形態3.
実施の形態3では、NM対応ECUが、スリープ状態からノーマル状態に復帰した場合、G/W装置がNMメッセージの送信を開始する処理フローについて説明する。
図9は、この発明の実施の形態3による車載ネットワークシステムを示す構成図である。
図9において、車載ネットワークシステムは、AUTOSAR仕様に準拠したNM対応ECUであるエンジン制御ECU901とエアコン制御ECU902が、AUTOSAR仕様に準拠したNM機能を備えたG/W装置903と通信プロトコルFlexRayに準拠して動作する第1の通信線905によって接続され、NM未対応ECUであるバッテリマネジメントECU904が、G/W装置903と通信プロトコルCANに準拠して動作する第2の通信線906によって接続されている。
エンジン制御ECU901には、発電用エンジン907、エアコン制御ECU902には、温度センサ908がそれぞれ接続されている。
Embodiment 3 FIG.
In the third embodiment, a process flow in which the G / W device starts transmitting an NM message when the NM-compatible ECU returns from the sleep state to the normal state will be described.
FIG. 9 is a block diagram showing an in-vehicle network system according to Embodiment 3 of the present invention.
In FIG. 9, the in-vehicle network system includes an
A
エアコン制御ECU902は、エアコンの制御を行い、ノーマル状態時には温度センサ908からの情報を制御メッセージとして他のECUへ送信する。一方、スリープ状態時には、温度センサ908の情報は送信しないが、温度センサ908が異常値を検出した場合には、エアコン制御ECU902は、スリープ状態からノーマル状態へ遷移し、この情報を他のECUへ送信する。
エンジン制御ECU901は、ノーマル状態時には、発電用エンジン907を駆動して発電を行い、発電用エンジン907の状態を送信したり、温度センサ908からの情報や発電要求の制御メッセージを受信する他、NMメッセージを送受信する。一方、発電を行う必要がない場合には、消費電力を節約するためのスリープ状態に入り、NMメッセージを送信しない。
The air
In the normal state, the
バッテリマネジメントECU904は、バッテリ充電状態を監視する。バッテリ充電状態を周期的に送信する他、エアコン制御ECU902から、温度センサ異常の情報を制御メッセージとして受信し、バッテリの充電量が不足していると判断した場合には、エンジンの出力増加を要求する発電要求フラグをセットした制御メッセージを送信する。
G/W装置903は、エンジン制御ECU901やエアコン制御ECU902からNMメッセージを受信する間は、これらのNM対応ECUへNMメッセージを送信し、また、第2の通信線906を介して、バッテリマネジメントECU904から送信される制御メッセージを、第1の通信線905を介して、NM対応ECUへ送信する。逆に、第1の通信線905を介して、NM対応ECUから送信される制御メッセージを、第2の通信線906を介して、バッテリマネジメントECU904へ送信する。
The
While receiving the NM message from the
G/W装置903の構成は、実施の形態1における図2と同じであるため、その説明を省略する。
Since the configuration of the G /
G/W装置903の処理フローは、実施の形態1の図3および図4のフローチャートと同じである。
次に、図3を用いて、NM対応ECUが、スリープ状態からノーマル状態に復帰した場合について説明する。
NM対応ECUであるエンジン制御ECU901とエアコン制御ECU902は、スリープ状態であるとする。また、G/W装置903は、バッテリマネジメントECUからこれらのNM対応ECUへ送信する必要がある制御メッセージはないと判断し、第1の通信線905へNMメッセージの送信を行っていないものとする。
続いて、スリープ状態であるエアコン制御ECU902は、温度センサ908の異常値検出により発生した割込によって、ノーマル状態へ遷移するとする。これにより、エアコン制御ECU902は、NMメッセージと、温度センサ異常の情報を含む制御メッセージの送信を開始する。
The processing flow of the G /
Next, the case where the NM-compatible ECU returns from the sleep state to the normal state will be described with reference to FIG.
It is assumed that the
Subsequently, it is assumed that the air
そのため、図3のフローチャートにおいて、G/W装置903の第1の通信処理手段201は、ST301において、NMメッセージを受信したと判断する。そしてST302において、第1の通信処理手段201は、NM処理手段204へエアコン制御ECU902から受信したNMメッセージを渡す。
次に、ST303において、リモートスリープフラグの状態を確認する。ここで、それまでNM対応ECUは、スリープ状態であったため、G/W装置903のリモートスリープフラグはセットされた状態になっている筈である。したがって、ST304に進み、NM処理手段204は、リモートスリープフラグをクリアする。そしてST305において、NMメッセージ送信停止フラグがセットされている場合には、これを解除し、NMメッセージの送信を開始する。
Therefore, in the flowchart of FIG. 3, the first
Next, in ST303, the state of the remote sleep flag is confirmed. Here, since the NM-compatible ECU has been in the sleep state until then, the remote sleep flag of the G /
また、同じくスリープ状態であったエンジン制御ECU901も、エアコン制御ECU902が送信するNMメッセージを受信することにより、ノーマル状態へ遷移してNMメッセージを送信開始する。
したがって、ネットワークシステムのECUが、全てノーマル状態に遷移したため、エアコン制御ECU902が送信する温度センサ異常の情報を含むメッセージを、エンジン制御ECU901やバッテリマネジメントECU904が受信することができるようになり、また、バッテリマネジメントECU904は、発電要求フラグを含む制御メッセージを、エンジン制御ECU901へ送信することができるようになる。
Similarly, the
Therefore, since all the ECUs of the network system have transitioned to the normal state, the
このように、実施の形態3によれば、G/W装置903は、NM対応ECUがスリープ状態からノーマル状態へ遷移したことを検出すれば、NMメッセージ送信停止フラグを解除し、NM対応ECUからNM未対応ECUへ制御メッセージを送信することができるようになり、また逆に、NM未対応ECUからNM対応ECUへの制御メッセージを送信することもできるようになる。
Thus, according to the third embodiment, when detecting that the NM-compatible ECU has transitioned from the sleep state to the normal state, the G /
実施の形態4.
実施の形態4は、NM未対応ECUであるテスターを接続した構成についてのものである。
図10は、この発明の実施の形態4によるテスターを接続した車載ネットワークシステムを示す構成図である。
図10において、901〜908は図9におけるものと同一のものである。図10では、NM未対応ECUであるテスター1001を第2の通信線1003を介してG/W装置B1002に接続し、G/W装置B1002を第1の通信線905に接続している。
なお、区別を容易にするために、図9で示したネットワークシステムのG/W装置903と第2の通信線906を、それぞれG/W装置A903、第2の通信線A906としている。
また、G/W装置B1002の構成は、図2に示したG/W装置A903の構成と同じである。G/W装置A903、G/W装置B1002は、図11に示す送信判定用テーブル206を保有している。
テスター1001とG/W装置B1002の間は、第2の通信線B1003で接続されている。テスター1001は、他のECUへエラー情報送信要求を行い、この要求を受けたECUは、保有するエラー情報をテスター1001に向けて送信する。
Embodiment 4 FIG.
The fourth embodiment relates to a configuration in which a tester which is an NM non-compliant ECU is connected.
FIG. 10 is a block diagram showing an in-vehicle network system to which a tester according to Embodiment 4 of the present invention is connected.
10,
In order to facilitate the distinction, the G /
The configuration of the G /
The
図11は、この発明の実施の形態4による車載ネットワークシステムの制御メッセージ送信判定手段が参照する送信判定用テーブルを示す図である。
図11において、識別子に応じて送信要不要が示されている。例えば、識別子が0x201の場合は送信不要であり、識別子が0x208の場合は送信不要であり、識別子が0x605の場合は送信要である。
FIG. 11 is a diagram showing a transmission determination table referred to by the control message transmission determination means of the in-vehicle network system according to Embodiment 4 of the present invention.
FIG. 11 shows that transmission is not required according to the identifier. For example, when the identifier is 0x201, transmission is not necessary, when the identifier is 0x208, transmission is not necessary, and when the identifier is 0x605, transmission is necessary.
本実施の形態4では、NM未対応ECUであるテスター1001をG/W装置B1002を介して接続した場合のG/W装置903、1002の処理について説明する。
このG/W装置A903およびG/W装置B1002の第1の通信処理手段201からメッセージを受信した場合の処理フローは、実施の形態1の図3のフローチャートと同じである。
第2の通信処理手段202からメッセージを受信した場合の処理フローは、ST401において、制御メッセージ処理手段203が制御メッセージ送信判定手段205へ、制御メッセージの識別子を渡すことを除き、図4のフローチャートと同じである。
In the fourth embodiment, processing of the G /
The processing flow when receiving a message from the first
The processing flow when the message is received from the second communication processing means 202 is the same as the flowchart of FIG. 4 except that the control message processing means 203 passes the control message identifier to the control message transmission determination means 205 in ST401. The same.
次に、NM対応ECUがスリープ状態時に、NM未対応ECUであるバッテリマネジメントECU904が、識別子0x201の充電量情報を含む制御メッセージを送信する場合と、テスター1001が、識別子0x605のエラー情報送信要求用の制御メッセージを送信する場合について、図4のフローチャートを用いて説明する。
ST401において、制御メッセージ処理手段203は、制御メッセージ送信判定手段205へ制御メッセージの識別子を渡す。ST402において、NM対応ECUがスリープ状態であるため、リモートスリープフラグがセットされており、ST403へ進む。制御メッセージ送信判定手段205は、図11の識別子を用いて、送信判定用テーブル206を参照し、送信の必要性を判定する。
Next, when the NM-compatible ECU is in the sleep state, the
In ST401, the control message processing means 203 passes the control message identifier to the control message
G/W装置A903では、制御メッセージ処理手段203は、識別子0x201の、バッテリマネジメントECU904が送信する充電量情報を含む制御メッセージを受信する。したがって、送信判定用テーブル206より、送信判定結果は送信「不要」となる。
一方、G/W装置B1002では、制御メッセージ処理手段203は、識別子0x605の、テスター1001が送信するエラー情報送信要求用の制御メッセージである場合には、送信判定結果は送信「要」となる。ST404以降の処理フローは、実施の形態1と同じであるため、その説明を省略する。
In the G /
On the other hand, in the G /
実施の形態4によれば、このように、エンジン制御ECU901とエアコン制御ECU902がスリープ状態時には、テスター1001とG/W装置B1002が接続された場合のみ、これらのECUをノーマル状態へ遷移させ、テスター1001からのエラー情報送信要求を受信して応答することができる。
また、エラー情報送信要求は、G/W装置A903を介してバッテリマネジメントECU904にも送信されるため、NM未対応ECUもこの要求に応答することができる。
このように、イベント的に送信される制御メッセージが発生した場合に、スリープ状態のECUをノーマル状態へ遷移させることになり、NM対応ECUを不必要にノーマル状態へ遷移させることがなく、NM対応ECUの消費電力を削減することができる。
According to the fourth embodiment, when the
Further, since the error information transmission request is also transmitted to the
In this way, when a control message transmitted in an event occurs, the sleep state ECU is shifted to the normal state, and the NM compatible ECU is not unnecessarily shifted to the normal state. The power consumption of the ECU can be reduced.
また、本実施の形態4では、制御メッセージ送信判定手段205は、送信判定に、識別子と送信の必要性を対応付けた送信判定用テーブルを用いたが、閾値を記憶し、その閾値以下であるか、以上であるか判定する方法であっても良い。
In the fourth embodiment, the control message
さらにまた、制御メッセージ送信判定手段205では、本実施の形態4で示した制御メッセージの識別子を用いた送信判定に加えて、実施の形態1や実施の形態2で示したように、制御メッセージの情報に基づいた送信判定を組み合わせても良い。 Furthermore, in addition to the transmission determination using the control message identifier shown in the fourth embodiment, the control message transmission determination means 205, as shown in the first embodiment and the second embodiment, You may combine the transmission determination based on information.
さらにまた、テスター1001は、G/W装置B1002を介して接続したが、テスター1001を第2の通信線A906に接続し、G/W装置B1002は、G/W装置A903の1つの機能として実装してもよい。
Furthermore, although the
実施の形態5.
実施の形態5は、G/W装置がタイマを有し、NM未対応ECUから制御メッセージを時間tの間、NM対応ECUへ送信しなかった場合に、NM対応ECUへのNMメッセージの送信を停止するようにしている。
図12は、この発明の実施の形態5による車載ネットワークシステムのG/W装置を示す構成図である。
図12において、201〜207は図2におけるものと同一のものである。図12では、G/W装置903は、第1の通信線905と第2の通信線906とに、それぞれ第1の通信処理手段201及び第2の通信処理手段202によって接続されるとともに、NMメッセージ送信判定手段207が、時間t(第2の所定期間)で満了するタイマT1201を保有する。このタイマT1201は、制御メッセージ処理手段203が、第1の通信線905を介して制御メッセージを送信するとリセットされる。
このネットワークシステムは、実施の形態3の図9で示したものと同じであるため、その説明を省略する。
Embodiment 5 FIG.
In the fifth embodiment, when the G / W device has a timer and the control message is not transmitted from the NM incompatible ECU to the NM compatible ECU for the time t, the transmission of the NM message to the NM compatible ECU is performed. I try to stop.
FIG. 12 is a block diagram showing a G / W device of an in-vehicle network system according to Embodiment 5 of the present invention.
In FIG. 12, 201 to 207 are the same as those in FIG. In FIG. 12, the G /
Since this network system is the same as that shown in FIG. 9 of the third embodiment, its description is omitted.
図13は、この発明の実施の形態5による車載ネットワークシステムのNMメッセージ送信判定手段の処理内容を示すフローチャートである。 FIG. 13 is a flowchart showing the processing contents of the NM message transmission determination means in the in-vehicle network system according to the fifth embodiment of the present invention.
実施の形態5は、NM未対応ECUが所定の期間、制御メッセージを送信しない場合の、G/W装置903の処理内容についてのものである。
G/W装置903が、NM対応ECUからNMメッセージや制御メッセージを受信した場合の処理フローは、実施の形態1の図3と同じであるため、その説明を省略する。
また、G/W装置が、NM未対応ECUから制御メッセージを受信した場合の処理フローは、実施の形態1の図4と同じであるため、その説明を省略する。
The fifth embodiment relates to the processing content of the G /
Since the processing flow when the G /
Further, the processing flow when the G / W device receives a control message from the NM incompatible ECU is the same as that in FIG.
次に、このG/W装置903のNMメッセージ送信判定手段207のNMメッセージ送信判定フローを、図13のフローチャートを用いて説明する。
NMメッセージ送信判定手段207は、周期起動されるものとする。
ST1301
NMメッセージ送信判定手段207は、NMメッセージ送信停止フラグがセットされているかどうかを確認する。セットされている場合には、処理を終了する。セットされていない場合には、ST1302へ進む。
ST1302
NMメッセージ送信判定手段207は、タイマT1201の値を参照し、満了しているかどうかを確認する。タイマT1201が満了している場合には、時間tの間、制御メッセージ処理手段203がNM対応ECUへ制御メッセージを送信していないことを意味する。したがって、ST1303へ進む。タイマT1201が満了していない場合には、NMメッセージの送信を続けてよいと判断し、処理を終了する。
ST1303
NMメッセージ送信手段207は、NMメッセージ送信停止フラグをセットする。
ST1304
NM処理手段204は、NMメッセージ送信停止フラグがセットされたのを受けて、NMメッセージの送信を停止する。
Next, the NM message transmission determination flow of the NM message transmission determination means 207 of the G /
The NM message transmission determination means 207 is assumed to be activated periodically.
ST1301
The NM message
ST1302
The NM message
ST1303
The NM message transmission means 207 sets an NM message transmission stop flag.
ST1304
The
次に、図13のフローチャートにおいて、NM対応ECUであるエンジン制御ECU901やエアコン制御ECU902がノーマル状態であり、かつバッテリマネジメントECU904から制御メッセージが送信されない状態が、時間t以上経過した場合について説明する。
NMメッセージ送信判定手段207が周期起動すると、ST1301において、NMメッセージ送信停止フラグを確認する。このとき、エンジン制御ECU901やエアコン制御ECU902がノーマル状態であるため、NMメッセージ送信停止フラグは、セットされていない。したがって、ST1301からST1302に進む。
ST1302では、時間tが経過しているため、タイマTが満了していると判断され、ST1303において、NMメッセージ送信停止フラグをセットする。これにより、ST1304において、NM処理手段204は、NMメッセージの送信を停止する。
このように、G/W装置903が、NMメッセージの送信を停止することで、NM対応ECUであるエンジン制御ECU901やエアコン制御ECU902は、G/W装置903側がスリープ可能状態かスリープ状態に入ったと判断し、必要に応じてこれらのNM対応ECUもスリープ状態へ遷移することができる。
Next, in the flowchart of FIG. 13, a case will be described in which the
When NM message transmission determination means 207 is periodically activated, in ST1301, the NM message transmission stop flag is confirmed. At this time, since the
In ST1302, since time t has passed, it is determined that timer T has expired, and in NM1303, an NM message transmission stop flag is set. Thereby, in ST1304,
As described above, when the G /
実施の形態5によれば、NM未対応ECUが制御メッセージを送信する必要がない場合や、故障や、第2の通信線の断線などによって、G/W装置903がNM未対応ECUから制御メッセージを時間tの間、受信しなかった場合には、G/W装置903は、NM対応ECUへのNMメッセージの送信を停止する。
これにより、NM対応ECUでは、G/W装置903側がスリープ可能状態かスリープ状態に入ったと判断し、NM対応ECUも必要に応じてスリープ状態へ遷移し、消費電力を節約することができる。
また、NM対応ECUは、ノーマル状態を継続する必要があれば、NMメッセージを送信し続けるため、リモートスリープフラグはクリアされている状態を継続する。
したがって、その後、G/W装置903がNM未対応ECUから制御メッセージを受信した場合には、図4に示したとおり、ST402からST409へ進み、ST411において、NMメッセージ送信停止フラグをクリアすることになる。このように、タイマT1201を使用してNMメッセージの送信を停止しても、NM対応ECUが受信すべき制御メッセージの送信に影響を与えることはない。
According to the fifth embodiment, the G /
As a result, the NM-compatible ECU determines that the G /
Further, if it is necessary to continue the normal state, the NM-compatible ECU continues to transmit the NM message, so that the remote sleep flag is cleared.
Therefore, after that, when the G /
ここでは、NMメッセージ送信判定手段207の処理は、周期起動して行うものとしているが、タイマT1201の満了などによる割込通知で起動するものであっても良い。
Here, the process of the NM message
また、タイマT1201の満了時間tは、制御メッセージ処理手段203が、NM対応ECUへ制御メッセージを送信しないとリセットしない。よって、NM未対応ECUの全制御メッセージの最大送信周期よりも長くする必要がある。
また、ネットワークシステムが通常の動作を行っているモード、故障診断モード、ECUの書換モードなどに応じて、G/W装置903が、この満了時間tを変更しても良い。
Further, the expiration time t of the timer T1201 is not reset unless the control
Further, the G /
101 エンジン制御ECU
102 G/W装置
103 モータ制御ECU
104 バッテリマネジメントECU
105 ハイブリッド制御ECU
106 第1の通信線
107 第2の通信線
108 発電用エンジン
109 モータ
110 トルクセンサ
201 第1の通信処理手段
202 第2の通信処理手段
203 制御メッセージ処理手段
204 NM処理手段
205 制御メッセージ送信判定手段
206 送信判定用テーブル
207 NMメッセージ送信判定手段
601 メータ制御ECU
602 G/W装置
603 充電器接続管理ECU
604 バッテリマネジメントECU
605 第1の通信線
606 第2の通信線
607 インパネ
608 充電器コネクタ
609 バッテリ
901 エンジン制御ECU
902 エアコン制御ECU
903 G/W装置
904 バッテリマネジメントECU
905 第1の通信線
906 第2の通信線
907 発電用エンジン
908 温度センサ
1001 テスター
1002 G/W装置B
1003 第2の通信線B
1201 タイマT
101 Engine control ECU
102 G /
104 Battery management ECU
105 Hybrid control ECU
106
602 G /
604 battery management ECU
605
902 Air-conditioner control ECU
903 G /
905
1003 Second communication line B
1201 Timer T
Claims (9)
上記ゲートウェイ装置は、
上記第1の通信線を介して情報の送受信を行う第1の通信手段と、
上記第2の通信線を介して情報の送受信を行う第2の通信手段と、
上記第1の通信手段及び上記第2の通信手段の間に配置され、上記NM未対応ECU及び上記NM対応ECU間で送受信される制御メッセージを中継する制御メッセージ処理手段と、
上記第1の通信線を介して、上記NM機能を実行するためのNMメッセージを送受信するように構成され、上記NMメッセージを第1の所定期間、受信しない場合に、上記NM対応ECUがノーマル状態でないことを示すリモートスリープフラグをセットするNM処理手段と、
上記制御メッセージ処理手段によって上記NM未対応ECUから受信された制御メッセージについて、上記リモートスリープフラグの状態に応じて、上記NM対応ECUへ送信する必要があるかどうかを判定し、この判定結果を上記制御メッセージ処理手段に伝える制御メッセージ送信判定手段と、
この制御メッセージ送信判定手段によって、上記制御メッセージが送信不要と判定された場合に、上記NM処理手段に上記NMメッセージの送信停止を指示するNMメッセージ送信判定手段とを備えたことを特徴とするネットワークシステム。 An electronic control device (hereinafter referred to as NM-compatible ECU) having a network management (hereinafter referred to as NM) function for managing a normal state and a sleep state, and a gateway device having the NM function are connected to the first communication line. And a network system in which an electronic control device (hereinafter referred to as NM non-compliant ECU) and the gateway device that are not connected to the NM function are connected via a second communication line,
The gateway device is
First communication means for transmitting and receiving information via the first communication line;
Second communication means for transmitting and receiving information via the second communication line;
A control message processing unit that is arranged between the first communication unit and the second communication unit and relays a control message transmitted and received between the NM non-compatible ECU and the NM compatible ECU;
An NM message for executing the NM function is transmitted / received via the first communication line, and the NM corresponding ECU is in a normal state when the NM message is not received for a first predetermined period. NM processing means for setting a remote sleep flag indicating not,
The control message received by the control message processing unit from the NM incompatible ECU is determined whether it is necessary to transmit to the NM compatible ECU according to the state of the remote sleep flag. A control message transmission judging means for informing the control message processing means;
A network comprising: an NM message transmission determining means for instructing the NM processing means to stop transmitting the NM message when the control message transmission determining means determines that the control message is not required to be transmitted. system.
上記制御メッセージ送信判定手段は、上記制御メッセージに付与された識別子に基づいて、上記NM未対応ECUから受信した制御メッセージについて、上記第1の通信線を介して送信する必要があるかどうかを判定することを特徴とする請求項1〜請求項3のいずれかに記載のネットワークシステム。 An identifier is given to the control message transmitted by the non-NM-compatible ECU,
The control message transmission determining means determines whether or not it is necessary to transmit the control message received from the non-NM-compatible ECU via the first communication line based on the identifier given to the control message. The network system according to any one of claims 1 to 3, wherein:
上記第1の通信線を介して情報の送受信を行う第1の通信手段、
上記第2の通信線を介して情報の送受信を行う第2の通信手段、
上記第1の通信手段及び上記第2の通信手段の間に配置され、上記NM未対応ECU及び上記NM対応ECU間で送受信される制御メッセージを中継する制御メッセージ処理手段、
上記第1の通信線を介して、上記NM機能を実行するためのNMメッセージを送受信するように構成され、上記NMメッセージを第1の所定期間、受信しない場合には、上記NM対応ECUがノーマル状態でないことを示すリモートスリープフラグをセットするNM処理手段、
上記制御メッセージ処理手段によって上記NM未対応ECUから受信された制御メッセージについて、上記リモートスリープフラグの状態に応じて、上記NM対応ECUへ送信する必要があるかどうかを判定し、この判定結果を上記制御メッセージ処理手段に伝える制御メッセージ送信判定手段、
この制御メッセージ送信判定手段によって、上記制御メッセージが送信不要と判定された場合に、上記NM処理手段に上記NMメッセージの送信停止を指示するNMメッセージ送信判定手段を備えたことを特徴とするゲートウェイ装置。 A gateway device in which an NM-compatible ECU is connected via a first communication line, and an NM-non-compatible ECU is connected via a second communication line,
First communication means for transmitting and receiving information via the first communication line;
A second communication means for transmitting and receiving information via the second communication line;
A control message processing unit that is arranged between the first communication unit and the second communication unit and relays a control message transmitted and received between the non-NM-compatible ECU and the NM-compatible ECU;
An NM message for executing the NM function is transmitted / received via the first communication line, and when the NM message is not received for a first predetermined period, the NM corresponding ECU is normal. NM processing means for setting a remote sleep flag indicating that it is not in a state;
The control message received by the control message processing unit from the NM incompatible ECU is determined whether it is necessary to transmit to the NM compatible ECU according to the state of the remote sleep flag. Control message transmission judging means to be transmitted to the control message processing means,
A gateway apparatus comprising: NM message transmission determining means for instructing the NM processing means to stop transmission of the NM message when the control message transmission determining means determines that the control message is not required to be transmitted. .
Priority Applications (2)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
JP2009238264A JP4814987B2 (en) | 2009-10-15 | 2009-10-15 | Network system and gateway device |
DE102010023859.7A DE102010023859B4 (en) | 2009-10-15 | 2010-06-15 | Network system and gateway device |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
JP2009238264A JP4814987B2 (en) | 2009-10-15 | 2009-10-15 | Network system and gateway device |
Publications (2)
Publication Number | Publication Date |
---|---|
JP2011087112A true JP2011087112A (en) | 2011-04-28 |
JP4814987B2 JP4814987B2 (en) | 2011-11-16 |
Family
ID=44079743
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
JP2009238264A Expired - Fee Related JP4814987B2 (en) | 2009-10-15 | 2009-10-15 | Network system and gateway device |
Country Status (2)
Country | Link |
---|---|
JP (1) | JP4814987B2 (en) |
DE (1) | DE102010023859B4 (en) |
Cited By (9)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JP2013057994A (en) * | 2011-09-07 | 2013-03-28 | Mitsubishi Electric Corp | Control system |
DE102013215721A1 (en) | 2012-08-10 | 2014-02-13 | Denso Corporation | ON-BOARD NETWORK SYSTEM |
WO2015065096A1 (en) * | 2013-10-31 | 2015-05-07 | 주식회사 엘지화학 | Module relay device and relay method therefor |
KR101736988B1 (en) * | 2014-12-12 | 2017-05-17 | 현대자동차주식회사 | Can tp format system for the display of information in the cluster |
JP2017092565A (en) * | 2015-11-04 | 2017-05-25 | トヨタ自動車株式会社 | Sleep control method |
JP2019080196A (en) * | 2017-10-25 | 2019-05-23 | トヨタ自動車株式会社 | On-vehicle repeating device, information processing method, program, repeating device, and information processing system |
CN114710516A (en) * | 2020-12-16 | 2022-07-05 | 广州汽车集团股份有限公司 | Communication state management system and method for vehicle-mounted external equipment |
WO2022209947A1 (en) * | 2021-03-31 | 2022-10-06 | 株式会社オートネットワーク技術研究所 | In-vehicle management device and management method |
WO2023276746A1 (en) * | 2021-06-29 | 2023-01-05 | 株式会社オートネットワーク技術研究所 | Vehicle-mounted relay device, vehicle-mounted device, and sleep notification method |
Families Citing this family (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN103200035B (en) * | 2013-03-29 | 2016-02-17 | 北京经纬恒润科技有限公司 | Based on the net dormancy method of OSEK standard, device and ECU |
DE102014204762A1 (en) * | 2014-03-14 | 2015-09-17 | Sixt Gmbh & Co. Autovermietung Kg | Telematic system, telematics unit and method for remote control or influencing of vehicle functions and for recording vehicle data |
CN110830267A (en) * | 2019-11-12 | 2020-02-21 | 上海元城汽车技术有限公司 | State control method and device of network node and gateway |
Citations (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JP2008126738A (en) * | 2006-11-17 | 2008-06-05 | Auto Network Gijutsu Kenkyusho:Kk | Relay connection unit and vehicular multiplex communication system |
JP2009065412A (en) * | 2007-09-06 | 2009-03-26 | Auto Network Gijutsu Kenkyusho:Kk | In-vehicle communication system |
-
2009
- 2009-10-15 JP JP2009238264A patent/JP4814987B2/en not_active Expired - Fee Related
-
2010
- 2010-06-15 DE DE102010023859.7A patent/DE102010023859B4/en not_active Expired - Fee Related
Patent Citations (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JP2008126738A (en) * | 2006-11-17 | 2008-06-05 | Auto Network Gijutsu Kenkyusho:Kk | Relay connection unit and vehicular multiplex communication system |
JP2009065412A (en) * | 2007-09-06 | 2009-03-26 | Auto Network Gijutsu Kenkyusho:Kk | In-vehicle communication system |
Cited By (14)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JP2013057994A (en) * | 2011-09-07 | 2013-03-28 | Mitsubishi Electric Corp | Control system |
DE102013215721A1 (en) | 2012-08-10 | 2014-02-13 | Denso Corporation | ON-BOARD NETWORK SYSTEM |
JP2014036407A (en) * | 2012-08-10 | 2014-02-24 | Denso Corp | On-vehicle network system |
US9032233B2 (en) | 2012-08-10 | 2015-05-12 | Denso Corporation | On-board network system |
US10110696B2 (en) | 2013-10-31 | 2018-10-23 | Lg Chem, Ltd. | Module relay device and relay method therefor |
WO2015065096A1 (en) * | 2013-10-31 | 2015-05-07 | 주식회사 엘지화학 | Module relay device and relay method therefor |
KR101748904B1 (en) * | 2013-10-31 | 2017-06-20 | 주식회사 엘지화학 | Apparatus and method for engaging the multiple modules |
KR101736988B1 (en) * | 2014-12-12 | 2017-05-17 | 현대자동차주식회사 | Can tp format system for the display of information in the cluster |
JP2017092565A (en) * | 2015-11-04 | 2017-05-25 | トヨタ自動車株式会社 | Sleep control method |
JP2019080196A (en) * | 2017-10-25 | 2019-05-23 | トヨタ自動車株式会社 | On-vehicle repeating device, information processing method, program, repeating device, and information processing system |
CN114710516A (en) * | 2020-12-16 | 2022-07-05 | 广州汽车集团股份有限公司 | Communication state management system and method for vehicle-mounted external equipment |
CN114710516B (en) * | 2020-12-16 | 2024-05-28 | 广州汽车集团股份有限公司 | Communication state management system and method for vehicle-mounted external equipment |
WO2022209947A1 (en) * | 2021-03-31 | 2022-10-06 | 株式会社オートネットワーク技術研究所 | In-vehicle management device and management method |
WO2023276746A1 (en) * | 2021-06-29 | 2023-01-05 | 株式会社オートネットワーク技術研究所 | Vehicle-mounted relay device, vehicle-mounted device, and sleep notification method |
Also Published As
Publication number | Publication date |
---|---|
DE102010023859A1 (en) | 2011-06-30 |
JP4814987B2 (en) | 2011-11-16 |
DE102010023859B4 (en) | 2014-03-27 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
JP4814987B2 (en) | Network system and gateway device | |
JP5363379B2 (en) | Communications system | |
WO2018018761A1 (en) | Vehicle-mounted gateway controller based information processing method and gateway controller | |
US8665700B2 (en) | Fault detection and mitigation for in-vehicle LAN network management | |
JP6010207B2 (en) | Communications system | |
JP3099663B2 (en) | Communications system | |
JP6258997B2 (en) | Vehicle control system | |
US20160134553A1 (en) | Flexible scheduling method and apparatus in lin communication | |
JP2013107453A (en) | Failure diagnosis system and diagnosis assist device constituting the same | |
JP2018082410A (en) | On-vehicle communication system | |
CN113364654A (en) | Vehicle-mounted hybrid gateway controller, information processing method and automobile | |
CN103838189A (en) | CAN communication monitoring protection device and vehicle | |
JP4560000B2 (en) | Operation monitoring unit | |
JP2016037211A (en) | Vehicular diagnostic system | |
CN113891146B (en) | Multi-screen interaction system, method, driving equipment and storage medium | |
KR20160146045A (en) | Operating method of a communication node in automotive network | |
JP2006352201A (en) | Communication conversion control device | |
JP4847847B2 (en) | Relay connection unit and in-vehicle multiple communication system | |
JP5880148B2 (en) | Vehicle charging control device | |
JP2012063163A (en) | Failure diagnosis system for vehicle | |
JP6535039B2 (en) | Electronic control unit | |
JP4954832B2 (en) | In-vehicle communication system | |
JP2005352648A (en) | Usb-compatible system for vehicle and usb-compatible device for vehicle | |
JP2009298220A (en) | System and method for detecting electric leak | |
JP2006213124A (en) | Load control device for vehicle and terminal device |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
A621 | Written request for application examination |
Free format text: JAPANESE INTERMEDIATE CODE: A621 Effective date: 20110401 |
|
A977 | Report on retrieval |
Free format text: JAPANESE INTERMEDIATE CODE: A971007 Effective date: 20110726 |
|
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: 20110809 |
|
A01 | Written decision to grant a patent or to grant a registration (utility model) |
Free format text: JAPANESE INTERMEDIATE CODE: A01 |
|
A61 | First payment of annual fees (during grant procedure) |
Free format text: JAPANESE INTERMEDIATE CODE: A61 Effective date: 20110826 |
|
R151 | Written notification of patent or utility model registration |
Ref document number: 4814987 Country of ref document: JP Free format text: JAPANESE INTERMEDIATE CODE: R151 |
|
FPAY | Renewal fee payment (event date is renewal date of database) |
Free format text: PAYMENT UNTIL: 20140902 Year of fee payment: 3 |
|
R250 | Receipt of annual fees |
Free format text: JAPANESE INTERMEDIATE CODE: R250 |
|
R250 | Receipt of annual fees |
Free format text: JAPANESE INTERMEDIATE CODE: R250 |
|
R250 | Receipt of annual fees |
Free format text: JAPANESE INTERMEDIATE CODE: R250 |
|
R250 | Receipt of annual fees |
Free format text: JAPANESE INTERMEDIATE CODE: R250 |
|
R250 | Receipt of annual fees |
Free format text: JAPANESE INTERMEDIATE CODE: R250 |
|
LAPS | Cancellation because of no payment of annual fees |