JP2017092565A - Sleep control method - Google Patents

Sleep control method Download PDF

Info

Publication number
JP2017092565A
JP2017092565A JP2015216801A JP2015216801A JP2017092565A JP 2017092565 A JP2017092565 A JP 2017092565A JP 2015216801 A JP2015216801 A JP 2015216801A JP 2015216801 A JP2015216801 A JP 2015216801A JP 2017092565 A JP2017092565 A JP 2017092565A
Authority
JP
Japan
Prior art keywords
sleep
ecu group
ecu
time
gateway device
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
Application number
JP2015216801A
Other languages
Japanese (ja)
Other versions
JP6428570B2 (en
Inventor
詠史 瀧
Eiji Taki
詠史 瀧
佳郎 平田
Yoshiro Hirata
佳郎 平田
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Toyota Motor Corp
Original Assignee
Toyota Motor Corp
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Toyota Motor Corp filed Critical Toyota Motor Corp
Priority to JP2015216801A priority Critical patent/JP6428570B2/en
Publication of JP2017092565A publication Critical patent/JP2017092565A/en
Application granted granted Critical
Publication of JP6428570B2 publication Critical patent/JP6428570B2/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Abstract

PROBLEM TO BE SOLVED: To provide a sleep control method capable of eliminating deviation of timing to start sleep processing between two ECU groups which configure one network and of which the status management systems are different.SOLUTION: After a sleep condition of a first ECU group is satisfied, a gateway device (GW) starts measuring a first time required until a second ECU group transmits a predetermined response signal, start of sleep processing is awaited until the measurement of the first time is finished, and when the measurement of the time is finished, sleep preparation is started. After the sleep condition is satisfied, the first ECU group starts measuring the first time acquired from the GW, the start of the sleep processing is awaited until the measurement of the first time is finished, and the sleep processing is started when the measurement of the time is finished. For the GW and the first ECU group, the timing to start the sleep processing is matched with the second ECU group that starts the sleep processing in transmission timing of a response signal to a sleep enable signal that is received from the GW after the sleep condition is satisfied.SELECTED DRAWING: Figure 1

Description

本発明は、車両に搭載され、複数の電子制御装置がネットワークを介して接続された車載ネットワークシステムで実行されるスリープ制御方法に関する。   The present invention relates to a sleep control method that is executed in an in-vehicle network system that is mounted on a vehicle and in which a plurality of electronic control devices are connected via a network.

複数の電子制御装置(Electronic Control Unit:以下「ECU」という)がCAN(Controller Area Network)などのネットワークを介して接続された車載ネットワークシステムでは、消費電力の低減などの目的で、1つのネットワークを構成する全てのECUを、通常の動作状態(ウェイクアップモード)から一部の機能を制限した動作状態(スリープモード)へ移行させる制御が行われることがある。このようなスリープモードへの移行は、全てのECUが、予め定められたステータス管理方式に基づいて自己のステータス(スリープ可/スリープ不可)を通知し合うことによって、実現される。   In an in-vehicle network system in which a plurality of electronic control units (hereinafter referred to as “ECUs”) are connected via a network such as a CAN (Controller Area Network), one network is used for the purpose of reducing power consumption. There is a case where control is performed to shift all of the ECUs constituting the ECU from a normal operation state (wake-up mode) to an operation state (sleep mode) in which some functions are limited. Such a transition to the sleep mode is realized by all ECUs notifying their own status (sleep possible / sleep not possible) based on a predetermined status management method.

近年、機能の多様化に伴い、既存のステータス管理方式とは異なる新たなステータス管理方式が導入されることが考えられる。この場合、既存のステータス管理方式で動作するECUと、新たなステータス管理方式で動作するECUとが、混在して1つのネットワークを構成することが想定される。しかし、既存のステータス管理方式で動作するECUと新たなステータス管理方式で動作するECUとの間では、ステータスを通知しても認識できない。このため、異なる複数のステータス管理方式が混在したネットワークでは、各ECUが協調し合ってスリープモードへ移行することが難しい。   In recent years, with the diversification of functions, a new status management method different from the existing status management method may be introduced. In this case, it is assumed that an ECU that operates according to an existing status management system and an ECU that operates according to a new status management system are mixed to form one network. However, even if the status is notified, it cannot be recognized between the ECU operating with the existing status management system and the ECU operating with the new status management system. For this reason, in a network in which a plurality of different status management methods are mixed, it is difficult for each ECU to cooperate and shift to the sleep mode.

この対策として、例えば特許文献1には、第1のステータス管理方式でスリープ/ウェイクアップが制御される第1のECU群と、第2のステータス管理方式でスリープ/ウェイクアップが制御される第2のECU群と、ゲートウェイ装置(GW)とが接続されて、1つのネットワークを構成するシステムにおいて、全てのECUのステータスをGWで管理する方法が開示されている。   As countermeasures, for example, Patent Document 1 discloses a first ECU group in which sleep / wake-up is controlled by the first status management method and a second ECU in which sleep / wake-up is controlled by the second status management method. In a system in which a group of ECUs and a gateway device (GW) are connected to form one network, the status of all ECUs is managed by the GW.

特開2005−159864号公報JP 2005-159864 A

しかしながら、上記特許文献1に記載のシステムでは、ネットワーク全体をスリープモードに移行させる場合、第1のECU群と第2のECU群との間で、互いのスリープ/ウェイクアップの状態を通知し合うだけである。このため、ステータス管理方式が異なる第1のECU群と第2のECU群との間で、スリープ処理開始のタイミングにずれが生じる。このスリープ処理開始のタイミングのずれにより、最初にスリープ処理を開始してスリープ状態に移行したECU群が、後にスリープ処理を開始してスリープ状態に移行するECU群に関するフレーム処理でウェイクアップするおそれがある。   However, in the system described in Patent Document 1, when the entire network is shifted to the sleep mode, the first ECU group and the second ECU group notify each other of the sleep / wake-up state. Only. For this reason, a difference occurs in the timing of starting the sleep process between the first ECU group and the second ECU group having different status management methods. Due to the difference in timing of the start of the sleep process, the ECU group that first started the sleep process and entered the sleep state may wake up in the frame process related to the ECU group that later started the sleep process and entered the sleep state. is there.

本発明は、上記課題を鑑みてなされたものであり、ステータス管理方式が異なる2つのECU群が同一のネットワークで接続されたシステムにおいて実行される、当該2つのECU群間におけるスリープ処理開始のタイミングのずれを無くすことができるスリープ制御方法を提供することを目的とする。   The present invention has been made in view of the above problems, and the timing of the start of sleep processing between two ECU groups executed in a system in which two ECU groups having different status management methods are connected by the same network. It is an object of the present invention to provide a sleep control method that can eliminate the deviation.

上記課題を解決するために、本発明は、ネットワークを介して接続されたゲートウェイ装置と、自群のスリープ条件が成立すると所定の信号の送信を停止する第1のECU群と、自群のスリープ条件が成立すると条件成立信号を送信する第2のECU群とが実行するスリープ制御方法であって、ゲートウェイ装置は、第1のECU群のスリープ条件が成立したことを、所定の信号を受信しなくなることによって検知し、第2のECU群のスリープ条件が成立したことを、条件成立信号を受信することによって検知し、第1のECU群および第2のECU群の各スリープ条件がいずれも成立したことを検知するまでは、所定時間を含むスリープ不可信号を第1のECU群および第2のECU群に定期的に送信し、第1のECU群のスリープ条件が成立したことを検知した場合は、所定時間を含むスリープ不可信号を少なくとも1回は第1のECU群に送信し、第1のECU群および第2のECU群の各スリープ条件がいずれも成立したことを検知した場合は、その後、スリープ可信号を第2のECU群に送信し、第1のECU群は、ゲートウェイ装置からスリープ不可信号を受信すると、自群のスリープ条件が成立している場合、受信時から信号に含まれる所定時間が経過する時点までを待機期間としてスリープ処理の開始を待機し、待機期間中に新たなスリープ不可信号を受信しなければその時点に自群のスリープ処理を開始し、第2のECU群は、ゲートウェイ装置からスリープ不可信号を受信すると、自群のスリープ条件が成立している場合、条件成立信号をゲートウェイ装置に送信し、その後、ゲートウェイ装置からスリープ可信号を受信した場合、スリープ完了信号をゲートウェイ装置に送信するとともに自群のスリープ処理を開始し、ゲートウェイ装置は、第1のECU群のスリープ条件が成立したことを検知した後に、スリープ不可信号を送信した場合、送信時から所定時間が経過する時点までを待機期間としてスリープ処理の開始を待機し、待機期間中に新たなスリープ不可信号を送信しなければその時点に自装置のスリープ処理を開始し、所定時間を、第2のECU群が、ゲートウェイ装置から最後に送信されるスリープ不可信号を受信してから自群のスリープ処理を開始するまでの所要時間として算出する、ことを特徴とする。   In order to solve the above-described problems, the present invention provides a gateway device connected via a network, a first ECU group that stops transmission of a predetermined signal when its own sleep condition is satisfied, and its own sleep. A sleep control method executed by a second ECU group that transmits a condition satisfaction signal when a condition is satisfied, wherein the gateway device receives a predetermined signal that the sleep condition of the first ECU group is satisfied. Detecting that the sleep condition of the second ECU group is established by detecting the absence of the second ECU group, and detecting that the sleep condition of the first ECU group and the second ECU group is established. Until it is detected, a sleep disable signal including a predetermined time is periodically transmitted to the first ECU group and the second ECU group, and the sleep condition of the first ECU group is determined. When it is detected that the sleep is established, a sleep disable signal including a predetermined time is transmitted to the first ECU group at least once, and each sleep condition of the first ECU group and the second ECU group is satisfied. If this is detected, then the sleep enable signal is transmitted to the second ECU group, and when the first ECU group receives the sleep disable signal from the gateway device, the sleep condition of the own group is established. From the time of reception until the time when the predetermined time included in the signal elapses, the standby period is waited for to start, and if no new sleep disable signal is received during the standby period, the sleep process of the own group is performed at that time When the second ECU group receives a sleep disable signal from the gateway device, the second ECU group sends a condition satisfaction signal to the gateway device if the sleep condition of its own group is satisfied. When the sleep enable signal is received from the gateway device after that, the sleep completion signal is transmitted to the gateway device and the sleep processing of the own group is started. The gateway device satisfies the sleep condition of the first ECU group. After detecting this, when a sleep disable signal is transmitted, it is necessary to wait for the start of the sleep process with a predetermined period of time from the time of transmission as a standby period, and a new sleep disable signal must not be transmitted during the standby period. At that time, the sleep processing of the own device is started, and a predetermined time is required until the second ECU group starts the sleep processing of the own device after receiving the sleep impossible signal transmitted last from the gateway device. It is calculated as time.

この本発明のスリープ制御方法では、ゲートウェイ装置は、第1のECU群のスリープ条件成立を検知すると、所定時間を含むスリープ不可信号を第1のECU群へ送信して、スリープ不可信号の受信時から所定時間が経過する時点までを待機期間としてスリープ処理の開始を待機させる。この所定時間は、第2のECU群が、ゲートウェイ装置から最後に送信されるスリープ不可信号を受信してから自群のスリープ処理を開始するまでの所要時間に設定される。従って、第1のECU群は、待機期間中にゲートウェイ装置から新たなスリープ不可信号を受信することなく所定時間が経過した時点で自群のスリープ処理を開始すれば、第2のECU群がスリープ処理を開始するタイミングと一致する。   In the sleep control method of the present invention, when the gateway device detects that the sleep condition of the first ECU group is satisfied, the gateway device transmits a sleep disable signal including a predetermined time to the first ECU group, and receives the sleep disable signal. The start of the sleep process is made to wait until the predetermined time elapses from the time until the start of the sleep process. This predetermined time is set to a required time from when the second ECU group receives the sleep disable signal transmitted last from the gateway device to when the second ECU group starts its own sleep process. Therefore, if the first ECU group starts its own sleep process when a predetermined time has elapsed without receiving a new sleep disable signal from the gateway device during the standby period, the second ECU group sleeps. It coincides with the timing to start processing.

一方、ゲートウェイ装置は、第1のECU群のスリープ条件成立を検知した後に第1のECU群へスリープ不可信号を送信すると、送信時から上記所定時間が経過する時点までを待機期間としてスリープ処理の開始を待機する。そして、ゲートウェイ装置は、待機期間中に第1のECU群へ新たなスリープ不可信号を送信することなく所定時間が経過した時点で自群のスリープ処理を開始すれば、第2のECU群がスリープ処理を開始するタイミングと一致する。   On the other hand, when the gateway apparatus transmits a sleep disable signal to the first ECU group after detecting the establishment of the sleep condition of the first ECU group, the gateway apparatus performs the sleep process with a period from the time of transmission to the time when the predetermined time elapses. Wait for start. Then, if the gateway device starts its own sleep process when a predetermined time has elapsed without transmitting a new sleep disable signal to the first ECU group during the standby period, the second ECU group sleeps. It coincides with the timing to start processing.

このように、第2のECU群のステータス管理方式に従って求められるスリープ処理の開始までに必要な所定時間に基づいて、ゲートウェイ装置および第1のECU群におけるスリープ処理の開始を待機させ、待機後にスリープ処理を開始させる。これにより、第2のECU群におけるスリープ処理開始のタイミングを、ステータス管理方式が異なる第1のECU群におけるスリープ処理開始のタイミングと一致させることができ、さらにはゲートウェイ装置におけるスリープ処理開始のタイミングと一致させることができる。   As described above, the start of the sleep process in the gateway device and the first ECU group is made to wait based on the predetermined time required until the start of the sleep process obtained in accordance with the status management method of the second ECU group, and the sleep is performed after the standby. Start processing. Thereby, the timing of the sleep process start in the second ECU group can be made coincident with the timing of the sleep process start in the first ECU group having a different status management system, and further the timing of the sleep process start in the gateway device Can be matched.

以上述べたように、本発明のスリープ制御方法によれば、ステータス管理方式が異なる2つのECU群が同一のネットワークで接続されたシステムにおいて、当該2つのECU群間におけるスリープ処理開始のタイミングのずれを無くすことができる。従って、最初にスリープ処理を開始してスリープ状態に移行したECU群が、後にスリープ処理を開始してスリープ状態に移行するECU群に関するフレーム処理でウェイクアップするおそれを抑制することができる。   As described above, according to the sleep control method of the present invention, in the system in which two ECU groups having different status management methods are connected by the same network, the timing difference of the sleep process start between the two ECU groups. Can be eliminated. Therefore, it is possible to suppress the possibility that the ECU group that first starts the sleep process and shifts to the sleep state wakes up in the frame process related to the ECU group that starts the sleep process and shifts to the sleep state later.

本発明の一実施形態に係る車載ネットワークシステムの構成例を示す図The figure which shows the structural example of the vehicle-mounted network system which concerns on one Embodiment of this invention. 本発明の一実施形態に係る車載ネットワークシステムで実行されるスリープ制御方法を説明するためのタイミングチャート(ケース1)Timing chart for explaining the sleep control method executed in the in-vehicle network system according to the embodiment of the present invention (case 1) 本発明の一実施形態に係る車載ネットワークシステムで実行されるスリープ制御方法を説明するためのタイミングチャート(ケース2)Timing chart for explaining the sleep control method executed in the in-vehicle network system according to the embodiment of the present invention (Case 2) 本発明の一実施形態に係る車載ネットワークシステムで実行されるスリープ制御方法を詳細に説明するためのタイミングチャートTiming chart for explaining in detail the sleep control method executed in the in-vehicle network system according to the embodiment of the present invention 本発明の一実施形態に係る車載ネットワークシステムで実行されるスリープ制御方法の参考例を説明するためのタイミングチャートTiming chart for explaining a reference example of a sleep control method executed in an in-vehicle network system according to an embodiment of the present invention

[概要]
本発明は、ステータス管理方式が異なる2つのECU群が同一のネットワークで接続されたシステムにおいて、2つのECU群間におけるスリープ処理開始のタイミングのずれを無くす方法である。スリープ処理開始のタイミングのずれを無くすために、一方のECU群は、所定のスリープ条件が成立しても直ちにスリープ処理を開始せず、他方のECU群のスリープ条件が成立してスリープ処理を開始するまで、スリープ処理を待機する。これにより、2つのECU群間におけるスリープ処理開始のタイミングが一致する。
[Overview]
The present invention is a method of eliminating a shift in the timing of the start of sleep processing between two ECU groups in a system in which two ECU groups having different status management methods are connected by the same network. In order to eliminate the deviation in the timing of starting the sleep process, one ECU group does not start the sleep process immediately even if a predetermined sleep condition is satisfied, and the sleep condition of the other ECU group is satisfied and starts the sleep process. Wait until the sleep process. Thereby, the timing of the sleep process start between the two ECU groups coincides.

以下、本発明が提供する車載ネットワークシステムで実行されるスリープ制御方法について、図面を参照しながら詳細に説明する。   Hereinafter, a sleep control method executed in an in-vehicle network system provided by the present invention will be described in detail with reference to the drawings.

[車載ネットワークシステムの構成例]
図1は、本発明の一実施形態に係る車載ネットワークシステム1の構成例を示す図である。図1に示した車載ネットワークシステム1は、所定の通信プロトコルに基づいて構成された車両に搭載される通信ネットワークシステムであり、第1のECU群10と、第2のECU群20とが、ネットワークである通信バス40を介してゲートウェイ装置(GW)30に接続されている。この通信バス40で接続された、第1のECU群10、第2のECU群20、およびゲートウェイ装置30は、1つのネットワークNを構成し、相互にステータス(スリープ/ウェイクアップ)を通知する。
[Configuration example of in-vehicle network system]
FIG. 1 is a diagram illustrating a configuration example of an in-vehicle network system 1 according to an embodiment of the present invention. An in-vehicle network system 1 shown in FIG. 1 is a communication network system mounted on a vehicle configured based on a predetermined communication protocol, and a first ECU group 10 and a second ECU group 20 are connected to a network. Is connected to a gateway device (GW) 30 via a communication bus 40. The first ECU group 10, the second ECU group 20, and the gateway device 30 connected by the communication bus 40 constitute one network N and notify each other of the status (sleep / wake-up).

第1のECU群10は、複数の電子制御装置(ECU)11を含む(図1では、3つのECU11を含んでいる例を示している)。複数のECU11は、第1のステータス管理方式に基づいてスリープ/ウェイクアップがそれぞれ制御される。この第1のステータス管理方式は、例えばOSEK/VDX(Open Systems and their Interfaces for the Electronics in Motor Vehicles / Vehicle Distributed eXecutive)によって規定された仕様OSEK―NM(Network Management)に基づく、インダイレクトNMロジックである。インダイレクトNMロジックでは、NMフレームの受信の有無によってスリープの可否が判断される。このため、第1のECU群10は、スリープ条件の成立後に直ちにスリープ処理を開始することが可能になっている。   The first ECU group 10 includes a plurality of electronic control units (ECUs) 11 (FIG. 1 shows an example including three ECUs 11). The plurality of ECUs 11 are controlled to sleep / wake up based on the first status management method. This first status management method is, for example, indirect NM logic based on the specification OSEK-NM (Network Management) defined by OSEK / VDX (Open Systems and their Interfaces for the Electronics in Motor Vehicles / Vehicle Distributed eXecutive). is there. In the indirect NM logic, whether or not sleep is possible is determined based on whether or not an NM frame is received. For this reason, the first ECU group 10 can start the sleep process immediately after the sleep condition is established.

第2のECU群20は、複数の電子制御装置(ECU)21を含む(図1では、3つのECU21を含んでいる例を示している)。複数のECU21は、第1のステータス管理方式とは異なる第2のステータス管理方式に基づいてスリープ/ウェイクアップがそれぞれ制御される。この第2のステータス管理方式は、例えばOSEK/VDXによって規定された仕様OSEK―NMに基づく、ダイレクトNMロジックである。ダイレクトNMロジックでは、受信したNMフレームの内容に基づいてスリープの可否が判断される。このため、第2のECU群20は、スリープ条件の成立後は、所定のNMフレーム(応答フレーム)を送信した後にスリープ処理を開始することが可能になっている。   The second ECU group 20 includes a plurality of electronic control units (ECUs) 21 (FIG. 1 shows an example including three ECUs 21). The plurality of ECUs 21 are controlled for sleep / wake-up based on a second status management method different from the first status management method. This second status management method is direct NM logic based on the specification OSEK-NM defined by, for example, OSEK / VDX. In the direct NM logic, whether to sleep is determined based on the contents of the received NM frame. Therefore, after the sleep condition is established, the second ECU group 20 can start the sleep process after transmitting a predetermined NM frame (response frame).

ゲートウェイ装置30は、通信バス40によって接続された第1のECU群10の全ECU11および第2のECU群20の全ECU21との間で所定の時間間隔によるNMフレームの送受信を行い、第1のECU群10および第2のECU群20のステータス(スリープ/ウェイクアップ)を管理する。また、ゲートウェイ装置30は、第2のECU群20に含まれるECU21の個数を把握しており、NMフレームを介して第1のECU群10にも通知する。   The gateway device 30 performs transmission and reception of NM frames at predetermined time intervals between all the ECUs 11 of the first ECU group 10 and all the ECUs 21 of the second ECU group 20 connected by the communication bus 40. The status (sleep / wake-up) of the ECU group 10 and the second ECU group 20 is managed. The gateway device 30 also knows the number of ECUs 21 included in the second ECU group 20 and notifies the first ECU group 10 via the NM frame.

NMフレームとは、スリープ可否を示す情報が格納された信号である。このNMフレームは、複数のECU11、複数のECU21、およびゲートウェイ装置30によって、各々のスリープ可否を他のECUまたはゲートウェイ装置に示すために、所定の順番かつ所定の時間間隔で巡回的に通信バス40へ送出される。所定の順番とは、ゲートウェイ装置30、複数のECU11のそれぞれ、および複数のECU21のそれぞれを、1度ずつ巡るように予め定められた順番である。所定の時間間隔は、例えば上述した仕様OSEK―NMでは「70ms」と規定されている。   An NM frame is a signal in which information indicating whether sleep is possible is stored. The NM frame is cyclically transmitted in a predetermined order and at a predetermined time interval so that the plurality of ECUs 11, the plurality of ECUs 21, and the gateway device 30 indicate whether each sleep is possible to other ECUs or gateway devices. Is sent to. The predetermined order is an order determined in advance so that the gateway device 30, each of the plurality of ECUs 11, and each of the plurality of ECUs 21 travels once. The predetermined time interval is defined as “70 ms” in the specification OSEK-NM described above, for example.

なお、上述した複数のECU11、複数のECU21、およびゲートウェイ装置30は、典型的には中央演算処理装置(CPU:Central Processing Unit)、メモリ、および入出力インタフェースを含んで構成され、メモリに格納されたプログラムをCPUが読み出して解釈実行することにより、様々な機能を実現する。   The plurality of ECUs 11, the plurality of ECUs 21, and the gateway device 30 described above typically include a central processing unit (CPU), a memory, and an input / output interface, and are stored in the memory. Various functions are realized by the CPU reading, interpreting and executing the program.

[車載ネットワークシステムで実行されるスリープ制御方法]
図2および図3は、本発明の一実施形態に係る車載ネットワークシステム1で実行されるスリープ制御方法を説明するためのタイミングチャートである。図2は、第1のECU群10の方が第2のECU群20よりも早くsleep条件が成立したケース1を示し、図3は、第2のECU群20の方が第1のECU群10よりも早くsleep条件が成立したケース2を示している。ここで、sleep条件成立とは、ECU群に含まれる全てのECUがスリープ可となった状態を表している。
[Sleep control method executed in in-vehicle network system]
2 and 3 are timing charts for explaining a sleep control method executed in the in-vehicle network system 1 according to an embodiment of the present invention. FIG. 2 shows Case 1 in which the sleep condition is established earlier in the first ECU group 10 than in the second ECU group 20, and FIG. 3 shows that the second ECU group 20 is in the first ECU group. Case 2 in which the sleep condition is satisfied earlier than 10 is shown. Here, the sleep condition is established, which means that all ECUs included in the ECU group are allowed to sleep.

<ケース1>
図2を参照する。ゲートウェイ装置30は、第1のECU群10および第2のECU群20のいずれもがsleep条件成立したことを検知するまで、スリープ不可情報を含むNMフレーム(スリープ不可信号)を定期的に送信する(S101)。なお、ゲートウェイ装置30は、第1のECU群10および第2のECU群20で構成されるネットワークN以外の他のネットワークにも、ネットワークNのスリープ不可情報を含むNMフレームを送信する(図示せず)。
<Case 1>
Please refer to FIG. The gateway device 30 periodically transmits an NM frame (sleep disable signal) including sleep disable information until both the first ECU group 10 and the second ECU group 20 detect that the sleep condition is satisfied. (S101). Note that the gateway device 30 also transmits an NM frame including sleep impossible information of the network N to other networks other than the network N configured by the first ECU group 10 and the second ECU group 20 (not shown). )

