WO2022180892A1 - 電子装置及び通信制御方法 - Google Patents

電子装置及び通信制御方法 Download PDF

Info

Publication number
WO2022180892A1
WO2022180892A1 PCT/JP2021/031774 JP2021031774W WO2022180892A1 WO 2022180892 A1 WO2022180892 A1 WO 2022180892A1 JP 2021031774 W JP2021031774 W JP 2021031774W WO 2022180892 A1 WO2022180892 A1 WO 2022180892A1
Authority
WO
WIPO (PCT)
Prior art keywords
communication
frame
cycle
electronic device
communication network
Prior art date
Application number
PCT/JP2021/031774
Other languages
English (en)
French (fr)
Inventor
優斗 加藤
Original Assignee
日立Astemo株式会社
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 日立Astemo株式会社 filed Critical 日立Astemo株式会社
Priority to DE112021005279.9T priority Critical patent/DE112021005279T5/de
Priority to JP2023502042A priority patent/JP7446517B2/ja
Publication of WO2022180892A1 publication Critical patent/WO2022180892A1/ja

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L12/00Data switching networks
    • H04L12/28Data switching networks characterised by path configuration, e.g. LAN [Local Area Networks] or WAN [Wide Area Networks]
    • H04L12/46Interconnection of networks
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L12/00Data switching networks
    • H04L12/28Data switching networks characterised by path configuration, e.g. LAN [Local Area Networks] or WAN [Wide Area Networks]
    • H04L12/40Bus networks
    • H04L12/40143Bus networks involving priority mechanisms
    • H04L12/4015Bus networks involving priority mechanisms by scheduling the transmission of messages at the communication node
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L12/00Data switching networks
    • H04L12/28Data switching networks characterised by path configuration, e.g. LAN [Local Area Networks] or WAN [Wide Area Networks]
    • H04L12/40Bus networks
    • H04L2012/40208Bus networks characterized by the use of a particular bus standard
    • H04L2012/40241Flexray
    • YGENERAL TAGGING OF NEW TECHNOLOGICAL DEVELOPMENTS; GENERAL TAGGING OF CROSS-SECTIONAL TECHNOLOGIES SPANNING OVER SEVERAL SECTIONS OF THE IPC; TECHNICAL SUBJECTS COVERED BY FORMER USPC CROSS-REFERENCE ART COLLECTIONS [XRACs] AND DIGESTS
    • Y02TECHNOLOGIES OR APPLICATIONS FOR MITIGATION OR ADAPTATION AGAINST CLIMATE CHANGE
    • Y02DCLIMATE CHANGE MITIGATION TECHNOLOGIES IN INFORMATION AND COMMUNICATION TECHNOLOGIES [ICT], I.E. INFORMATION AND COMMUNICATION TECHNOLOGIES AIMING AT THE REDUCTION OF THEIR OWN ENERGY USE
    • Y02D30/00Reducing energy consumption in communication networks
    • Y02D30/70Reducing energy consumption in communication networks in wireless communication networks

