JP7794070B2 - Vehicle Network - Google Patents
Vehicle NetworkInfo
- Publication number
- JP7794070B2 JP7794070B2 JP2022072395A JP2022072395A JP7794070B2 JP 7794070 B2 JP7794070 B2 JP 7794070B2 JP 2022072395 A JP2022072395 A JP 2022072395A JP 2022072395 A JP2022072395 A JP 2022072395A JP 7794070 B2 JP7794070 B2 JP 7794070B2
- Authority
- JP
- Japan
- Prior art keywords
- data
- time
- delay information
- delay
- receiving
- 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
Landscapes
- Small-Scale Networks (AREA)
Description
本発明は、車両に搭載された複数の通信装置が通信線を介して接続された車両用ネットワークに関する。 The present invention relates to a vehicle network in which multiple communication devices mounted on a vehicle are connected via communication lines.
従来、車両用ネットワークとして、例えばLiDARデータ、カメラ映像、V2X通信などの複数のデータを、複数のECUなどの受信装置により受信するといったAD/ADAS対応の車載Ethernetネットワークが挙げられる。なお、LiDARは、Light Detection And Rangingの略称であり、V2Xは、Vehicle to everything (X)の略称であり、ECUは、Electric Control Unitの略称であり、AD/ADASは、Automated Driving / Advanced Driver Assistance Systemの略称である。また、Ethernetは、登録商標である。 Conventional vehicle networks include AD/ADAS-compatible in-vehicle Ethernet networks that receive multiple data sources, such as LiDAR data, camera footage, and V2X communications, using multiple receiving devices such as ECUs. Note that LiDAR is an abbreviation for Light Detection And Ranging, V2X is an abbreviation for Vehicle to Everything (X), ECU is an abbreviation for Electric Control Unit, and AD/ADAS is an abbreviation for Automated Driving/Advanced Driver Assistance System. Also, Ethernet is a registered trademark.
このようなAD/ADAS対応の車両用ネットワークでは、所定の時刻に取得されたデータを用いた処理の実施時刻を、各受信装置で同期することが望ましい。しかし、データの伝送経路の違いによる遅延差などに起因して、同一時刻に取得されたデータであっても各受信装置間での受信時刻にずれが生じ得る。このような状況のまま、各受信装置が動作すると、各受信装置間において、同一時刻のデータを使用するタイミング、つまり同一時刻のデータを使用した処理の実施時刻にもずれが生じることになる。 In such AD/ADAS-compatible vehicle networks, it is desirable for each receiving device to synchronize the time at which processing is performed using data acquired at a specific time. However, due to delay differences caused by differences in data transmission paths, differences in the time at which data is received between each receiving device, even if the data was acquired at the same time, can occur. If each receiving device operates under these conditions, differences will occur between the timing at which data acquired at the same time is used, i.e., the time at which processing is performed using data acquired at the same time.
上記したような課題への対策として、AVB、TSNなどの従来技術を用いることが考えられる。なお、AVBは、Audio Video Bridgingの略称であり、TSNはTime Sensitve Networkの略称である。AVBでは、映像や音声の表示時刻同期のため送信側からのEthernetフレームのデータ部に撮影時刻および受信側で表示する際の指定時刻を含め、その指定時刻に常時一定のマージンを加えることにより遅延差を吸収することを可能としている。 Conventional technologies such as AVB and TSN can be considered as solutions to the issues described above. AVB stands for Audio Video Bridging, and TSN stands for Time Sensitive Network. AVB synchronizes the display times of video and audio by including the shooting time and the designated time for display on the receiving side in the data portion of the Ethernet frame from the transmitting side, and by always adding a fixed margin to this designated time, it is possible to absorb delay differences.
しかし、AVBをAD/ADAS対応の車両用ネットワークに適用することを考えると、次のような問題が生じる。すなわち、AD/ADAS対応の車両用ネットワークでは、可能な限り低遅延が求められるのに対し、AVBでの表示遅延はマージンの設定時間に固定されることから、実際の遅延差よりも遅延が大きくなるという問題が生じる。一方、TSNによれば、複数装置間において低遅延での時刻同期を実現可能であるものの、インターフェース物理層の要求性能が高く、既存の装置からの置き換えに多大なコストが必要になるという問題がある。 However, when considering applying AVB to an AD/ADAS-compatible vehicle network, the following problem arises. While an AD/ADAS-compatible vehicle network requires the lowest possible latency, the display latency in AVB is fixed to a set margin time, resulting in a problem of latency greater than the actual latency difference. On the other hand, while TSN makes it possible to achieve low-latency time synchronization between multiple devices, it requires high performance in the interface physical layer, which creates the problem of significant costs involved in replacing existing devices.
本発明は上記事情に鑑みてなされたものであり、その目的は、遅延を低く抑えるとともにコストの増大を招くことなく各受信装置間において同一時刻のデータを使用するタイミングを同期することができる車両用ネットワークを提供することにある。 The present invention was made in consideration of the above circumstances, and its purpose is to provide a vehicle network that can synchronize the timing of using data from the same time between receiving devices while keeping delays low and without increasing costs.
請求項1に記載の車両用ネットワークは、車両に搭載された複数の通信装置(2~7)が通信線(8)を介して接続されたものである。この場合、前記複数の通信装置のそれぞれは、互いに時刻を同期することが可能に構成されている。ここで、前記複数の通信装置のうち、前記通信線を介して特定のデータを送信する通信装置を送信装置(2、3、10)とするとともに前記通信線を介して前記特定のデータを受信するとともに使用する通信装置を受信装置(6、7、20、30、40、50)とすると、前記送信装置は、前記特定のデータを取得した時刻または前記特定のデータを送信する時刻である送信時刻を表す送信情報を付与したうえで前記特定のデータを送信するデータ送信部(11)を備える。 The vehicle network described in claim 1 is configured such that multiple communication devices (2 to 7) mounted on a vehicle are connected via a communication line (8). In this case, each of the multiple communication devices is configured to be able to synchronize time with one another. Here, among the multiple communication devices, a communication device that transmits specific data via the communication line is designated as a transmitter device (2, 3, 10), and a communication device that receives and uses the specific data via the communication line is designated as a receiver device (6, 7, 20, 30, 40, 50). The transmitter device includes a data transmitter unit (11) that transmits the specific data after adding transmission information indicating a transmission time, which is the time the specific data was acquired or the time the specific data was transmitted.
また、前記受信装置は、遅延情報送信部(21、31、41)およびデータ受信部(22、32、52)を備える。前記遅延情報送信部は、受信した前記特定のデータに付与された前記送信情報が表す前記送信時刻と前記特定のデータを受信した時刻である受信時刻との差である受信遅延時間を算出し、その算出した受信遅延時間を表す遅延情報を他の前記受信装置である他受信装置に送信する。前記データ受信部は、前記送信装置から送信された前記特定のデータを受信して使用するものであり、前記特定のデータを保管することができるキュー構造のバッファ(22a)を備える。 The receiving device also includes a delay information transmitting unit (21, 31, 41) and a data receiving unit (22, 32, 52). The delay information transmitting unit calculates a reception delay time, which is the difference between the transmission time indicated by the transmission information assigned to the received specific data and the reception time, which is the time when the specific data was received, and transmits delay information indicating the calculated reception delay time to another receiving device. The data receiving unit receives and uses the specific data transmitted from the transmitting device, and includes a buffer (22a) with a queue structure that can store the specific data.
上記構成において、前記データ受信部は、前記送信装置から送信された前記特定のデータを受信したとき、前記遅延情報送信部により算出された前記受信遅延時間が前記他受信装置から受信した前記遅延情報が表す前記受信遅延時間のうち最も長い時間である他装置最大遅延時間未満の時間である場合には受信した前記特定のデータを前記バッファの末尾に追加し、前記遅延情報送信部により算出された前記受信遅延時間が前記他装置最大遅延時間以上の時間である場合には受信した前記特定のデータを前記バッファに追加することなく使用する。また、前記データ受信部は、前記バッファの先頭に保管された前記特定のデータに付与された前記送信情報が表す前記送信時刻と現在の時刻との差が前記他装置最大遅延時間以上の時間になったとき、前記バッファの先頭に保管された前記特定のデータを取り出して使用する。 In the above configuration, when the data receiving unit receives the specific data transmitted from the transmitting device, if the reception delay time calculated by the delay information transmitting unit is less than a maximum other device delay time, which is the longest time among the reception delay times represented by the delay information received from the other receiving devices, it adds the received specific data to the end of the buffer, and if the reception delay time calculated by the delay information transmitting unit is equal to or greater than the maximum other device delay time, it uses the received specific data without adding it to the buffer. Furthermore, when the difference between the transmission time represented by the transmission information assigned to the specific data stored at the top of the buffer and the current time is equal to or greater than the maximum other device delay time, the data receiving unit retrieves and uses the specific data stored at the top of the buffer.
上記構成によれば、各受信装置は、自装置の受信遅延時間と、他受信装置から送信された遅延情報が表す他装置の受信遅延時間と、に基づいて、最も受信遅延時間が長い受信装置に合わせるような形で、同一時刻のデータを使用するタイミングを揃えることができる。この場合、AVBのように遅延が大きくなり過ぎるおそれがなく、また、TSNのように既存の装置からの置き換えに多大なコストを要することがない。したがって、上記構成によれば、遅延を低く抑えるとともにコストの増大を招くことなく各受信装置間において同一時刻のデータを使用するタイミングを同期することができるという優れた効果が得られる。 With the above configuration, each receiving device can synchronize the timing of using data at the same time, based on its own reception delay time and the reception delay times of other devices indicated by delay information transmitted from those other receiving devices, so as to match the timing of the receiving device with the longest reception delay time. In this case, there is no risk of excessive delay, as with AVB, and there is no need for significant costs to replace existing devices, as with TSN. Therefore, with the above configuration, the excellent effect of keeping delays low and synchronizing the timing of using data at the same time between receiving devices can be achieved without increasing costs.
以下、複数の実施形態について図面を参照して説明する。なお、各実施形態において実質的に同一の構成には同一の符号を付して説明を省略する。
(第1実施形態)
以下、第1実施形態について図1~図7を参照して説明する。
Hereinafter, several embodiments will be described with reference to the drawings. Note that substantially the same components in each embodiment will be denoted by the same reference numerals, and the description thereof will be omitted.
(First embodiment)
The first embodiment will be described below with reference to FIGS.
図1に示すように、本実施形態のネットワーク1は、例えば自動車などの車両に搭載されたカメラ2、LiDAR3、前処理ECU4、サブECU5、制御ECU6および制御ECU7が通信線8を介して接続されたものであり、車両用ネットワークの一例である。カメラ2、LiDAR3、前処理ECU4、サブECU5、制御ECU6および制御ECU7のそれぞれは、gPTPなどの手段により同期した時計を有しており、それにより互いに時刻を同期することが可能に構成されている。なお、PTPは、Precision Time Protocolの略称である。 As shown in FIG. 1, network 1 of this embodiment is an example of a vehicle network, in which a camera 2, LiDAR 3, pre-processing ECU 4, sub-ECU 5, control ECU 6, and control ECU 7 mounted on a vehicle such as an automobile are connected via communication lines 8. Each of camera 2, LiDAR 3, pre-processing ECU 4, sub-ECU 5, control ECU 6, and control ECU 7 has a clock synchronized by means of gPTP or the like, allowing them to synchronize their time with each other. Note that PTP is an abbreviation for Precision Time Protocol.
カメラ2、LiDAR3、前処理ECU4、サブECU5、制御ECU6および制御ECU7は、通信装置としての機能を有するものであり、通信線8を介してEthernet通信を行うようになっている。これら複数の通信装置のうち、通信線8を介してデータを送信する通信装置を送信装置とするとともに、通信線8を介してデータを受信する通信装置を受信装置とすると、カメラ2およびLiDAR3は送信装置としての機能を有するとともに、制御ECU6および制御ECU7は受信装置としての機能を有する。 The camera 2, LiDAR 3, pre-processing ECU 4, sub-ECU 5, control ECU 6, and control ECU 7 function as communication devices and perform Ethernet communication via communication line 8. If, of these multiple communication devices, the communication devices that transmit data via communication line 8 are defined as transmitters and the communication devices that receive data via communication line 8 are defined as receivers, then the camera 2 and LiDAR 3 function as transmitters, and the control ECU 6 and control ECU 7 function as receivers.
上記した送信装置および受信装置としては、例えば図2および図3に示すような構成を採用することができる。図2に示すように、送信装置10は、データ送信部11などの機能ブロックを備えている。データ送信部11は、データを送信する時刻である送信時刻を表す送信情報を付与したうえでデータを送信する。なお、送信装置10がデータを取得してから送信するまでの遅延時間が極めて短い時間である場合などには、データを取得した時刻を送信時刻とすることもできる。 The above-mentioned transmitting device and receiving device can employ configurations such as those shown in Figures 2 and 3. As shown in Figure 2, the transmitting device 10 has functional blocks such as a data transmitting unit 11. The data transmitting unit 11 transmits data after attaching transmission information indicating the transmission time, which is the time at which the data is to be transmitted. Note that in cases where the delay time between when the transmitting device 10 acquires the data and when it transmits it is extremely short, the time when the data was acquired can also be used as the transmission time.
図3に示すように、受信装置20は、遅延情報送信部21およびデータ受信部22などの機能ブロックを備えている。遅延情報送信部21は、受信したデータに付与された送信情報が表す送信時刻とデータを受信した時刻である受信時刻との差である受信遅延時間を算出する。そして、遅延情報送信部21は、その算出した受信遅延時間を表す遅延情報を他の受信装置である他受信装置の全てに送信する、つまりブロードキャストする。 As shown in FIG. 3, the receiving device 20 includes functional blocks such as a delay information transmitting unit 21 and a data receiving unit 22. The delay information transmitting unit 21 calculates the reception delay time, which is the difference between the transmission time indicated by the transmission information attached to the received data and the reception time, which is the time the data was received. The delay information transmitting unit 21 then transmits, i.e., broadcasts, the delay information indicating the calculated reception delay time to all other receiving devices.
この場合、遅延情報送信部21は、遅延情報の送信を予め定められた規定時間間隔で定期的に実施するようになっている。遅延情報送信部21は、規定時間を計時するためのタイマ21aを備えている。遅延情報送信部21が遅延情報の送信を実施する間隔、つまり上記した規定時間は、受信装置20毎に互いに異なる時間に設定することができるようになっている。なお、遅延情報送信部21は、送信装置10から送信されたデータを受信したときに遅延情報の送信を実施することもできる。 In this case, the delay information transmission unit 21 is configured to transmit delay information periodically at a predetermined specified time interval. The delay information transmission unit 21 is equipped with a timer 21a for counting the specified time. The interval at which the delay information transmission unit 21 transmits delay information, i.e., the specified time, can be set to a different time for each receiving device 20. The delay information transmission unit 21 can also transmit delay information when it receives data transmitted from the transmitting device 10.
データ受信部22は、送信装置10から送信されたデータを受信して使用するものである。なお、本明細書では、送信装置10から送信されたデータのことを入力データと称することがある。データ受信部22は、入力データを保管することができるキュー構造、つまりファストイン・ファストアウト型のバッファ22aを備えている。なお、本明細書では、バッファ22aのことをキューと称することがある。 The data receiving unit 22 receives and uses data transmitted from the transmitting device 10. Note that, in this specification, data transmitted from the transmitting device 10 is sometimes referred to as input data. The data receiving unit 22 has a queue structure capable of storing input data, i.e., a first-in, first-out buffer 22a. Note that, in this specification, the buffer 22a is sometimes referred to as a queue.
データ受信部22は、他受信装置から送信された受信遅延情報を表すデータである遅延情報も受信するようになっている。なお、本明細書では、他受信装置から送信された遅延情報のことを他装置遅延情報と称することがある。データ受信部22は、他装置遅延情報を記憶する記憶部22bを備えている。データ受信部22は、同一の他受信装置から送信された他装置遅延情報については、最も新しい情報が記憶部22bに残るように過去の情報を上書きする形で記憶するようになっている。これにより、記憶部22bには、他受信装置毎の最新の他装置遅延情報が記憶されることになる。 The data receiving unit 22 is also configured to receive delay information, which is data representing reception delay information transmitted from other receiving devices. Note that in this specification, delay information transmitted from other receiving devices is sometimes referred to as other device delay information. The data receiving unit 22 is equipped with a memory unit 22b that stores other device delay information. For other device delay information transmitted from the same other receiving device, the data receiving unit 22 is configured to store it in a manner that overwrites previous information so that the most recent information remains in the memory unit 22b. As a result, the latest other device delay information for each other receiving device is stored in the memory unit 22b.
データ受信部22は、送信装置10から送信されたデータを受信したとき、遅延情報送信部21により算出された自装置の受信遅延時間が他受信装置から受信した遅延情報である他装置遅延情報が表す受信遅延時間のうち最も長い時間である他装置最大遅延時間未満の時間である場合には受信したデータをバッファ22aの末尾に追加し、遅延情報送信部21により算出された自装置の受信遅延時間が他装置最大遅延時間以上の時間である場合には受信したデータをバッファ22aに追加することなく使用する。データ受信部22は、バッファ22aの先頭に保管されたデータに付与された送信情報が表す送信時刻と現在の時刻との差が他装置最大遅延時間以上の時間になったとき、バッファ22aの先頭に保管されたデータを取り出して使用する。 When the data receiving unit 22 receives data transmitted from the transmitting device 10, if the reception delay time of its own device calculated by the delay information transmitting unit 21 is less than the other device's maximum delay time, which is the longest reception delay time represented by the other device delay information, which is delay information received from other receiving devices, the data receiving unit 22 adds the received data to the end of the buffer 22a; if the reception delay time of its own device calculated by the delay information transmitting unit 21 is equal to or greater than the other device's maximum delay time, the data receiving unit 22 uses the received data without adding it to the buffer 22a. When the difference between the transmission time represented by the transmission information attached to the data stored at the top of the buffer 22a and the current time is equal to or greater than the other device's maximum delay time, the data receiving unit 22 retrieves and uses the data stored at the top of the buffer 22a.
送信装置10および受信装置20が備える各機能ブロックは、送信装置10および受信装置20が備えるCPUが非遷移的実体的記憶媒体に格納されているコンピュータプログラムを実行してコンピュータプログラムに対応する処理を実行することにより実現されている、つまりソフトウェアにより実現されている。なお、各機能ブロックのうち少なくとも一部をハードウェアにより実現する構成としてもよい。 Each functional block of the transmitting device 10 and the receiving device 20 is realized by the CPU of the transmitting device 10 and the receiving device 20 executing a computer program stored on a non-transient tangible storage medium and performing processing corresponding to the computer program, i.e., realized by software. Note that at least a portion of each functional block may also be realized by hardware.
カメラ2は、車両の前方を撮影するものであり、その撮影により得られた車両前方映像を表すデータAを送信情報を付与したうえで前処理ECU4および制御ECU7へ送信する。LiDAR3は、車両の前方に存在する物体の位置を測定するものであり、その測定により得られた物体位置情報を表すデータBを送信情報を付与したうえでサブECU5へ送信する。前処理ECU4は、映像前処理用のECUであり、データAを受信する。前処理ECU4は、受信したデータA内の物体の種類を認識するものであり、その認識により得られた物体認識情報を表すデータA’をサブECU5へ送信する。物体の種類としては、先行車、歩行者などが挙げられる。なお、この場合、データA’には、データAに付与された送信情報と同一の送信情報が付与される。 Camera 2 captures images of the area ahead of the vehicle and transmits data A representing the captured image of the area ahead of the vehicle to pre-processing ECU 4 and control ECU 7 after attaching transmission information. LiDAR 3 measures the position of objects ahead of the vehicle and transmits data B representing object position information obtained from this measurement to sub-ECU 5 after attaching transmission information. Pre-processing ECU 4 is an ECU for image pre-processing and receives data A. Pre-processing ECU 4 recognizes the type of object in the received data A and transmits data A' representing the object recognition information obtained through this recognition to sub-ECU 5. Examples of object types include preceding vehicles and pedestrians. In this case, data A' is attached with the same transmission information as that attached to data A.
サブECU5は、スイッチングハブとして機能するものであり、センサであるLiDAR3および他のECUである前処理ECU4から制御ECU6へと送信される複数の信号を1つの経路にまとめる役割を担う。すなわち、サブECU5は、データA’およびデータBを受信し、それら受信したデータのそれぞれに対応するデータA’’およびデータB’を制御ECU6へ送信する。なお、この場合、データA’’には、データA、A’に付与された送信情報と同一の送信情報が付与され、データB’には、データBに付与された送信情報と同一の送信情報が付与される。 The sub-ECU 5 functions as a switching hub, combining multiple signals transmitted from the LiDAR 3 sensor and the pre-processing ECU 4, another ECU, to the control ECU 6 into a single path. That is, the sub-ECU 5 receives data A' and data B, and transmits data A" and data B' corresponding to the received data to the control ECU 6. In this case, data A" is assigned the same transmission information as that assigned to data A and A', and data B' is assigned the same transmission information as that assigned to data B.
制御ECU6は、走行計画作成用の制御ECUであり、データA’’およびデータB’を受信する。制御ECU6は、物体認識情報を表すデータA’’と物体位置情報を表すデータB’とを結び付け、それに基づいて車両前方の状況を認識して走行パターンを決定する。この場合、走行パターンを決定する処理の実施が、データA’’およびデータB’を使用することに相当する。 Control ECU 6 is a control ECU for creating a driving plan, and receives data A" and data B'. Control ECU 6 links data A" representing object recognition information with data B' representing object position information, and uses this to recognize the situation ahead of the vehicle and determine a driving pattern. In this case, performing the process of determining the driving pattern corresponds to using data A" and data B'.
制御ECU7は、車線逸脱防止用の制御ECUであり、車両前方映像を表すデータAから車線位置を検出し、それに基づいて車線逸脱時に逸脱した状態を解消するようにステアリング操作へ介入するための処理を実施する。この場合、ステアリング操作へ介入するための処理の実施が、データAを使用することに相当する。 Control ECU 7 is a control ECU for lane departure prevention, which detects the lane position from data A representing the image ahead of the vehicle, and performs processing to intervene in steering operation to correct the lane departure based on that detection. In this case, performing processing to intervene in steering operation corresponds to using data A.
上記構成において、車両のステアリングを制御する図示しないステアリング制御部は、制御ECU6および制御ECU7のそれぞれから送信されるステアリング制御命令を受け付けるようになっている。本実施形態では、ステアリング制御部は、制御ECU6および制御ECU7の双方からの命令を同時に受け付けた場合には制御ECU6の命令を優先する、といった判断基準を有している。 In the above configuration, a steering control unit (not shown) that controls the steering of the vehicle is configured to accept steering control commands transmitted from both control ECU 6 and control ECU 7. In this embodiment, the steering control unit has a judgment criterion that prioritizes the command from control ECU 6 when commands are accepted simultaneously from both control ECU 6 and control ECU 7.
このような構成において、例えば車両の前方に障害物が存在している場合、運転者、つまり車両の操縦者によって障害物を回避するために一時的に車線逸脱するようなステアリング操作が行われると、制御ECU6が障害物を認識して障害物を回避するような操作を実行させるための命令をステアリング制御部に与えるとともに、制御ECU7が車線逸脱だけを検出して元の車線に戻すような操作を実行させるための命令をステアリング制御部に与えることになる。この場合、ステアリング制御部は、制御ECU6からの命令を優先するような判断基準を有することから、障害物を回避するような操作を優先して実施することができる。 In this configuration, for example, if there is an obstacle ahead of the vehicle and the driver, i.e., the operator of the vehicle, performs a steering operation that causes the vehicle to temporarily deviate from the lane to avoid the obstacle, the control ECU 6 will recognize the obstacle and issue a command to the steering control unit to execute an operation to avoid the obstacle, while the control ECU 7 will detect only the lane departure and issue a command to the steering control unit to execute an operation to return the vehicle to the original lane. In this case, the steering control unit has criteria that prioritize commands from the control ECU 6, so it can prioritize the operation to avoid the obstacle.
次に、上記構成における受信装置20、つまり制御ECU6および制御ECU7において実施される処理の内容について図4~図6を参照して説明する。各受信装置20は、第1処理、第2処理および第3処理を並列して実施する。 Next, the processing performed by the receiving device 20 in the above configuration, i.e., the control ECU 6 and control ECU 7, will be described with reference to Figures 4 to 6. Each receiving device 20 performs the first processing, the second processing, and the third processing in parallel.
<第1処理について>
第1処理は、例えば図4に示すような内容の処理であり、受信したデータの使用または保管に関する処理となっている。第1処理は、データ受信部22によりデータが受信される度に実行される。まず、ステップS101では、受信したデータが送信装置10から送信されたデータである入力データであるか否かが判断される。
<Regarding the first process>
The first process is, for example, a process shown in Fig. 4, and is a process related to the use or storage of received data. The first process is executed every time data is received by the data receiving unit 22. First, in step S101, it is determined whether the received data is input data, which is data transmitted from the transmitting device 10.
ここで、受信したデータが入力データではない場合、つまり受信したデータが他装置遅延情報である場合、ステップS101で「NO」となり、ステップS102に進む。ステップS102では、受信した他装置遅延情報が記憶部22bに記憶される。ステップS102の実行後、本処理が終了となる。一方、受信したデータが入力データである場合、ステップS101で「YES」となり、ステップS103に進む。 Here, if the received data is not input data, that is, if the received data is other device delay information, the result is "NO" in step S101 and the process proceeds to step S102. In step S102, the received other device delay information is stored in memory unit 22b. After step S102 is executed, this process ends. On the other hand, if the received data is input data, the result is "YES" in step S101 and the process proceeds to step S103.
ステップS103では、今回受信した入力データの受信遅延時間が計算される。つまり、ステップS103では、遅延情報送信部21により入力データの受信遅延時間の算出が実行される。ステップS103の実行後はステップS104に進み、ステップS103で計算された自装置の受信遅延時間Taが、記憶部22bに記憶された他装置遅延情報が表す受信遅延時間のうち最も長い時間である他装置最大遅延時間Tbと等しい時間または他装置最大遅延時間Tbより長い時間であるか否かが判断される。言い換えると、ステップS104では、自装置の受信遅延時間Taが他装置最大遅延時間Tb以上の時間であるか否かが判断される。 In step S103, the reception delay time of the currently received input data is calculated. That is, in step S103, the delay information transmission unit 21 calculates the reception delay time of the input data. After step S103 is executed, the process proceeds to step S104, where it is determined whether the reception delay time Ta of the device itself calculated in step S103 is equal to or longer than the other device maximum delay time Tb, which is the longest time among the reception delay times represented by the other device delay information stored in the memory unit 22b. In other words, in step S104, it is determined whether the reception delay time Ta of the device itself is equal to or longer than the other device maximum delay time Tb.
ここで、自装置の受信遅延時間Taが、他装置最大遅延時間Tb以上の時間である場合、ステップS104で「YES」となり、ステップS105に進む。つまり、今回受信した入力データの送信時刻が、他受信装置において受信された入力データの送信時刻と同じか遅れている場合、ステップS104で「YES」となり、ステップS105に進む。ステップS105では、今回受信した入力データを使用する処理が実行される。入力データを使用する処理は、制御ECU6の場合には走行パターンを決定する処理であり、制御ECU7の場合にはステアリング操作へ介入するための処理である。 Here, if the reception delay time Ta of the own device is equal to or greater than the maximum delay time Tb of the other device, step S104 returns "YES" and the process proceeds to step S105. In other words, if the transmission time of the currently received input data is the same as or later than the transmission time of the input data received by the other receiving device, step S104 returns "YES" and the process proceeds to step S105. In step S105, a process using the currently received input data is executed. In the case of control ECU 6, the process using the input data is a process for determining a driving pattern, and in the case of control ECU 7, it is a process for intervening in steering operation.
つまり、この場合、データ受信部22は、今回受信した入力データをキューに追加することなく使用することになる。一方、自装置の受信遅延時間Taが他装置最大遅延時間Tb未満の時間である場合、ステップS104で「NO」となり、ステップS106に進む。ステップS106では、今回受信した入力データがキュー末尾に追加される。ステップS105またはS106の実行後、本処理が終了となる。 In other words, in this case, the data receiving unit 22 uses the currently received input data without adding it to the queue. On the other hand, if the reception delay time Ta of the own device is less than the maximum delay time Tb of other devices, the result is "NO" in step S104 and the process proceeds to step S106. In step S106, the currently received input data is added to the end of the queue. After step S105 or S106 is executed, this process ends.
<第2処理について>
第2処理は、例えば図5に示すような内容の処理であり、受信したデータの取り出しに関する処理となっている。第2処理は、受信装置20の起動に伴って開始される処理となっている。具体的には、第2処理は、車両の電源投入時のイニシャライズの際に開始される処理となっている。
<Regarding the second process>
The second process is, for example, a process shown in Fig. 5, and is a process related to retrieving received data. The second process is a process that starts when the receiving device 20 is started. Specifically, the second process is a process that starts when the vehicle is initialized by turning on the power.
まず、ステップS201では、キュー先頭に保管されたデータに付与された送信情報が表す送信時刻と現在の時刻との差、つまりキュー先頭に保管されたデータの受信遅延時間が計算される。ステップS201の実行後はステップS202に進み、キュー先頭に保管されたデータの受信遅延時間Tcが他装置最大遅延時間Tbと等しい時間または他装置最大遅延時間Tbより長い時間であるか否かが判断される。言い換えると、ステップS202では、キュー先頭に保管されたデータの受信遅延時間Tcが他装置最大遅延時間Tb以上の時間であるか否かが判断される。 First, in step S201, the difference between the current time and the transmission time indicated by the transmission information attached to the data stored at the head of the queue is calculated; that is, the reception delay time of the data stored at the head of the queue. After step S201 is executed, the process proceeds to step S202, where it is determined whether the reception delay time Tc of the data stored at the head of the queue is equal to or longer than the maximum delay time Tb of other devices. In other words, in step S202, it is determined whether the reception delay time Tc of the data stored at the head of the queue is equal to or longer than the maximum delay time Tb of other devices.
ここで、キュー先頭に保管されたデータの受信遅延時間Tcが他装置最大遅延時間Tb未満の時間である場合、ステップS202で「NO」となり、再びステップS202の判断が実行される。一方、キュー先頭に保管されたデータの受信遅延時間Tcが他装置最大遅延時間Tb以上の時間である場合、ステップS202で「YES」となり、ステップS203に進む。つまり、キュー先頭に保管されたデータの送信時刻が、他受信装置において受信された入力データの送信時刻よりも進んでいない場合、ステップS202で「YES」となり、ステップS203に進む。 Here, if the reception delay time Tc of the data stored at the head of the queue is less than the maximum delay time Tb of other devices, step S202 returns "NO" and the determination of step S202 is executed again. On the other hand, if the reception delay time Tc of the data stored at the head of the queue is greater than or equal to the maximum delay time Tb of other devices, step S202 returns "YES" and the process proceeds to step S203. In other words, if the transmission time of the data stored at the head of the queue is not earlier than the transmission time of the input data received by the other receiving device, step S202 returns "YES" and the process proceeds to step S203.
ステップS203では、キュー先頭に保管されたデータが取り出される。ステップS203の実行後はステップS204に進み、ステップS203で取り出されたデータを使用する処理が実行される。取り出されたデータを使用する処理は、ステップS105と同様、制御ECU6の場合には走行パターンを決定する処理であり、制御ECU7の場合にはステアリング操作へ介入するための処理である。ステップS204の実行後はステップS201に戻り、上述した各処理と同様の処理が繰り返される。 In step S203, the data stored at the top of the queue is retrieved. After step S203 is executed, the process proceeds to step S204, where a process using the data retrieved in step S203 is executed. Similar to step S105, the process using the retrieved data is a process to determine a driving pattern in the case of control ECU 6, and a process to intervene in steering operation in the case of control ECU 7. After step S204 is executed, the process returns to step S201, and the same processes as those described above are repeated.
<第3処理について>
第3処理は、例えば図6に示すような処理であり、受信遅延時間を表す遅延情報の送信に関する処理となっている。第3処理は、受信装置20の起動に伴って開始される処理となっている。具体的には、第3処理は、車両の電源投入時のイニシャライズの際に開始される処理となっている。
<Regarding the third process>
The third process is, for example, a process as shown in Fig. 6, and is a process related to transmission of delay information indicating a reception delay time. The third process is a process that is started when the receiving device 20 is started. Specifically, the third process is a process that is started when the vehicle is initialized by turning on the power.
まず、ステップS301では、タイマ21aによる計時動作が開始される。ステップS301の実行後はステップS302に進み、タイマ21aにより計時された時間であるタイマ時間Tdが規定時間Te以上であるか否かが判断される。ここで、タイマ時間Tdが規定時間Te未満である場合、ステップS302で「NO」となり、再びステップS302の判断が実行される。一方、タイマ時間Tdが規定時間Te以上である場合、ステップS302で「YES」となり、ステップS303に進む。 First, in step S301, the timer 21a starts timing. After step S301 is executed, the process proceeds to step S302, where it is determined whether the timer time Td, which is the time measured by the timer 21a, is equal to or greater than the specified time Te. If the timer time Td is less than the specified time Te, the result in step S302 is "NO," and the determination in step S302 is executed again. On the other hand, if the timer time Td is equal to or greater than the specified time Te, the result in step S302 is "YES," and the process proceeds to step S303.
ステップS303では、キュー先頭に保管されたデータに付与された送信情報が表す送信時刻と現在の時刻との差、つまりキュー先頭に保管されたデータの受信遅延時間が計算される。ステップS303の実行後はステップS304に進み、ステップS303で計算された受信遅延時間を表す遅延情報が他受信装置の全てに送信される。つまり、ステップS304では、遅延情報のブロードキャスト送信が行われる。ステップS304の実行後はステップS305に進み、タイマ21aがリセットされる。ステップS305の実行後はステップS301に戻り、上述した各処理と同様の処理が繰り返される。 In step S303, the difference between the transmission time indicated by the transmission information attached to the data stored at the top of the queue and the current time is calculated, i.e., the reception delay time of the data stored at the top of the queue. After step S303 is executed, the process proceeds to step S304, where delay information indicating the reception delay time calculated in step S303 is transmitted to all other receiving devices. In other words, in step S304, the delay information is broadcast. After step S304 is executed, the process proceeds to step S305, where timer 21a is reset. After step S305 is executed, the process returns to step S301, and the same processes as those described above are repeated.
次に、受信装置20としての機能を有する制御ECU6および制御ECU7における処理の実施時刻の同期に関する具体的な動作の一例について図7を参照して説明する。
図1に示したように、送信装置10としての機能を有するカメラ2およびLiDAR3から送信された各データは、複数の異なる経路を介して制御ECU6および制御ECU7に与えられるようになっている。図7に示すように、所定の時刻tにおいて制御ECU6および制御ECU7が受信した各データは、上記した経路の違いに起因して、それぞれ付与された送信時刻が異なっている。
Next, an example of a specific operation relating to synchronization of the execution times of the processes in the control ECU 6 and the control ECU 7, which function as the receiving device 20, will be described with reference to FIG.
As shown in Fig. 1, the data transmitted from the camera 2 and the LiDAR 3, which function as the transmitting device 10, are provided to the control ECU 6 and the control ECU 7 via a plurality of different paths. As shown in Fig. 7, the data received by the control ECU 6 and the control ECU 7 at a given time t have different transmission times assigned to them due to the differences in the paths described above.
図7では、四角形によりデータフレームが表されているとともに、その内部にデータの送信時刻を表す01、02、03、04、05、06、07、08といった数字が記載されている。なお、数字は、小さいものほど過去の時刻を表すものとする。また、この場合、白抜きの四角形は、バッファ22aに保管されたデータを表しており、点線のパターンで内部が塗りつぶされた四角形は、その時刻で参照されるデータ、つまりその時刻で使用されるデータを表している。 In Figure 7, data frames are represented by rectangles, with numbers such as 01, 02, 03, 04, 05, 06, 07, and 08 written inside them to indicate the time the data was sent. Note that smaller numbers represent earlier times. In this case, open rectangles represent data stored in buffer 22a, and rectangles filled with a dotted line pattern represent data referenced at that time, i.e., data used at that time.
図7に示すように、現在の時刻tが「05」の時点では、制御ECU6が受信したデータA’’およびB’の各送信時刻はそれぞれ「01」および「02」となっており、制御ECU7が受信したデータAの送信時刻は「03」となっている。現在の時刻tが「06」の時点では、制御ECU6が受信したデータA’’およびB’の各送信時刻はそれぞれ「02」および「03」となっており、制御ECU7が受信したデータAの送信時刻は「04」となっている。 As shown in Figure 7, when the current time t is "05", the transmission times of data A" and B' received by control ECU 6 are "01" and "02", respectively, and the transmission time of data A received by control ECU 7 is "03". When the current time t is "06", the transmission times of data A" and B' received by control ECU 6 are "02" and "03", respectively, and the transmission time of data A received by control ECU 7 is "04".
この場合、制御ECU6では、データA’’の送信時刻がデータB’の送信時刻に対して「01」だけ遅れている。そこで、データA’’とデータB’’の時刻を揃えるため、データB’をバッファ22aに保管しておき、現在の時刻tが「06」の時点においてバッファ22aからデータを取り出して参照する。このようにすることで、制御ECU6において使用されるデータA’’およびB’の各送信時刻が揃うことになる。このとき、制御ECU6は、下記(1)式により表される自装置の受信遅延時間Δt1を表す遅延情報をブロードキャストする。
Δt1=06-02=4 …(1)
In this case, the control ECU 6 finds that the transmission time of data A'' is delayed by "01" relative to the transmission time of data B'. Therefore, in order to align the times of data A'' and B'', data B' is stored in the buffer 22a, and when the current time t is "06", the data is retrieved from the buffer 22a and referenced. In this way, the transmission times of data A'' and B' used by the control ECU 6 are aligned. At this time, the control ECU 6 broadcasts delay information indicating the reception delay time Δt1 of its own device, which is expressed by the following equation (1):
Δt1=06-02=4...(1)
制御ECU7は、ブロードキャストされた遅延情報を受信すると、その遅延情報が表す受信遅延時間Δt1と下記(2)式により表される自装置の受信遅延時間Δt2とを比較する。
Δt2=06-04=2 …(2)
When the control ECU 7 receives the broadcast delay information, it compares the reception delay time Δt1 indicated by the delay information with the reception delay time Δt2 of the own device expressed by the following equation (2).
Δt2=06-04=2...(2)
制御ECU7は、上記比較の結果、受信遅延時間Δt2のほうが受信遅延時間Δt1よりも小さいことから、自装置のほうが遅延が少ないと判断する。その後、制御ECU7は、データAをバッファ22aに保管しておき、バッファ22aの先頭に格納されたデータの受信遅延時間Δt2が受信遅延時間Δt1に等しくなった時点から、バッファ22aからデータを取り出して参照するようにする。この場合、現在の時刻tが「08」の時点において、制御ECU7のバッファ22aの先頭に格納されたデータの受信遅延時間Δt2が制御ECU6から送信された遅延情報が表す受信遅延時間Δt1に等しくなる。 The control ECU 7 determines that its own device has less delay because the reception delay time Δt2 is shorter than the reception delay time Δt1 as a result of the above comparison. The control ECU 7 then stores data A in buffer 22a, and retrieves and references the data from buffer 22a when the reception delay time Δt2 of the data stored at the beginning of buffer 22a becomes equal to the reception delay time Δt1. In this case, when the current time t is "08," the reception delay time Δt2 of the data stored at the beginning of buffer 22a of the control ECU 7 becomes equal to the reception delay time Δt1 indicated by the delay information transmitted from control ECU 6.
これにより、現在時刻tが「08」の時点において、制御ECU6および制御ECU7で使用される全てのデータ、つまりデータA’’、データB’およびデータAの送信時刻が「04」で一致する。このようにすることで、制御ECU6および制御ECU7において、同一時刻のデータを使用するタイミングが揃うことになり、処理の実施時刻の同期が実現される。 As a result, when the current time t is "08", the transmission times of all data used by control ECU 6 and control ECU 7, i.e., data A", data B', and data A, will all match at "04". This ensures that control ECU 6 and control ECU 7 use data from the same time at the same time, thereby achieving synchronization of processing times.
以上説明した本実施形態によれば、次のような効果が得られる。
データ受信部22は、送信装置10から送信されたデータを受信したとき、遅延情報送信部21により算出された受信遅延時間が他受信装置から受信した遅延情報が表す受信遅延時間のうち最も長い時間である他装置最大遅延時間未満の時間である場合には受信したデータをバッファ22aの末尾に追加し、遅延情報送信部21により算出された受信遅延時間が他装置最大遅延時間以上の時間である場合には受信したデータをバッファ22aに追加することなく使用する。また、データ受信部22は、バッファ22aの先頭に保管されたデータに付与された送信情報が表す送信時刻と現在の時刻との差が他装置最大遅延時間以上の時間になったとき、バッファ22aの先頭に保管されたデータを取り出して使用する。
According to the present embodiment described above, the following effects can be obtained.
When the data receiving unit 22 receives data transmitted from the transmitting device 10, if the reception delay time calculated by the delay information transmitting unit 21 is less than the other device's maximum delay time, which is the longest reception delay time indicated by the delay information received from the other receiving devices, the data receiving unit 22 adds the received data to the end of the buffer 22a, and if the reception delay time calculated by the delay information transmitting unit 21 is equal to or greater than the other device's maximum delay time, the data receiving unit 22 uses the received data without adding it to the buffer 22a. Furthermore, when the difference between the transmission time indicated by the transmission information added to the data stored at the top of the buffer 22a and the current time becomes equal to or greater than the other device's maximum delay time, the data receiving unit 22 retrieves and uses the data stored at the top of the buffer 22a.
上記構成によれば、各受信装置20は、自装置の受信遅延時間と他受信装置から送信された遅延情報が表す他装置の受信遅延時間とに基づいて、最も受信遅延時間が長い受信装置20に合わせるような形で、同一時刻のデータを使用するタイミングを揃えることができる。この場合、AVBのように遅延が大きくなり過ぎるおそれがなく、また、TSNのように既存の装置からの置き換えに多大なコストを要することがない。したがって、本実施形態によれば、遅延を低く抑えるとともにコストの増大を招くことなく各受信装置20間において同一時刻のデータを使用するタイミングを同期することができるという優れた効果が得られる。 With the above configuration, each receiving device 20 can align the timing of using data at the same time to match the receiving device 20 with the longest reception delay time, based on the reception delay time of its own device and the reception delay times of other devices indicated by delay information transmitted from those other receiving devices. In this case, there is no risk of excessive delay as with AVB, and there is no need for significant costs to replace existing devices as with TSN. Therefore, this embodiment has the excellent effect of keeping delays low and synchronizing the timing of using data at the same time between each receiving device 20 without increasing costs.
本実施形態の構成において、受信装置20としての機能を有する制御ECU6および制御ECU7間における処理の実施時刻が同期されずに、同一時刻のデータを使用するタイミングが制御ECU7よりも制御ECU6のほうが遅くなった場合、次のような問題が生じる。すなわち、前述したように、本実施形態の構成では、例えば車両の前方に障害物が存在している場合、車両の操縦者によって障害物を回避するために一時的に車線逸脱するようなステアリング操作が行われると、制御ECU6が障害物を認識して障害物を回避するような操作を実行させるための命令をステアリング制御部に与えるとともに、制御ECU7が車線逸脱だけを検出して元の車線に戻すような操作を実行させるための命令をステアリング制御部に与えることになる。 In the configuration of this embodiment, if the processing times of the control ECU 6 and the control ECU 7, which function as the receiving device 20, are not synchronized and the control ECU 6 uses data at a later time than the control ECU 7, the following problem will arise. That is, as described above, in the configuration of this embodiment, for example, if there is an obstacle ahead of the vehicle and the driver of the vehicle performs a steering operation that causes the vehicle to temporarily deviate from its lane to avoid the obstacle, the control ECU 6 will recognize the obstacle and provide a command to the steering control unit to perform an operation to avoid the obstacle, and the control ECU 7 will detect only the lane departure and provide a command to the steering control unit to perform an operation to return the vehicle to its original lane.
このような動作制御を想定した際、上述したように同一時刻のデータを使用するタイミングが制御ECU7よりも制御ECU6のほうが遅くなると、ステアリング制御部には、制御ECU6からのステアリング制御命令よりも先に制御ECU7からのステアリング制御命令が与えられることになり、その結果、一時的に、障害物が存在する元の車線へ戻すようにステアリング操作へ介入するといった意図しない挙動が起きることになる。 When considering this type of operational control, if control ECU 6 uses data from the same time later than control ECU 7 as described above, the steering control unit will receive a steering control command from control ECU 7 before a steering control command from control ECU 6, resulting in unintended behavior such as temporary intervention in steering to return the vehicle to the original lane where the obstacle is located.
これに対し、本実施形態によれば、制御ECU6および制御ECU7間における処理の実施時刻が同期されるため、制御ECU6からのステアリング制御命令よりも制御ECU7からのステアリング制御命令が先にステアリング制御部に与えられるといったことが無くなる。この場合、制御ECU6からのステアリング制御命令と制御ECU7からのステアリング制御命令とがステアリング制御部に同時に与えられることになるが、前述したように、ステアリング制御部は、制御ECU6および制御ECU7の双方からの命令を同時に受け付けた場合には制御ECU6の命令を優先するため、上記したような意図しない挙動の発生が防止される。 In contrast, according to this embodiment, the execution times of processing between the control ECU 6 and the control ECU 7 are synchronized, so that a steering control command from the control ECU 7 is not given to the steering control unit before a steering control command from the control ECU 6. In this case, the steering control command from the control ECU 6 and the steering control command from the control ECU 7 are given to the steering control unit simultaneously, but as described above, if the steering control unit receives commands from both the control ECU 6 and the control ECU 7 simultaneously, the command from the control ECU 6 takes priority, thereby preventing the occurrence of unintended behavior such as that described above.
遅延情報送信部21は、遅延情報の送信を予め定められた規定時間間隔で定期的に実施するようになっている。このようにすれば、遅延情報の送信を送信装置10から送信されたデータを受信したときに実施するようにした場合に比べ、次のような効果が得られる。すなわち、各受信装置20がデータを受信したときに遅延情報を送信するようにした場合、遅延情報をブロードキャストするタイミングが複数の受信装置20間で衝突する可能性が高くなる。 The delay information transmission unit 21 is configured to transmit delay information periodically at predetermined time intervals. This provides the following advantages compared to when delay information is transmitted upon receiving data transmitted from the transmitting device 10. That is, if delay information is transmitted upon receiving data by each receiving device 20, there is a higher possibility that the timing of broadcasting delay information will conflict between multiple receiving devices 20.
これに対し、本実施形態のように遅延情報の送信を規定時間間隔で定期的に実施する場合、遅延情報をブロードキャストするタイミングが複数の受信装置20間で衝突する可能性を低減することができる。また、この場合、上記した規定時間を受信装置20毎に互いに異なる時間に設定することが可能であり、そのようにすれば、上記した衝突の可能性をより一層低く抑えることができる。 In contrast, when delay information is transmitted periodically at specified time intervals, as in this embodiment, the possibility of conflicts in the timing of broadcasting delay information between multiple receiving devices 20 can be reduced. In this case, it is also possible to set the specified time to a different time for each receiving device 20, which further reduces the possibility of such conflicts.
(第2実施形態)
以下、第2実施形態について図8~図10を参照して説明する。
図8に示すように、本実施形態の受信装置30は、図3に示した第1実施形態の受信装置20に対し、遅延情報送信部21に代えて遅延情報送信部31を備えている点、データ受信部22に代えてデータ受信部32を備えている点などが異なっている。
Second Embodiment
The second embodiment will be described below with reference to FIGS.
As shown in Figure 8, the receiving device 30 of this embodiment differs from the receiving device 20 of the first embodiment shown in Figure 3 in that it has a delay information transmitting unit 31 instead of the delay information transmitting unit 21, and a data receiving unit 32 instead of the data receiving unit 22.
データ受信部32は、データ受信部22と同様、送信装置10から送信されたデータおよび他受信装置から送信された遅延情報を受信することができるとともに、さらに、ネットワーク構成の変更を通知するための変更通知を表すデータも受信することができる。変更通知は、ネットワーク1を構成する複数の通信装置および通信線8のうち少なくともいずれかの構成に変更や変化があったことを示すものである。このような変更通知は、例えば、サービスアップデートなどによりネットワーク1に関連するハードウェアおよびソフトウェアの一方または双方が変更されたときに、手動で通知されるか、あるいは、ロジックなどによって自動で通知されるようになっている。 Like the data receiving unit 22, the data receiving unit 32 can receive data transmitted from the transmitting device 10 and delay information transmitted from other receiving devices, and can also receive data representing change notifications to notify of changes to the network configuration. The change notification indicates that there has been a change or modification to the configuration of at least one of the multiple communication devices and communication lines 8 that make up the network 1. Such change notifications are sent manually or automatically via logic, for example, when one or both of the hardware and software related to the network 1 are changed due to a service update or the like.
遅延情報送信部31は、遅延情報送信部21と同様、受信遅延時間を算出し、その算出した受信遅延時間を表す遅延情報を他受信装置の全てに送信する。ただし、遅延情報送信部31は、遅延情報送信部21に対し、タイマ21aが省かれており、それに伴い、遅延情報の送信を実施するタイミングが異なっている。すなわち、遅延情報送信部31は、上述したような変更通知を受信すると遅延情報の送信を実施するようになっている。 Like the delay information transmitter 21, the delay information transmitter 31 calculates the reception delay time and transmits delay information representing the calculated reception delay time to all other receiving devices. However, the delay information transmitter 31 does not include the timer 21a compared to the delay information transmitter 21, and therefore the timing at which the delay information is transmitted is different. In other words, the delay information transmitter 31 transmits the delay information upon receiving a change notification such as that described above.
上記構成の受信装置30は、第1実施形態の受信装置20と同様、第1処理、第2処理および第3処理を実施するようになっているが、第1処理および第3処理の内容が第1実施形態とは異なっている。また、この場合、第3処理は、第1処理の一部に含まれる形となっている。以下、本実施形態の受信装置30により実施される第1処理および第3処理の内容について図9および図10を参照して説明する。 The receiving device 30 configured as described above performs the first process, second process, and third process, similar to the receiving device 20 of the first embodiment, but the content of the first and third processes differs from that of the first embodiment. Furthermore, in this case, the third process is included as part of the first process. The content of the first and third processes performed by the receiving device 30 of this embodiment will be described below with reference to Figures 9 and 10.
[1]第1処理
図9に示すように、本実施形態の第1処理は、図4に示した第1実施形態の第1処理に対し、ステップS111およびS112が追加されている点などが異なっている。本実施形態の第1処理では、ステップS101で「NO」となる場合、つまり受信したデータが入力データではない場合、ステップS111に進む。ステップS111では、受信したデータが他装置遅延情報であるか否かが判断される。
[1] First Processing As shown in Fig. 9, the first processing of this embodiment differs from the first processing of the first embodiment shown in Fig. 4 in that steps S111 and S112 are added. In the first processing of this embodiment, if step S101 returns "NO," that is, if the received data is not input data, the process proceeds to step S111. In step S111, it is determined whether the received data is other device delay information.
ここで、受信したデータが他装置遅延情報である場合、ステップS111で「YES」となり、ステップS102に進む。一方、受信したデータが他装置遅延情報ではない場合、つまり受信したデータが変更通知である場合、ステップS111で「NO」となり、ステップS112に進む。ステップS112では、第3処理が実行される。ステップS112の実行後、本処理が終了となる。 Here, if the received data is other device delay information, step S111 returns "YES" and the process proceeds to step S102. On the other hand, if the received data is not other device delay information, that is, if the received data is a change notification, step S111 returns "NO" and the process proceeds to step S112. In step S112, the third process is executed. After step S112 is executed, this process ends.
[2]第3処理
図10に示すように、本実施形態の第3処理は、図6に示した第1実施形態の第3処理に対し、ステップS301、S302およびS305が省かれている点などが異なっている。本実施形態の第3処理が開始されると、まずステップS303が実行される。ステップS303では、キュー先頭に保管されたデータの受信遅延時間が計算される。ステップS303の実行後はステップS304に進み、ステップS303で計算された受信遅延時間を表す遅延情報のブロードキャスト送信が行われる。ステップS304の実行後、本処理が終了となる。
[2] Third Processing As shown in Fig. 10, the third processing of this embodiment differs from the third processing of the first embodiment shown in Fig. 6 in that steps S301, S302, and S305 are omitted. When the third processing of this embodiment starts, step S303 is executed first. In step S303, the reception delay time of the data stored at the head of the queue is calculated. After execution of step S303, the process proceeds to step S304, where delay information representing the reception delay time calculated in step S303 is broadcast. After execution of step S304, this processing ends.
以上説明したように、本実施形態の遅延情報送信部31は、ネットワーク1を構成する複数の通信装置および通信線8のうち少なくともいずれかの構成に変更や変化があったことを示す変更通知を受信すると遅延情報の送信を実施するようになっている。このような構成によれば、次のような効果が得られる。すなわち、通信線8を介してEthernet通信が行われる車両用ネットワークの一例であるネットワーク1では、その構成要素、つまり複数の通信装置および通信線8に変更がある場合を除き、同じ経路間での遅延が大きく変化することは考え難い。 As explained above, the delay information transmission unit 31 of this embodiment is configured to transmit delay information upon receiving a change notification indicating that there has been a change or modification to at least one of the multiple communication devices and communication lines 8 that make up network 1. This configuration provides the following advantages: In other words, in network 1, which is an example of a vehicle network in which Ethernet communication is carried out via communication lines 8, it is unlikely that the delay between the same routes will change significantly unless there is a change in its components, i.e., the multiple communication devices and communication lines 8.
つまり、ネットワーク1では、その構成要素に変化がない限り、各受信装置30における受信遅延時間は大きく変化することなく概ね一定の時間となる。そのため、遅延情報の送信を送信装置10から送信されたデータを受信したときに実施するようにした場合、ブロードキャストの頻度が高くなり、受信装置30における処理負荷が大きくなるおそれがある。これに対し、本実施形態のように、変更通知を受信したときに遅延情報の送信を実施するようにすれば、ブロードキャストの頻度が低く抑えられ、その結果、受信装置30における処理負荷を低減することができる。 In other words, in network 1, unless there are changes in its components, the reception delay time at each receiving device 30 will remain roughly constant and will not change significantly. Therefore, if delay information were to be transmitted when data transmitted from the transmitting device 10 was received, the frequency of broadcasts would increase, which could increase the processing load on the receiving device 30. In contrast, if delay information is transmitted when a change notification is received, as in this embodiment, the frequency of broadcasts can be kept low, and as a result, the processing load on the receiving device 30 can be reduced.
(第3実施形態)
以下、第3実施形態について図11~図13を参照して説明する。
図11に示すように、本実施形態の受信装置40は、図3に示した第1実施形態の受信装置20に対し、遅延情報送信部21に代えて遅延情報送信部41を備えている点などが異なっている。
(Third embodiment)
The third embodiment will be described below with reference to FIGS.
As shown in Figure 11, the receiving device 40 of this embodiment differs from the receiving device 20 of the first embodiment shown in Figure 3 in that it has a delay information transmitting unit 41 instead of the delay information transmitting unit 21.
遅延情報送信部41は、遅延情報送信部21と同様、受信遅延時間を算出し、その算出した受信遅延情報を表す遅延情報を送信する。また、遅延情報送信部41は、遅延情報送信部21と同様、遅延情報の送信を予め定められた規定時間間隔で定期的に実施するようになっている。ただし、遅延情報送信部41は、遅延情報を他受信装置のうち予め指定された装置である同期対象装置だけに送信するようになっている。 Like the delay information transmission unit 21, the delay information transmission unit 41 calculates the reception delay time and transmits delay information representing the calculated reception delay information. Also, like the delay information transmission unit 21, the delay information transmission unit 41 is configured to periodically transmit delay information at predetermined time intervals. However, the delay information transmission unit 41 is configured to transmit delay information only to synchronization target devices, which are pre-designated devices among other receiving devices.
同期対象装置の指定方法としては、例えば次のように行うことができる。すなわち、例えばブレーキの制御、アクセルの制御などの車両の走行に関連する制御を実行する車両制御系のECUと、例えばナビゲーション装置の制御、表示装置の制御、オーディオの制御などの車両の走行に関連しない制御を実行するエンタメ制御系のECUと、では、処理の実施時刻の同期を図る必要性が極めて少ない。 The synchronization target devices can be specified, for example, as follows: In other words, there is very little need to synchronize the execution times of processes between vehicle control ECUs that perform controls related to vehicle driving, such as brake control and accelerator control, and entertainment control ECUs that perform controls unrelated to vehicle driving, such as navigation device control, display device control, and audio control.
上記した点を考慮し、車両制御系の各ECUを1つのグループにするとともに、エンタメ制御系の各ECUを別のグループとして区分する。そして、これらグループのそれぞれについて、グループ内の各ECUのそれぞれが、そのグループ内の他のECUの全てを同期対象装置として指定することで、グループ内の各ECUにおいて処理の実施時刻の同期を図ることができる。なお、車両には、例えば電動ミラーの調整を行うECUなど、他の受信装置と処理の実施時刻の同期を図る必要が全く無い受信装置も存在する。このような受信装置については、いずれのグループにも属さないようにしておけばよい。 Taking the above into consideration, the ECUs in the vehicle control system are grouped together, and the ECUs in the entertainment control system are grouped together in another group. Then, for each of these groups, each ECU in the group can designate all of the other ECUs in that group as synchronization target devices, thereby enabling synchronization of the processing execution times of each ECU in the group. Note that there are also receiving devices in vehicles, such as ECUs that adjust power mirrors, that do not need to synchronize the processing execution times with other receiving devices. Such receiving devices can simply be left ungrouped.
上記構成の受信装置40は、第1実施形態の受信装置20と同様、第1処理、第2処理および第3処理を並列して実施するようになっているが、第1処理および第3処理の内容が第1実施形態とは異なっている。以下、本実施形態の受信装置40により実施される第1処理および第3処理の内容について図12および図13を参照して説明する。 Like the receiving device 20 of the first embodiment, the receiving device 40 configured as described above is configured to perform the first process, the second process, and the third process in parallel, but the content of the first process and the third process differs from that of the first embodiment. The content of the first process and the third process performed by the receiving device 40 of this embodiment will be described below with reference to Figures 12 and 13.
<第1処理について>
図12に示すように、本実施形態の第1処理は、図4に示した第1実施形態の第1処理に対し、ステップS121が追加されている点などが異なっている。本実施形態の第1処理では、ステップS101で「NO」となる場合、つまり受信したデータが入力データではない場合、ステップS121に進む。ステップS121では、受信したデータが同期対象装置から送信された他装置遅延情報であるか否かが判断される。
<Regarding the first process>
12, the first process of this embodiment differs from the first process of the first embodiment shown in FIG. 4 in that step S121 is added. In the first process of this embodiment, if step S101 returns "NO," that is, if the received data is not input data, the process proceeds to step S121. In step S121, it is determined whether the received data is other-device delay information transmitted from a synchronization target device.
ここで、受信したデータが同期対象装置から送信された他装置遅延情報ではない場合、つまり受信したデータが同期対象装置とは異なる装置から送信された他装置遅延情報である場合、ステップS121で「NO」となり、ステップS102に進むことなく、そのまま本処理が終了となる。一方、受信したデータが同期対象装置から送信された他装置遅延情報である場合、ステップS121で「YES」となり、ステップS102に進む。 Here, if the received data is not other device delay information sent from the device to be synchronized, that is, if the received data is other device delay information sent from a device other than the device to be synchronized, step S121 will be "NO" and the process will end without proceeding to step S102. On the other hand, if the received data is other device delay information sent from the device to be synchronized, step S121 will be "YES" and the process will proceed to step S102.
なお、本実施形態の第1処理は、図4に示した第1実施形態の第1処理と同じ内容の処理に変更すること、つまりステップS121を省くように変更することもできる。このように変更した場合であっても、各受信装置40において後述する本実施形態の第3処理が実行されることによって遅延情報が同期対象装置にだけ送信されれば問題は生じない。 The first process of this embodiment can be modified to have the same content as the first process of the first embodiment shown in Figure 4, that is, to omit step S121. Even if modified in this way, no problems will arise as long as the delay information is transmitted only to the synchronization target device by executing the third process of this embodiment, which will be described later, in each receiving device 40.
ただし、何らかの理由により、同期対象装置とは異なる装置に対して遅延情報が送信される可能性もあり得る。このような場合であっても、本実施形態の第1処理によれば、ステップS121が実行されることにより、同期対象装置とは異なる装置から送信された遅延情報については記憶部22bに記憶されずに破棄されるため、処理の実施時刻の同期に影響を及ぼすことがない。 However, for some reason, it is possible that delay information may be sent to a device other than the device to be synchronized. Even in such a case, according to the first process of this embodiment, step S121 is executed, and delay information sent from a device other than the device to be synchronized is discarded without being stored in the memory unit 22b, so there is no impact on the synchronization of the process execution time.
<第3処理について>
図13に示すように、本実施形態の第3処理は、図6に示した第1実施形態の第3処理に対し、ステップS304に代えてステップS324が設けられている点などが異なっている。ステップS324では、ステップS303で計算された受信遅延時間を表す遅延情報が同期対象装置だけに送信される。
<Regarding the third process>
As shown in Fig. 13, the third process of this embodiment differs from the third process of the first embodiment shown in Fig. 6 in that step S324 is provided instead of step S304. In step S324, delay information indicating the reception delay time calculated in step S303 is transmitted only to the synchronization target device.
以上説明したように、本実施形態の遅延情報送信部41は、遅延情報を他受信装置のうち予め指定された装置である同期対象装置だけに送信するようになっている。このような構成によれば、特定の受信装置40間でだけ処理の実施時刻の同期ができていればよい場合、または、処理の実施時刻を同期させたい受信装置40をグループ分けしたい場合など、同期対象を限定するような用途に対して対応することが可能となる。 As explained above, the delay information transmission unit 41 of this embodiment is configured to transmit delay information only to synchronization target devices, which are pre-designated devices among other receiving devices. This configuration makes it possible to accommodate applications where the synchronization targets need to be limited, such as when it is sufficient to synchronize the processing execution times only between specific receiving devices 40, or when it is desired to group receiving devices 40 whose processing execution times should be synchronized.
(第4実施形態)
以下、第4実施形態について図14および図15を参照して説明する。
図14に示すように、本実施形態の受信装置50は、図3に示した第1実施形態の受信装置20に対し、データ受信部22に代えてデータ受信部52を備えている点などが異なっている。
(Fourth embodiment)
The fourth embodiment will be described below with reference to FIGS.
As shown in FIG. 14, a receiving device 50 of this embodiment differs from the receiving device 20 of the first embodiment shown in FIG. 3 in that it includes a data receiving unit 52 instead of the data receiving unit 22.
データ受信部52は、送信装置10から送信されたデータを受信したとき、遅延情報送信部21により算出された受信遅延時間が他装置最大遅延時間以上の時間である場合にも受信したデータをバッファ22aの末尾に追加する。つまり、データ受信部52は、送信装置10から送信されたデータを受信したとき、遅延情報送信部21により算出された受信遅延時間が他装置最大遅延時間以上の時間であるか否かに関係なく、受信したデータを、常にバッファ22aの末尾に追加するようになっている。 When the data receiving unit 52 receives data transmitted from the transmitting device 10, it adds the received data to the end of the buffer 22a even if the reception delay time calculated by the delay information transmitting unit 21 is equal to or greater than the maximum delay time of other devices. In other words, when the data receiving unit 52 receives data transmitted from the transmitting device 10, it always adds the received data to the end of the buffer 22a, regardless of whether the reception delay time calculated by the delay information transmitting unit 21 is equal to or greater than the maximum delay time of other devices.
上記構成の受信装置50は、第1実施形態の受信装置20と同様、第1処理、第2処理および第3処理を並列して実施するようになっているが、第1処理の内容が第1実施形態とは異なっている。以下、本実施形態の受信装置50により実施される第1処理の内容について図15を参照して説明する。 The receiving device 50 configured as described above performs the first process, the second process, and the third process in parallel, similar to the receiving device 20 of the first embodiment, but the content of the first process differs from that of the first embodiment. The content of the first process performed by the receiving device 50 of this embodiment will be described below with reference to Figure 15.
<第1処理について>
図15に示すように、本実施形態の第1処理は、図4に示した第1実施形態の第1処理に対し、ステップS103、S104およびS105が省かれている点などが異なっている。本実施形態の第1処理では、ステップS101で「YES」となる場合、つまり受信したデータが入力データである場合、ステップS106に進み、今回受信した入力データがキュー末尾に追加される。
<Regarding the first process>
As shown in Fig. 15, the first process of this embodiment differs from the first process of the first embodiment shown in Fig. 4 in that steps S103, S104, and S105 are omitted. In the first process of this embodiment, if step S101 is "YES," that is, if the received data is input data, the process proceeds to step S106, where the currently received input data is added to the end of the queue.
以上説明したように、本実施形態のデータ受信部52は、送信装置10から送信されたデータを受信したとき、遅延情報送信部21により算出された受信遅延時間が他装置最大遅延時間以上の時間であるか否かに関係なく、受信したデータを、常にバッファ22aの末尾に追加するようになっている。このような構成によれば、次のような効果が得られる。すなわち、第1実施形態のデータ受信部22は、第1処理において、自装置の受信遅延時間Taが他装置最大遅延時間Tb以上の時間である場合、今回受信した入力データをキューに追加することなく直ちに使用するようになっている。 As explained above, when the data receiving unit 52 of this embodiment receives data transmitted from the transmitting device 10, it always adds the received data to the end of the buffer 22a, regardless of whether the reception delay time calculated by the delay information transmitting unit 21 is equal to or greater than the maximum delay time of other devices. This configuration provides the following effects. That is, in the first process, if the reception delay time Ta of the data receiving unit 22 of the first embodiment is equal to or greater than the maximum delay time Tb of other devices, it immediately uses the currently received input data without adding it to a queue.
このような構成では、仮にその時点において既にキューにデータが保管されており、且つキュー先頭に保管されたデータの受信遅延時間Tcが他装置最大遅延時間Tb以上の時間である場合、第2処理においても、上記した第1処理での入力データの使用と同時に、キュー先頭に保管されたデータが取り出されて使用される。そうすると、今回受信した入力データとキューに保管された過去のデータとが並行して使用されてしまい、データの時系列が保証されなくなってしまう。 In this configuration, if data is already stored in the queue at that time and the reception delay time Tc of the data stored at the top of the queue is equal to or greater than the maximum delay time Tb of other devices, the data stored at the top of the queue will be retrieved and used in the second process at the same time as the input data used in the first process described above. This means that the currently received input data and previous data stored in the queue will be used in parallel, and the chronological order of the data will no longer be guaranteed.
なお、このような状況は、自装置の受信遅延時間が他装置最大遅延時間未満の時間である状態から、他装置最大遅延時間が何らかの理由で大幅に減少するなどして、自装置の受信遅延時間が他装置最大遅延時間以上の時間である状態に変化した際に発生し得る。本実施形態によれば、今回受信した入力データがキューに追加されずにそのまま使用されることはなく、常にキュー先頭に保管されたデータが使用されるようになっているため、使用するデータの時系列が入れ替わる問題が発生することがない。 This situation can occur when the reception delay time of the device itself changes from a time less than the maximum delay time of the other device to a time greater than or equal to the maximum delay time of the other device, for example, if the maximum delay time of the other device decreases significantly for some reason. According to this embodiment, the input data received this time is not used as is without being added to the queue, and the data stored at the top of the queue is always used, so the problem of the chronological order of the data being used is not swapped.
(その他の実施形態)
なお、本発明は上記し且つ図面に記載した各実施形態に限定されるものではなく、その要旨を逸脱しない範囲で任意に変形、組み合わせ、あるいは拡張することができる。
上記各実施形態で示した数値などは例示であり、それに限定されるものではない。
本発明は、上記各実施形態において説明したネットワーク1に限らず、車両に搭載された複数の通信装置が通信線を介して接続された車両用ネットワーク全般に適用することができる。
(Other embodiments)
The present invention is not limited to the embodiments described above and illustrated in the drawings, but can be arbitrarily modified, combined, or expanded without departing from the spirit of the invention.
The numerical values and the like shown in the above embodiments are examples and are not limited to these.
The present invention is not limited to the network 1 described in each of the above embodiments, but can be applied to any vehicular network in which multiple communication devices mounted on a vehicle are connected via communication lines.
本開示は、実施例に準拠して記述されたが、本開示は当該実施例や構造に限定されるものではないと理解される。本開示は、様々な変形例や均等範囲内の変形をも包含する。加えて、様々な組み合わせや形態、さらには、それらに一要素のみ、それ以上、あるいはそれ以下、を含む他の組み合わせや形態をも、本開示の範疇や思想範囲に入るものである。 While the present disclosure has been described with reference to exemplary embodiments, it is understood that the present disclosure is not limited to those embodiments or structures. The present disclosure also encompasses various modifications and variations within the scope of equivalents. In addition, various combinations and forms, as well as other combinations and forms including only one element, more than one element, or less than one element, are also within the scope and spirit of the present disclosure.
本開示に記載の制御部及びその手法は、コンピュータプログラムにより具体化された一つ乃至は複数の機能を実行するようにプログラムされたプロセッサ及びメモリーを構成することによって提供された専用コンピュータにより、実現されてもよい。あるいは、本開示に記載の制御部及びその手法は、一つ以上の専用ハードウェア論理回路によってプロセッサを構成することによって提供された専用コンピュータにより、実現されてもよい。もしくは、本開示に記載の制御部及びその手法は、一つ乃至は複数の機能を実行するようにプログラムされたプロセッサ及びメモリーと一つ以上のハードウェア論理回路によって構成されたプロセッサとの組み合わせにより構成された一つ以上の専用コンピュータにより、実現されてもよい。また、コンピュータプログラムは、コンピュータにより実行されるインストラクションとして、コンピュータ読み取り可能な非遷移有形記録媒体に記憶されていてもよい。 The control unit and method described in this disclosure may be implemented by a special-purpose computer provided by configuring a processor and memory programmed to perform one or more functions embodied in a computer program. Alternatively, the control unit and method described in this disclosure may be implemented by a special-purpose computer provided by configuring a processor with one or more dedicated hardware logic circuits. Alternatively, the control unit and method described in this disclosure may be implemented by one or more special-purpose computers configured by combining a processor and memory programmed to perform one or more functions with a processor configured with one or more hardware logic circuits. Furthermore, the computer program may be stored as instructions executed by a computer on a computer-readable non-transitory tangible recording medium.
1…ネットワーク、2…カメラ、3…LiDAR、4…前処理ECU、5…サブECU、6…制御ECU、7…制御ECU、8…通信線、10…送信装置、11…データ送信部、20…受信装置、21…遅延情報送信部、22…データ受信部、30…受信装置、31…遅延情報送信部、32…データ受信部、40…受信装置、41…遅延情報送信部、50…受信装置、52…データ受信部。 1...Network, 2...Camera, 3...LiDAR, 4...Preprocessing ECU, 5...Sub-ECU, 6...Control ECU, 7...Control ECU, 8...Communication line, 10...Transmitter, 11...Data transmitter, 20...Receiver, 21...Delay information transmitter, 22...Data receiver, 30...Receiver, 31...Delay information transmitter, 32...Data receiver, 40...Receiver, 41...Delay information transmitter, 50...Receiver, 52...Data receiver.
Claims (6)
前記複数の通信装置のそれぞれは、互いに時刻を同期することが可能に構成され、
前記複数の通信装置のうち、前記通信線を介して特定のデータを送信する通信装置を送信装置(2、3、10)とするとともに前記通信線を介して前記特定のデータを受信するとともに使用する通信装置を受信装置(6、7、20、30、40、50)とすると、
前記送信装置は、前記特定のデータを取得した時刻または前記特定のデータを送信する時刻である送信時刻を表す送信情報を付与したうえで前記特定のデータを送信するデータ送信部(11)を備え、
前記受信装置は、
受信した前記特定のデータに付与された前記送信情報が表す前記送信時刻と前記特定のデータを受信した時刻である受信時刻との差である受信遅延時間を算出し、その算出した受信遅延時間を表す遅延情報を他の前記受信装置である他受信装置に送信する遅延情報送信部(21、31、41)と、
前記送信装置から送信された前記特定のデータを受信して使用するものであり、前記特定のデータを保管することができるキュー構造のバッファ(22a)を備えるデータ受信部(22、32、52)と、
を備え、
前記データ受信部は、
前記送信装置から送信された前記特定のデータを受信したとき、前記遅延情報送信部により算出された前記受信遅延時間が前記他受信装置から受信した前記遅延情報が表す前記受信遅延時間のうち最も長い時間である他装置最大遅延時間未満の時間である場合には受信した前記特定のデータを前記バッファの末尾に追加し、前記遅延情報送信部により算出された前記受信遅延時間が前記他装置最大遅延時間以上の時間である場合には受信した前記特定のデータを前記バッファに追加することなく使用し、
前記バッファの先頭に保管された前記特定のデータに付与された前記送信情報が表す前記送信時刻と現在の時刻との差が前記他装置最大遅延時間以上の時間になったとき、前記バッファの先頭に保管された前記特定のデータを取り出して使用する車両用ネットワーク。 In a vehicle network in which a plurality of communication devices (2 to 7) mounted on a vehicle are connected via a communication line (8),
each of the plurality of communication devices is configured to be able to synchronize time with another;
Among the plurality of communication devices, the communication devices that transmit specific data via the communication line are designated as transmitting devices (2, 3, 10), and the communication devices that receive and use the specific data via the communication line are designated as receiving devices (6, 7, 20, 30, 40, 50).
The transmitting device includes a data transmitting unit (11) that transmits the specific data after adding transmission information indicating a transmission time that is a time when the specific data was acquired or a time when the specific data is to be transmitted,
The receiving device
a delay information transmitting unit (21, 31, 41) that calculates a reception delay time, which is the difference between the transmission time indicated by the transmission information added to the received specific data and the reception time, which is the time when the specific data is received, and transmits delay information indicating the calculated reception delay time to another receiving device that is another receiving device;
a data receiving unit (22, 32, 52) for receiving and using the specific data transmitted from the transmitting device, the data receiving unit having a buffer (22a) with a queue structure capable of storing the specific data;
Equipped with
The data receiving unit
When receiving the specific data transmitted from the transmitting device, if the reception delay time calculated by the delay information transmitting unit is less than a maximum other device delay time, which is the longest time among the reception delay times represented by the delay information received from the other receiving devices, the received specific data is added to the end of the buffer, and if the reception delay time calculated by the delay information transmitting unit is equal to or greater than the maximum other device delay time, the received specific data is used without being added to the buffer;
A vehicle network that extracts and uses the specific data stored at the beginning of the buffer when the difference between the transmission time indicated by the transmission information assigned to the specific data stored at the beginning of the buffer and the current time becomes equal to or greater than the maximum delay time of the other device.
Priority Applications (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| JP2022072395A JP7794070B2 (en) | 2022-04-26 | 2022-04-26 | Vehicle Network |
Applications Claiming Priority (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| JP2022072395A JP7794070B2 (en) | 2022-04-26 | 2022-04-26 | Vehicle Network |
Publications (2)
| Publication Number | Publication Date |
|---|---|
| JP2023161812A JP2023161812A (en) | 2023-11-08 |
| JP7794070B2 true JP7794070B2 (en) | 2026-01-06 |
Family
ID=88650540
Family Applications (1)
| Application Number | Title | Priority Date | Filing Date |
|---|---|---|---|
| JP2022072395A Active JP7794070B2 (en) | 2022-04-26 | 2022-04-26 | Vehicle Network |
Country Status (1)
| Country | Link |
|---|---|
| JP (1) | JP7794070B2 (en) |
Citations (3)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| JP2012178665A (en) | 2011-02-25 | 2012-09-13 | Nippon Telegr & Teleph Corp <Ntt> | Uninterruptible packet transmission device and uninterruptible packet transmission method |
| WO2021115962A1 (en) | 2019-12-12 | 2021-06-17 | Continental Automotive Gmbh | Method for optimising the time synchronisation between network devices connected via a communications network |
| JP7251346B2 (en) | 2019-06-19 | 2023-04-04 | 株式会社デンソー | Master relay device and relay system |
-
2022
- 2022-04-26 JP JP2022072395A patent/JP7794070B2/en active Active
Patent Citations (3)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| JP2012178665A (en) | 2011-02-25 | 2012-09-13 | Nippon Telegr & Teleph Corp <Ntt> | Uninterruptible packet transmission device and uninterruptible packet transmission method |
| JP7251346B2 (en) | 2019-06-19 | 2023-04-04 | 株式会社デンソー | Master relay device and relay system |
| WO2021115962A1 (en) | 2019-12-12 | 2021-06-17 | Continental Automotive Gmbh | Method for optimising the time synchronisation between network devices connected via a communications network |
Also Published As
| Publication number | Publication date |
|---|---|
| JP2023161812A (en) | 2023-11-08 |
Similar Documents
| Publication | Publication Date | Title |
|---|---|---|
| US20190171226A1 (en) | Platooning control apparatus and method therefor | |
| JP6650242B2 (en) | Automatic driving system, automatic driving control method, data ECU and automatic driving ECU | |
| US20200213480A1 (en) | Bidirectional synchronizing camera, camera system including the same and method of operating the camera | |
| EP3252733B1 (en) | Communication device and communication method | |
| JP2013025423A (en) | Vehicle-use radio communication apparatus and communication system | |
| US10623292B2 (en) | Receiver and event-detection-time-point estimation method | |
| WO2017195520A1 (en) | Vehicle control system and vehicle control device | |
| US20170345298A1 (en) | Communication device and method | |
| JP7102935B2 (en) | Vehicle control devices and methods | |
| CN116830487A (en) | Vehicle-road collaborative time synchronization method, vehicle-road collaborative time synchronization device and system | |
| WO2021070750A1 (en) | Information processing system, information processing device, and information processing method | |
| US20210312800A1 (en) | A method for controlling vehicles | |
| JP7794070B2 (en) | Vehicle Network | |
| US10549751B2 (en) | Transmitting device, and communication system | |
| JP2020064411A (en) | Driving support system | |
| JP2007060289A (en) | Communication system and in-vehicle communication terminal | |
| US20240402286A1 (en) | Radar resource requirement prediction | |
| US20240199073A1 (en) | Electronic control device and in-vehicle system | |
| JP6252462B2 (en) | Image recording device | |
| JP2010011414A (en) | Radio device | |
| JP7271638B1 (en) | Communication device and communication method | |
| JP7322693B2 (en) | Network system and control device | |
| US20240244108A1 (en) | On-board apparatus, on-board communication system, and data transmission method | |
| CN113556197A (en) | Method and apparatus for fault tolerant ethernet time synchronization | |
| EP4050823A1 (en) | A method for synchronizing time |
Legal Events
| Date | Code | Title | Description |
|---|---|---|---|
| A621 | Written request for application examination |
Free format text: JAPANESE INTERMEDIATE CODE: A621 Effective date: 20241007 |
|
| A977 | Report on retrieval |
Free format text: JAPANESE INTERMEDIATE CODE: A971007 Effective date: 20250613 |
|
| A131 | Notification of reasons for refusal |
Free format text: JAPANESE INTERMEDIATE CODE: A131 Effective date: 20250624 |
|
| A521 | Request for written amendment filed |
Free format text: JAPANESE INTERMEDIATE CODE: A523 Effective date: 20250825 |
|
| 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: 20251118 |
|
| A61 | First payment of annual fees (during grant procedure) |
Free format text: JAPANESE INTERMEDIATE CODE: A61 Effective date: 20251201 |
|
| R150 | Certificate of patent or registration of utility model |
Ref document number: 7794070 Country of ref document: JP Free format text: JAPANESE INTERMEDIATE CODE: R150 |