ケース1では、インダイレクトNMロジックで動作する第1のECU群10が先にsleep条件成立となる(S102)。インダイレクトNMロジックでは、sleep条件成立後はNMフレームの送信を停止するように規定されている(S103)。従って、ゲートウェイ装置30は、第1のECU群10からNMフレームを受信しなくなることによって、第1のECU群10のsleep条件が成立したことを検知する。   In case 1, the first ECU group 10 operating with the indirect NM logic first satisfies the sleep condition (S102). The indirect NM logic stipulates that transmission of the NM frame be stopped after the sleep condition is satisfied (S103). Therefore, the gateway device 30 detects that the sleep condition of the first ECU group 10 is satisfied by not receiving the NM frame from the first ECU group 10.

第1のECU群10のsleep条件が成立したことを検知した時点では、第2のECU群20のsleep条件が成立していないため、ゲートウェイ装置30は、NMフレームの送信タイミングにおいて、スリープ不可情報を含むNMフレーム(スリープ不可信号)を第1のECU群10および第2のECU群20へ送信する(S104)。この際、ゲートウェイ装置30は、NMフレームの送信タイミングにおいて、第2のECU群20が、後述する応答フレームを送信するまで、つまりスリープ処理を開始するまで、に必要とする第1の時間T1(所定時間)を求める。そして、ゲートウェイ装置30は、求めた第1の時間T1をNMフレームに含めて送信する(S104)と同時に、第1のタイマに第1の時間T1をセットして計時を開始する(S105)。そして、ゲートウェイ装置30は、計時を開始した時(スリープ不可信号の送信時)から第1の時間T1が経過する時点までを待機期間として、後述するスリープ処理の開始を待機することを行う。   At the time when it is detected that the sleep condition of the first ECU group 10 is satisfied, the sleep condition of the second ECU group 20 is not satisfied, and therefore the gateway device 30 is incapable of sleeping at the transmission timing of the NM frame. Is transmitted to the first ECU group 10 and the second ECU group 20 (S104). At this time, the gateway device 30 transmits the first time T1 (until the second ECU group 20 transmits a response frame described later, that is, until the sleep process is started, at the transmission timing of the NM frame. (Predetermined time). Then, the gateway device 30 includes the obtained first time T1 in the NM frame and transmits it (S104). At the same time, the gateway device 30 sets the first time T1 in the first timer and starts measuring time (S105). Then, the gateway device 30 waits for the start of sleep processing, which will be described later, from the time when the time measurement is started (when the sleep disable signal is transmitted) to the time when the first time T1 elapses.

この第1の時間T1は、具体的には、次式[1]のように、第2のECU群20に含まれるECU21の数xに定数2を足した数値にNMフレームの送信間隔sを掛けた時間として設定される。
T1=s*(x+2) … [1]
Specifically, the first time T1 is obtained by setting the transmission interval s of the NM frame to a value obtained by adding a constant 2 to the number x of the ECUs 21 included in the second ECU group 20 as in the following equation [1]. Set as the multiplied time.
T1 = s * (x + 2) ... [1]

数値xは、第2のECU群20のECU21が全てスリープ可となったことを、ゲートウェイ装置30が知り得るまでに必要な時間である。第2のECU群20内においては、各ECU21が所定の順番にスリープ可の情報を含むNMフレームを次のECU21に渡していき、最後のECU21からゲートウェイ装置30に向けて全ECUがスリープ可となったsleep条件成立を示すNMフレーム(条件成立信号)が送信されるためである。よって、ゲートウェイ装置30は、第2のECU群20のECU21が全てスリープ可となったことを知り得るまでに、「s*x」時間が必要となる。   The numerical value x is a time required until the gateway device 30 can know that all the ECUs 21 of the second ECU group 20 are allowed to sleep. In the second ECU group 20, each ECU 21 passes an NM frame including information indicating whether sleep is possible in a predetermined order to the next ECU 21, and all ECUs are allowed to sleep from the last ECU 21 toward the gateway device 30. This is because the NM frame (condition satisfaction signal) indicating that the sleep condition is satisfied is transmitted. Therefore, the gateway device 30 needs “s * x” time before it can be known that all the ECUs 21 of the second ECU group 20 can sleep.

定数2は、第2のECU群20のsleep条件成立を知ったゲートウェイ装置30によって、ネットワークN全体がスリープに移行できる状態なったことを示すスリープ可情報を含むNMフレーム(スリープ可信号)が第2のECU群20へ送信される1回と、スリープ可情報を含むNMフレームを第2のECU群20が受信したことに応じて、スリープ処理の開始準備が整ったことを示すスリープ完了の情報を含む応答フレーム(スリープ完了信号)が送信される1回とを、考慮するものである。この2回分の「s*2」時間が経過することで、第2のECU群20のスリープ処理(スリープ準備)が開始されるタイミングとなる。   The constant 2 indicates that the NM frame (sleep enable signal) including sleep enable information indicating that the entire network N can enter the sleep state by the gateway device 30 that knows that the sleep condition of the second ECU group 20 has been satisfied is the first. Sleep completion information indicating that the preparation for starting the sleep process has been completed in response to the first transmission to the ECU group 20 of 2 and the reception of the NM frame including the sleep enable information by the second ECU group 20 The response frame (sleep completion signal) including 1 is transmitted once. When the “s * 2” time for two times has elapsed, the timing at which the sleep processing (sleep preparation) of the second ECU group 20 is started is reached.

例えば、図4に示すよう、第2のECU群20に3つのECU21(ECU−A,ECU−B,ECU−C)が含まれている場合を考える(x=3)。この場合、ゲートウェイ装置30は、第2のECU群20のsleep条件が成立した時点ではその事実は把握できない。よって、ゲートウェイ装置30は、NMフレームの送信タイミングでスリープ不可情報を含むNMフレームを第2のECU群20へ送信する。次にNMフレーム送信の順番が来るECU−Aは、自己がスリープできるようになったので、スリープ可情報を含むNMフレームをECU−Bに送信する。次にNMフレーム送信の順番が来るECU−Bも同様に、スリープ可情報を含むNMフレームをECU−Cに送信する。次にNMフレーム送信の順番が来るECU−Cは、全てのECU−A、ECU−B、ECU−Cがスリープできるようになったことを示すスリープ可情報を含むNMフレームをゲートウェイ装置30に送信する。   For example, as shown in FIG. 4, a case is considered where the second ECU group 20 includes three ECUs 21 (ECU-A, ECU-B, ECU-C) (x = 3). In this case, the gateway device 30 cannot grasp the fact when the sleep condition of the second ECU group 20 is satisfied. Therefore, the gateway device 30 transmits the NM frame including sleep impossible information to the second ECU group 20 at the transmission timing of the NM frame. Next, since the ECU-A that comes in the order of NM frame transmission can sleep, the ECU-A transmits an NM frame including sleep enable information to the ECU-B. Next, the ECU-B, which comes in the order of NM frame transmission, similarly transmits an NM frame including sleep enable information to the ECU-C. Next, the ECU-C, which comes in the order of NM frame transmission, transmits to the gateway device 30 an NM frame including sleep enable information indicating that all ECU-A, ECU-B, and ECU-C can sleep. To do.

ゲートウェイ装置30は、このECU−Cからスリープ可情報を含むNMフレーム(スリープ可信号)を受けて初めて、第2のECU群20のsleep条件が成立したことを把握する。そして、これに応じて、ゲートウェイ装置30は、NMフレームの送信タイミングで、ネットワークN全体がスリープに移行できる状態になったことを示すスリープ可情報を含む応答フレーム(スリープ可信号)を第2のECU群20へ送信する。次にNMフレーム送信の順番が来るECU−Aは、スリープ可情報を含むNMフレームをゲートウェイ装置30から受け取ることで、第1のECU群10および第2のECU群20のsleep条件が共に成立したことを理解する。そして、ECU−Aは、スリープ完了情報を含むNMフレーム(スリープ完了信号)をゲートウェイ装置30に送信する。この送信タイミングが、第2のECU群20がスリープ処理(スリープ準備)を開始するタイミングである。   The gateway device 30 grasps that the sleep condition of the second ECU group 20 is established only after receiving the NM frame (sleep enable signal) including the sleep enable information from the ECU-C. In response to this, the gateway device 30 sends a second response frame (sleep enable signal) including sleep enable information indicating that the entire network N is ready to enter sleep at the transmission timing of the NM frame. It transmits to the ECU group 20. Next, ECU-A, which is in the order of NM frame transmission, receives the NM frame including sleep enable information from the gateway device 30, so that both the sleep conditions of the first ECU group 10 and the second ECU group 20 are satisfied. I understand that. Then, the ECU-A transmits an NM frame (sleep completion signal) including sleep completion information to the gateway device 30. This transmission timing is a timing at which the second ECU group 20 starts the sleep process (sleep preparation).

このように、第1のタイマにセットすべき第1の時間T1、すなわち第2のECU群20がゲートウェイ装置より送信されるスリープ不可信号を受信してから応答フレーム(スリープ完了信号)を送信するまで、つまりスリープ処理を開始するまでに必要とする第1の時間T1は、T1=s*(x+2)と計算される。もちろん、第2のECU群20に含まれるECU21の数xは、第2のECU群20からECUが離脱すれば減少し、第2のECU群20に新たなECUが加われば増加する。   As described above, the response frame (sleep completion signal) is transmitted after the first time T1 to be set in the first timer, that is, the second ECU group 20 receives the sleep disable signal transmitted from the gateway device. The first time T1 required until the sleep process is started is calculated as T1 = s * (x + 2). Of course, the number x of the ECUs 21 included in the second ECU group 20 decreases when the ECU leaves the second ECU group 20 and increases when a new ECU is added to the second ECU group 20.

なお、ゲートウェイ装置30は、第1のタイマに第1の時間T1をセットして計時を開始した後、待機期間中に第2のECU群20のsleep条件が成立しなかった場合には、次の送信タイミングにおいて新たな」スリープ不可情報を含むNMフレーム(スリープ不可信号)を送信すると共に、第1のタイマに最新の第1の時間T1をセットし直して始めから計時を開始する。この処理が、第2のECU群20のsleep条件が成立するまで繰り返し実行される。そして、ゲートウェイ装置30は、第1のタイマに第1の時間T1をセットして計時を開始した後、次のNMフレームの送信タイミングまでに第2のECU群20のsleep条件が成立した場合には、次の送信タイミングにおいてスリープ可情報を含むNMフレーム(スリープ可信号)を送信する。この際、第1のタイマの第1の時間T1は、リセットされたり中断されたりしない。   Note that the gateway device 30 sets the first time T1 in the first timer and starts timing, and if the sleep condition of the second ECU group 20 is not satisfied during the standby period, At the transmission timing, a new NM frame including a sleep disable information (sleep disable signal) is transmitted, and the first timer T is reset to the latest first time T1, and timing is started from the beginning. This process is repeatedly executed until the sleep condition of the second ECU group 20 is satisfied. Then, the gateway device 30 sets the first time T1 in the first timer and starts timing, and then the sleep condition of the second ECU group 20 is satisfied by the transmission timing of the next NM frame. Transmits an NM frame (sleep enable signal) including sleep enable information at the next transmission timing. At this time, the first time T1 of the first timer is not reset or interrupted.

つまり、第1のタイマにセットされる第1の時間T1は、第2のECU群20がゲートウェイ装置より最後に送信されるスリープ不可信号を受信してからスリープ処理を開始するまでの所要時間として算出され、ゲートウェイ装置30は、スリープ不可信号を最後に送信した時点にセットされた第1の時間T1を最後まで計時することになる。   That is, the first time T1 set in the first timer is a required time from when the second ECU group 20 receives the sleep disable signal transmitted last from the gateway device until the sleep process is started. The gateway device 30 calculates the first time T1 set at the time of the last transmission of the sleep impossible signal until the end.

再び図2を参照する。sleep条件が成立した第1のECU群10は、ゲートウェイ装置30からスリープ不可情報および第1の時間T1を含むNMフレーム(スリープ不可信号)を受信すると(S106)、NMフレームを受信したタイミングで、第1のタイマに第1の時間T1をセットして計時を開始する(S107)。そして、第1のECU群10は、計時を開始した時(スリープ不可信号の受信時)から第1の時間T1が経過する時点までを待機期間として、後述するスリープ処理の開始を待機することを行う。   Refer to FIG. 2 again. When the first ECU group 10 for which the sleep condition is satisfied receives an NM frame (sleep not possible signal) including the sleep disapproval information and the first time T1 from the gateway device 30 (S106), at the timing when the NM frame is received, The first timer T is set to the first time T1 and time counting is started (S107). Then, the first ECU group 10 waits for the start of sleep processing, which will be described later, from the time when the time measurement is started (when the sleep disable signal is received) to the time when the first time T1 elapses. Do.

この第1のECU群10は、第1のタイマに第1の時間T1をセットして計時を開始した後、待機期間中に新たにスリープ不可情報を含むNMフレーム(スリープ不可信号)をゲートウェイ装置30から受信した場合には、第1のタイマに最新の第1の時間T1をセットし直して始めから計時を開始する。そして、第1のECU群10は、スリープ可情報を含むNMフレーム(スリープ可信号)をゲートウェイ装置30から受信した場合には、このフレームを受信せずに(無視して)計時を継続する。このフレームの不受信は、フレームに含まれるスリープ可/不可の情報を判断する受信フィルタなどを用いて実現される。つまり、第1のタイマは、第1のECU群10がゲートウェイ装置30からスリープ不可信号を最後に受信した時点にセットされた第1の時間T1を最後まで計時することになる。   This first ECU group 10 sets the first time T1 in the first timer and starts measuring time, and then transmits an NM frame (sleep disable signal) newly including sleep disable information during the standby period. When the time is received from 30, the latest first time T1 is reset in the first timer, and time counting is started from the beginning. When the first ECU group 10 receives an NM frame (sleep enable signal) including sleep enable information from the gateway device 30, the first ECU group 10 continues timing without receiving (ignoring) this frame. This non-reception of the frame is realized by using a reception filter or the like that determines whether sleep is possible or not included in the frame. That is, the first timer counts the first time T1 that is set when the first ECU group 10 finally receives the sleep disable signal from the gateway device 30 to the end.

また、第1のECU群10は、スリープ制御における第2のECU群20から送信されるNMフレーム(図2中の破線矢印)は、一切受信しない。このフレームの不受信は、NMフレームに含まれるCAN_IDを判断する受信フィルタなどを用いて実現される。   Further, the first ECU group 10 does not receive any NM frames (broken arrows in FIG. 2) transmitted from the second ECU group 20 in the sleep control. This non-reception of the frame is realized by using a reception filter that determines CAN_ID included in the NM frame.

第2のECU群20は、sleep条件が成立すると(S109)、スリープ可情報を含むNMフレーム(条件成立信号)をゲートウェイ装置30へ送信する(S110)。このNMフレームを受信したゲートウェイ装置30は、通信バス40で繋がったネットワークN内の全てのECUがスリープ状態に移行可能になったと判断し(S111)、スリープ可情報を含むNMフレーム(スリープ可信号)を第1のECU群10および第2のECU群20に向けて送信する(S112)。   When the sleep condition is satisfied (S109), the second ECU group 20 transmits an NM frame (condition satisfaction signal) including sleep enable information to the gateway device 30 (S110). The gateway device 30 that has received the NM frame determines that all ECUs in the network N connected by the communication bus 40 can shift to the sleep state (S111), and the NM frame including the sleep enable information (sleep enable signal). ) Is transmitted to the first ECU group 10 and the second ECU group 20 (S112).