Definitions

  • the present invention relates to an electronic device, and more particularly to technology for adjusting communication timing in a control system to which networks of different protocols are connected.
  • Patent Document 1 Japanese Unexamined Patent Application Publication No. 2011-109452 discloses an in-vehicle communication system in which a time-triggered communication network and an event-driven communication network are connected via a gateway, and includes a time-triggered communication network.
  • in-vehicle communication comprising priority transmission means for setting a predetermined priority to a synchronous frame transmitted from and transmitting it to the CAN network; and transmission means for transmitting transmission data to the FlexRay network triggered by reception of the synchronous frame.
  • a system is disclosed.
  • Patent Document 1 targets communication frames that have a relationship between requests and responses. It is difficult to control to shorten the communication delay time of the communication frame.
  • the present invention aims to provide a technique for adjusting communication timing between event-driven networks in synchronization with the communication schedule of the time-triggered network.
  • a representative example of the invention disclosed in the present application is as follows. That is, in a system in which a time-triggered first communication network and an event-driven second communication network are connected via a gateway, the electronic device is installed under the second communication network. hold a communication schedule of the first communication network, identify a communication cycle from frames transmitted from the first communication network, and receive specific communication frames transmitted from the first communication network. to determine the transmission timing of the communication frame to the first communication network.
  • FIG. 1 is a block diagram illustrating an example of a communication system
  • FIG. It is a flowchart figure which shows the process of an in-vehicle electronic device.
  • FIG. 10 is a sequence diagram showing execution of synchronous communication in a cycle synchronous frame reception cycle;
  • FIG. 1 is a block diagram showing an example of a communication system according to this embodiment.
  • the communication system of the present embodiment is composed of a time-triggered FlexRay network 10 in which slots are scheduled and an event-driven Ethernet network 20 , and each network is connected via a gateway 31 .
  • FlexRay network 10 transmits a communication frame to ECU 21 of Ethernet network 20 via gateway 31 .
  • the ECU 21 of the Ethernet network 20 identifies the cycle count of the FlexRay communication schedule from the received communication frame.
  • the ECU 21 of the Ethernet network 20 switches the frame configuration for one cycle to start transmission based on the specified cycle count.
  • the ECU 21 of the Ethernet network 20 starts transmitting the communication frames for one cycle selected in (3) to the FlexRay network 10, triggered by the frame reception of the preset slot number.
  • the ECU 11 of the FlexRay network 10 communicates according to the FlexRay communication schedule. There is no control specific to this embodiment.
  • the ECU 11 of the FlexRay network 10 transmits communication frames to the gateway 31 according to the FlexRay communication protocol.
  • the gateway 31 first converts the protocol of the received communication frame, that is, the FlexRay communication frame into an Ethernet communication frame.
  • the protocol-converted communication frame is immediately transmitted to the ECU 21 of the Ethernet network 20 .
  • a FlexRay communication frame and an Ethernet communication frame are associated by a FlexRay frame ID and an Ethernet port number, and the gateway 31 holds the association information.
  • a communication frame is transmitted from the FlexRay network 10 to the Ethernet network 20 regardless of whether or not the present invention is applied.
  • the ECU 21 of the Ethernet network 20 is controlled to transmit communication frames at timing synchronized with the FlexRay communication schedule.
  • the ECU 21 of the Ethernet network 20 uses two communication frames selected from among the communication frames received from the FlexRay network 10 to determine transmission timing of the communication frames. One is a cycle synchronization frame and the other is a slot synchronization frame.
  • a cycle sync frame has a longer period than a slot sync frame.
  • cycle synchronization frame For the cycle synchronization frame, select a communication frame that can identify the cycle count of the FlexRay communication schedule. As the cycle synchronization frame, one having the longest communication cycle may be selected from among the communication frames transmitted from the FlexRay network 10 to the ECU 21 of the Ethernet network 20 . Therefore, the ECU 21 of the Ethernet network 20 can identify the cycle count by receiving the cycle synchronization frame. In this way, cycle synchronization frames are received at intervals greater than or equal to slot synchronization frames, such as a cycle synchronization frame every four cycles and a slot synchronization frame every cycle.
  • slot synchronization frames such as a cycle synchronization frame every four cycles and a slot synchronization frame every cycle.
  • a cycle synchronization frame is used to switch the configuration of a frame for one cycle transmitted by the ECU 21 of the Ethernet network 20 . Since frames of a plurality of communication cycles are mixed in FlexRay, the communication schedule is switched for each communication frame.
  • the slot synchronization frame For the slot synchronization frame, select a communication frame that can identify the slot number of the FlexRay communication schedule. As the slot synchronization frame, one having the shortest communication cycle may be selected from among the communication frames transmitted from the FlexRay network 10 to the ECU 21 of the Ethernet network 20 .
  • the slot synchronization frame is used as a trigger when the ECU 21 of the Ethernet network 20 starts transmitting communication frames for one cycle. After specifying the cycle count by the cycle synchronization frame, the communication frame to be transmitted in the next cycle is switched by updating the count by receiving the slot synchronization frame.
  • the ECU 21 of the Ethernet network 20 holds all patterns of communication frame configurations.
  • the maximum value of the number of patterns in the communication frame structure is the longest cycle period/shortest cycle period of the communication frame transmitted from the FlexRay network 10 to the ECU 21 of the Ethernet network 20 .
  • the FlexRay communication schedule is defined by 64 cycles, it is expressed by the above formula when considering overlapping cycles of the communication frame structure. That is, the ECU 21 of the Ethernet network 20 does not necessarily recognize the FlexRay communication schedule as 64 cycles.
  • the communication frame configuration is only one pattern, and there is no need to switch the frame configuration for each cycle. Therefore, it is not necessary to define a cycle synchronization frame.
  • the communication frame configuration includes the data content and transmission timing information of a communication frame for one cycle whose transmission is started with the reception of a slot synchronization frame as a trigger. Data content and transmission timing are determined with reference to FlexRay communication schedule information.
  • One cycle of the communication frame transmitted from the ECU 21 of the Ethernet network 20 to the FlexRay network 10 is the same as the shortest cycle cycle of the communication frame transmitted from the FlexRay network 10 to the ECU 21 of the Ethernet network 20, and is equal to one cycle of the FlexRay communication schedule. Not necessarily the same period.
  • the time range of one cycle of the communication frame configuration is one cycle from the slot number obtained by adding the offset of the total transmission/reception processing time between the gateway 31 and the ECU 21 of the Ethernet network 20 to the slot number of the slot synchronization frame.
  • an offset of several slots may be added as a safety factor.
  • FIG. 2 is a flowchart of processing executed by the ECU 21 of the Ethernet network 20.
  • FIG. 2 is a flowchart of processing executed by the ECU 21 of the Ethernet network 20.
  • the ECU 21 sets the initial value of the cycle count.
  • the initial value may be set to 0 (101).
  • the ECU 21 refers to the communication frame configuration pattern (102) and switches the configuration of the frame to be transmitted (103). Specifically, the data configuration for one cycle is set for each cycle count.
  • the ECU 21 receives the slot synchronization frame (104)
  • the reception of the slot synchronization frame is used as a trigger to start transmission of communication frames for one cycle (105). That is, the communication frame is transmitted after the time required for communication to the FlexRay network 10 .
  • the ECU 21 does not receive the slot synchronization frame, the process is terminated. For example, by turning off the ignition, the ECU 21 operates for a while but does not receive the slot synchronization frame.
  • the ECU 21 when the ECU 21 receives the cycle synchronization frame (106), it resets the cycle count (107). The ECU 21 switches the frame configuration for one cycle at this timing. On the other hand, if the ECU 21 does not receive the cycle synchronization frame, it counts up the cycle count (108). The ECU 21 can switch the frame configuration for one cycle at this timing.
  • step 102 After that, return to step 102, refer to the communication frame configuration pattern, and repeat the process.
  • FIG. 3 is an example of a diagram showing a communication sequence of the in-vehicle electronic device of this embodiment.
  • the cycle-synchronized frame having the longest communication cycle is selected. be.
  • the ECU 21 of the Ethernet network 20 can identify the cycle count and switch the configuration of the communication frame to be transmitted to the FlexRay network 10 .
  • the slot synchronization frame selected from the shortest communication cycle is protocol-converted by the gateway 31 and transferred to the ECU 21 of the Ethernet network 20. .
  • the ECU 21 of the Ethernet network 20 Upon receiving the slot synchronization frame, the ECU 21 of the Ethernet network 20 starts transmitting communication frames to the FlexRay network 10, and transmits communication frames for one cycle.
  • the ECU 21 of the Ethernet network 20 transmits communication frames in synchronization with the FlexRay communication schedule.
  • the ECU 21 of the Ethernet network 20 of the present embodiment transmits communication frames at time intervals based on the FlexRay communication schedule from the first slot in one cycle of the communication frame configuration, so that the ECU 21 of the Ethernet network 20 , the time-triggered communication of the FlexRay network 10 can be simulated, and communication frames can be transmitted in synchronization with the FlexRay communication schedule.
  • the communication frame transmission timing of the Ethernet network 20 is synchronized with the communication schedule of the FlexRay network 10, so even under the following conditions, the communication delay time from data generation to transmission can be shortened.
  • the communication schedule of the FlexRay network 10 includes communication frames of a plurality of communication cycles.
  • a communication frame is unilaterally transmitted from the Ethernet network 20 to the FlexRay network 10 .
  • the ECU 21 of the Ethernet network 20 identifies reception of a cycle synchronization frame and a slot synchronization frame, and controls transmission of communication frames based on the FlexRay communication schedule information it holds. Communication frames can be sent synchronously.
  • the communication schedule can be switched for each communication frame at an appropriate timing.
  • one with the shortest communication cycle is selected as the slot synchronization frame, so that the count can be updated by receiving the slot synchronization frame, and is synchronized with the FlexRay communication schedule. can send communication frames.
  • the present invention is not limited to the above-described embodiments, and includes various modifications and equivalent configurations within the scope of the attached claims.
  • the above-described embodiments have been described in detail for easy understanding of the present invention, and the present invention is not necessarily limited to those having all the described configurations.
  • part of the configuration of one embodiment may be replaced with the configuration of another embodiment.
  • the configuration of another embodiment may be added to the configuration of one embodiment.
  • additions, deletions, and replacements of other configurations may be made for a part of the configuration of each embodiment.
  • each configuration, function, processing unit, processing means, etc. described above may be realized by hardware, for example, by designing a part or all of them with an integrated circuit, and the processor realizes each function. It may be realized by software by interpreting and executing a program to execute.
  • Information such as programs, tables, and files that implement each function can be stored in storage devices such as memory, hard disks, SSDs (Solid State Drives), or recording media such as IC cards, SD cards, and DVDs.
  • storage devices such as memory, hard disks, SSDs (Solid State Drives), or recording media such as IC cards, SD cards, and DVDs.
  • control lines and information lines indicate those that are considered necessary for explanation, and do not necessarily indicate all the control lines and information lines necessary for implementation. In practice, it can be considered that almost all configurations are interconnected.

