JP7211889B2 - Vehicle control device and vehicle control system - Google Patents
Vehicle control device and vehicle control system Download PDFInfo
- Publication number
- JP7211889B2 JP7211889B2 JP2019090447A JP2019090447A JP7211889B2 JP 7211889 B2 JP7211889 B2 JP 7211889B2 JP 2019090447 A JP2019090447 A JP 2019090447A JP 2019090447 A JP2019090447 A JP 2019090447A JP 7211889 B2 JP7211889 B2 JP 7211889B2
- Authority
- JP
- Japan
- Prior art keywords
- slot
- data
- management information
- vehicle control
- communication
- 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
Links
- 238000004891 communication Methods 0.000 claims description 155
- 238000012217 deletion Methods 0.000 claims description 24
- 230000037430 deletion Effects 0.000 claims description 24
- 238000012544 monitoring process Methods 0.000 claims description 16
- 238000000034 method Methods 0.000 description 27
- 230000008569 process Effects 0.000 description 26
- 238000012545 processing Methods 0.000 description 20
- 230000005540 biological transmission Effects 0.000 description 12
- 230000008878 coupling Effects 0.000 description 2
- 238000010168 coupling process Methods 0.000 description 2
- 238000005859 coupling reaction Methods 0.000 description 2
- 238000010586 diagram Methods 0.000 description 2
- 230000003993 interaction Effects 0.000 description 2
- 230000002159 abnormal effect Effects 0.000 description 1
- 238000004364 calculation method Methods 0.000 description 1
- 230000001934 delay Effects 0.000 description 1
- 238000013461 design Methods 0.000 description 1
- 238000005516 engineering process Methods 0.000 description 1
- 230000006855 networking Effects 0.000 description 1
- 230000011218 segmentation Effects 0.000 description 1
Images
Classifications
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L12/00—Data switching networks
- H04L12/28—Data switching networks characterised by path configuration, e.g. LAN [Local Area Networks] or WAN [Wide Area Networks]
- H04L12/40—Bus networks
- H04L12/403—Bus networks with centralised control, e.g. polling
- H04L12/4035—Bus networks with centralised control, e.g. polling in which slots of a TDMA packet structure are assigned based on a contention resolution carried out at a master unit
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L12/00—Data switching networks
- H04L12/28—Data switching networks characterised by path configuration, e.g. LAN [Local Area Networks] or WAN [Wide Area Networks]
- H04L12/40—Bus networks
- H04L12/407—Bus networks with decentralised control
- H04L12/413—Bus networks with decentralised control with random access, e.g. carrier-sense multiple-access with collision detection [CSMA-CD]
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L12/00—Data switching networks
- H04L12/28—Data switching networks characterised by path configuration, e.g. LAN [Local Area Networks] or WAN [Wide Area Networks]
- H04L12/40—Bus networks
- H04L2012/40267—Bus for use in transportation systems
- H04L2012/40273—Bus for use in transportation systems the transportation system being a vehicle
Landscapes
- Engineering & Computer Science (AREA)
- Computer Networks & Wireless Communication (AREA)
- Signal Processing (AREA)
- Small-Scale Networks (AREA)
Description
本発明は、車両制御装置に関する。 The present invention relates to a vehicle control device.
自動車制御システムは、複数の車両制御装置(電子制御ユニット:Electronic Control Unit。以下、ECU)を備えている。複数のECUのうちの異なるECUが、センサ信号の入力処理、車両操作の目標値算出処理、及びアクチュエータの制御処理をそれぞれ実行することがある。センサ信号の入力からアクチュエータを動作させるまでの間には、厳しい時間制約(デッドライン)がある。このため、ECU間で通信される各制御データには、リアルタイム性が要求される。通信におけるリアルタイム性とは、対象のデータがデッドライン以内に通信を完了する性質である。通信の完了がデッドラインを満たさないときは、車両制御の安全性を保証できない。このため、リアルタイム性が要求されるすべての通信データは、デッドライン以内に通信を完了する必要がある。 An automobile control system includes a plurality of vehicle control devices (Electronic Control Unit, hereinafter referred to as ECU). Different ECUs among the plurality of ECUs may execute the sensor signal input processing, the vehicle operation target value calculation processing, and the actuator control processing, respectively. There is a severe time constraint (deadline) between the input of the sensor signal and the actuation of the actuator. Therefore, each control data communicated between ECUs is required to be real-time. Real-time communication is the property of completing communication of target data within a deadline. If the completion of communication does not meet the deadline, the safety of vehicle control cannot be guaranteed. Therefore, all communication data requiring real-time performance must be completed within the deadline.
近年の自動車制御システムは、出荷後にサービスの追加、又は新たなサービスを開始するサーバとの連携が求められることがある。例えば、新たなサービスは、既存の自動車制御システムに対する遠隔運転、又は電子連結などである。 Recent automobile control systems are sometimes required to add services after shipment or to cooperate with servers that start new services. For example, new services could be remote driving or electronic interfacing to existing vehicle control systems.
このような新しいサービスと、既存の自動車制御システムとの通信を確立する技術として、非特許文献1には、SOME/IP(Scalable service-Oriented MiddlewarE over IP)プロトコルが開示されている。この通信プロトコルは、サービス提供者のIPアドレスを探索して通信相手を特定することによって、サービスの提供を受けることが可能になる。このような通信プロトコルを活用することによって、新しいサービスが既存の自動車制御システムから所望の通信データを受信したり、既存の自動車制御システムに新しいサービスから通信データを送信することが可能になる。
Non-Patent
複数の送信者のうち一の送信者がデータ送信している間、他の送信者は、同時にデータ送信することができない。このため、他の送信者が送信待ち状態となり、送信遅延が発生する。 While one of the multiple senders is sending data, other senders cannot send data at the same time. As a result, other senders are waiting for transmission, resulting in a transmission delay.
従来の自動車制御システムでは、設計時に通信遅延を考慮して、すべての通信データのリアルタイム性を保証してきた。しかし、非特許文献1のようなプロトコルによるサービスの追加などによって新たに追加される通信データに関しては、考慮されていないと言う課題がある。
In conventional automotive control systems, communication delays have been taken into consideration at the time of design to ensure real-time communication of all communication data. However, there is a problem that newly added communication data due to the addition of services based on a protocol as in Non-Patent
本発明は、上記のような課題を解決するためのものであり、その目的は、通信のリアルタイム性を確保することができる技術を提供することにある。 SUMMARY OF THE INVENTION The present invention is intended to solve the problems described above, and an object of the present invention is to provide a technology capable of ensuring real-time communication.
上記目的を解決するため、本発明に係る車両制御装置は、他の車両制御装置との間でデータを通信する車両制御装置であって、リアルタイム性が要求されるリアルタイム通信データの通信時間が割り当てられた専用スロットと、前記リアルタイム通信データ以外のベストエフォート通信データが割り当てられた非専用スロットとが、特定の時間区間に予め登録されるスロット管理情報を記憶する記録部と、前記スロット管理情報に基づいて、前記専用スロットにリアルタイム通信データを送信すると共に、前記非専用スロットにベストエフォート通信データを送信する通信制御部と、を有する。 In order to solve the above object, a vehicle control device according to the present invention is a vehicle control device that communicates data with another vehicle control device, wherein communication time for real-time communication data requiring real-time communication is allocated. a recording unit for storing slot management information in which a dedicated slot assigned and a non-dedicated slot assigned best-effort communication data other than the real-time communication data are registered in advance in a specific time period; a communication control unit configured to transmit real-time communication data to the dedicated slot and to transmit best-effort communication data to the non-dedicated slot according to the above.
本発明に係る車両制御装置によれば、通信のリアルタイム性を確保することができる。 According to the vehicle control device of the present invention, real-time communication can be ensured.
本発明に係る車両制御装置は、リアルタイム性が要求される通信データの送信要求が新たに発行された際に、リアルタイム性が要求される既存の通信データと、新たな通信データとの双方が、デッドライン以内を到着するようにスケジューリングされる。このため、車両の制御に影響を与えずに車両制御システムを拡張できる。 In the vehicle control device according to the present invention, when a transmission request for communication data requiring real-time performance is newly issued, both the existing communication data requiring real-time performance and the new communication data are Scheduled to arrive within deadline. Therefore, the vehicle control system can be expanded without affecting the control of the vehicle.
以下、図面を用いて幾つかの実施の形態について説明する。
<実施の形態1>
Several embodiments will be described below with reference to the drawings.
<
図1は、実施の形態1に係る車両制御システムのブロック図である。
FIG. 1 is a block diagram of a vehicle control system according to
車両制御システム10は、複数の「車両制御装置」の一例としての電子制御ユニット(Electronic Control Unit。以下、ECU)を備えている。例えば、複数のECUは、ECU A1(以下、ECU1)と、「他の車両制御装置」の一例としてのECU B2(以下、ECU2)とである。ECU1は、ECU2との間で時刻同期されたネットワークを介してデータを通信する。ネットワークは、Time-sensitive networking対応のネットワークであってもよし、時間駆動ネットワークであってもよい。データは、車両の遠隔運転、又は車両間の電子連結に関するデータでよい。
The
ECU1は、新アプリ101と、既存アプリ102と、登録部103と、削除部104と、パケットリスト105と、配置決定部106と、記録部107と、管理情報共有部108と、切替指示部109と、通信制御部110と、監視部111とを有している。
The
新アプリ(アプリケーション)101は、登録部103に対してECU2に送信する通信データの登録要求を発行すると共に、削除部104に対してECU2に送信しない通信データの削除要求を発行する。通信データの登録要求及び削除要求は、車両制御システム10の起動時に発行されてもよいし、新たなサービスの追加時に発行されてもよいし、それら以外に発行されてもよい。
The new application (application) 101 issues a registration request for communication data to be transmitted to the
登録部103は、新アプリ101が発行した通信データの登録要求を受け付ける。登録部103は、通信データの登録要求を受け付けた場合、登録要求を受け付けた通信データ及びそれに関連する項目をパケットリスト105に追加する。
The
削除部104は、新アプリ101が発行した通信データの削除要求を受け付ける。登録部103は、通信データの削除要求を受け付けた場合、削除要求を受け付けた通信データ及びそれに関連する項目をパケットリスト105から削除する。
The
パケットリスト105には、ECU2に送信する通信データ及びその通信時間が記載されている。
The
記録部107は、特定の時間区間にスロットが予め登録されたスロット管理情報を記憶している。スロット管理情報には、専用スロット及び非専用スロットが予め登録されている。専用スロットには、特定の時間区間にリアルタイム通信データの通信時間が時分割(複数の異なる信号を時間的に配列した伝送)で割り当てられている。リアルタイム通信データとは、リアルタイムな通信が要求されるデータである。非専用スロットには、特定の時間区間にベストエフォート通信データの通信時間が時分割で割り当てられている。ベストエフォート通信データとは、通信状況及び通信状態に応じて通信速度及び通信品質が変化される通信データである。
The
配置決定部(パケットスケジューリング)106は、専用スロットが登録されたスロット管理情報に基づいて、専用スロットの配置を決定する。例えば、配置決定部106は、新たな専用スロットが登録された新たなスロット管理情報に基づいて、専用スロットの配置を決定することができる。具体的には、配置決定部106は、パケットリスト105に記載された通信データに基づいて、ECU2との通信のスケジューリングを実行し、その実行結果を記録部107に記憶する。
An allocation determination unit (packet scheduling) 106 determines allocation of dedicated slots based on slot management information in which dedicated slots are registered. For example,
通信制御部110は、記録部107を参照し、記録部107に記憶されたスロット管理情報に基づいて、専用スロットにリアルタイム通信データを送信すると共に、非専用スロットにベストエフォート通信データを送信する。
The
切替指示部109は、スロット管理情報が更新された後、スロット管理情報の切り替えを指示する。具体的には、切替指示部109は、次のハイパーピリオド(周期の最小公倍数)に更新された新たなスロット管理情報にスロット管理情報を切り替えることを通信制御部110に指示する。これにより、スロット管理情報を適切に更新することができる。
The
管理情報共有部108は、スロット管理情報107をECU2に送信することを通信制御部110に指示する。これにより、ECU1に記憶された通信データをECU2でも共有することができる。
Management
監視部111は、スロット管理情報107に登録されたスロットのうち、一定時間未使用のスロットを検出する。監視部111は、一定時間未使用のスロットを検出した場合、エラーを通知すると共に、そのスロットの削除要求を通信制御部110に発行する。
The
ECU2は、記録部107と、通信制御部110とを有している。ECU2の記録部107及び通信制御部110は、ECU1の記録部107及び通信制御部110と同様な機能を有してよい。
The ECU 2 has a
図2は、実施の形態1に係るパケットリストの例である。 FIG. 2 is an example of a packet list according to the first embodiment.
パケットリスト105は、リアルタイム通信データが記載されたリスト1051及びリスト1053と、ベストエフォート通信データが記載されたリスト1052及びリスト1054とを有している。リスト1051及びリスト1052は、通信データが追加される前を示しており、リスト1053及びリスト1054は、通信データが追加された後を示している。
The
リアルタイム通信データのリスト1051及び1053は、項目値(又はカラム値)として、データID10511と、周期10512と、オフセット10513と、通信時間10514と、デッドライン10515とを含んでよい。
Lists 1051 and 1053 of real-time communication data may include
データID10511は、通信データの識別子である。周期10512は、通信データの通信周期である。オフセット10513は、基準時刻からの送信要求遅延時間である。通信時間10514は、通信時間である。デッドライン10515は、通信データが送信完了されるべきデッドラインである。
ベストエフォート通信データのリスト1052及び1054は、項目値(又はカラム値)として、データID10521と、周期10522とを含んでよい。
データID10521は、通信データの識別子である。周期10522は、通信周期である。
図3は、実施の形態1に係るスロット管理情報の例である。 FIG. 3 is an example of slot management information according to the first embodiment.
スロット管理情報107は、項目値(又はカラム値)として、スロットID10711と、種別10712と、データID10713と、送信ECU10714と、受信ECU10715と、開始10716と、終了10717とを含んでよい。
The
スロットID10711は、スロットの識別子である。種別10712は、スロットが専用スロット又は非専用スロットの何れかである。データID10713は、データの識別子である。送信ECU10714は、対象となる送信ECUである。受信ECU10715は、対象となる受信ECUである。開始10716は、対象となるスロットの開始時刻である。終了10717は、対象となるスロットの終了時刻である。スロット管理情報1171は、パケットの追加前であることを示しており、スロット管理情報1172は、パケットの追加後であることを示している。
The
この実施の形態では、スロットID「3」「5」「8」が分割されている。具体的には、スロットID「3」は、スロットID「3」「4」「5」に分割されている。スロットID「5」は、スロットID「7」「8」「9」に分割されている。スロットID「8」は、スロットID「12」「13」「14」に分割されている。即ち、配置決定部106は、データのハイパーピリオドに基づいて、専用スロットを分割する。これにより、専用スロットを容易にかつ適切に分割することができる。
In this embodiment, slot IDs "3", "5", and "8" are divided. Specifically, slot ID "3" is divided into slot IDs "3", "4", and "5". Slot ID "5" is divided into slot IDs "7", "8" and "9". Slot ID "8" is divided into slot IDs "12", "13" and "14". That is, the
図4は、実施の形態1に係るデータ通信のタイムチャートの例である。 FIG. 4 is an example of a time chart of data communication according to the first embodiment.
通信のタイムチャート31は、パケットを追加する前のスロット管理情報1071に基づいたデータ送信であることを示している。通信のタイムチャート32は、パケットを追加した後のスロット管理情報1072に基づいたデータ送信であることを示している。
A
以下、実施の形態1に係る登録部103の動作フローの詳細を説明する。
Details of the operation flow of the
図5は、登録処理のフローである。以下、図5の各ステップについて説明する。 FIG. 5 is a flow of registration processing. Each step in FIG. 5 will be described below.
登録部103は、登録要求を受け付けた通信データがリアルタイム性を保証するリアルタイム通信データか否かを判定する(S1031)。S1031の判定結果が真の場合(S1031:YES)、S1032に進み、S1031の判定結果が偽の場合(S1031:NO)、S1035に進む。
The
登録部103は、リアルタイム通信データの通信サイズに基づいて通信時間を算出する(S1032)。
The
登録部103は、登録要求された通信データをリアルタイム通信データとしてパケットリスト105に登録する(S1033)。
The
登録部103は、更新されたパケットリスト105に基づいて、スケジューリングを実行するため、配置決定部106にスロットの配置を決定させる(S1034)。そして、本フローを終了する。
Based on the updated
登録部103は、登録要求された通信データをベストエフォート通信データとしてパケットリスト105に登録する(S1035)。そして、本フローを終了する。
The
図6は、削除処理のフローである。以下、図6の各ステップについて説明する。 FIG. 6 is a flow of deletion processing. Each step in FIG. 6 will be described below.
削除部104は、削除要求された通信データがリアルタイム性を保証する通信データか否かを判定する(S1041)。S1041の判定結果が真の場合(S1041:YES)、S1042に進み、S1041の判定結果が偽の場合(S1041:NO)、S1044に進む。
The
削除部104は、パケットリスト105のリアルタイム通信データのリスト1053から指定のデータID10511の行を削除する(S1042)。
The
削除部104は、更新されたパケットリスト105に基づいてスケジューリングを実行するため、配置決定部106にスロットの配置を決定させる(S1043)。そして、本フローを終了する。
In order to perform scheduling based on the updated
削除部104は、パケットリストのベストエフォート通信データのリスト1053から指定のデータID10511の行を削除する(S1044)。そして、本フローを終了する。
The
図7は、配置決定処理のフローである。以下、図7の各ステップについて説明する。 FIG. 7 is a flow of placement determination processing. Each step in FIG. 7 will be described below.
配置決定部106は、パケットリスト105に基づいて周期の最小公倍数となるハイパーピリオドを算出する(S1061)。この実施の形態では、ハイパーピリオドは、30msでよい。
The
配置決定部106は、ハイパーピリオドの解が存在するか否かを判定する(S1062)。S1062の判定結果が真の場合(S1061:YES)、S1063に進み、S1062の判定結果が偽の場合(S1061:NO)、S1068に進む。
The
配置決定部106は、スロットが未配置で周期が短いデータの中からデッドラインが短いデータのスロットを選択する(S1063)。
The
配置決定部106は、スロットが配置されていない時間区間に早い時間のスロットから順に配置する(S1064)。尚、配置決定部106は、通信時間が短い順にスロットを配置してもよい。これにより、通信時間が短いデータも安定して送信することができる。
The
配置決定部106は、未配置のスロットの有無(未配置のスロットが有るか否か)を判定する(S1065)。S1065の判定結果が真の場合(S1065:YES)、S1068に進み、S1065の判定結果が偽の場合(S1065:NO)、S1066に進む。
The
配置決定部106は、配置の完了を判定する(S1066)。S1066の判定結果が真の場合(S1066:YES)、S1068へ、S1066の判定結果が偽の場合(S1066:NO)、S1068に進む。偽の場合(S1066:YES)、S1066に進む。
The
配置決定部106は、スロット管理情報107の管理情報更新フラグを1にセットし、スロットが配置されたスロット管理情報107として保存する(S1067)。
配置決定部106は、通信制御部110にエラーを通知する(S1068)。
The
図8は、管理情報共有処理のフローである。以下、図8の各ステップについて説明する。 FIG. 8 is a flow of management information sharing processing. Each step in FIG. 8 will be described below.
管理情報共有部108は、スロット管理情報107の管理情報フラグが1であるか否かを判定する(S1081)。S1081の判定結果が真の場合(S1081:YES)、S1082に進み。S1081の判定結果が偽の場合(S1081:NO)、本フローを終了する。
The management
管理情報共有部108は、スロット管理情報107をECU2に送信することを通信制御部110に指示する(S1082)。
The management
管理情報共有部108は、スロット管理情報107の管理情報更新フラグを0にクリアする(S1083)。
The management
図9は、切替指示処理のフローである。以下、図9の各ステップについて説明する。 FIG. 9 is a flow of switching instruction processing. Each step in FIG. 9 will be described below.
切替指示部109は、通信時間がハイパーピリオドで割り切れる場合、スロット管理情報107の切替フラグを1にセットする(S1091)。
If the communication time is divisible by hyper periods, the switching
図10は、通信制御処理のフローである。以下、図10の各ステップについて説明する。 FIG. 10 is a flow of communication control processing. Each step in FIG. 10 will be described below.
通信制御部110は、スロット管理情報107を参照し、現在の時刻にECU1が送信すべきデータがあるか否かを判定する(S1101)。S1101の判定結果が真の場合(S1101:YES)、S1102に進み、S1101の判定結果が偽の場合(S1101:NO)、S1103に進む。
The
通信制御部110は、対象のデータをECU2に送信する(S1102)。
The
通信制御部110は、現在の時刻にECU1が受信すべきデータがあるか否かを判定する(S1103)。S1103の判定結果が真の場合(S1103:YES)、S1104に進み、S1103の判定結果が偽の場合(S1103:NO)、S1105に進む。
The
通信制御部110は、受信したデータを図示しない記録媒体に保存する(S1104)。
The
通信制御部110は、現在の時刻がハイパーピリオドで割り切れ、かつ、切替フラグが1であるかを否かを判定する(S1105)。S1105の判定結果が真の場合(S1105:YES)、S1106に進み、S1105の判定結果が偽の場合(S1105:NO)、本動作フローを終了する。
The
通信制御部110は、スロット管理情報107を現在のリストから、更新されたリストに切り替える(S1106)。
The
通信制御部110は、切替フラグを0にクリアする(S1107)。
The
図11は、監視処理のフローである。以下、図11の各ステップについて説明する。 FIG. 11 is a flow of monitoring processing. Each step in FIG. 11 will be described below.
監視部111は、スロット管理情報107を参照して、自身が受信すべきスロットの時刻に、受信データの有無(受信データが有るか否か)を判定する(S1111)。S1111の判定結果が真の場合(S1111:YES)、S1112に進み、S1111の判定結果が偽の場合(S1111:NO)、S1113に進む。
The
監視部111は、対象のスロットのスロットエラーカウンタをクリアし、本動作フローを終了する(S1112)。
The
監視部111は、対象のスロットのスロットエラーカウンタをインクリメントする(S1113)。
The
監視部111は、対象のスロットエラーカウンタの値が、予め設定した閾値を超過したか否かを判定する(S1114)。S1114の判定結果が真の場合(S1114:YES)、S1115に進み、S1114の判定結果が偽の場合(S1114:NO)、本動作フローを終了する。
The
監視部111は、通信制御部110にエラーを通知する(S1115)。
The
監視部111は、対象のデータIDに対応するスロットを削除するため、削除部104にスロットの削除処理を実行させる(S1116)。
In order to delete the slot corresponding to the target data ID, the
この構成によれば、ECU2との間でデータを通信するECU1は、記録部107と、通信制御部110と、を有する。記録部107は、リアルタイム性が要求されるリアルタイム通信データの通信時間が割り当てられた専用スロットと、リアルタイム通信データ以外のベストエフォート通信データの通信時間が割り当てられた非専用スロットとが、特定の時間区間に予め登録されたスロット管理情報を記録する。通信制御部110は、スロット管理情報に基づいて、専用スロットにリアルタイム通信データを送信すると共に、非専用スロットにベストエフォート通信データを送信する。これにより、リアルタイム通信データに対して専用スロットが一意に決定されるため、リアルタイム性を保証することができる。
According to this configuration, the
さらに、ECU1は、スロット管理情報に新たな専用スロットを登録する登録部103と、新たな専用スロットが登録された新たなスロット管理情報に基づいて、専用スロットの配置を決定する配置決定部106と、を有する。通信制御部110は、次のハイパーピリオドにスロット管理情報を新たなスロット管理情報に切り替える。これにより、リアルタイム通信データが追加されると、非専用スロットの通信時間を削減し、代わりに新たな専用スロットが設けられる。そして、追加専用スロットと既存専用スロットとのすべてのリアルタイム性を考慮して、再度スケジューリングを実行されるため、通信データのリアルタイム性を保証できる。例えば、遠隔運転及び電子連結等の車両制御システムの外部との制御アプリケーションの連携において、追加のパケットが発生しても、既存の車両制御システムに必要な通信データに対して、デッドラインミスが発生しない。このため、現状の車両制御システムに対する影響を与えずに再度スケジューリングを実行することが可能となる。
Furthermore, the
さらに、ECU1は、スロット管理情報から専用スロットの削除要求を受けた場合、削除要求を受けた専用スロットをスロット管理情報から削除する削除部104を有する。これにより、通信データの削除要求後に再度スケジューリングを実行されるため、通信データのリアルタイム性を保証しつつ、ベストエフォートで送信するデータの帯域を増加させることができ、今後の拡張性を担保できる。例えば、遠隔運転及び電子連結等の車両制御システムの外部との制御アプリケーションの連携が正常な場合、新たに別の制御アプリケーションとの連携が開始されるときに、常に十分な非専用スロットを用意することが可能となる。
Furthermore, the
さらに、ECU1は、一定時間未使用のスロットを検出した場合、未使用のスロットの削除供給を発行する監視部111を有する。これにより、通信データが未受信であった場合、監視部111が未受信の通信データを自動で削除し、再度スケジューリングが実行されるため、通信データのリアルタイム性を保証しつつ、ベストエフォートで送信するデータの帯域を増加させることができ、今後の拡張性を担保できる。例えば、遠隔運転及ぶ電子連結等の車両制御システムの外部との制御アプリケーションの連携が異常な場合、新たに別の制御アプリケーションとの連携が開始されるときに、常に十分な非専用スロットを用意することが可能となる。
<実施の形態2>
Furthermore, the
<
次に、図12~14を参照して、実施の形態2に係る車両制御システムについて説明する。
Next, a vehicle control system according to
実施の形態2は、配置決定部206のアルゴリズムが実施の形態1と異なる場合の例である。
The second embodiment is an example in which the algorithm of the
図12は、実施の形態2に係るスロット管理情報の例である。スロット管理情報1173は、パケットの追加前であることを示し、スロット管理情報1174は、パケットの追加後であることを示している。 FIG. 12 is an example of slot management information according to the second embodiment. The slot management information 1173 indicates that it is before the packet is added, and the slot management information 1174 indicates that it is after the packet is added.
この実施の形態では、スロットID「3」「5」「8」が分割されている。具体的には、スロットID「3」は、スロットID「3」「4」「5」に分割されている。スロットID「5」は、スロットID「7」「8」「9」「10」に分割されている。スロットID「10」は、非専用スロットである。スロットID「8」は、スロットID「13」「14」「15」に分割されている。 In this embodiment, slot IDs "3", "5", and "8" are divided. Specifically, slot ID "3" is divided into slot IDs "3", "4", and "5". Slot ID "5" is divided into slot IDs "7", "8", "9", and "10". Slot ID "10" is a non-dedicated slot. Slot ID "8" is divided into slot IDs "13", "14" and "15".
図13は、実施の形態2に係るデータ通信のタイムチャートの例である。 FIG. 13 is an example of a time chart of data communication according to the second embodiment.
通信のタイムチャート33は、パケットを追加する前のスロット管理情報1073に基づいたデータ送信であることを示している。通信のタイムチャート34は、パケットを追加した後のスロット管理情報1074に基づいたデータ送信であることを示している。
A
図14は、配置決定処理のフローである。以下、図14の各ステップについて説明する。 FIG. 14 is a flow of arrangement determination processing. Each step in FIG. 14 will be described below.
S20601及びS20603は、実施の形態1におけるS1061及びS2063と同様のステップであるため、説明を省略する。 Since S20601 and S20603 are the same steps as S1061 and S2063 in the first embodiment, description thereof is omitted.
配置決定部206は、ハイパーピリオドの解が存在するか否かを判定する(S20602)。S20602の判定結果が真の場合(S20602:YES)、S20603に進み、S20602の判定結果が偽の場合(S20602:NO)、S20611に進む。
The
配置決定部206は、対象のスロットの通信時間が最小周期よりも長いか否かを判定する(S20604)。S20604の判定結果が真の場合(S20604:YES)、S20605に進み、S20604の判定結果が偽の場合(S20604:NO)、S20607に進む。
The
配置決定部206は、対象のスロットをハイパーピリオドで分割し、分割したサブスロットを各周期に、時間の早いスロットから順に配置する(S20605)。
The
配置決定部206は、未配置のスロットが有るか否か(サブスロットを周期内に配置不可であったか否か)を判定する(S20606)。S20606の判定結果が真の場合(S20606:YES)、S20608に進み、S20606の判定結果が偽の場合(S20606:NO)、S20607に進む。
The
配置決定部206は、未配置のスロットが有るか否かを判定する(S20607)。S20607の判定結果が真の場合(S20607:YES)、S20603に進み、S20607の判定結果が偽の場合(S20607:NO)、S20610に進む。
The
配置決定部206は、配置不可となった周期が最終周期であるか否かを判定する(S20608)。S20608の判定結果が真の場合(S20608:YES)、S20611に進み、S20608の判定結果が偽の場合(S20608:NO)、S20609に進む。
The
配置決定部206は、超過したサブスロットの時間のみ次の周期に配置する。
配置決定部206は、スロット管理情報107の管理情報更新フラグを1にセットし、スロットが配置されたスロット管理情報107として保存する。
配置決定部206は、通信制御部110にエラーを通知する(S20611)。
The
実施の形態2によれば、予めスロットをハイパーピリオドで分割して、各周期に分散させるため、リアルタイム通信データのリアルタイム性を保証しつつ、非専用スロットも分散することが可能となる。 According to the second embodiment, slots are divided into hyperperiods in advance and distributed in each cycle, so that non-dedicated slots can be distributed while ensuring the real-time nature of real-time communication data.
なお、本発明は上記の実施の形態に限られるものではない。例えば、他の分割アルゴリズムでもよい。 It should be noted that the present invention is not limited to the above embodiments. For example, other segmentation algorithms may be used.
例えば、車両制御システムは、サーバが配置決定部106を有してもよい。即ち、車両制御システムは、ECU1と、サーバと、を備えており、ECU1が通信制御部110を有し、サーバが配置決定部106を有してもよい。
For example, in the vehicle control system, the server may have the
1:ECU、2:ECU、10:車両制御システム、103:登録部、104:削除部、106:配置決定部、107:記録部、108:管理情報共有部、109:切替指示部、110:通信制御部、111:監視部 1: ECU, 2: ECU, 10: Vehicle control system, 103: Registration unit, 104: Deletion unit, 106: Placement determination unit, 107: Recording unit, 108: Management information sharing unit, 109: Switching instruction unit, 110: Communication control unit, 111: monitoring unit
Claims (9)
リアルタイム性が要求されるリアルタイム通信データの通信時間が割り当てられた専用スロットと、前記リアルタイム通信データ以外のベストエフォート通信データが割り当てられた非専用スロットとが、特定の時間区間に予め登録されたスロット管理情報を記憶する記録部と、
前記スロット管理情報に基づいて、前記専用スロットにリアルタイム通信データを送信すると共に、前記非専用スロットにベストエフォート通信データを送信する通信制御部と、
前記専用スロットの登録要求を受けた場合、当該登録要求を受けた専用スロットを前記スロット管理情報に登録する登録部と、
前記登録要求を受けた専用スロットが新たに登録されたスロット管理情報に基づいて、スロットが未配置で周期が短いデータの中からデッドラインが短いデータのスロットを選択し、前記専用スロットの配置を決定する配置決定部と、を有し、
前記通信制御部は、次のハイパーピリオドに前記スロット管理情報を前記新たなスロット管理情報に変更する車両制御装置。 A vehicle control device that communicates data with another vehicle control device,
A slot in which a dedicated slot to which a communication time for real-time communication data requiring real-time communication is allocated and a non-dedicated slot to which best-effort communication data other than the real-time communication data is allocated are registered in advance in specific time intervals. a recording unit that stores management information;
a communication control unit for transmitting real-time communication data to the dedicated slot and transmitting best-effort communication data to the non-dedicated slot based on the slot management information;
a registration unit that, when receiving a registration request for the dedicated slot, registers the dedicated slot for which the registration request has been received in the slot management information;
Based on slot management information in which the dedicated slot for which the registration request has been newly registered, a slot of data with a short deadline is selected from data with a short period and no slots are allocated, and allocation of the dedicated slot is performed. a placement determination unit that determines
The vehicle control device, wherein the communication control unit changes the slot management information to the new slot management information in the next hyper period.
請求項1に記載の車両制御装置。 a management information sharing unit that transmits the slot management information to the other vehicle control device;
The vehicle control device according to claim 1.
請求項1に記載の車両制御装置。 a deletion unit that, when receiving a request to delete the dedicated slot, deletes the dedicated slot for which the deletion request has been received from the slot management information;
The vehicle control device according to claim 1.
請求項1に記載の車両制御装置。 The placement determining unit divides the slots based on hyperperiods of the data.
The vehicle control device according to claim 1 .
請求項1に記載の車両制御装置。 The arrangement determining unit arranges the slots in order of shortest communication time.
The vehicle control device according to claim 1 .
請求項1に記載の車両制御装置。 said data is data relating to remote operation of a vehicle or an electronic connection between said vehicles;
The vehicle control device according to claim 1.
請求項1に記載の車両制御装置。 a switching instruction unit for instructing switching from the slot management information to new slot management information in the next hyper period;
The vehicle control device according to claim 1.
請求項1に記載の車両制御装置。 a monitoring unit that, when detecting the slot that has not been used for a certain period of time, issues a request to delete the unused slot;
The vehicle control device according to claim 1.
新たな専用スロットが登録された新たなスロット管理情報に基づいて、スロットが未配置で周期が短いデータの中からデッドラインが短いデータのスロットを選択し、前記専用スロットの配置を決定する配置決定部を備えるサーバと、を有する車両制御システム。 slot management information in which a dedicated slot to which a communication time for real-time communication data requiring real-time communication is allocated and a non-dedicated slot to which best-effort communication data other than the real-time communication data is allocated are registered in advance in specific time intervals; A vehicle control unit for transmitting real-time communication data to the dedicated slot and transmitting best-effort communication data to the non-dedicated slot according to the above, and communicating data with another vehicle control device. a device;
Arrangement determination for selecting a slot of data with a short deadline from among data with a short period and without slots, based on new slot management information in which a new dedicated slot is registered, and determining the arrangement of the dedicated slot. a server comprising: a vehicle control system;
Priority Applications (3)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
JP2019090447A JP7211889B2 (en) | 2019-05-13 | 2019-05-13 | Vehicle control device and vehicle control system |
DE112020001694.3T DE112020001694T5 (en) | 2019-05-13 | 2020-04-28 | Vehicle control device and vehicle control system |
PCT/JP2020/018070 WO2020230620A1 (en) | 2019-05-13 | 2020-04-28 | Vehicle control device, and vehicle control system |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
JP2019090447A JP7211889B2 (en) | 2019-05-13 | 2019-05-13 | Vehicle control device and vehicle control system |
Publications (2)
Publication Number | Publication Date |
---|---|
JP2020188330A JP2020188330A (en) | 2020-11-19 |
JP7211889B2 true JP7211889B2 (en) | 2023-01-24 |
Family
ID=73221996
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
JP2019090447A Active JP7211889B2 (en) | 2019-05-13 | 2019-05-13 | Vehicle control device and vehicle control system |
Country Status (3)
Country | Link |
---|---|
JP (1) | JP7211889B2 (en) |
DE (1) | DE112020001694T5 (en) |
WO (1) | WO2020230620A1 (en) |
Families Citing this family (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JP2023161698A (en) * | 2022-04-26 | 2023-11-08 | 日立Astemo株式会社 | Electronic control device |
Citations (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JP2001512939A (en) | 1997-07-31 | 2001-08-28 | ノキア ネットワークス オサケ ユキチュア | How to control communication resources |
US20130070783A1 (en) | 2011-09-21 | 2013-03-21 | Nxp B.V. | System and method for creating a slot table entry address for a communications device |
JP2015522982A (en) | 2012-05-15 | 2015-08-06 | エフテーエス コンピューターテヒニク ゲゼルシャフト ミット ベシュレンクテル ハフツング | Method and apparatus for relaying time trigger messages and event trigger messages |
JP2016225929A (en) | 2015-06-03 | 2016-12-28 | 株式会社日立製作所 | Communication control device |
Family Cites Families (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
FI101114B (en) * | 1995-04-25 | 1998-04-15 | Nokia Telecommunications Oy | Asymmetric high speed data transfer procedure in mobile phone networks |
-
2019
- 2019-05-13 JP JP2019090447A patent/JP7211889B2/en active Active
-
2020
- 2020-04-28 DE DE112020001694.3T patent/DE112020001694T5/en active Pending
- 2020-04-28 WO PCT/JP2020/018070 patent/WO2020230620A1/en active Application Filing
Patent Citations (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JP2001512939A (en) | 1997-07-31 | 2001-08-28 | ノキア ネットワークス オサケ ユキチュア | How to control communication resources |
US20130070783A1 (en) | 2011-09-21 | 2013-03-21 | Nxp B.V. | System and method for creating a slot table entry address for a communications device |
JP2015522982A (en) | 2012-05-15 | 2015-08-06 | エフテーエス コンピューターテヒニク ゲゼルシャフト ミット ベシュレンクテル ハフツング | Method and apparatus for relaying time trigger messages and event trigger messages |
JP2016225929A (en) | 2015-06-03 | 2016-12-28 | 株式会社日立製作所 | Communication control device |
Also Published As
Publication number | Publication date |
---|---|
WO2020230620A1 (en) | 2020-11-19 |
JP2020188330A (en) | 2020-11-19 |
DE112020001694T5 (en) | 2021-12-23 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
US8660131B2 (en) | Storage unit for communication system node, method for data storage and communication system node | |
EP3607445B1 (en) | System and method for timely and uniform distribution for real-time packet transmission | |
US8315274B2 (en) | System and method for supporting synchronous system communications and operations | |
WO2011135629A1 (en) | Distribution management method of software in computer system, and computer system for distribution management of software | |
WO2010079538A1 (en) | Data transmission device | |
CN103703738A (en) | System for managing audio/video streams using application layer structures in an avb network | |
JP6838848B2 (en) | Systems and methods for synchronizing processor operations over communication networks | |
CN112702282B (en) | Flexible configuration method and system of time sensitive network | |
JP7211889B2 (en) | Vehicle control device and vehicle control system | |
CN112840277B (en) | Real-time automation device with real-time data bus | |
US9548875B2 (en) | Method for the interchange of device-specific data between devices and/or systems of various network systems, and bus system for performing said method | |
CN116723249B (en) | Customized EPA device | |
Obermaisser | Reuse of CAN-based legacy applications in time-triggered architectures | |
CN110266574B (en) | Adjustment method of conflict resolution scheduling table, related device and storage medium | |
EP1465370B1 (en) | Predictable real time data communication on a serial bus | |
WO2020128683A1 (en) | A device and method for scheduling data transmission for non-tsn devices over time sensitive networking (tsn) | |
CN118475886A (en) | Method and system for providing time critical control applications | |
US20220209985A1 (en) | Data transmission method, segment telegram and automation communication network | |
CN112187599B (en) | System and method for supporting data communication between network buses in vehicle | |
JP2015053568A (en) | Communication controller | |
US20220355750A1 (en) | Relay device, in-vehicle communication system, in-vehicle communication method, and storage medium | |
Marques et al. | Efficient transient error recovery in FlexRay using the dynamic segment | |
US7801053B2 (en) | Method for setting consistent values for a parameter in a network of distributed stations, as well as a network subscriber station for carrying out the method | |
CN109510838B (en) | Port starting method and device | |
Decotignie et al. | Producer-Distributor-Consumer Model on Controller Area Network |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
A621 | Written request for application examination |
Free format text: JAPANESE INTERMEDIATE CODE: A621 Effective date: 20220126 |
|
A131 | Notification of reasons for refusal |
Free format text: JAPANESE INTERMEDIATE CODE: A131 Effective date: 20220906 |
|
A521 | Request for written amendment filed |
Free format text: JAPANESE INTERMEDIATE CODE: A523 Effective date: 20221031 |
|
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: 20221220 |
|
A61 | First payment of annual fees (during grant procedure) |
Free format text: JAPANESE INTERMEDIATE CODE: A61 Effective date: 20230112 |
|
R150 | Certificate of patent or registration of utility model |
Ref document number: 7211889 Country of ref document: JP Free format text: JAPANESE INTERMEDIATE CODE: R150 |