スリープ可情報を含むNMフレーム(スリープ可信号)を受信した第2のECU群20は、ネットワークNのスリープ状態への移行を了承することを示すスリープ完了情報を含む応答フレーム(スリープ完了信号)をゲートウェイ装置30および第1のECU群10に送信する(S113)。この送信と同時に、第2のECU群20は、所定の第2の時間T2をセットした第2のタイマの計時を開始して、スリープ処理(スリープ準備)を開始する(S114)。   The second ECU group 20 that has received the NM frame (sleep enable signal) including sleep enable information transmits a response frame (sleep complete signal) including sleep completion information indicating that the network N is allowed to enter the sleep state. It transmits to the gateway device 30 and the first ECU group 10 (S113). Simultaneously with this transmission, the second ECU group 20 starts measuring a second timer that sets a predetermined second time T2, and starts sleep processing (sleep preparation) (S114).

第2のECU群20からスリープ完了情報を含む応答フレーム(スリープ完了信号)を受信したゲートウェイ装置30では、この受信タイミングに一致して第1のタイマによる第1の時間T1の計時、つまり待機期間が終了する(S115)。そして、ゲートウェイ装置30は、待機期間終了のタイミング(スリープ完了信号受信のタイミング)において、第2のECU群20でセットされたものと同じ第2の時間T2をセットした第2のタイマの計時を開始して、スリープ処理(スリープ準備)を開始する(S116)。   The gateway device 30 that has received a response frame (sleep completion signal) including sleep completion information from the second ECU group 20 counts the first time T1 by the first timer in accordance with this reception timing, that is, a standby period. Is finished (S115). Then, the gateway device 30 measures the time of the second timer that sets the same second time T2 as that set by the second ECU group 20 at the timing of the end of the standby period (timing of receiving the sleep completion signal). Then, the sleep process (sleep preparation) is started (S116).