Landscapes

  • Engineering & Computer Science (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Signal Processing (AREA)
  • Small-Scale Networks (AREA)

Abstract

タイムトリガ方式の第1の通信ネットワークと、イベントドリブン方式の第2の通信ネットワークとがゲートウェイを介して接続されたシステムにおいて、前記第2の通信ネットワークの配下に設置された電子装置であって、前記第1の通信ネットワークの通信スケジュールを保持し、前記第1の通信ネットワークから送信されたフレームから、通信サイクルを特定し、前記第1の通信ネットワークから送信された特定の通信フレームの受信によって、前記第1の通信ネットワークへの通信フレームの送信タイミングを決定する。

Description

電子装置及び通信制御方法 参照による取り込み
 本出願は、令和3年(2021年)2月25日に出願された日本出願である特願2021-28479の優先権を主張し、その内容を参照することにより、本出願に取り込む。
 本発明は、電子装置に関し、特に、異なるプロトコルのネットワークが接続された制御システムにおいて、通信タイミングを調整する技術に関する。
 車両の電子化に伴って、車両に搭載される電子装置の数が増加し、各電子装置間の通信データ量が増大している。電子装置の機能ごとに通信の要件が異なるため、車両には複数の通信プロトコルネットワークが搭載されており、ゲートウェイを介して異なるネットワーク間でデータ通信を行っている。しかし、異なるネットワークは別のタイマで動作しているため、データ転送時間に加えて、データ通信開始までの待機時間が発生し、通信遅延時間が増大することがある。
 特許文献1(特開2011-109452号)には、タイムトリガ方式の通信ネットワークと、イベントドリブン方式の通信ネットワークとがゲートウェイを介して接続された車載通信システムであって、タイムトリガ方式の通信ネットワークから送信された同期フレームに所定の優先順位を設定して、CANネットワークに送信する優先的送信手段と、同期フレームの受信をトリガにFlexRayネットワークへ送信データを送信する送信手段と、を有する車載通信システムが開示されている。
 しかし、特許文献1に記載された通信方法は、要求及び応答の関係となる通信フレームを対象としているため、イベントドリブン方式ネットワークからタイムトリガ方式ネットワークへ一方的に送信する通信フレームや、異なる通信サイクルの通信フレームの通信遅延時間を短縮する制御は困難である。
 本発明は、前述した課題を解決するために、タイムトリガ方式ネットワークの通信スケジュールに同期して、イベントドリブン方式ネットワーク間の通信タイミングを調整する技術の提供を目的とする。
 本願において開示される発明の代表的な一例を示せば以下の通りである。すなわち、タイムトリガ方式の第1の通信ネットワークと、イベントドリブン方式の第2の通信ネットワークとがゲートウェイを介して接続されたシステムにおいて、前記第2の通信ネットワークの配下に設置された電子装置であって、前記第1の通信ネットワークの通信スケジュールを保持し、前記第1の通信ネットワークから送信されたフレームから、通信サイクルを特定し、前記第1の通信ネットワークから送信された特定の通信フレームの受信によって、前記第1の通信ネットワークへの通信フレームの送信タイミングを決定することを特徴とする。
 本発明の一態様によれば、イベントドリブン方式ネットワークからゲートウェイを介してタイムトリガ方式ネットワークへ通信フレームを送信する際、通信遅延時間を短縮できる。前述した以外の課題、構成及び効果は、以下の実施例の説明によって明らかにされる。
通信システムの一例を示すブロック図である。 車載電子装置の処理を示すフローチャート図である。 サイクル同期フレーム受信周期における同期通信実行を示すシーケンス図である。
 以下、本発明の実施形態を図面を参照して詳細に説明する。なお、実施形態を説明するための全図において、同一部分には原則として同一の符号を付し、その繰り返しの説明は省略する。
 図1は、本実施形態の通信システムの一例を示すブロック図である。
 本実施形態の通信システムは、スロットがスケジュール化されているタイムトリガ方式のFlexRayネットワーク10と、イベントドリブン方式のEthernetネットワーク20で構成されており、各ネットワークはゲートウェイ31を介して接続される。
 まず、Ethernetネットワーク20のECU21がFlexRayネットワーク10の通信スケジュールに同期したタイミングで通信フレームを送信する制御の概要を説明する。
(1)FlexRayネットワーク10は、ゲートウェイ31を介してEthernetネットワーク20のECU21へ通信フレームを送信する。
(2)Ethernetネットワーク20のECU21は、受信した通信フレームからFlexRay通信スケジュールのサイクルカウントを特定する。
(3)Ethernetネットワーク20のECU21は、特定したサイクルカウントに基づいて、送信開始する1サイクル分のフレーム構成を切り替える。
(4)Ethernetネットワーク20のECU21は、予め設定されたスロット番号のフレーム受信をトリガとして、(3)で選択された1サイクル分の通信フレームをFlexRayネットワーク10へ送信開始する。
 FlexRayネットワーク10のECU11は、FlexRay通信スケジュールに従って通信する。本実施形態に特有の制御は無い。
 FlexRayネットワーク10のECU11は、FlexRay通信プロトコルに従って、通信フレームをゲートウェイ31へ送信する。
 ゲートウェイ31は、まず、受信した通信フレームのプロトコル、すなわち、FlexRay通信フレームをEthernet通信フレームへ変換する。プロトコル変換された通信フレームを、Ethernetネットワーク20のECU21へ直ちに送信する。FlexRay通信フレームとEthernet通信フレームは、FlexRayフレームIDとEthernetポート番号で関連付けられ、関連付け情報はゲートウェイ31が保持する。
 FlexRayネットワーク10からEthernetネットワーク20へは、本発明適用の有無にかかわらず、通信フレームが送信される。Ethernetネットワーク20のECU21は、FlexRay通信スケジュールに同期したタイミングで通信フレームを送信するように制御される。Ethernetネットワーク20のECU21は、FlexRayネットワーク10から受信する通信フレームのうち選択された二つの通信フレームを用いて、通信フレームの送信タイミングを定める。一つはサイクル同期フレームであり、もう一つはスロット同期フレームである。サイクル同期フレームはスロット同期フレームより長周期である。この二つの通信フレームを用いることによって、現在のFlexRay通信スケジュールに適するフレーム送信タイミングでデータを送信でき、通信の効率を向上できる。
 サイクル同期フレームは、FlexRay通信スケジュールのサイクルカウントを特定可能な通信フレームを選択する。サイクル同期フレームは、FlexRayネットワーク10からEthernetネットワーク20のECU21へ送信される通信フレームの内、通信周期が最も長い一つを選択するとよい。このため、Ethernetネットワーク20のECU21は、サイクル同期フレームの受信によって、サイクルカウントを識別できる。このように、サイクル同期フレームは4サイクルに1回、スロット同期フレームは毎サイクルなど、サイクル同期フレームはスロット同期フレーム以上の間隔で受信される。
 サイクル同期フレームは、Ethernetネットワーク20のECU21が送信する1サイクル分のフレームの構成を切り替えるために使用される。FlexRayでは複数の通信サイクルのフレームが混在しているため、通信フレーム毎に通信スケジュールを切り替える。
 スロット同期フレームは、FlexRay通信スケジュールのスロット番号を特定可能な通信フレームを選択する。スロット同期フレームは、FlexRayネットワーク10からEthernetネットワーク20のECU21へ送信される通信フレームの内、通信周期が最も短い一つを選択するとよい。
 スロット同期フレームは、Ethernetネットワーク20のECU21が1サイクル分の通信フレームを送信開始する際のトリガとして使用される。サイクル同期フレームによってサイクルカウントを特定した後、スロット同期フレームの受信によってカウントを更新することで、次サイクルに送信する通信フレームを切り替える。
 次に、Ethernetネットワーク20のECU21が送信する1サイクル分の通信フレーム構成について説明する。
 Ethernetネットワーク20のECU21は、通信フレーム構成の全パターンを保持する。通信フレーム構成のパターン数の最大値は、FlexRayネットワーク10からEthernetネットワーク20のECU21へ送信される通信フレームの最長サイクル周期÷最短サイクル周期となる。FlexRay通信スケジュールは64サイクルで定義されるが、通信フレーム構成の重複するサイクルを考慮すると前述の式で表される。つまり、Ethernetネットワーク20のECU21はFlexRay通信スケジュールを、必ずしも64サイクルとして認識する必要はない。
 ただし、FlexRayネットワーク10からEthernetネットワーク20のECU21へ送信される通信フレームの最長サイクル周期と最短サイクル周期が同一である場合、通信フレーム構成が1パターンのみとなり、サイクル毎にフレーム構成を切り替える必要が無いため、サイクル同期フレームを定めなくてよい。
 通信フレーム構成は、スロット同期フレーム受信をトリガとして送信開始される1サイクル分の通信フレームのデータ内容及び送信タイミング情報を含む。データ内容及び送信タイミングは、FlexRay通信スケジュール情報を参照して定められる。
 Ethernetネットワーク20のECU21からFlexRayネットワーク10へ送信する通信フレームの1サイクルは、FlexRayネットワーク10からEthernetネットワーク20のECU21へ送信される通信フレームの最短サイクル周期と同じ周期とし、FlexRay通信スケジュールの1サイクルと同じ周期とは限らない。
 通信フレーム構成の1サイクルの時間範囲は、スロット同期フレームのスロット番号に、ゲートウェイ31とEthernetネットワーク20のECU21間の送受信総処理時間分のオフセットを追加したスロット番号から1サイクル分である。但し、安全係数として数スロット分オフセットをさらに追加してもよい。
 図2は、Ethernetネットワーク20のECU21が実行する処理のフローチャートである。
 ECU21は、サイクルカウントの初期値を設定する。例えば、初期値を0に設定するとよい(101)。
 次に、ECU21は、通信フレーム構成パターンを参照して(102)、送信するフレームの構成を切り替える(103)。具体的には、サイクルカウント毎に一周期分のデータ構成を設定する。
 次に、ECU21は、スロット同期フレームを受信すると(104)、スロット同期フレームの受信をトリガとして、1サイクル分の通信フレームの送信を開始する(105)。すなわち、FlexRayネットワーク10への通信に要する時間の後、通信フレームが送信される。なお、ECU21がスロット同期フレームを受信しなければ、処理を終了する。例えばイグニッションオフによって、ECU21はしばらくの間動作するが、スロット同期フレームを受信しない。
 次に、ECU21は、サイクル同期フレームを受信すると(106)、サイクルカウントをリセットする(107)。ECU21は、このタイミングで1サイクル分のフレームの構成を切り替える。一方、ECU21は、サイクル同期フレームを受信しなければ、サイクルカウントをカウントアップする(108)。ECU21は、このタイミングで1サイクル分のフレームの構成を切り替えることができる。
 その後、ステップ102に戻り、通信フレーム構成のパターンを参照して、処理を繰り返し実行する。
 図3は、本実施形態の車載電子装置の通信シーケンスを示す図の一例である。
 FlexRayネットワーク10からEthernetネットワーク20のECU21へ送信される通信フレームの内、通信周期が最も長いものが選択されたサイクル同期フレームは、ゲートウェイ31にて、プロトコル変換され、Ethernetネットワーク20のECU21へ転送される。Ethernetネットワーク20のECU21は、サイクル同期フレームを受信によって、サイクルカウントを識別でき、FlexRayネットワーク10へ送信する通信フレームの構成を切り替える。
 FlexRayネットワーク10からEthernetネットワーク20のECU21へ送信される通信フレームの内、通信周期が最も短いものが選択されたスロット同期フレームは、ゲートウェイ31にてプロトコル変換され、Ethernetネットワーク20のECU21へ転送される。Ethernetネットワーク20のECU21は、スロット同期フレームを受信すると、FlexRayネットワーク10への通信フレームの送信を開始し、1周期分の通信フレームを送信する。
 その後、Ethernetネットワーク20のECU21は、FlexRay通信スケジュールに同期して通信フレームを送信する。
 [効果]
 このように本実施例のEthernetネットワーク20のECU21は、通信フレーム構成の1サイクルにおける第1スロットから、FlexRay通信スケジュールに基づいた時間間隔にて通信フレームを送信することによって、Ethernetネットワーク20のECU21が、FlexRayネットワーク10のタイムトリガ方式通信を模擬し、FlexRay通信スケジュールに同期して通信フレームを送信できる。
 従来は、FlexRayネットワーク10とEthernetネットワーク20の間で要求及び応答の関係となる通信フレームを対象に同期制御を行っていたため、Ethernetネットワーク20からFlexRayネットワーク10へ一方的に送信する通信フレーム、及び異なる通信サイクルの通信フレームに適用した同期制御が困難である。
 これに対し、本発明の実施例では、Ethernetネットワーク20の通信フレーム送信タイミングをFlexRayネットワーク10の通信スケジュールに同期させるので、以下の条件においても、データ発生から送信までの通信遅延時間を短縮できる。
・FlexRayネットワーク10の通信スケジュールに複数の通信サイクルの通信フレームが混在している。
・Ethernetネットワーク20からFlexRayネットワーク10へ一方的に通信フレームが送信される。
 以上説明したように、Ethernetネットワーク20のECU21は、サイクル同期フレーム及びスロット同期フレームの受信を識別し、保持しているFlexRay通信スケジュール情報に基づいて通信フレームの送信を制御するので、FlexRay通信スケジュールに同期して通信フレームを送信できる。
 また、FlexRayネットワーク10からEthernetネットワーク20のECU21へ送信される通信フレームの内、通信周期が最も長い一つをサイクル同期フレームに選択するので、適確なタイミングで通信フレーム毎に通信スケジュールを切り替えられる。
 FlexRayネットワーク10からEthernetネットワーク20のECU21へ送信される通信フレームの内、通信周期が最も短い一つをスロット同期フレームに選択するので、スロット同期フレームの受信によってカウントを更新でき、FlexRay通信スケジュールに同期して通信フレームを送信できる。
 なお、本発明は前述した実施例に限定されるものではなく、添付した特許請求の範囲の趣旨内における様々な変形例及び同等の構成が含まれる。例えば、前述した実施例は本発明を分かりやすく説明するために詳細に説明したものであり、必ずしも説明した全ての構成を備えるものに本発明は限定されない。また、ある実施例の構成の一部を他の実施例の構成に置き換えてもよい。また、ある実施例の構成に他の実施例の構成を加えてもよい。また、各実施例の構成の一部について、他の構成の追加・削除・置換をしてもよい。
 また、前述した各構成、機能、処理部、処理手段等は、それらの一部又は全部を、例えば集積回路で設計する等により、ハードウェアで実現してもよく、プロセッサがそれぞれの機能を実現するプログラムを解釈し実行することにより、ソフトウェアで実現してもよい。
 各機能を実現するプログラム、テーブル、ファイル等の情報は、メモリ、ハードディスク、SSD(Solid State Drive)等の記憶装置、又は、ICカード、SDカード、DVD等の記録媒体に格納することができる。
 また、制御線や情報線は説明上必要と考えられるものを示しており、実装上必要な全ての制御線や情報線を示しているとは限らない。実際には、ほとんど全ての構成が相互に接続されていると考えてよい。

Claims (10)

  1.  タイムトリガ方式の第1の通信ネットワークと、イベントドリブン方式の第2の通信ネットワークとがゲートウェイを介して接続されたシステムにおいて、前記第2の通信ネットワークの配下に設置された電子装置であって、
     前記第1の通信ネットワークの通信スケジュールを保持し、
     前記第1の通信ネットワークから送信されたフレームから、通信サイクルを特定し、
     前記第1の通信ネットワークから送信された特定の通信フレームの受信によって、前記第1の通信ネットワークへの通信フレームの送信タイミングを決定することを特徴とする電子装置。
  2.  請求項1に記載の電子装置であって、
     前記特定の通信フレームのうちスロット同期フレームの受信をトリガに、前記第1の通信ネットワークへ通信フレームの送信を開始することを特徴とする電子装置。
  3.  請求項2に記載の電子装置であって、
     前記特定の通信フレームは、前記スロット同期フレームと、前記電子装置が送信する1サイクル分の通信フレームの構成を切り替えるために使用されるサイクル同期フレームとを含み、
     前記サイクル同期フレームは前記スロット同期フレームより長周期であることを特徴とする電子装置。
  4.  請求項3に記載の電子装置であって、
     前記第1の通信ネットワークから前記第2の通信ネットワークへ送信される通信フレームのうち、通信サイクルが最も短いものを前記スロット同期フレームに選択することを特徴とする電子装置。
  5.  請求項3に記載の電子装置であって、
     前記第1の通信ネットワークから前記第2の通信ネットワークへ送信される通信フレームのうち、通信サイクルが最も長いものを前記サイクル同期フレームに選択することを特徴とする電子装置。
  6.  電子装置が実行する通信制御方法であって、
     前記電子装置は、タイムトリガ方式の第1の通信ネットワークと、イベントドリブン方式の第2の通信ネットワークとがゲートウェイを介して接続されたシステムにおいて、前記第2の通信ネットワークの配下に設置されており、
     前記通信制御方法は、
     前記電子装置が、前記第1の通信ネットワークの通信スケジュールを保持し、
     前記電子装置が、前記第1の通信ネットワークから送信されたフレームから、通信サイクルを特定し、
     前記電子装置が、前記第1の通信ネットワークから送信された特定の通信フレームの受信によって、前記第1の通信ネットワークへの通信フレームの送信タイミングを決定することを特徴とする通信制御方法。
  7.  請求項6に記載の通信制御方法であって、
     前記電子装置が、前記特定の通信フレームのうちスロット同期フレームの受信をトリガに、前記第1の通信ネットワークへ通信フレームの送信を開始することを特徴とする通信制御方法。
  8.  請求項7に記載の通信制御方法であって、
     前記特定の通信フレームは、前記スロット同期フレームと、前記電子装置が送信する1サイクル分の通信フレームの構成を切り替えるために使用されるサイクル同期フレームとを含み、
     前記通信制御方法は、前記電子装置が、前記サイクル同期フレームは前記スロット同期フレームより長周期であることを特徴とする通信制御方法。
  9.  請求項8に記載の通信制御方法であって、
     前記電子装置が、前記第1の通信ネットワークから前記第2の通信ネットワークへ送信される通信フレームのうち、通信サイクルが最も短いものを前記スロット同期フレームに選択することを特徴とする通信制御方法。
  10.  請求項8に記載の通信制御方法であって、
     前記電子装置が、前記第1の通信ネットワークから前記第2の通信ネットワークへ送信される通信フレームのうち、通信サイクルが最も長いものを前記サイクル同期フレームに選択することを特徴とする通信制御方法。
PCT/JP2021/031774 2021-02-25 2021-08-30 電子装置及び通信制御方法 WO2022180892A1 (ja)

Priority Applications (2)

Application Number Priority Date Filing Date Title
DE112021005279.9T DE112021005279T5 (de) 2021-02-25 2021-08-30 Elektronische Vorrichtung und Kommunikationssteuerverfahren
JP2023502042A JP7446517B2 (ja) 2021-02-25 2021-08-30 電子装置及び通信制御方法

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
JP2021028479 2021-02-25
JP2021-028479 2021-02-25

Publications (1)

Publication Number Publication Date
WO2022180892A1 true WO2022180892A1 (ja) 2022-09-01

Family

ID=83048770

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/JP2021/031774 WO2022180892A1 (ja) 2021-02-25 2021-08-30 電子装置及び通信制御方法

Country Status (3)

Country Link
JP (1) JP7446517B2 (ja)
DE (1) DE112021005279T5 (ja)
WO (1) WO2022180892A1 (ja)

Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2010116416A1 (ja) * 2009-04-08 2010-10-14 トヨタ自動車株式会社 データ中継装置、及び当該装置で用いられるデータ中継方法
JP2011109452A (ja) * 2009-11-18 2011-06-02 Toyota Motor Corp 車載通信システム
JP2011193227A (ja) * 2010-03-15 2011-09-29 Denso Corp 通信ネットワークシステム、中継端末、マイクロコンピュータ、送受信装置

Family Cites Families (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2008306648A (ja) 2007-06-11 2008-12-18 Nissan Motor Co Ltd データ中継装置及びデータ中継方法並びに通信ネットワークシステム
US8775681B2 (en) 2011-04-27 2014-07-08 GM Global Technology Operations LLC Cross-network synchronization of application S/W execution using flexray global time
CN103001722B (zh) 2012-11-23 2015-09-02 北京东土科技股份有限公司 一种基于时间触发以太网的数据传输方法及节点设备
JP7294942B2 (ja) 2019-08-09 2023-06-20 三菱重工業株式会社 原油採掘ポンプ

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2010116416A1 (ja) * 2009-04-08 2010-10-14 トヨタ自動車株式会社 データ中継装置、及び当該装置で用いられるデータ中継方法
JP2011109452A (ja) * 2009-11-18 2011-06-02 Toyota Motor Corp 車載通信システム
JP2011193227A (ja) * 2010-03-15 2011-09-29 Denso Corp 通信ネットワークシステム、中継端末、マイクロコンピュータ、送受信装置

Also Published As

Publication number Publication date
DE112021005279T5 (de) 2023-10-12
JPWO2022180892A1 (ja) 2022-09-01
JP7446517B2 (ja) 2024-03-08

Similar Documents

Publication Publication Date Title
JP5080448B2 (ja) 2つのバスシステムを同期する方法および装置、並びに2つのバスシステムから成る構成
EP1573560B1 (en) System and method for efficient use of bandwidth or reduction of time accuracy requirements
JP5563165B2 (ja) 切り替え可能なデータレートによる直列データ伝送のための方法及び装置
US7979730B2 (en) Method and device for synchronizing cycle time of a plurality of TTCAN buses based on determined global time deviations and a corresponding bus system
US9300323B2 (en) Method and device for serially transferring data, having switchable data encoding
US9461937B2 (en) Method and device for a serial data transmission with additionally inserted data
CN106603367A (zh) 一种用于时间同步的can总线通信方法
JP2003124950A (ja) バスシステム上での情報伝送方法と装置およびバスシステム
JP5814474B2 (ja) 通信システムを駆動する方法
CA2485187A1 (en) Method and system for transmitting data via switchable data networks
JP2008504725A (ja) バスシステムの制御方法、バスシステムの装置およびバスシステム
CN112913291A (zh) 用于在无线网络中同步事件窗口的设备、系统和方法
EP2036232A1 (en) Method and apparatus for transmitting data in a flexray node
Akpinar et al. Improved clock synchronization algorithms for the controller area network (CAN)
WO2022180892A1 (ja) 電子装置及び通信制御方法
JP5372699B2 (ja) 車載ネットワーク装置
JP2011165185A (ja) タイムトリガ型バスシステムの作動方法
KR102338973B1 (ko) 비-결정론적 네트워크를 통해 네트워크 장치들 간에 데이터를 송신하는 방법
WO2009101550A1 (en) Method of correction of network synchronisation
JP2003333048A (ja) 車載通信制御システム
JP4019840B2 (ja) ネットワーク通信システム、およびこのネットワーク通信システムを用いた制御処理システム
KR101714085B1 (ko) 플렉스레이 통신을 이용한 차량용 통신스케줄 설정방법
CN114546928A (zh) 核心簇同步的方法、控制方法及设备、核心、介质
JPH11127219A (ja) データ転送装置

Legal Events

Date Code Title Description
121 Ep: the epo has been informed by wipo that ep was designated in this application

Ref document number: 21927988

Country of ref document: EP

Kind code of ref document: A1

ENP Entry into the national phase

Ref document number: 2023502042

Country of ref document: JP

Kind code of ref document: A

WWE Wipo information: entry into national phase

Ref document number: 112021005279

Country of ref document: DE

122 Ep: pct application non-entry in european phase

Ref document number: 21927988

Country of ref document: EP

Kind code of ref document: A1