JP7446517B2 - Electronic device and communication control method - Google Patents

Electronic device and communication control method Download PDF

Info

Publication number
JP7446517B2
JP7446517B2 JP2023502042A JP2023502042A JP7446517B2 JP 7446517 B2 JP7446517 B2 JP 7446517B2 JP 2023502042 A JP2023502042 A JP 2023502042A JP 2023502042 A JP2023502042 A JP 2023502042A JP 7446517 B2 JP7446517 B2 JP 7446517B2
Authority
JP
Japan
Prior art keywords
communication
frame
cycle
electronic device
network
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.)
Active
Application number
JP2023502042A
Other languages
Japanese (ja)
Other versions
JPWO2022180892A5 (en
JPWO2022180892A1 (en
Inventor
優斗 加藤
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.)
Hitachi Astemo Ltd
Original Assignee
Hitachi Astemo Ltd
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 Hitachi Astemo Ltd filed Critical Hitachi Astemo Ltd
Publication of JPWO2022180892A1 publication Critical patent/JPWO2022180892A1/ja
Publication of JPWO2022180892A5 publication Critical patent/JPWO2022180892A5/ja
Application granted granted Critical
Publication of JP7446517B2 publication Critical patent/JP7446517B2/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

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

Description

参照による取り込みIngest by reference

本出願は、令和3年(2021年)2月25日に出願された日本出願である特願2021-28479の優先権を主張し、その内容を参照することにより、本出願に取り込む。 This application claims priority to Japanese Patent Application No. 2021-28479, which was filed on February 25, 2021, and its contents are incorporated into this application by reference.

本発明は、電子装置に関し、特に、異なるプロトコルのネットワークが接続された制御システムにおいて、通信タイミングを調整する技術に関する。 The present invention relates to electronic devices, and particularly to a technique for adjusting communication timing in a control system connected to networks using different protocols.

車両の電子化に伴って、車両に搭載される電子装置の数が増加し、各電子装置間の通信データ量が増大している。電子装置の機能ごとに通信の要件が異なるため、車両には複数の通信プロトコルネットワークが搭載されており、ゲートウェイを介して異なるネットワーク間でデータ通信を行っている。しかし、異なるネットワークは別のタイマで動作しているため、データ転送時間に加えて、データ通信開始までの待機時間が発生し、通信遅延時間が増大することがある。 BACKGROUND OF THE INVENTION As vehicles become more electronic, the number of electronic devices mounted on the vehicle is increasing, and the amount of communication data between each electronic device is increasing. Because different functions of electronic devices have different communication requirements, vehicles are equipped with multiple communication protocol networks and communicate data between the different networks via gateways. However, since different networks operate with different timers, in addition to the data transfer time, there is a waiting time until data communication starts, which may increase communication delay time.

特許文献1(特開2011-109452号)には、タイムトリガ方式の通信ネットワークと、イベントドリブン方式の通信ネットワークとがゲートウェイを介して接続された車載通信システムであって、タイムトリガ方式の通信ネットワークから送信された同期フレームに所定の優先順位を設定して、CANネットワークに送信する優先的送信手段と、同期フレームの受信をトリガにFlexRayネットワークへ送信データを送信する送信手段と、を有する車載通信システムが開示されている。 Patent Document 1 (Japanese Unexamined Patent Publication No. 2011-109452) discloses an in-vehicle communication system in which a time-trigger type communication network and an event-driven type communication network are connected via a gateway, and the time-trigger type communication network An in-vehicle communication system comprising: a preferential transmission means for setting a predetermined priority on a synchronization frame transmitted from a CAN network and transmitting the same to a CAN network; and a transmission means for transmitting transmission data to a FlexRay network triggered by reception of the synchronization frame. system is disclosed.

しかし、特許文献1に記載された通信方法は、要求及び応答の関係となる通信フレームを対象としているため、イベントドリブン方式ネットワークからタイムトリガ方式ネットワークへ一方的に送信する通信フレームや、異なる通信サイクルの通信フレームの通信遅延時間を短縮する制御は困難である。 However, since the communication method described in Patent Document 1 targets communication frames that have a relationship of request and response, communication frames that are unilaterally transmitted from an event-driven network to a time-trigger network, or different communication cycles are used. Control to shorten the communication delay time of communication frames is difficult.

本発明は、前述した課題を解決するために、タイムトリガ方式ネットワークの通信スケジュールに同期して、イベントドリブン方式ネットワーク間の通信タイミングを調整する技術の提供を目的とする。 In order to solve the above-mentioned problems, the present invention aims to provide a technique for adjusting communication timing between event-driven networks in synchronization with a communication schedule of a time-triggered network.

本願において開示される発明の代表的な一例を示せば以下の通りである。すなわち、タイムトリガ方式の第1の通信ネットワークと、イベントドリブン方式の第2の通信ネットワークとがゲートウェイを介して接続されたシステムにおいて、前記第2の通信ネットワークの配下に設置された電子装置であって、前記第1の通信ネットワークの通信スケジュールを保持し、前記第1の通信ネットワークから送信されたフレームから、通信サイクルを特定し、前記第1の通信ネットワークから送信された特定の通信フレームの受信によって、前記第1の通信ネットワークへの通信フレームの送信タイミングを決定することを特徴とする。 A typical example of the invention disclosed in this application is as follows. That is, in a system in which a time-trigger type first communication network and an event-driven type second communication network are connected via a gateway, an electronic device installed under the second communication network. maintains a communication schedule of the first communication network, identifies a communication cycle from frames transmitted from the first communication network, and receives a specific communication frame transmitted from the first communication network; The transmission timing of the communication frame to the first communication network is determined by the following.

本発明の一態様によれば、イベントドリブン方式ネットワークからゲートウェイを介してタイムトリガ方式ネットワークへ通信フレームを送信する際、通信遅延時間を短縮できる。前述した以外の課題、構成及び効果は、以下の実施例の説明によって明らかにされる。 According to one aspect of the present invention, communication delay time can be reduced when transmitting a communication frame from an event-driven network to a time-triggered network via a gateway. Problems, configurations, and effects other than those described above will be made clear by the description of the following examples.

通信システムの一例を示すブロック図である。FIG. 1 is a block diagram showing an example of a communication system. 車載電子装置の処理を示すフローチャート図である。FIG. 3 is a flowchart diagram showing processing of the in-vehicle electronic device. サイクル同期フレーム受信周期における同期通信実行を示すシーケンス図である。FIG. 3 is a sequence diagram showing execution of synchronous communication in a cycle synchronous frame reception period.

以下、本発明の実施形態を図面を参照して詳細に説明する。なお、実施形態を説明するための全図において、同一部分には原則として同一の符号を付し、その繰り返しの説明は省略する。 Embodiments of the present invention will be described in detail below with reference to the drawings. In addition, in all the figures for explaining the embodiment, the same parts are given the same reference numerals in principle, and repeated explanations thereof will be omitted.

図1は、本実施形態の通信システムの一例を示すブロック図である。 FIG. 1 is a block diagram showing an example of a communication system according to this embodiment.

本実施形態の通信システムは、スロットがスケジュール化されているタイムトリガ方式のFlexRayネットワーク10と、イベントドリブン方式のEthernetネットワーク20で構成されており、各ネットワークはゲートウェイ31を介して接続される。 The communication system of this embodiment includes 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.

まず、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へ送信開始する。
First, an outline of the control in which the ECU 21 of the Ethernet network 20 transmits a communication frame at a timing synchronized with the communication schedule of the FlexRay network 10 will be explained.
(1) The FlexRay network 10 transmits a communication frame to the ECU 21 of the Ethernet network 20 via the gateway 31.
(2) The ECU 21 of the Ethernet network 20 identifies the cycle count of the FlexRay communication schedule from the received communication frame.
(3) The ECU 21 of the Ethernet network 20 switches the frame configuration for one cycle to start transmission based on the specified cycle count.
(4) The ECU 21 of the Ethernet network 20 starts transmitting the communication frame for one cycle selected in (3) to the FlexRay network 10, using the reception of the frame of the preset slot number as a trigger.

FlexRayネットワーク10のECU11は、FlexRay通信スケジュールに従って通信する。本実施形態に特有の制御は無い。 The ECU 11 of the FlexRay network 10 communicates according to the FlexRay communication schedule. There is no control specific to this embodiment.

FlexRayネットワーク10のECU11は、FlexRay通信プロトコルに従って、通信フレームをゲートウェイ31へ送信する。 The ECU 11 of the FlexRay network 10 transmits a communication frame to the gateway 31 according to the FlexRay communication protocol.

ゲートウェイ31は、まず、受信した通信フレームのプロトコル、すなわち、FlexRay通信フレームをEthernet通信フレームへ変換する。プロトコル変換された通信フレームを、Ethernetネットワーク20のECU21へ直ちに送信する。FlexRay通信フレームとEthernet通信フレームは、FlexRayフレームIDとEthernetポート番号で関連付けられ、関連付け情報はゲートウェイ31が保持する。 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. The FlexRay communication frame and the Ethernet communication frame are associated with each other using a FlexRay frame ID and an Ethernet port number, and the gateway 31 holds the association information.

FlexRayネットワーク10からEthernetネットワーク20へは、本発明適用の有無にかかわらず、通信フレームが送信される。Ethernetネットワーク20のECU21は、FlexRay通信スケジュールに同期したタイミングで通信フレームを送信するように制御される。Ethernetネットワーク20のECU21は、FlexRayネットワーク10から受信する通信フレームのうち選択された二つの通信フレームを用いて、通信フレームの送信タイミングを定める。一つはサイクル同期フレームであり、もう一つはスロット同期フレームである。サイクル同期フレームはスロット同期フレームより長周期である。この二つの通信フレームを用いることによって、現在のFlexRay通信スケジュールに適するフレーム送信タイミングでデータを送信でき、通信の効率を向上できる。 Communication frames are 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 timings synchronized with the FlexRay communication schedule. The ECU 21 of the Ethernet network 20 determines the transmission timing of the communication frame using two communication frames selected from among the communication frames received from the FlexRay network 10. One is a cycle synchronization frame and the other is a slot synchronization frame. A cycle synchronization frame has a longer period than a slot synchronization frame. By using these two communication frames, data can be transmitted at a frame transmission timing suitable for the current FlexRay communication schedule, and communication efficiency can be improved.

サイクル同期フレームは、FlexRay通信スケジュールのサイクルカウントを特定可能な通信フレームを選択する。サイクル同期フレームは、FlexRayネットワーク10からEthernetネットワーク20のECU21へ送信される通信フレームの内、通信周期が最も長い一つを選択するとよい。このため、Ethernetネットワーク20のECU21は、サイクル同期フレームの受信によって、サイクルカウントを識別できる。このように、サイクル同期フレームは4サイクルに1回、スロット同期フレームは毎サイクルなど、サイクル同期フレームはスロット同期フレーム以上の間隔で受信される。 As the cycle synchronization frame, a communication frame in which the cycle count of the FlexRay communication schedule can be specified is selected. As the cycle synchronization frame, it is preferable to select one having the longest communication cycle 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, the cycle synchronization frame is received once every four cycles, the slot synchronization frame is received every cycle, and the cycle synchronization frame is received at intervals longer than the slot synchronization frame.

サイクル同期フレームは、Ethernetネットワーク20のECU21が送信する1サイクル分のフレームの構成を切り替えるために使用される。FlexRayでは複数の通信サイクルのフレームが混在しているため、通信フレーム毎に通信スケジュールを切り替える。 The cycle synchronization frame is used to switch the configuration of one cycle of frames transmitted by the ECU 21 of the Ethernet network 20. In FlexRay, since frames of multiple communication cycles coexist, the communication schedule is switched for each communication frame.

スロット同期フレームは、FlexRay通信スケジュールのスロット番号を特定可能な通信フレームを選択する。スロット同期フレームは、FlexRayネットワーク10からEthernetネットワーク20のECU21へ送信される通信フレームの内、通信周期が最も短い一つを選択するとよい。 As the slot synchronization frame, a communication frame in which the slot number of the FlexRay communication schedule can be specified is selected. As the slot synchronization frame, it is preferable to select one with the shortest communication cycle from among the communication frames transmitted from the FlexRay network 10 to the ECU 21 of the Ethernet network 20.

スロット同期フレームは、Ethernetネットワーク20のECU21が1サイクル分の通信フレームを送信開始する際のトリガとして使用される。サイクル同期フレームによってサイクルカウントを特定した後、スロット同期フレームの受信によってカウントを更新することで、次サイクルに送信する通信フレームを切り替える。 The slot synchronization frame is used as a trigger when the ECU 21 of the Ethernet network 20 starts transmitting one cycle of communication frames. After identifying the cycle count using the cycle synchronization frame, the count is updated by receiving the slot synchronization frame, thereby switching the communication frame to be transmitted in the next cycle.

次に、Ethernetネットワーク20のECU21が送信する1サイクル分の通信フレーム構成について説明する。 Next, the structure of one cycle of communication frames transmitted by the ECU 21 of the Ethernet network 20 will be described.

Ethernetネットワーク20のECU21は、通信フレーム構成の全パターンを保持する。通信フレーム構成のパターン数の最大値は、FlexRayネットワーク10からEthernetネットワーク20のECU21へ送信される通信フレームの最長サイクル周期÷最短サイクル周期となる。FlexRay通信スケジュールは64サイクルで定義されるが、通信フレーム構成の重複するサイクルを考慮すると前述の式で表される。つまり、Ethernetネットワーク20のECU21はFlexRay通信スケジュールを、必ずしも64サイクルとして認識する必要はない。 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 cycle divided by the shortest cycle cycle 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, but considering the overlapping cycles of the communication frame structure, it can be expressed by the above equation. That is, the ECU 21 of the Ethernet network 20 does not necessarily need to recognize the FlexRay communication schedule as 64 cycles.

ただし、FlexRayネットワーク10からEthernetネットワーク20のECU21へ送信される通信フレームの最長サイクル周期と最短サイクル周期が同一である場合、通信フレーム構成が1パターンのみとなり、サイクル毎にフレーム構成を切り替える必要が無いため、サイクル同期フレームを定めなくてよい。 However, if the longest cycle period and the shortest cycle period of the communication frame transmitted from the FlexRay network 10 to the ECU 21 of the Ethernet network 20 are the same, there is only one communication frame configuration, and there is no need to switch the frame configuration every cycle. Therefore, there is no need to define a cycle synchronization frame.

通信フレーム構成は、スロット同期フレーム受信をトリガとして送信開始される1サイクル分の通信フレームのデータ内容及び送信タイミング情報を含む。データ内容及び送信タイミングは、FlexRay通信スケジュール情報を参照して定められる。 The communication frame configuration includes data content and transmission timing information of a communication frame for one cycle whose transmission is started using slot synchronization frame reception as a trigger. Data content and transmission timing are determined with reference to FlexRay communication schedule information.

Ethernetネットワーク20のECU21からFlexRayネットワーク10へ送信する通信フレームの1サイクルは、FlexRayネットワーク10からEthernetネットワーク20のECU21へ送信される通信フレームの最短サイクル周期と同じ周期とし、FlexRay通信スケジュールの1サイクルと同じ周期とは限らない。 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 period 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 cycle.

通信フレーム構成の1サイクルの時間範囲は、スロット同期フレームのスロット番号に、ゲートウェイ31とEthernetネットワーク20のECU21間の送受信総処理時間分のオフセットを追加したスロット番号から1サイクル分である。但し、安全係数として数スロット分オフセットをさらに追加してもよい。 The time range of one cycle of the communication frame configuration is one cycle from the slot number obtained by adding an offset for the total transmission and 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. However, an offset of several slots may be further added as a safety factor.

図2は、Ethernetネットワーク20のECU21が実行する処理のフローチャートである。 FIG. 2 is a flowchart of processing executed by the ECU 21 of the Ethernet network 20.

ECU21は、サイクルカウントの初期値を設定する。例えば、初期値を0に設定するとよい(101)。 The ECU 21 sets an initial value for the cycle count. For example, the initial value may be set to 0 (101).

次に、ECU21は、通信フレーム構成パターンを参照して(102)、送信するフレームの構成を切り替える(103)。具体的には、サイクルカウント毎に一周期分のデータ構成を設定する。 Next, 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.

次に、ECU21は、スロット同期フレームを受信すると(104)、スロット同期フレームの受信をトリガとして、1サイクル分の通信フレームの送信を開始する(105)。すなわち、FlexRayネットワーク10への通信に要する時間の後、通信フレームが送信される。なお、ECU21がスロット同期フレームを受信しなければ、処理を終了する。例えばイグニッションオフによって、ECU21はしばらくの間動作するが、スロット同期フレームを受信しない。 Next, when the ECU 21 receives the slot synchronization frame (104), it starts transmitting one cycle of communication frames using the reception of the slot synchronization frame as a trigger (105). That is, after the time required for communication to the FlexRay network 10, the communication frame is transmitted. Note that if the ECU 21 does not receive the slot synchronization frame, the process ends. For example, when the ignition is turned off, the ECU 21 operates for a while, but does not receive the slot synchronization frame.

次に、ECU21は、サイクル同期フレームを受信すると(106)、サイクルカウントをリセットする(107)。ECU21は、このタイミングで1サイクル分のフレームの構成を切り替える。一方、ECU21は、サイクル同期フレームを受信しなければ、サイクルカウントをカウントアップする(108)。ECU21は、このタイミングで1サイクル分のフレームの構成を切り替えることができる。 Next, upon receiving the cycle synchronization frame (106), the ECU 21 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 increments the cycle count (108). The ECU 21 can switch the frame configuration for one cycle at this timing.

その後、ステップ102に戻り、通信フレーム構成のパターンを参照して、処理を繰り返し実行する。 Thereafter, the process returns to step 102, and the process is repeatedly executed with reference to the communication frame configuration pattern.

図3は、本実施形態の車載電子装置の通信シーケンスを示す図の一例である。 FIG. 3 is an example of a diagram showing a communication sequence of the in-vehicle electronic device of this embodiment.

FlexRayネットワーク10からEthernetネットワーク20のECU21へ送信される通信フレームの内、通信周期が最も長いものが選択されたサイクル同期フレームは、ゲートウェイ31にて、プロトコル変換され、Ethernetネットワーク20のECU21へ転送される。Ethernetネットワーク20のECU21は、サイクル同期フレームを受信によって、サイクルカウントを識別でき、FlexRayネットワーク10へ送信する通信フレームの構成を切り替える。 Among the communication frames transmitted from the FlexRay network 10 to the ECU 21 of the Ethernet network 20, the cycle synchronization frame in which the longest communication cycle is selected is subjected to protocol conversion at the gateway 31, and transferred to the ECU 21 of the Ethernet network 20. Ru. The ECU 21 of the Ethernet network 20 can identify the cycle count by receiving the cycle synchronization frame, and switches the configuration of the communication frame to be transmitted to the FlexRay network 10.

FlexRayネットワーク10からEthernetネットワーク20のECU21へ送信される通信フレームの内、通信周期が最も短いものが選択されたスロット同期フレームは、ゲートウェイ31にてプロトコル変換され、Ethernetネットワーク20のECU21へ転送される。Ethernetネットワーク20のECU21は、スロット同期フレームを受信すると、FlexRayネットワーク10への通信フレームの送信を開始し、1周期分の通信フレームを送信する。 Among the communication frames transmitted from the FlexRay network 10 to the ECU 21 of the Ethernet network 20, the slot synchronization frame whose communication cycle is selected is the one with the shortest communication period, and the protocol is converted by the gateway 31, and the frame is transferred to the ECU 21 of the Ethernet network 20. . When the ECU 21 of the Ethernet network 20 receives the slot synchronization frame, it starts transmitting communication frames to the FlexRay network 10, and transmits communication frames for one period.

その後、Ethernetネットワーク20のECU21は、FlexRay通信スケジュールに同期して通信フレームを送信する。 Thereafter, the ECU 21 of the Ethernet network 20 transmits a communication frame in synchronization with the FlexRay communication schedule.

[効果]
このように本実施例のEthernetネットワーク20のECU21は、通信フレーム構成の1サイクルにおける第1スロットから、FlexRay通信スケジュールに基づいた時間間隔にて通信フレームを送信することによって、Ethernetネットワーク20のECU21が、FlexRayネットワーク10のタイムトリガ方式通信を模擬し、FlexRay通信スケジュールに同期して通信フレームを送信できる。
[effect]
In this way, the ECU 21 of the Ethernet network 20 of the present embodiment transmits communication frames from the first slot in one cycle of the communication frame configuration at time intervals based on the FlexRay communication schedule. , it is possible to simulate time-trigger type communication of the FlexRay network 10 and transmit communication frames in synchronization with the FlexRay communication schedule.

従来は、FlexRayネットワーク10とEthernetネットワーク20の間で要求及び応答の関係となる通信フレームを対象に同期制御を行っていたため、Ethernetネットワーク20からFlexRayネットワーク10へ一方的に送信する通信フレーム、及び異なる通信サイクルの通信フレームに適用した同期制御が困難である。 Conventionally, synchronization control has been performed for communication frames that have a request and response relationship between the FlexRay network 10 and the Ethernet network 20, so communication frames that are unilaterally transmitted from the Ethernet network 20 to the FlexRay network 10, and different Synchronization control applied to communication frames in communication cycles is difficult.

これに対し、本発明の実施例では、Ethernetネットワーク20の通信フレーム送信タイミングをFlexRayネットワーク10の通信スケジュールに同期させるので、以下の条件においても、データ発生から送信までの通信遅延時間を短縮できる。
・FlexRayネットワーク10の通信スケジュールに複数の通信サイクルの通信フレームが混在している。
・Ethernetネットワーク20からFlexRayネットワーク10へ一方的に通信フレームが送信される。
In contrast, in the embodiment of the present invention, the communication frame transmission timing of the Ethernet network 20 is synchronized with the communication schedule of the FlexRay network 10, so that the communication delay time from data generation to data transmission can be shortened even under the following conditions.
- Communication frames of multiple communication cycles are mixed in the communication schedule of the FlexRay network 10.
- A communication frame is unilaterally transmitted from the Ethernet network 20 to the FlexRay network 10.

以上説明したように、Ethernetネットワーク20のECU21は、サイクル同期フレーム及びスロット同期フレームの受信を識別し、保持しているFlexRay通信スケジュール情報に基づいて通信フレームの送信を制御するので、FlexRay通信スケジュールに同期して通信フレームを送信できる。 As explained above, the ECU 21 of the Ethernet network 20 identifies the reception of cycle synchronization frames and slot synchronization frames, and controls the transmission of communication frames based on the held FlexRay communication schedule information. Communication frames can be sent synchronously.

また、FlexRayネットワーク10からEthernetネットワーク20のECU21へ送信される通信フレームの内、通信周期が最も長い一つをサイクル同期フレームに選択するので、適確なタイミングで通信フレーム毎に通信スケジュールを切り替えられる。 Furthermore, among the communication frames transmitted from the FlexRay network 10 to the ECU 21 of the Ethernet network 20, the one with the longest communication cycle is selected as the cycle synchronization frame, so the communication schedule can be switched for each communication frame at an appropriate timing. .

FlexRayネットワーク10からEthernetネットワーク20のECU21へ送信される通信フレームの内、通信周期が最も短い一つをスロット同期フレームに選択するので、スロット同期フレームの受信によってカウントを更新でき、FlexRay通信スケジュールに同期して通信フレームを送信できる。 Among the communication frames transmitted from the FlexRay network 10 to the ECU 21 of the Ethernet network 20, one with the shortest communication cycle is selected as the slot synchronization frame, so the count can be updated by receiving the slot synchronization frame and synchronized with the FlexRay communication schedule. communication frame can be sent.

なお、本発明は前述した実施例に限定されるものではなく、添付した特許請求の範囲の趣旨内における様々な変形例及び同等の構成が含まれる。例えば、前述した実施例は本発明を分かりやすく説明するために詳細に説明したものであり、必ずしも説明した全ての構成を備えるものに本発明は限定されない。また、ある実施例の構成の一部を他の実施例の構成に置き換えてもよい。また、ある実施例の構成に他の実施例の構成を加えてもよい。また、各実施例の構成の一部について、他の構成の追加・削除・置換をしてもよい。 Note that the present invention is not limited to the embodiments described above, and includes various modifications and equivalent configurations within the scope of the appended claims. For example, the embodiments described above have been described in detail to explain the present invention in an easy-to-understand manner, and the present invention is not necessarily limited to having all the configurations described. Further, a part of the configuration of one embodiment may be replaced with the configuration of another embodiment. Further, the configuration of one embodiment may be added to the configuration of another embodiment. Further, other configurations may be added, deleted, or replaced with a part of the configuration of each embodiment.

また、前述した各構成、機能、処理部、処理手段等は、それらの一部又は全部を、例えば集積回路で設計する等により、ハードウェアで実現してもよく、プロセッサがそれぞれの機能を実現するプログラムを解釈し実行することにより、ソフトウェアで実現してもよい。 Further, each of the above-mentioned configurations, functions, processing units, processing means, etc. may be realized in part or in whole by hardware, for example by designing an integrated circuit, and a processor realizes each function. It may also be realized by software by interpreting and executing a program.

各機能を実現するプログラム、テーブル、ファイル等の情報は、メモリ、ハードディスク、SSD(Solid State Drive)等の記憶装置、又は、ICカード、SDカード、DVD等の記録媒体に格納することができる。 Information such as programs, tables, files, etc. that realize each function can be stored in a storage device such as a memory, a hard disk, or an SSD (Solid State Drive), or a recording medium such as an IC card, an SD card, or a DVD.

また、制御線や情報線は説明上必要と考えられるものを示しており、実装上必要な全ての制御線や情報線を示しているとは限らない。実際には、ほとんど全ての構成が相互に接続されていると考えてよい。 Furthermore, the control lines and information lines shown are those considered necessary for explanation, and do not necessarily show all the control lines and information lines necessary for implementation. In reality, almost all configurations can be considered interconnected.

Claims (10)

タイムトリガ方式の第1の通信ネットワークと、イベントドリブン方式の第2の通信ネットワークとがゲートウェイを介して接続されたシステムにおいて、前記第2の通信ネットワークの配下に設置された電子装置であって、
前記第1の通信ネットワークの通信スケジュールを保持し、
前記第1の通信ネットワークから送信されたフレームから、通信サイクルを特定し、
前記第1の通信ネットワークから送信された特定の通信フレームの受信によって、前記第1の通信ネットワークへの通信フレームの送信タイミングを決定することを特徴とする電子装置。
In a system in which a time-trigger type first communication network and an event-driven type second communication network are connected via a gateway, an electronic device installed under the second communication network,
maintaining a communication schedule of the first communication network;
identifying a communication cycle from a frame transmitted from the first communication network;
An electronic device characterized in that a timing for transmitting a communication frame to the first communication network is determined based on reception of a specific communication frame transmitted from the first communication network.
請求項1に記載の電子装置であって、
前記特定の通信フレームのうちスロット同期フレームの受信をトリガに、前記第1の通信ネットワークへ通信フレームの送信を開始することを特徴とする電子装置。
The electronic device according to claim 1,
An electronic device characterized in that the electronic device starts transmitting a communication frame to the first communication network using reception of a slot synchronization frame among the specific communication frames as a trigger.
請求項2に記載の電子装置であって、
前記特定の通信フレームは、前記スロット同期フレームと、前記電子装置が送信する1サイクル分の通信フレームの構成を切り替えるために使用されるサイクル同期フレームとを含み、
前記サイクル同期フレームは前記スロット同期フレームより長周期であることを特徴とする電子装置。
The electronic device according to claim 2,
The specific communication frame includes the slot synchronization frame and a cycle synchronization frame used to switch the configuration of one cycle of communication frames transmitted by the electronic device,
An electronic device characterized in that the cycle synchronization frame has a longer period than the slot synchronization frame.
請求項3に記載の電子装置であって、
前記第1の通信ネットワークから前記第2の通信ネットワークへ送信される通信フレームのうち、通信サイクルが最も短いものを前記スロット同期フレームに選択することを特徴とする電子装置。
4. The electronic device according to claim 3,
An electronic device characterized in that, among communication frames transmitted from the first communication network to the second communication network, a frame with the shortest communication cycle is selected as the slot synchronization frame.
請求項3に記載の電子装置であって、
前記第1の通信ネットワークから前記第2の通信ネットワークへ送信される通信フレームのうち、通信サイクルが最も長いものを前記サイクル同期フレームに選択することを特徴とする電子装置。
4. The electronic device according to claim 3,
The electronic device is characterized in that, among the communication frames transmitted from the first communication network to the second communication network, one having the longest communication cycle is selected as the cycle synchronization frame.
電子装置が実行する通信制御方法であって、
前記電子装置は、タイムトリガ方式の第1の通信ネットワークと、イベントドリブン方式の第2の通信ネットワークとがゲートウェイを介して接続されたシステムにおいて、前記第2の通信ネットワークの配下に設置されており、
前記通信制御方法は、
前記電子装置が、前記第1の通信ネットワークの通信スケジュールを保持し、
前記電子装置が、前記第1の通信ネットワークから送信されたフレームから、通信サイクルを特定し、
前記電子装置が、前記第1の通信ネットワークから送信された特定の通信フレームの受信によって、前記第1の通信ネットワークへの通信フレームの送信タイミングを決定することを特徴とする通信制御方法。
A communication control method executed by an electronic device, the method comprising:
The electronic device is installed under the second communication network in a system in which a time-trigger type first communication network and an event-driven type second communication network are connected via a gateway. ,
The communication control method includes:
the electronic device maintains a communication schedule for the first communication network;
the electronic device identifies a communication cycle from a frame transmitted from the first communication network;
A communication control method, wherein the electronic device determines the timing of transmitting a communication frame to the first communication network based on reception of a specific communication frame transmitted from the first communication network.
請求項6に記載の通信制御方法であって、
前記電子装置が、前記特定の通信フレームのうちスロット同期フレームの受信をトリガに、前記第1の通信ネットワークへ通信フレームの送信を開始することを特徴とする通信制御方法。
7. The communication control method according to claim 6,
A communication control method, wherein the electronic device starts transmitting a communication frame to the first communication network, triggered by reception of a slot synchronization frame among the specific communication frames.
請求項7に記載の通信制御方法であって、
前記特定の通信フレームは、前記スロット同期フレームと、前記電子装置が送信する1サイクル分の通信フレームの構成を切り替えるために使用されるサイクル同期フレームとを含み、
前記サイクル同期フレームは前記スロット同期フレームより長周期であることを特徴とする通信制御方法。
The communication control method according to claim 7,
The specific communication frame includes the slot synchronization frame and a cycle synchronization frame used to switch the configuration of one cycle of communication frames transmitted by the electronic device,
A communication control method characterized in that the cycle synchronization frame has a longer period than the slot synchronization frame.
請求項8に記載の通信制御方法であって、
前記電子装置が、前記第1の通信ネットワークから前記第2の通信ネットワークへ送信される通信フレームのうち、通信サイクルが最も短いものを前記スロット同期フレームに選択することを特徴とする通信制御方法。
The communication control method according to claim 8,
A communication control method, wherein the electronic device selects, as the slot synchronization frame, a communication frame with the shortest communication cycle among communication frames transmitted from the first communication network to the second communication network.
請求項8に記載の通信制御方法であって、
前記電子装置が、前記第1の通信ネットワークから前記第2の通信ネットワークへ送信される通信フレームのうち、通信サイクルが最も長いものを前記サイクル同期フレームに選択することを特徴とする通信制御方法。
The communication control method according to claim 8,
A communication control method, wherein the electronic device selects, as the cycle synchronization frame, a communication frame having the longest communication cycle among communication frames transmitted from the first communication network to the second communication network.
JP2023502042A 2021-02-25 2021-08-30 Electronic device and communication control method Active JP7446517B2 (en)

Applications Claiming Priority (3)

Application Number Priority Date Filing Date Title
JP2021028479 2021-02-25
JP2021028479 2021-02-25
PCT/JP2021/031774 WO2022180892A1 (en) 2021-02-25 2021-08-30 Electronic device and communication control method

Publications (3)

Publication Number Publication Date
JPWO2022180892A1 JPWO2022180892A1 (en) 2022-09-01
JPWO2022180892A5 JPWO2022180892A5 (en) 2023-06-12
JP7446517B2 true JP7446517B2 (en) 2024-03-08

Family

ID=83048770

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2023502042A Active JP7446517B2 (en) 2021-02-25 2021-08-30 Electronic device and communication control method

Country Status (3)

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

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2008306648A (en) 2007-06-11 2008-12-18 Nissan Motor Co Ltd Data relaying apparatus, data relaying method and communication network system
WO2010116416A1 (en) 2009-04-08 2010-10-14 トヨタ自動車株式会社 Data relay device and data relay method used in the device
JP2011109452A (en) 2009-11-18 2011-06-02 Toyota Motor Corp In-vehicle communication system
US20120278507A1 (en) 2011-04-27 2012-11-01 GM Global Technology Operations LLC Cross-network synchronization of application s/w execution using flexray global time
CN103001722A (en) 2012-11-23 2013-03-27 北京东土科技股份有限公司 Data transmission method based on time triggered Ethernet and node device

Family Cites Families (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP5099156B2 (en) * 2010-03-15 2012-12-12 株式会社デンソー Communication network system, relay terminal, microcomputer, transmission / reception device
JP7294942B2 (en) 2019-08-09 2023-06-20 三菱重工業株式会社 oil drilling pump

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2008306648A (en) 2007-06-11 2008-12-18 Nissan Motor Co Ltd Data relaying apparatus, data relaying method and communication network system
WO2010116416A1 (en) 2009-04-08 2010-10-14 トヨタ自動車株式会社 Data relay device and data relay method used in the device
JP2011109452A (en) 2009-11-18 2011-06-02 Toyota Motor Corp In-vehicle communication system
US20120278507A1 (en) 2011-04-27 2012-11-01 GM Global Technology Operations LLC Cross-network synchronization of application s/w execution using flexray global time
CN103001722A (en) 2012-11-23 2013-03-27 北京东土科技股份有限公司 Data transmission method based on time triggered Ethernet and node device

Also Published As

Publication number Publication date
WO2022180892A1 (en) 2022-09-01
JPWO2022180892A1 (en) 2022-09-01
DE112021005279T5 (en) 2023-10-12

Similar Documents

Publication Publication Date Title
US9594709B2 (en) Time and event based message transmission
JP5099156B2 (en) Communication network system, relay terminal, microcomputer, transmission / reception device
JP5814474B2 (en) Method for driving a communication system
US9021171B2 (en) Bus system including a master device, a slave device, an interconnector coupled between the master device and the slave device, and an operating method thereof
JP2003124950A (en) Bus system and method and apparatus for transmitting information thereon
US9065732B2 (en) Communication configuration and method for debugging, respectively for programming one or more participants of the communication configuration
US9485327B2 (en) Motor vehicle having a vehicle communication bus and method for generating bus messages
US20060176830A1 (en) Communication system, communication circuit and communication method
JP7446517B2 (en) Electronic device and communication control method
KR101596540B1 (en) Semiconductor integrated circuit device
US20130262610A1 (en) Communication system and method for configuring programmable hardware
US20230198802A1 (en) Vehicle Control Device and Data Transfer Control Method
JP4123946B2 (en) Time synchronization system
CN112398901B (en) Method and system for performing double message arbitration
JP4019840B2 (en) Network communication system and control processing system using the network communication system
JP2000269993A (en) Data transmission method and transmitter
WO2020230537A1 (en) Node device
Herpel et al. A simulation approach for the design of safety-relevant automotive multi-ECU systems
US11265185B2 (en) Communication system, receiving device, transmission interval change method, and computer program
EP4312410A1 (en) A can communication controller and a method of operating a can communication controller
JP3113329B2 (en) Multiplex transmission equipment
JP2021190736A (en) Network system and relay device
JP2003203267A (en) Setting method of transmission speed between master and slave in vending machine
CN104253731A (en) Method for running communication device
JPH0528109A (en) Data reception system

Legal Events

Date Code Title Description
A521 Request for written amendment filed

Free format text: JAPANESE INTERMEDIATE CODE: A523

Effective date: 20230327

A621 Written request for application examination

Free format text: JAPANESE INTERMEDIATE CODE: A621

Effective date: 20230327

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

A61 First payment of annual fees (during grant procedure)

Free format text: JAPANESE INTERMEDIATE CODE: A61

Effective date: 20240227

R150 Certificate of patent or registration of utility model

Ref document number: 7446517

Country of ref document: JP

Free format text: JAPANESE INTERMEDIATE CODE: R150