同様に、第2のECU群20からスリープ完了情報を含む応答フレーム(スリープ完了信号)が送信されるタイミングに一致して、第1のECU群10においても、第1のタイマによる第1の時間T1の計時、つまり待機期間が終了する(S117)。そして、第1のECU群10は、待機期間終了のタイミングにおいて、第2のECU群20でセットされたものと同じ第2の時間T2をセットした第2のタイマの計時を開始して、スリープ処理(スリープ準備)を開始する(S118)。   Similarly, in accordance with the timing at which a response frame (sleep completion signal) including sleep completion information is transmitted from the second ECU group 20, the first ECU group 10 also uses a first time by the first timer. The timing of T1, that is, the standby period ends (S117). Then, the first ECU group 10 starts measuring the second timer that sets the same second time T2 as that set by the second ECU group 20 at the timing of the end of the standby period, and then sleeps. Processing (sleep preparation) is started (S118).

以上の処理により、ゲートウェイ装置30、第1のECU群10、および第2のECU群20が、同期したタイミングで第2のタイマによる第2の時間T2の計時を開始する、すなわちスリープ処を開始することができる。これにより、それぞれの第2のタイマによる第2の時間T2の計時が終了した後に、ゲートウェイ装置30、第1のECU群10、および第2のECU群20が、揃ってBUS−Sleepに移行することができる。   Through the above processing, the gateway device 30, the first ECU group 10, and the second ECU group 20 start measuring the second time T2 by the second timer at the synchronized timing, that is, start the sleep process. can do. Thereby, after the time measurement of the second time T2 by the respective second timers is completed, the gateway device 30, the first ECU group 10, and the second ECU group 20 are all shifted to BUS-Sleep. be able to.

<ケース2>
図3を参照する。ゲートウェイ装置30は、第1のECU群10および第2のECU群20のいずれもがsleep条件成立したことを検知するまで、スリープ不可情報を含むNMフレーム(スリープ不可信号)を定期的に送信する(S201)。なお、ゲートウェイ装置30は、第1のECU群10および第2のECU群20で構成されるネットワークN以外の他のネットワークにも、ネットワークNのスリープ不可情報を含むNMフレームを送信する(図示せず)。
<Case 2>
Please refer to FIG. The gateway device 30 periodically transmits an NM frame (sleep disable signal) including sleep disable information until both the first ECU group 10 and the second ECU group 20 detect that the sleep condition is satisfied. (S201). Note that the gateway device 30 also transmits an NM frame including sleep impossible information of the network N to other networks other than the network N configured by the first ECU group 10 and the second ECU group 20 (not shown). )

ケース2では、ダイレクトNMロジックで動作する第2のECU群20が先にsleep条件成立となる(S202)。ダイレクトNMロジックでは、sleep条件成立後もNMフレームの送信が行われる(S203)。従って、ゲートウェイ装置30は、第2のECU群20からスリープ可情報を含むNMフレーム(条件成立信号)を受信することによって、第2のECU群20のsleep条件が成立したことを検知する。   In Case 2, the second ECU group 20 operating with the direct NM logic first satisfies the sleep condition (S202). In the direct NM logic, the NM frame is transmitted even after the sleep condition is satisfied (S203). Therefore, the gateway device 30 detects that the sleep condition of the second ECU group 20 is established by receiving an NM frame (condition establishment signal) including sleep enable information from the second ECU group 20.

第2のECU群20のsleep条件が成立したことを検知した以降も、第1のECU群10からスリープ不可情報を含むNMフレーム(スリープ不可信号)が送信されているので(S204)、ゲートウェイ装置30は、NMフレームの送信タイミングにおいて、スリープ不可情報を含むNMフレーム(スリープ不可信号)を第1のECU群10および第2のECU群20へ送信する(S205)。   Since it is detected that the sleep condition of the second ECU group 20 is satisfied, the NM frame (sleep disable signal) including the sleep disable information is transmitted from the first ECU group 10 (S204). 30 transmits an NM frame (sleep disable signal) including sleep disable information to the first ECU group 10 and the second ECU group 20 at the transmission timing of the NM frame (S205).

その後、ゲートウェイ装置30は、第1のECU群10からNMフレームが送信されてこないことによって(S207)、第1のECU群10のsleep条件が成立したことを検知する(S206)。この時点で、第1のECU群10および第2のECU群20の両方がsleep条件成立したことになる。   Thereafter, the gateway device 30 detects that the sleep condition of the first ECU group 10 is satisfied by not receiving the NM frame from the first ECU group 10 (S207) (S206). At this time, both the first ECU group 10 and the second ECU group 20 satisfy the sleep condition.

第1のECU群10のsleep条件成立を検知したゲートウェイ装置30は、sleep条件が成立した後の最初のNMフレームの送信タイミングにだけ、スリープ不可情報を含むNMフレーム(スリープ不可信号)を第1のECU群10および第2のECU群20へ送信する(S208)。この際、ゲートウェイ装置30は、上述した第1の時間T1(所定時間)を求め、求めた第1の時間T1をNMフレームに含めて送信する(S208)。すなわち、本ケース2と上述したケース1とを考慮すると、ゲートウェイ装置30は、第1のECU群10のスリープ条件が成立したことを検知した場合は、第1の時間T1を含むスリープ不可信号を少なくとも1回は第1のECU群10に送信することになる。そして、ゲートウェイ装置30は、このNMフレームの送信と同時に、第1のタイマに第1の時間T1をセットして計時を開始する(S209)。そして、ゲートウェイ装置30は、計時を開始した時(スリープ不可信号の送信時)から第1の時間T1が経過する時点までを待機期間として、後述するスリープ処理の開始を待機することを行う。第1のタイマおよび計時時間T1については、上述した通りである。   The gateway device 30 that has detected that the sleep condition of the first ECU group 10 has been established receives the first NM frame (sleep disable signal) including sleep disable information only at the transmission timing of the first NM frame after the sleep condition is satisfied. Is transmitted to the ECU group 10 and the second ECU group 20 (S208). At this time, the gateway device 30 obtains the first time T1 (predetermined time) described above, and transmits the obtained first time T1 in the NM frame (S208). That is, considering the case 2 and the case 1 described above, when the gateway device 30 detects that the sleep condition of the first ECU group 10 is satisfied, the gateway device 30 outputs a sleep disable signal including the first time T1. The data is transmitted to the first ECU group 10 at least once. Then, simultaneously with the transmission of the NM frame, the gateway device 30 sets the first time T1 in the first timer and starts measuring time (S209). Then, the gateway device 30 waits for the start of sleep processing, which will be described later, from the time when the time measurement is started (when the sleep disable signal is transmitted) to the time when the first time T1 elapses. The first timer and the time count T1 are as described above.

その後のNMフレームの送信タイミングでは、ゲートウェイ装置30は、通信バス40で繋がったネットワークN内の全てのECUがスリープ状態に移行可能になったことを示すスリープ可情報を含むNMフレーム(スリープ可信号)を第1のECU群10および第2のECU群20へ送信する(S212)。   At the subsequent transmission timing of the NM frame, the gateway device 30 includes the NM frame (sleep enable signal) including sleep enable information indicating that all ECUs in the network N connected by the communication bus 40 can shift to the sleep state. ) Is transmitted to the first ECU group 10 and the second ECU group 20 (S212).

sleep条件が成立した第1のECU群10は、ゲートウェイ装置30からスリープ不可情報および第1の時間T1を含むNMフレーム(スリープ不可信号)を受信すると(S210)、NMフレームを受信したタイミングで、第1のタイマに第1の時間T1をセットして計時を開始する(S211)。そして、第1のECU群10は、計時を開始した時(スリープ不可信号の受信時)から第1の時間T1が経過する時点までを待機期間として、後述するスリープ処理の開始を待機することを行う。   When the first ECU group 10 in which the sleep condition is satisfied receives an NM frame (sleep not possible signal) including the sleep disable information and the first time T1 from the gateway device 30 (S210), at the timing of receiving the NM frame, The first timer T is set to the first time T1 and time counting is started (S211). Then, the first ECU group 10 waits for the start of sleep processing, which will be described later, from the time when the time measurement is started (when the sleep disable signal is received) to the time when the first time T1 elapses. Do.

この第1のECU群10は、スリープ可情報を含むNMフレーム(スリープ可信号)をゲートウェイ装置30から受信した場合には、このフレームを受信せずに(無視して)計時を継続する。このフレームの不受信は、フレームに含まれるスリープ可/不可の情報を判断する受信フィルタなどを用いて実現される。また、第1のECU群10は、スリープ制御における第2のECU群20から送信されるNMフレーム(図3中の破線矢印)は一切受信しない。このフレームの不受信は、NMフレームに含まれるCAN_IDを判断する受信フィルタなどを用いて実現される。   When the first ECU group 10 receives an NM frame (sleep enable signal) including sleep enable information from the gateway device 30, the first ECU group 10 does not receive (ignore) this frame and continues timing. This non-reception of the frame is realized by using a reception filter or the like that determines whether sleep is possible or not included in the frame. Further, the first ECU group 10 does not receive any NM frame (broken arrow in FIG. 3) transmitted from the second ECU group 20 in the sleep control. This non-reception of the frame is realized by using a reception filter that determines CAN_ID included in the NM frame.

第2のECU群20は、スリープ可情報を含むNMフレーム(スリープ可信号)をゲートウェイ装置30から受信すると、ネットワークNのスリープ状態への移行を了承することを示すスリープ完了情報を含む応答フレーム(スリープ完了信号)を、ゲートウェイ装置30および第1のECU群10に送信する(S213)。この送信と同時に、第2のECU群20は、所定の第2の時間T2をセットした第2のタイマの計時を開始して、スリープ処理(スリープ準備)を開始する(S214)。   When the second ECU group 20 receives an NM frame (sleep enable signal) including sleep enable information from the gateway device 30, a response frame including sleep completion information indicating that the transition to the sleep state of the network N is acknowledged ( The sleep completion signal is transmitted to the gateway device 30 and the first ECU group 10 (S213). Simultaneously with this transmission, the second ECU group 20 starts measuring a second timer that sets a predetermined second time T2, and starts sleep processing (sleep preparation) (S214).

第2のECU群20からスリープ完了情報を含む応答フレーム(スリープ完了信号)を受信したゲートウェイ装置30では、この受信タイミングに一致して第1のタイマによる第1の時間T1の計時、つまり待機期間が終了する(S215)。そして、ゲートウェイ装置30は、待機期間終了のタイミング(スリープ完了信号受信のタイミング)において、第2のECU群20でセットされたものと同じ第2の時間T2をセットした第2のタイマの計時を開始して、スリープ処理(スリープ準備)を開始する(S216)。   The gateway device 30 that has received a response frame (sleep completion signal) including sleep completion information from the second ECU group 20 counts the first time T1 by the first timer in accordance with this reception timing, that is, a standby period. Is finished (S215). Then, the gateway device 30 measures the time of the second timer that sets the same second time T2 as that set by the second ECU group 20 at the timing of the end of the standby period (timing of receiving the sleep completion signal). Then, the sleep process (sleep preparation) is started (S216).

同様に、第2のECU群20からスリープ完了情報を含む応答フレーム(スリープ完了信号)が送信されるタイミングに一致して、第1のECU群10においても、第1のタイマによる第1の時間T1の計時、つまり待機期間が終了する(S217)。そして、第1のECU群10は、待機期間終了のタイミングにおいて、第2のECU群20でセットされたものと同じ第2の時間T2をセットした第2のタイマの計時を開始して、スリープ処理(スリープ準備)を開始する(S218)。   Similarly, in accordance with the timing at which a response frame (sleep completion signal) including sleep completion information is transmitted from the second ECU group 20, the first ECU group 10 also uses a first time by the first timer. The timing of T1, that is, the standby period ends (S217). Then, the first ECU group 10 starts measuring the second timer that sets the same second time T2 as that set by the second ECU group 20 at the timing of the end of the standby period, and then sleeps. Processing (sleep preparation) is started (S218).

以上の処理により、ゲートウェイ装置30、第1のECU群10、および第2のECU群20が、同期したタイミングで第2のタイマによる第2の時間T2の計時を開始する、すなわちスリープ処を開始することができる。これにより、それぞれの第2のタイマによる第2の時間T2の計時が終了した後に、ゲートウェイ装置30、第1のECU群10、および第2のECU群20が、揃ってBUS−Sleepに移行することができる。   Through the above processing, the gateway device 30, the first ECU group 10, and the second ECU group 20 start measuring the second time T2 by the second timer at the synchronized timing, that is, start the sleep process. can do. Thereby, after the time measurement of the second time T2 by the respective second timers is completed, the gateway device 30, the first ECU group 10, and the second ECU group 20 are all shifted to BUS-Sleep. be able to.

なお、上述したケース1およびケース2の双方において、ゲートウェイ装置30は、ネットワークNにおいてスリープ制御方法を実行中であっても、第1のECU群10のウェイクアップ条件成立、第2のECU群20のウェイクアップ条件成立、または他のネットワークからネットワークNのウェイクアップ要求があれば、スリープ制御を中断(または中止)する。このスリープ制御を中断(または中止)処理では、スリープ不可情報を含むNMフレーム(スリープ不可信号)を第1のECU群10および第2のECU群20に送信し、第1のECU群10および第2のECU群20をウェイクアップさせる。   In both cases 1 and 2, the gateway device 30 satisfies the wake-up condition of the first ECU group 10 and the second ECU group 20 even when the sleep control method is being executed in the network N. If the wake-up condition is satisfied or if there is a wake-up request from the other network, the sleep control is interrupted (or stopped). In the process of interrupting (or canceling) the sleep control, an NM frame (sleep disable signal) including sleep disable information is transmitted to the first ECU group 10 and the second ECU group 20, and the first ECU group 10 and the first ECU group 2 ECU group 20 is woken up.

[実施の形態の作用・効果]
以上のように、本発明の一実施形態に係る車載ネットワークシステム1で実行されるスリープ制御方法では、スリープ条件成立後にスリープ処理を開始できる第1のECU群10は、スリープ条件成立後に直ちにスリープ処理を開始せずに、第1のタイマによる第1の時間T1(所定時間)の計時を開始し、第1のタイマによる第1の時間T1の計時が終了するまでスリープ処理の開始を待機する。第1の時間T1は、ゲートウェイ装置30からNMフレームを介して取得され、第1の時間T1の計時は、ゲートウェイ装置30からスリープ不可情報および第1の時間T1を含むNMフレーム(スリープ不可信号)を受信したタイミングで開始される。この第1の時間T1には、フレーム受信の時点において第2のECU群20が、応答フレーム(スリープ完了信号)を送信するまで、つまりスリープ処理を開始するまで、に必要とする所要時間がセットされる。また、第1の時間T1の計時中は、第1のECU群10は、スリープ可情報を含むNMフレーム(スリープ可信号)の受信を無視するので、最後に受信したスリープ不可情報を含むNMフレーム(スリープ不可信号)に基づいてセットされた第1の時間T1の計時が中断されることなく終了する。
[Operations and effects of the embodiment]
As described above, in the sleep control method executed in the in-vehicle network system 1 according to the embodiment of the present invention, the first ECU group 10 that can start the sleep process after the sleep condition is established is the sleep process immediately after the sleep condition is established. The first timer T starts counting the first time T1 (predetermined time), and waits for the start of the sleep process until the first timer T1 finishes timing. The first time T1 is acquired from the gateway device 30 via the NM frame, and the time counting of the first time T1 is an NM frame (sleep not possible signal) including the sleep disabling information and the first time T1 from the gateway device 30. Is started at the timing of receiving. In the first time T1, the time required until the second ECU group 20 transmits a response frame (sleep completion signal) at the time of frame reception, that is, until sleep processing is started is set. Is done. Further, during the time measurement of the first time T1, the first ECU group 10 ignores the reception of the NM frame (sleep enable signal) including the sleep enable information, so the NM frame including the sleep disable information received last. The timing of the first time T1 set based on (sleep disable signal) ends without being interrupted.

また、ゲートウェイ装置30は、第1のECU群10と同期するように、スリープ不可情報を含むNMフレーム(スリープ不可信号)を送信するタイミングで第1のタイマによる第1の時間T1の計時を開始し、第1のタイマによる第1の時間T1の計時が終了するまでスリープ処理の開始を待機する。また、第1の時間T1の計時中は、ゲートウェイ装置30は、スリープ可情報を含むNMフレーム(スリープ可信号)の送信に関わらず計時を継続するので、最後に送信したスリープ不可情報を含むNMフレーム(スリープ不可信号)に基づいてセットされた第1の時間T1の計時が中断されることなく終了する。   In addition, the gateway device 30 starts measuring the first time T1 by the first timer at the timing of transmitting the NM frame (sleep disable signal) including the sleep disable information so as to synchronize with the first ECU group 10. Then, it waits for the start of the sleep process until the time measurement of the first time T1 by the first timer is completed. In addition, during the time measurement of the first time T1, the gateway device 30 continues the time measurement regardless of the transmission of the NM frame (sleep enable signal) including the sleep enable information, and thus the NM including the sleep disable information transmitted last. The timing of the first time T1 set based on the frame (sleep disable signal) ends without being interrupted.

一方、スリープ条件成立後にゲートウェイ装置30から最後のスリープ不可情報を含むNMフレームを受信した後で、スリープ処理を開始できる第2のECU群は、ゲートウェイ装置30からスリープ可情報を含むNMフレーム(スリープ可信号)を受信したことに対するスリープ完了情報を含む応答フレーム(スリープ完了信号)の送信タイミングで、スリープ処理を開始する。   On the other hand, the second ECU group that can start the sleep process after receiving the last NM frame including the sleep impossible information from the gateway device 30 after the sleep condition is satisfied, The sleep process is started at the transmission timing of the response frame (sleep completion signal) including the sleep completion information for the reception of the “acceptable signal”.

従って、ゲートウェイ装置30および第1のECU群10は、共に第1のタイマによる第1の時間T1の計時が終了したタイミング、つまり第2のECU群20から応答フレーム(スリープ完了信号)が送信されるタイミングでスリープ処理を開始し、第2のECU群20は、応答フレームを送信するタイミングでスリープ処理を開始することができる。これにより、ゲートウェイ装置30、第1のECU群10、および第2のECU群20が、スリープ処理を開始するタイミングを一致させることができる。   Therefore, both the gateway device 30 and the first ECU group 10 transmit a response frame (sleep completion signal) from the second ECU group 20 at the timing when the time measurement of the first time T1 by the first timer ends. The second ECU group 20 can start the sleep process at the timing at which the response frame is transmitted. Thereby, the gateway apparatus 30, the 1st ECU group 10, and the 2nd ECU group 20 can make the timing which starts a sleep process correspond.

このように、本実施形態に係る車載ネットワークシステム1で実行されるスリープ制御方法では、1つのネットワークを構成するステータス管理方式が異なる第1のECU群10と第2のECU群20との間におけるスリープ処理開始のタイミングのずれを、無くすことができる。従って、最初にスリープ処理を開始してスリープ状態に移行したECU群が、後にスリープ処理を開始してスリープ状態に移行したECU群に関するフレーム処理でウェイクアップするおそれを抑制することができる。   As described above, in the sleep control method executed in the in-vehicle network system 1 according to the present embodiment, the first ECU group 10 and the second ECU group 20 having different status management methods constituting one network are used. It is possible to eliminate a shift in the timing of starting the sleep process. Therefore, it is possible to suppress the possibility that the ECU group that first started the sleep process and entered the sleep state wakes up in the frame process related to the ECU group that later started the sleep process and entered the sleep state.

[参考例]
図5を参照して、本実施形態に係る車載ネットワークシステム1で実行されるスリープ制御方法の参考例を説明する。この参考例は、第1のECU群10へ向けた第1のNMフレームと第2のECU群20へ向けた第2のNMフレームとの2種類を使い分けて、スリープ制御を行う方法である。
[Reference example]
With reference to FIG. 5, the reference example of the sleep control method performed in the vehicle-mounted network system 1 which concerns on this embodiment is demonstrated. This reference example is a method of performing sleep control by using two types of a first NM frame directed to the first ECU group 10 and a second NM frame directed to the second ECU group 20.

参考例では、インダイレクトNMロジックで動作する第1のECU群10が先にsleep条件成立となる(S301)。インダイレクトNMロジックでは、sleep条件成立後はNMフレームの送信を停止するように規定されている(S302)。従って、ゲートウェイ装置30は、第1のECU群10からNMフレームが送信されてこないことによって、第1のECU群10のsleep条件が成立したことを検知する。   In the reference example, the first ECU group 10 operating with the indirect NM logic first satisfies the sleep condition (S301). The indirect NM logic stipulates that transmission of an NM frame be stopped after the sleep condition is satisfied (S302). Therefore, the gateway device 30 detects that the sleep condition of the first ECU group 10 is satisfied when the NM frame is not transmitted from the first ECU group 10.

第1のECU群10のsleep条件が成立したことを検知した時点では、第2のECU群20のsleep条件が成立していないため、ゲートウェイ装置30は、NMフレームの送信タイミングにおいて、スリープ不可情報を含む第1のNMフレームを第1のECU群10へ、スリープ不可情報を含む第2のNMフレームを第2のECU群20へ、それぞれ送信する(S303)。なお、ゲートウェイ装置30は、第1のECU群10および第2のECU群20で構成されるネットワークN以外の他のネットワークにも、ネットワークNのスリープ不可情報を含むNMフレームを送信する(図示せず)。   At the time when it is detected that the sleep condition of the first ECU group 10 is satisfied, the sleep condition of the second ECU group 20 is not satisfied, and therefore the gateway device 30 is incapable of sleeping at the transmission timing of the NM frame. Is transmitted to the first ECU group 10, and a second NM frame including sleep impossible information is transmitted to the second ECU group 20 (S303). Note that the gateway device 30 also transmits an NM frame including sleep impossible information of the network N to other networks other than the network N configured by the first ECU group 10 and the second ECU group 20 (not shown). )

第2のECU群20は、sleep条件が成立すると(S304)、スリープ可情報を含むNMフレームをゲートウェイ装置30へ送信する(S305)。このNMフレームを受信したゲートウェイ装置30は、通信バス40で繋がったネットワークN内の全てのECUがスリープ可能になったと判断し(S306)、スリープ可情報を含む第2のNMフレームを第2のECU群20に向けて送信する(S307)。なお、第1のECU群10は、スリープ制御における第2のECU群20から送信されるNMフレーム(図5中の破線矢印)は、一切受信しない。このフレームの不受信は、NMフレームに含まれるCAN_IDを判断する受信フィルタなどを用いて実現される。   When the sleep condition is satisfied (S304), the second ECU group 20 transmits an NM frame including sleep enable information to the gateway device 30 (S305). The gateway device 30 that has received this NM frame determines that all ECUs in the network N connected by the communication bus 40 are capable of sleeping (S306), and sends the second NM frame including sleep enable information to the second NM frame. It transmits toward the ECU group 20 (S307). Note that the first ECU group 10 does not receive any NM frames (broken arrows in FIG. 5) transmitted from the second ECU group 20 in the sleep control. This non-reception of the frame is realized by using a reception filter that determines CAN_ID included in the NM frame.

スリープ可情報を含む第2のNMフレームを受信した第2のECU群20は、自群に含まれる全てのECUのスリープ処理の開始準備が整ったことを示すスリープ完了情報を含む応答フレームを、ゲートウェイ装置30に送信する(S308)。この送信と同時に、第2のECU群20は、所定の第2の時間T2をセットした第2のタイマの計時を開始して、スリープ処理(スリープ準備)を開始する(S309)。   The second ECU group 20 that has received the second NM frame including the sleep enable information includes a response frame including sleep completion information indicating that all ECUs included in the group are ready to start sleep processing. It transmits to the gateway device 30 (S308). Simultaneously with this transmission, the second ECU group 20 starts measuring a second timer that sets a predetermined second time T2, and starts sleep processing (sleep preparation) (S309).

第2のECU群20からスリープ完了情報を含む応答フレームを受信したゲートウェイ装置30は、所定の時間Δtを待ってスリープ可情報を含む第1のNMフレームを第1のECU群10へワンショット送信する(S310)。そして、ゲートウェイ装置30は、この送信タイミングで所定の第3の時間T3をセットした第3のタイマの計時を開始して、スリープ待機を経てスリープ処理(スリープ準備)を開始する(S311)。なお、第3のタイマは、スリープ待機の時間とスリープ準備の時間とを別々に計時してもよいし、スリープ待機の時間とスリープ準備の時間との合計時間を計時してもよい。   The gateway device 30 that has received the response frame including the sleep completion information from the second ECU group 20 transmits the first NM frame including the sleep enable information to the first ECU group 10 in one shot after waiting for a predetermined time Δt. (S310). Then, the gateway device 30 starts time measurement of a third timer that sets a predetermined third time T3 at this transmission timing, and starts sleep processing (sleep preparation) through sleep standby (S311). Note that the third timer may measure the sleep standby time and the sleep preparation time separately, or may count the total time of the sleep standby time and the sleep preparation time.

ここで、所定の時間Δtは、第2のECU群20がBUS−Sleepへ移行するために必要な時間、すなわち第2のタイマにセットされる第2の時間T2から、ゲートウェイ装置30および第1のECU群10がBUS−Sleepへ移行するために必要な第3の時間T3を減算した時間(T2−T3)である。   Here, the predetermined time Δt is determined from the time required for the second ECU group 20 to shift to BUS-Sleep, that is, the second time T2 set in the second timer, and the gateway device 30 and the first time This is a time (T2-T3) obtained by subtracting the third time T3 required for the ECU group 10 to shift to BUS-Sleep.

ゲートウェイ装置30からワンショット送信されたスリープ可情報を含む第1のNMフレームを受信すると、第1のECU群10は、この送信タイミングで第3の時間T3をセットした第3のタイマの計時を開始して、スリープ待機を経てスリープ処理(スリープ準備)を開始する(S312)。   When receiving the first NM frame including the sleep enable information transmitted from the gateway device 30 by one shot, the first ECU group 10 measures the time of the third timer that sets the third time T3 at this transmission timing. Then, the sleep process (sleep preparation) is started through the sleep standby (S312).

以上の処理により、ゲートウェイ装置30、第1のECU群10、および第2のECU群20が、同期したタイミングで第2のタイマによる第2の時間T2の計時および第3のタイマによる第3の時間T3の計時を終了させる。よって、ゲートウェイ装置30、第1のECU群10、および第2のECU群20が、揃ってBUS−Sleepに移行することができる。   Through the above processing, the gateway device 30, the first ECU group 10, and the second ECU group 20 measure the second time T2 by the second timer and the third timer by the third timer at the synchronized timing. The timing of time T3 is terminated. Therefore, the gateway apparatus 30, the 1st ECU group 10, and the 2nd ECU group 20 can transfer to BUS-Sleep all together.

もちろん、この参考例においても、ゲートウェイ装置30は、ネットワークNにおいてスリープ制御方法を実行中に、第1のECU群10のウェイクアップ条件成立、第2のECU群20のウェイクアップ条件成立、または他のネットワークからネットワークNのウェイクアップ要求があれば、スリープ制御を中断(または中止)する。このスリープ制御を中断(または中止)処理では、スリープ不可情報を含むNMフレームを第1のECU群10および第2のECU群20に送信し、第1のECU群10および第2のECU群20をウェイクアップさせる。   Of course, also in this reference example, the gateway device 30 satisfies the wake-up condition of the first ECU group 10, the wake-up condition of the second ECU group 20, or the like while the sleep control method is being executed in the network N. If there is a network N wake-up request from the other network, the sleep control is interrupted (or stopped). In the process of interrupting (or canceling) the sleep control, the NM frame including the sleep impossibility information is transmitted to the first ECU group 10 and the second ECU group 20, and the first ECU group 10 and the second ECU group 20 are transmitted. Wake up.

本発明は、ステータス管理方式が異なる2つのECU群がゲートウェイ装置と接続されて1つのネットワークを構成する車載ネットワークシステムなどに利用可能であり、特に2つのECU群間におけるスリープ処理開始のタイミングのずれを無くしたい場合などに有用である。   The present invention can be used for an in-vehicle network system in which two ECU groups having different status management methods are connected to a gateway device to form one network, and in particular, a shift in timing of sleep processing start between the two ECU groups. This is useful when you want to eliminate

1 車載ネットワークシステム
10 第1のECU群
11 電子制御装置(ECU)
20 第2のECU群
21 電子制御装置(ECU)
30 ゲートウェイ装置(GW)
40 通信バス
N ネットワーク
1 in-vehicle network system 10 first ECU group 11 electronic control unit (ECU)
20 Second ECU group 21 Electronic control unit (ECU)
30 Gateway device (GW)
40 Communication bus N Network

Claims (1)

ネットワークを介して接続されたゲートウェイ装置と、自群のスリープ条件が成立すると所定の信号の送信を停止する第1のECU群と、自群のスリープ条件が成立すると条件成立信号を送信する第2のECU群とが実行する、スリープ制御方法であって、
前記ゲートウェイ装置は、
第1のECU群のスリープ条件が成立したことを、前記所定の信号を受信しなくなることによって検知し、
第2のECU群のスリープ条件が成立したことを、前記条件成立信号を受信することによって検知し、
前記第1のECU群および第2のECU群の各スリープ条件がいずれも成立したことを検知するまでは、所定時間を含むスリープ不可信号を前記第1のECU群および第2のECU群に定期的に送信し、
前記第1のECU群のスリープ条件が成立したことを検知した場合は、所定時間を含むスリープ不可信号を少なくとも1回は前記第1のECU群に送信し、
前記第1のECU群および第2のECU群の各スリープ条件がいずれも成立したことを検知した場合は、その後、スリープ可信号を前記第2のECU群に送信し、
前記第1のECU群は、前記ゲートウェイ装置からスリープ不可信号を受信すると、自群のスリープ条件が成立している場合、受信時から当該信号に含まれる前記所定時間が経過する時点までを待機期間としてスリープ処理の開始を待機し、当該待機期間中に新たなスリープ不可信号を受信しなければ前記時点に自群のスリープ処理を開始し、
前記第2のECU群は、前記ゲートウェイ装置からスリープ不可信号を受信すると、自群のスリープ条件が成立している場合、前記条件成立信号を前記ゲートウェイ装置に送信し、その後、前記ゲートウェイ装置から前記スリープ可信号を受信した場合、スリープ完了信号を前記ゲートウェイ装置に送信するとともに自群のスリープ処理を開始し、
前記ゲートウェイ装置は、
前記第1のECU群のスリープ条件が成立したことを検知した後に、スリープ不可信号を送信した場合、送信時から前記所定時間が経過する時点までを待機期間としてスリープ処理の開始を待機し、当該待機期間中に新たなスリープ不可信号を送信しなければ前記時点に自装置のスリープ処理を開始し、
前記所定時間を、前記第2のECU群が、前記ゲートウェイ装置から最後に送信されるスリープ不可信号を受信してから自群のスリープ処理を開始するまでの所要時間として算出する、
スリープ制御方法。
A gateway device connected via a network, a first ECU group that stops transmission of a predetermined signal when its own sleep condition is satisfied, and a second that transmits a condition satisfaction signal when its own sleep condition is satisfied A sleep control method executed by an ECU group of the following:
The gateway device is
Detecting that the sleep condition of the first ECU group is established by not receiving the predetermined signal;
Detecting that the sleep condition of the second ECU group is established by receiving the condition establishment signal;
Until it is detected that each of the sleep conditions of the first ECU group and the second ECU group is satisfied, a sleep disable signal including a predetermined time is periodically sent to the first ECU group and the second ECU group. Send
When it is detected that the sleep condition of the first ECU group is established, a sleep disable signal including a predetermined time is transmitted to the first ECU group at least once,
If it is detected that each of the sleep conditions of the first ECU group and the second ECU group is satisfied, then a sleep enable signal is transmitted to the second ECU group,
When the first ECU group receives a sleep disable signal from the gateway device, if the sleep condition of the first ECU group is established, the first ECU group waits from the time of reception until the predetermined time included in the signal elapses. As long as it waits for the start of the sleep process, and if it does not receive a new sleep disable signal during the waiting period, starts its own sleep process at the time point,
When the second ECU group receives a sleep disable signal from the gateway device, the second ECU group transmits the condition satisfaction signal to the gateway device when the sleep condition of the second ECU group is satisfied. When a sleep enable signal is received, a sleep completion signal is transmitted to the gateway device and the sleep process of its own group is started,
The gateway device is
When the sleep disable signal is transmitted after detecting that the sleep condition of the first ECU group has been established, the start of the sleep process is waited until the predetermined time elapses from the time of transmission, If a new sleep impossible signal is not transmitted during the waiting period, the sleep processing of the own device is started at the time point,
Calculating the predetermined time as a required time from when the second ECU group receives a sleep disable signal transmitted last from the gateway device until the sleep process of the own group is started;
Sleep control method.
JP2015216801A 2015-11-04 2015-11-04 Sleep control method Active JP6428570B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2015216801A JP6428570B2 (en) 2015-11-04 2015-11-04 Sleep control method

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2015216801A JP6428570B2 (en) 2015-11-04 2015-11-04 Sleep control method

Publications (2)

Publication Number Publication Date
JP2017092565A true JP2017092565A (en) 2017-05-25
JP6428570B2 JP6428570B2 (en) 2018-11-28

Family

ID=58771121

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2015216801A Active JP6428570B2 (en) 2015-11-04 2015-11-04 Sleep control method

Country Status (1)

Country Link
JP (1) JP6428570B2 (en)

Cited By (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN107959609A (en) * 2017-12-15 2018-04-24 上汽通用五菱汽车股份有限公司 A kind of testing CAN bus waits the method and device of dormancy time
JP6573052B1 (en) * 2018-03-28 2019-09-11 住友電気工業株式会社 Control device, control method, and computer program
WO2019187535A1 (en) * 2018-03-28 2019-10-03 住友電気工業株式会社 Control device, control method, and computer program
CN115499269A (en) * 2022-09-22 2022-12-20 重庆长安汽车股份有限公司 Multi-channel CAN channel OSEK network management implementation method, system, equipment and readable medium
WO2023276746A1 (en) * 2021-06-29 2023-01-05 株式会社オートネットワーク技術研究所 Vehicle-mounted relay device, vehicle-mounted device, and sleep notification method

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2005159864A (en) * 2003-11-27 2005-06-16 Yazaki Corp Data communication system
JP2009296280A (en) * 2008-06-04 2009-12-17 Toyota Motor Corp Communication network system, and communication control method thereof
JP2011087112A (en) * 2009-10-15 2011-04-28 Mitsubishi Electric Corp Network system and gateway device
JP2012231410A (en) * 2011-04-27 2012-11-22 Toyota Motor Corp Data relay apparatus and in-vehicle network

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2005159864A (en) * 2003-11-27 2005-06-16 Yazaki Corp Data communication system
JP2009296280A (en) * 2008-06-04 2009-12-17 Toyota Motor Corp Communication network system, and communication control method thereof
JP2011087112A (en) * 2009-10-15 2011-04-28 Mitsubishi Electric Corp Network system and gateway device
JP2012231410A (en) * 2011-04-27 2012-11-22 Toyota Motor Corp Data relay apparatus and in-vehicle network

Cited By (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN107959609A (en) * 2017-12-15 2018-04-24 上汽通用五菱汽车股份有限公司 A kind of testing CAN bus waits the method and device of dormancy time
JP6573052B1 (en) * 2018-03-28 2019-09-11 住友電気工業株式会社 Control device, control method, and computer program
WO2019187535A1 (en) * 2018-03-28 2019-10-03 住友電気工業株式会社 Control device, control method, and computer program
WO2023276746A1 (en) * 2021-06-29 2023-01-05 株式会社オートネットワーク技術研究所 Vehicle-mounted relay device, vehicle-mounted device, and sleep notification method
CN115499269A (en) * 2022-09-22 2022-12-20 重庆长安汽车股份有限公司 Multi-channel CAN channel OSEK network management implementation method, system, equipment and readable medium
CN115499269B (en) * 2022-09-22 2023-05-16 重庆长安汽车股份有限公司 Method, system, equipment and readable medium for realizing multichannel CAN channel OSEK network management

Also Published As

Publication number Publication date
JP6428570B2 (en) 2018-11-28

Similar Documents

Publication Publication Date Title
JP6428570B2 (en) Sleep control method
EP3119038B1 (en) Communication device, communication method and communication system
EP2822228B1 (en) Industrial network apparatus and data communication method
WO2013094072A1 (en) Communication system and communication method
US20030128111A1 (en) Multiplex communication apparatus for vehicle
CN102474822A (en) Communication terminal and communication method
JP2012104919A (en) Communication system, master node thereof, slave node thereof
JP2016032274A (en) Gateway unit
KR102471960B1 (en) Apparatus for security of vehicle can communication and method thereof
JP5601357B2 (en) Electronic control unit
JP2009296280A (en) Communication network system, and communication control method thereof
JPH0946361A (en) Serial data transmitter and its controlling method
JP2019084942A (en) Electronic control apparatus
JP2011035834A (en) Communication system, communication apparatus and communication method
JP5425194B2 (en) Method for transmitting communication signals
JPH1041964A (en) Network system for programmable controller
US8918130B2 (en) Method for transmitting a communication signal
JP4732926B2 (en) Electronic control unit
KR101435181B1 (en) Time synchronization and transmission delay time correction method between the master and the slave of intelligent power distribution system
TW202222092A (en) Methods for multidrop network system
WO2013011684A1 (en) Communication network system
JP6330502B2 (en) Wireless communication apparatus and wireless communication method
KR101593338B1 (en) Apparatus for lin communication of vehicle and control method thereof
JPH0349441A (en) Collection system for monitor data
WO2012158160A1 (en) Polling stations in a primary polling period and a secondary polling period

Legal Events

Date Code Title Description
A621 Written request for application examination

Free format text: JAPANESE INTERMEDIATE CODE: A621

Effective date: 20171122

A977 Report on retrieval

Free format text: JAPANESE INTERMEDIATE CODE: A971007

Effective date: 20180907

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: 20181002

A61 First payment of annual fees (during grant procedure)

Free format text: JAPANESE INTERMEDIATE CODE: A61

Effective date: 20181015

R151 Written notification of patent or utility model registration

Ref document number: 6428570

Country of ref document: JP

Free format text: JAPANESE INTERMEDIATE CODE: R151