JP2016173676A - Multiplex communication device - Google Patents

Multiplex communication device Download PDF

Info

Publication number
JP2016173676A
JP2016173676A JP2015052583A JP2015052583A JP2016173676A JP 2016173676 A JP2016173676 A JP 2016173676A JP 2015052583 A JP2015052583 A JP 2015052583A JP 2015052583 A JP2015052583 A JP 2015052583A JP 2016173676 A JP2016173676 A JP 2016173676A
Authority
JP
Japan
Prior art keywords
ecu
unit
timer value
absolute time
value
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Granted
Application number
JP2015052583A
Other languages
Japanese (ja)
Other versions
JP6410233B2 (en
Inventor
小林 正利
Masatoshi Kobayashi
正利 小林
浩二 柏瀬
Koji Kashiwase
浩二 柏瀬
道平 修
Osamu Michihira
修 道平
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Mazda Motor Corp
Marelli Corp
Original Assignee
Mazda Motor Corp
Calsonic Kansei Corp
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Mazda Motor Corp, Calsonic Kansei Corp filed Critical Mazda Motor Corp
Priority to JP2015052583A priority Critical patent/JP6410233B2/en
Publication of JP2016173676A publication Critical patent/JP2016173676A/en
Application granted granted Critical
Publication of JP6410233B2 publication Critical patent/JP6410233B2/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Landscapes

  • Information Transfer Systems (AREA)

Abstract

PROBLEM TO BE SOLVED: To establish time synchronization among a plurality of different ECUs.SOLUTION: A first ECU 20a measures time by using a first ECU timer value T1 generated by a first ECU timer unit 22a (first clock unit) on the basis of absolute time T0 received by an absolute time acquisition unit 21a. A first ECU timer value transmission unit 24a (clock value transmission unit) transmits a first ECU timer value T0 updated on the basis of the absolute value T0 obtained per prescribed time t0 by an ECU timer value update unit 23a (first clock value update unit) to a second ECU 30a and a third ECU 40a. A second ECU timer unit 34a and a third ECU timer unit 44a (second clock unit) measure time by using a second ECU timer value T2 and a third ECU timer value T3 updated by a second ECU timer value update unit 36a and a third ECU timer value update unit 46a (second clock value update unit) on the basis of the first ECU timer value T0 received by first ECU timer value reception units 32a, 42a (clock value reception unit).SELECTED DRAWING: Figure 1

Description

本発明は、複数のECU間で互いに通信を行って、所定の処理を実行する多重通信装置に関するものである。   The present invention relates to a multiplex communication apparatus that performs a predetermined process by communicating with each other between a plurality of ECUs.

昨今、例えば、車両には様々なセンサが搭載されており、各センサで検出された情報に基づいてエンジンやトランスミッション、シャーシ等の制御を行っている。このような制御システムにあっては、多量のデータを短時間で処理する必要があるため、車両内に配設された通信ネットワーク(通信バス)上に複数の異なるECU(Electronic Control Unit)を接続して、各ECUで分担して処理を行い、処理結果を互いに通信しあって所定の処理を実行している。そして、こうした分散処理は、車両に限らず、大規模な制御システムに広く適用されている。   In recent years, for example, various sensors are mounted on a vehicle, and an engine, a transmission, a chassis, and the like are controlled based on information detected by each sensor. In such a control system, since it is necessary to process a large amount of data in a short time, a plurality of different ECUs (Electronic Control Units) are connected to a communication network (communication bus) installed in the vehicle. Then, each ECU performs processing in a shared manner, and processing results are communicated with each other to execute predetermined processing. Such distributed processing is widely applied not only to vehicles but also to large-scale control systems.

このような多重通信装置にあっては、各ECU間でメッセージフレームの通信を行って情報をやり取りするとともに、複数のECU間でローカルタイマ値の同期をとって、必要な情報処理を実行している(例えば、特許文献1参照)。   In such a multiplex communication device, information is exchanged by communicating message frames between the ECUs, and the local timer value is synchronized between the plurality of ECUs to execute necessary information processing. (For example, refer to Patent Document 1).

特許第4019840号公報Japanese Patent No. 4019840

特許文献1に記載された多重通信装置(ネットワーク通信システム)にあっては、同一のバスラインに接続された複数のECU間においては、各ECUの同期をとることができるが、異なるバスラインにそれぞれECUが接続されている場合にあっては、例えば、各バスラインの通信速度が異なっていると、信号の遅延の発生によって異なるECU間で同期をとることができなかった。   In the multiplex communication apparatus (network communication system) described in Patent Document 1, each ECU can be synchronized between a plurality of ECUs connected to the same bus line, but different bus lines can be used. When the ECUs are connected to each other, for example, if the communication speed of each bus line is different, synchronization between different ECUs cannot be achieved due to the occurrence of signal delay.

さらに、特許文献1に記載された多重通信装置では、同じバスラインに接続されていない、例えば、異なる機器や異なる車両にそれぞれ搭載された多重通信装置の各ECU間では同期をとることができなかった。   Furthermore, in the multiplex communication device described in Patent Document 1, synchronization cannot be established between the ECUs of the multiplex communication devices that are not connected to the same bus line, for example, mounted on different devices or different vehicles, respectively. It was.

本発明は、このような従来の問題点に鑑みなされたもので、複数のECUが互いに接続されてなる多重通信装置において、ECU間で確実に時刻同期をとることを目的とするものである。   The present invention has been made in view of such conventional problems, and an object of the present invention is to ensure time synchronization between ECUs in a multiplex communication apparatus in which a plurality of ECUs are connected to each other.

前記課題を解決するために、本発明に係る多重通信装置は、互いに接続された複数のECUを有する多重通信装置であって、前記複数のECUの中の1つのECUは、絶対時刻を取得する絶対時刻取得部と、絶対時刻に基づいて、ECUタイマ値を生成して計時を行う第一計時部と、所定のタイミングで前記絶対時刻取得部から取得した絶対時刻に基づいて前記ECUタイマ値を更新する第一計時値更新部と、前記ECUタイマ値を異なるECUに送信する計時値送信部と、を有し、前記異なるECUは、それぞれ、前記ECUタイマ値を受信する計時値受信部と、受信したECUタイマ値に基づいて、前記異なるECUのECUタイマ値を更新する第二計時値更新部と、更新されたECUタイマ値に基づいて計時を行う第二計時部と、を有することを特徴とする。   In order to solve the above-described problem, a multiplex communication apparatus according to the present invention is a multiplex communication apparatus having a plurality of ECUs connected to each other, and one of the plurality of ECUs acquires an absolute time. An absolute time acquisition unit, a first timing unit that generates an ECU timer value based on the absolute time, and counts the ECU timer value based on the absolute time acquired from the absolute time acquisition unit at a predetermined timing A first time value updating unit for updating, and a time value transmitting unit for transmitting the ECU timer value to a different ECU, wherein the different ECUs each receive a time value receiving unit for receiving the ECU timer value; A second time value updating unit for updating the ECU timer value of the different ECU based on the received ECU timer value; and a second time measuring unit for measuring the time based on the updated ECU timer value. And wherein the Rukoto.

本発明に係る多重通信装置によれば、前記した構成とすることによって、互いに接続された複数のECUのうち、1つのECUが有する絶対時刻取得部が取得した絶対時刻に基づいて生成されたECUタイマ値を用いて異なるECUのECUタイマ値を更新するため、複数のECU間で確実に時刻同期をとることができる。   According to the multiplex communication apparatus of the present invention, an ECU generated based on the absolute time acquired by the absolute time acquisition unit included in one ECU among the plurality of ECUs connected to each other with the above-described configuration. Since the timer value is used to update the ECU timer value of different ECUs, time synchronization can be ensured among a plurality of ECUs.

本発明の一実施形態である実施例1に係る多重通信装置の構成を示す機能ブロック図である。It is a functional block diagram which shows the structure of the multiplex communication apparatus which concerns on Example 1 which is one Embodiment of this invention. 実施例1で行われる処理の全体の流れを示すフローチャートである。3 is a flowchart illustrating an overall flow of processing performed in the first embodiment. 本発明の一実施形態である実施例2に係る多重通信装置の構成を示す機能ブロック図である。It is a functional block diagram which shows the structure of the multiplex communication apparatus which concerns on Example 2 which is one Embodiment of this invention. 実施例2で行われる処理の全体の流れを示すフローチャートである。10 is a flowchart illustrating an overall flow of processing performed in the second embodiment. 本発明の一実施形態である実施例3に係る多重通信装置の構成を示す機能ブロック図である。It is a functional block diagram which shows the structure of the multiplex communication apparatus which concerns on Example 3 which is one Embodiment of this invention. 図5の第一ECU20cの詳細構成を示す機能ブロック図である。It is a functional block diagram which shows the detailed structure of 1st ECU20c of FIG. 図5の第一ECU20dの詳細構成を示す機能ブロック図である。It is a functional block diagram which shows the detailed structure of 1st ECU20d of FIG. 実施例3において、車両側の第一ECUで行われる処理の全体の流れを示すフローチャートである。In Example 3, it is a flowchart which shows the flow of the whole process performed by 1st ECU by the side of a vehicle. 実施例3において、他車両側の第一ECUで行われる処理の全体の流れを示すフローチャートである。In Example 3, it is a flowchart which shows the flow of the whole process performed by 1st ECU by the side of another vehicle.

以下、本発明の多重通信装置の具体的な実施形態である実施例1について、図面を参照して説明する。   Hereinafter, Example 1 which is a specific embodiment of the multiplex communication apparatus of the present invention will be described with reference to the drawings.

図1は、本発明の一実施形態である多重通信装置100aの概略構造を示す機能ブロック図である。まず、図1を用いて、多重通信装置100aの全体構成について説明する。
[実施例1の全体構成の説明]
FIG. 1 is a functional block diagram showing a schematic structure of a multiplex communication apparatus 100a according to an embodiment of the present invention. First, the overall configuration of the multiplex communication apparatus 100a will be described with reference to FIG.
[Description of Overall Configuration of Embodiment 1]

多重通信装置100aは、車両90に搭載されて、図1に示すように、互いに接続された第一ECU20aと第二ECU30aと第三ECU40aとを備えている。第一ECU20aと第二ECU30aとは第一CANバス10a(通信線)によって接続されている。また、第一ECU20aと第三ECU40aとは第二CANバス10b(通信線)によって接続されている。   The multiplex communication apparatus 100a includes a first ECU 20a, a second ECU 30a, and a third ECU 40a that are mounted on a vehicle 90 and connected to each other as shown in FIG. The first ECU 20a and the second ECU 30a are connected by a first CAN bus 10a (communication line). The first ECU 20a and the third ECU 40a are connected by a second CAN bus 10b (communication line).

第一ECU20aは、GPS受信機を用いて絶対時刻を受信する絶対時刻取得部21aと、経過時間を計時する第一ECUタイマ部22aと、絶対時刻取得部21aが受信した絶対時刻T0に基づいて、第一ECUタイマ部22aで計時される第一ECUタイマ値T1を生成して、生成した第一ECUタイマ値T1を新たに第一ECUタイマ値とする第一ECUタイマ値更新部23aと、第一ECUタイマ値更新部23aで生成された第一ECUタイマ値T1を第二ECU30aと第三ECU40aにそれぞれ送信する第一ECUタイマ値送信部24aと、を有している。   The first ECU 20a is based on the absolute time acquisition unit 21a that receives absolute time using a GPS receiver, the first ECU timer unit 22a that measures elapsed time, and the absolute time T0 received by the absolute time acquisition unit 21a. A first ECU timer value updating unit 23a that generates a first ECU timer value T1 counted by the first ECU timer unit 22a, and uses the generated first ECU timer value T1 as a first ECU timer value; The first ECU timer value transmission unit 24a transmits the first ECU timer value T1 generated by the first ECU timer value update unit 23a to the second ECU 30a and the third ECU 40a, respectively.

第二ECU30aは、第一ECUタイマ値送信部24aから送信された第一ECUタイマ値T1を受信する第一ECUタイマ値受信部32aと、第二ECU30aにおいて経過時間を計時する第二ECUタイマ値T2を生成して計時を行う第二ECUタイマ部34aと、第一ECUタイマ値受信部32aが受信した第一ECUタイマ値T1に基づいて、第二ECUタイマ値T2を更新する第二ECUタイマ値更新部36aと、を有している。   The second ECU 30a includes a first ECU timer value receiving unit 32a that receives the first ECU timer value T1 transmitted from the first ECU timer value transmitting unit 24a, and a second ECU timer value that measures the elapsed time in the second ECU 30a. A second ECU timer 34a that generates T2 and measures time, and a second ECU timer that updates the second ECU timer value T2 based on the first ECU timer value T1 received by the first ECU timer value receiver 32a A value update unit 36a.

第三ECU40aは、第一ECUタイマ値送信部24aから送信された第一ECUタイマ値T1を受信する第一ECUタイマ値受信部42aと、第三ECU40aにおいて経過時間を計時する第三ECUタイマ値T3を生成して計時を行う第三ECUタイマ部44aと、第一ECUタイマ値受信部42aが受信した第一ECUタイマ値T1に基づいて、第三ECUタイマ値T3を更新する第三ECUタイマ値更新部46aと、を有している。   The third ECU 40a includes a first ECU timer value receiving unit 42a that receives the first ECU timer value T1 transmitted from the first ECU timer value transmitting unit 24a, and a third ECU timer value that measures elapsed time in the third ECU 40a. A third ECU timer 44a that generates T3 and measures time, and a third ECU timer that updates the third ECU timer value T3 based on the first ECU timer value T1 received by the first ECU timer value receiver 42a A value update unit 46a.

なお、多重通信装置100aを構成する第一ECU20a,第二ECU30a,第三ECU40aには、図1に図示しない具体的なアプリケーションを実行するソフトウェアがそれぞれ実装されている。そして、3個のECU(20a,30a,40a)が互いに連携して、決められた処理を実行する構成になっている。[実施例1の処理の流れの説明]   The first ECU 20a, the second ECU 30a, and the third ECU 40a constituting the multiplex communication device 100a are each installed with software that executes a specific application (not shown in FIG. 1). The three ECUs (20a, 30a, 40a) are configured to cooperate with each other to execute a predetermined process. [Description of Process Flow of First Embodiment]

次に、図2のフローチャートを用いて、実施例1の処理の流れを説明する。なお、本実施例にあっては、第一ECU20aと第二ECU30aとの間、および第一ECU20aと第三ECU40aとの間で、それぞれ同様の処理が並行して実行されるが、以下の説明は、第一ECU20aと第二ECU30aとの間で行われる処理についてのみ行う。   Next, the processing flow of the first embodiment will be described with reference to the flowchart of FIG. In this embodiment, the same processing is executed in parallel between the first ECU 20a and the second ECU 30a and between the first ECU 20a and the third ECU 40a. Is performed only for processing performed between the first ECU 20a and the second ECU 30a.

まず、第一ECU20aで実行される処理の流れについて説明する。   First, the flow of processing executed by the first ECU 20a will be described.

(ステップS10)絶対時刻取得部21aにおいて、絶対時刻T0を受信する。   (Step S10) The absolute time acquisition unit 21a receives the absolute time T0.

(ステップS20)第一ECUタイマ部22aにおいて、受信した絶対時刻T0に基づいて第一ECUタイマ値T1を生成する。具体的には、第一ECUタイマ値更新部23aにおいて、そのときの第一ECUタイマ値をT0に更新する。   (Step S20) The first ECU timer unit 22a generates a first ECU timer value T1 based on the received absolute time T0. Specifically, the first ECU timer value updating unit 23a updates the first ECU timer value at that time to T0.

(ステップS30)第一ECUタイマ値送信部24aにおいて、そのときの第一ECUタイマ値T0を第二ECU30aと第三ECU40aにそれぞれ送信する。   (Step S30) The first ECU timer value transmission unit 24a transmits the first ECU timer value T0 at that time to the second ECU 30a and the third ECU 40a, respectively.

(ステップS40)第一ECUタイマ部22aにおいて、更新された第一ECUタイマ値T0をカウントアップして経過時間の計時を行う。   (Step S40) In the first ECU timer unit 22a, the updated first ECU timer value T0 is counted up to measure the elapsed time.

(ステップS50)第一ECUタイマ値更新部23aにおいて、第一ECUタイマ値T1を更新してから、予め設定された所定時間t0が経過したか否かを判断する。所定時間t0が経過したときはステップS60に進み、それ以外のときは、図2に図示しない、第一ECU20aに実装されたアプリケーションプログラムを実行してステップS40に戻る。   (Step S50) The first ECU timer value update unit 23a determines whether or not a predetermined time t0 set in advance has elapsed since the first ECU timer value T1 was updated. When the predetermined time t0 has elapsed, the process proceeds to step S60, and otherwise, the application program installed in the first ECU 20a (not shown in FIG. 2) is executed and the process returns to step S40.

(ステップS60)車両90のイグニッションがOFFになった(車両の運転が終了した)か否かを判断する。イグニッションがOFFであるときは図2の処理を終了し、それ以外のときは、図2に図示しない、第一ECU20aに実装されたアプリケーションプログラムを実行してステップS10に戻る。なお、アプリケーションプログラムを実行する際には、随時第一ECUタイマ値T0を参照して、必要に応じてその値を使用する。   (Step S60) It is determined whether or not the ignition of the vehicle 90 is turned off (the driving of the vehicle is finished). When the ignition is OFF, the process of FIG. 2 is terminated. Otherwise, the application program installed in the first ECU 20a (not shown in FIG. 2) is executed, and the process returns to step S10. When executing the application program, the first ECU timer value T0 is referred to as needed, and the value is used as necessary.

次に、第二ECU30aと第三ECU40aで実行される処理の流れについて説明する。なお、第二ECU30aと第三ECU40aでは同じ処理が行われるため、以下の説明は、第二ECU30aで行われる処理について行う。   Next, the flow of processing executed by the second ECU 30a and the third ECU 40a will be described. Since the same processing is performed in the second ECU 30a and the third ECU 40a, the following description is performed on the processing performed in the second ECU 30a.

(ステップS70)第一ECUタイマ値受信部32aにおいて、第一ECUタイマ値T0を受信したか否かを判断する。第一ECUタイマ値T0を受信したときはステップS80に進み、それ以外のときはステップS90に進む。   (Step S70) The first ECU timer value receiving unit 32a determines whether or not the first ECU timer value T0 has been received. When the first ECU timer value T0 is received, the process proceeds to step S80, and otherwise, the process proceeds to step S90.

(ステップS80)第二ECUタイマ値更新部36aにおいて、取得した第一ECUタイマ値T0に基づいて第二ECUタイマ値T2を生成する。具体的には、その時点における第二ECUタイマ値T2を第二ECUタイマ部34aから読み出して、取得した第一ECUタイマ値T0で置き換える。すなわちT2=T0とする。   (Step S80) The second ECU timer value updating unit 36a generates a second ECU timer value T2 based on the acquired first ECU timer value T0. Specifically, the second ECU timer value T2 at that time is read from the second ECU timer unit 34a and replaced with the acquired first ECU timer value T0. That is, T2 = T0.

(ステップS90)第二ECUタイマ部34aにおいて、第二ECUタイマ値T2のカウントアップを行って、経過時間の計時を継続する。   (Step S90) In the second ECU timer unit 34a, the second ECU timer value T2 is counted up and the elapsed time is continuously counted.

(ステップS100)車両90のイグニッションがOFFになった(車両の運転が終了した)か否かを判断する。イグニッションがOFFであるときは図2の処理を終了し、それ以外のときは、図2に図示しない、第二ECU30aに実装されたアプリケーションプログラムを実行してステップS70に戻る。なお、アプリケーションプログラムを実行する際には、随時第二ECUタイマ値T2を参照して、必要に応じてその値が使用される。   (Step S100) It is determined whether or not the ignition of the vehicle 90 is turned off (the driving of the vehicle is finished). When the ignition is OFF, the process of FIG. 2 is terminated. Otherwise, the application program installed in the second ECU 30a (not shown in FIG. 2) is executed, and the process returns to step S70. When the application program is executed, the second ECU timer value T2 is referred to as needed, and the value is used as necessary.

なお、前記した説明では、予め設定された所定時間t0毎に、周期的に絶対時刻T0を取得しているが、これは、特定のイベントを検出したとき、例えば、第一ECU20aがスリープモードから通常運用モードに遷移した際に絶対時刻T0を取得するようにしてもよい。一般にスリープモードにあるときは、第一ECU20aにおけるタイマ管理も停止しているため、スリープモードが解除されて通常運用モードに遷移したタイミングで絶対時刻T0を取得して第一ECUタイマ値T1を更新することによって、効率的に時間を管理することができる。   In the above description, the absolute time T0 is periodically acquired every predetermined time t0 set in advance. This is because, for example, when the specific ECU detects a specific event, the first ECU 20a goes from the sleep mode. The absolute time T0 may be acquired when transitioning to the normal operation mode. In general, when in the sleep mode, the timer management in the first ECU 20a is also stopped, so the absolute time T0 is acquired and the first ECU timer value T1 is updated at the timing when the sleep mode is released and the mode is changed to the normal operation mode. By doing so, time can be managed efficiently.

また、図2のフローチャートは、第一ECU20aと第二ECU30aの間で時刻同期をとる処理について説明したものである。図示による説明は省略するが、第一ECU20aと第三ECU40aの間でも同様の処理が行われて、第三ECU40aが受信した第一ECUタイマ値T0によって、第三ECUタイマ値T3が置き換えられる。すなわちT3=T0とされる。そして、第三ECUタイマ部44aにおいて、新たな第三ECUタイマ値T3のカウントアップが行われて、経過時間の計時が継続される。   Further, the flowchart of FIG. 2 describes a process for synchronizing time between the first ECU 20a and the second ECU 30a. Although the description by illustration is omitted, the same processing is performed between the first ECU 20a and the third ECU 40a, and the third ECU timer value T3 is replaced by the first ECU timer value T0 received by the third ECU 40a. That is, T3 = T0. Then, in the third ECU timer unit 44a, a new third ECU timer value T3 is counted up, and the elapsed time is continuously counted.

次に、本発明の多重通信装置の具体的な実施形態である実施例2について、図面を参照して説明する。   Next, Example 2, which is a specific embodiment of the multiplex communication apparatus of the present invention, will be described with reference to the drawings.

図3は、本発明の一実施形態である多重通信装置100bの概略構造を示す機能ブロック図である。まず、図3を用いて、多重通信装置100bの全体構成について説明する。
[実施例2の全体構成の説明]
FIG. 3 is a functional block diagram showing a schematic structure of the multiplex communication apparatus 100b according to the embodiment of the present invention. First, the overall configuration of the multiplex communication apparatus 100b will be described with reference to FIG.
[Description of Overall Configuration of Example 2]

多重通信装置100bは、図3に示すように、互いに接続された第一ECU20bと第二ECU30bと第三ECU40bとを備えている。第一ECU20bと第二ECU30bとは第一CANバス10c(通信線)によって接続されている。また、第一ECU20bと第三ECU40bとは第二CANバス10d(通信線)によって接続されている。   As shown in FIG. 3, the multiplex communication apparatus 100b includes a first ECU 20b, a second ECU 30b, and a third ECU 40b that are connected to each other. The first ECU 20b and the second ECU 30b are connected by a first CAN bus 10c (communication line). The first ECU 20b and the third ECU 40b are connected by a second CAN bus 10d (communication line).

第一ECU20bは、GPS受信機を用いて絶対時刻を受信する絶対時刻取得部21bと、経過時間を計時する第一ECUタイマ部22bと、絶対時刻取得部21bが受信した絶対時刻T0と第一ECUタイマ部22bで計時される第一ECUタイマ値T1の差分値Δtを算出する差分演算部25bと、絶対時刻取得部21bが受信した絶対時刻T0、または差分演算部25bで演算された差分値Δtに基づいて、第一ECUタイマ部22bで計時される第一ECUタイマ値T1を生成して、生成された第一ECUタイマ値T1を新たに第一ECUタイマ値とする第一ECUタイマ値更新部23bと、第一ECUタイマ値更新部23bで生成されたECUタイマ値T1または差分演算部25bで算出された差分値Δtを第二ECU30bと第三ECU40bにそれぞれ送信する情報送信部24bと、を有している。   The first ECU 20b includes an absolute time acquisition unit 21b that receives absolute time using a GPS receiver, a first ECU timer unit 22b that measures elapsed time, and an absolute time T0 received by the absolute time acquisition unit 21b and the first time The difference calculation unit 25b that calculates the difference value Δt of the first ECU timer value T1 measured by the ECU timer unit 22b, the absolute time T0 received by the absolute time acquisition unit 21b, or the difference value calculated by the difference calculation unit 25b Based on Δt, a first ECU timer value T1 that is timed by the first ECU timer unit 22b is generated, and the first ECU timer value T1 is newly set as the first ECU timer value T1. The update unit 23b, the ECU timer value T1 generated by the first ECU timer value update unit 23b, or the difference value Δt calculated by the difference calculation unit 25b is used as the second ECU 30b and the third ECU 30b. It has an information transmitting unit 24b to transmit, respectively, to the CU40b.

第二ECU30bは、情報送信部24bから送信された第一ECUタイマ値T1または差分演算部25bで算出された差分値Δtを受信する情報受信部32bと、情報受信部32bが受信した情報に基づいて、第二ECU30bの第二ECUタイマ値T2を更新する第二ECUタイマ値更新部36bと、第二ECU30bにおいて経過時間を計時する第二ECUタイマ部34bと、を有している。   The second ECU 30b is based on the information receiving unit 32b that receives the first ECU timer value T1 transmitted from the information transmitting unit 24b or the difference value Δt calculated by the difference calculating unit 25b, and the information received by the information receiving unit 32b. The second ECU timer value updating unit 36b for updating the second ECU timer value T2 of the second ECU 30b, and the second ECU timer unit 34b for measuring the elapsed time in the second ECU 30b.

第三ECU40bは、情報送信部24bから送信された第一ECUタイマ値T1または差分演算部25bで算出された差分値Δtを受信する情報受信部42bと、情報受信部42bが受信した情報に基づいて、第三ECU40bの第三ECUタイマ値T3を更新する第三ECUタイマ値更新部46bと、第三ECU40bにおいて経過時間を計時する第三ECUタイマ部44bと、を有している。
[実施例2の処理の流れの説明]
The third ECU 40b is based on the information receiving unit 42b that receives the first ECU timer value T1 transmitted from the information transmitting unit 24b or the difference value Δt calculated by the difference calculating unit 25b, and the information received by the information receiving unit 42b. The third ECU timer value updating unit 46b for updating the third ECU timer value T3 of the third ECU 40b, and the third ECU timer unit 44b for measuring the elapsed time in the third ECU 40b.
[Description of Process Flow of Example 2]

次に、図4のフローチャートを用いて、実施例2の処理の流れを説明する。なお、本実施例にあっては、第一ECU20bと第二ECU30bとの間、および第一ECU20bと第三ECU40bとの間で、それぞれ同様の処理が並行して実行されるが、以下の説明は、第一ECU20bと第二ECU30bとの間で行われる処理についてのみ行う。   Next, the processing flow of the second embodiment will be described using the flowchart of FIG. In the present embodiment, the same processing is executed in parallel between the first ECU 20b and the second ECU 30b and between the first ECU 20b and the third ECU 40b. Is performed only for processing performed between the first ECU 20b and the second ECU 30b.

まず、第一ECU20bで実行される処理の流れについて説明する。   First, the flow of processing executed by the first ECU 20b will be described.

(ステップS100)絶対時刻取得部21bにおいて、絶対時刻T0を受信する。   (Step S100) The absolute time acquisition unit 21b receives the absolute time T0.

(ステップS110)第一ECUタイマ部22bにおいて、受信した絶対時刻T0に基づいて第一ECUタイマ値T1を生成して、第一ECUタイマ値更新部23bにおいて、そのときの第一ECUタイマ値をT1に更新する。   (Step S110) The first ECU timer unit 22b generates a first ECU timer value T1 based on the received absolute time T0, and the first ECU timer value update unit 23b sets the first ECU timer value at that time. Update to T1.

(ステップS120)情報送信部24bにおいて、そのときの第一ECUタイマ値T0を第二ECU30bと第三ECU40bにそれぞれ送信する。   (Step S120) The information transmission unit 24b transmits the first ECU timer value T0 at that time to the second ECU 30b and the third ECU 40b.

(ステップS130)第一ECUタイマ部22bにおいて、更新された第一ECUタイマ値T0をカウントアップして経過時間の計時を行う。   (Step S130) In the first ECU timer unit 22b, the updated first ECU timer value T0 is counted up to measure the elapsed time.

(ステップS140)第一ECUタイマ値更新部23bにおいて、第一ECUタイマ値T1を更新してから、予め設定された所定時間t0が経過したか否かを判断する。所定時間t0が経過したときはステップS150に進み、それ以外のときは、図4に図示しない、第一ECU20bに実装されたアプリケーションプログラムを実行してステップS130に戻る。   (Step S140) The first ECU timer value updating unit 23b determines whether or not a predetermined time t0 set in advance has elapsed since the first ECU timer value T1 was updated. When the predetermined time t0 has elapsed, the process proceeds to step S150. Otherwise, the application program installed in the first ECU 20b (not shown in FIG. 4) is executed, and the process returns to step S130.

(ステップS150)絶対時刻取得部21bにおいて、絶対時刻T0を受信する。   (Step S150) The absolute time acquisition unit 21b receives the absolute time T0.

(ステップS160)差分演算部25bにおいて、ステップS150で受信した絶対時刻T0と第一ECUタイマ値T0の差分値Δtを演算する。   (Step S160) The difference calculation unit 25b calculates a difference value Δt between the absolute time T0 received in step S150 and the first ECU timer value T0.

(ステップS170)情報送信部24bにおいて、ステップS160で算出した差分値Δtを第二ECU30bに送信する。   (Step S170) The information transmission unit 24b transmits the difference value Δt calculated in Step S160 to the second ECU 30b.

(ステップS180)第一ECUタイマ値更新部23bにおいて、ステップS160で算出した差分値Δtに基づいて、そのときの第一ECUタイマ値T0を更新する。具体的には、更新前の第一ECUタイマ値T0に差分値Δtを加算して、新たな第一ECUタイマ値T0とする。   (Step S180) The first ECU timer value updating unit 23b updates the first ECU timer value T0 at that time based on the difference value Δt calculated in step S160. Specifically, the difference value Δt is added to the first ECU timer value T0 before update to obtain a new first ECU timer value T0.

(ステップS190)車両90のイグニッションがOFFになった(車両の運転が終了した)か否かを判断する。イグニッションがOFFであるときは図4の処理を終了し、それ以外のときは、図4に図示しない、第一ECU20bに実装されたアプリケーションプログラムを実行してステップS130に戻る。なお、アプリケーションプログラムを実行する際には、随時第一ECUタイマ値T0を参照して、必要に応じてその値が使用される。   (Step S190) It is determined whether or not the ignition of the vehicle 90 is turned off (the driving of the vehicle is finished). When the ignition is OFF, the process of FIG. 4 is terminated. Otherwise, the application program installed in the first ECU 20b (not shown in FIG. 4) is executed, and the process returns to step S130. When executing the application program, the first ECU timer value T0 is referred to as needed, and the value is used as necessary.

(ステップS200)情報受信部32bにおいて、第一ECUタイマ値T0を受信したか否かを判断する。第一ECUタイマ値T0を受信したときはステップS210に進み、それ以外のときはステップS220に進む。   (Step S200) The information receiver 32b determines whether or not the first ECU timer value T0 has been received. When the first ECU timer value T0 is received, the process proceeds to step S210. Otherwise, the process proceeds to step S220.

(ステップS210)第二ECUタイマ部34bにおいて、取得した第一ECUタイマ値T0に基づいて第二ECUタイマ値T2を生成する。具体的には、その時点における第二ECUタイマ値T2を、取得した第一ECUタイマ値T0で置き換える。すなわちT2=T0とする。   (Step S210) The second ECU timer unit 34b generates a second ECU timer value T2 based on the acquired first ECU timer value T0. Specifically, the second ECU timer value T2 at that time is replaced with the acquired first ECU timer value T0. That is, T2 = T0.

(ステップS220)第二ECUタイマ部34bにおいて、置き換えられた新たな第二ECUタイマ値T2のカウントアップを行って、経過時間の計時を継続する。   (Step S220) In the second ECU timer unit 34b, the replaced new second ECU timer value T2 is counted up, and counting of the elapsed time is continued.

(ステップS230)情報受信部32bにおいて、差分値Δtを受信したか否かを判断する。差分値Δtを受信したときはステップS240に進み、それ以外のときは、図4に図示しない、第二ECU30bに実装されたアプリケーションプログラムを実行してステップS200に戻る。   (Step S230) The information receiving unit 32b determines whether or not the difference value Δt has been received. When the difference value Δt is received, the process proceeds to step S240. Otherwise, the application program installed in the second ECU 30b (not shown in FIG. 4) is executed, and the process returns to step S200.

(ステップS240)第二ECUタイマ値更新部36bにおいて、差分値Δtに基づいて第二ECUタイマ値T2を更新する。具体的には、更新前の第二ECUタイマ値T2に差分値Δtを加算して、新たな第二ECUタイマ値T2とする。   (Step S240) The second ECU timer value updating unit 36b updates the second ECU timer value T2 based on the difference value Δt. Specifically, the difference value Δt is added to the second ECU timer value T2 before update to obtain a new second ECU timer value T2.

(ステップS250)車両90のイグニッションがOFFになった(車両の運転が終了した)か否かを判断する。イグニッションがOFFであるときは図4の処理を終了し、それ以外のときは、図4に図示しない、第二ECU30bに実装されたアプリケーションプログラムを実行してステップS200に戻る。なお、アプリケーションプログラムを実行する際には、随時第二ECUタイマ値T2を参照して、必要に応じてその値が使用される。   (Step S250) It is determined whether or not the ignition of the vehicle 90 is turned off (the driving of the vehicle is finished). When the ignition is OFF, the process of FIG. 4 is terminated. Otherwise, the application program installed in the second ECU 30b (not shown in FIG. 4) is executed, and the process returns to step S200. When the application program is executed, the second ECU timer value T2 is referred to as needed, and the value is used as necessary.

なお、図4のフローチャートは、第一ECU20bと第二ECU30bの間で時刻同期をとる処理について説明したものである。図示による説明は省略するが、第一ECU20bと第三ECU40bの間でも同様の処理が行われて、第三ECU40bが受信した第一ECUタイマ値T0または差分値Δtに基づいて、第三ECUタイマ値T3が更新される。そして、第三ECUタイマ部44bにおいて、新たな第三ECUタイマ値T3のカウントアップが行われて、経過時間の計時が継続される。   Note that the flowchart of FIG. 4 describes the process of synchronizing time between the first ECU 20b and the second ECU 30b. Although the description by illustration is omitted, the same processing is performed between the first ECU 20b and the third ECU 40b, and based on the first ECU timer value T0 or the difference value Δt received by the third ECU 40b, the third ECU timer The value T3 is updated. Then, in the third ECU timer unit 44b, a new third ECU timer value T3 is counted up, and the elapsed time is continuously counted.

次に、本発明の多重通信装置の具体的な実施形態である実施例3について、図面を参照して説明する。   Next, Example 3 which is a specific embodiment of the multiplex communication apparatus of the present invention will be described with reference to the drawings.

図5は、本発明の一実施形態である多重通信装置100cの概略構造を示す機能ブロック図である。まず、図5を用いて、多重通信装置100cの全体構成について説明する。
[実施例3の全体構成の説明]
FIG. 5 is a functional block diagram showing a schematic structure of a multiplex communication apparatus 100c according to an embodiment of the present invention. First, the overall configuration of the multiplex communication apparatus 100c will be described with reference to FIG.
[Description of Overall Configuration of Embodiment 3]

多重通信装置100cは、図5に示すように、互いに接続された第一ECU20cと第二ECU30cと第三ECU40cと、互いに接続された第一ECU20dと第二ECU30dと第三ECU40dと、が連携してひとつのアプリケーションを実行する構成になっている。   As shown in FIG. 5, the multiplex communication apparatus 100c includes a first ECU 20c, a second ECU 30c, and a third ECU 40c that are connected to each other, and a first ECU 20d, a second ECU 30d, and a third ECU 40d that are connected to each other. Is configured to run a single application.

具体的には、第一ECU20cと第二ECU30cと第三ECU40cとは車両90に搭載されて、第一ECU20dと第二ECU30dと第三ECU40dとは他車両92に搭載されている。そして、車両90は、近接した位置にある他車両92との相対的な位置関係を随時計測して、衝突の虞があるときにはブレーキ制御を行って衝突を回避する衝突回避機能を有している。   Specifically, the first ECU 20c, the second ECU 30c, and the third ECU 40c are mounted on the vehicle 90, and the first ECU 20d, the second ECU 30d, and the third ECU 40d are mounted on the other vehicle 92. The vehicle 90 has a collision avoidance function that measures a relative positional relationship with another vehicle 92 at a close position as needed, and performs a brake control to avoid a collision when there is a possibility of a collision. .

なお、第一ECU20cと第二ECU30cとは第一CANバス10e(通信線)によって接続されており、第一ECU20cと第三ECU40cとは第二CANバス10f(通信線)によって接続されている。さらに、第一ECU20dと第二ECU30dとは第一CANバス10g(通信線)によって接続されており、第一ECU20dと第三ECU40dとは第二CANバス10h(通信線)によって接続されている。   The first ECU 20c and the second ECU 30c are connected by a first CAN bus 10e (communication line), and the first ECU 20c and the third ECU 40c are connected by a second CAN bus 10f (communication line). Further, the first ECU 20d and the second ECU 30d are connected by a first CAN bus 10g (communication line), and the first ECU 20d and the third ECU 40d are connected by a second CAN bus 10h (communication line).

そして、車両90の第一ECU20cと他車両92の第一ECU20dと、は互いに無線通信によって接続されている。   The first ECU 20c of the vehicle 90 and the first ECU 20d of the other vehicle 92 are connected to each other by wireless communication.

なお、第一ECU20cと第一ECU20dの内部構成については後述する。   The internal configuration of the first ECU 20c and the first ECU 20d will be described later.

第一ECU20cと第一CANバス10eで接続された第二ECU30cは、第一ECU20cから送信された第一ECUタイマ値T11を受信する第一ECUタイマ値受信部32cと、第二ECU30cにおいて経過時間を計時する第二ECUタイマ値T21を生成して計時を行う第二ECUタイマ部34cと、第一ECUタイマ値受信部32cが受信した第一ECUタイマ値T11に基づいて、第二ECUタイマ値T21を更新する第二ECUタイマ値更新部36cと、周囲の他車両92の挙動に基づいて車両90の危険度を判定する危険度判定処理部38cを有している。   The second ECU 30c connected to the first ECU 20c via the first CAN bus 10e includes a first ECU timer value receiving unit 32c that receives the first ECU timer value T11 transmitted from the first ECU 20c, and an elapsed time in the second ECU 30c. Based on the second ECU timer value T11 received by the first ECU timer value receiving unit 32c and the second ECU timer value T11 received by the first ECU timer value receiving unit 32c. A second ECU timer value update unit 36c that updates T21 and a risk determination processing unit 38c that determines the risk level of the vehicle 90 based on the behavior of the surrounding other vehicle 92 are provided.

第一ECU20cと第二CANバス10fで接続された第三ECU40cは、第一ECU20cから送信された第一ECUタイマ値T11を受信する第一ECUタイマ値受信部42cと、第三ECU40cにおいて経過時間を計時する第三ECUタイマ値T31を生成して計時を行う第三ECUタイマ部44cと、第一ECUタイマ値受信部42cが受信した第一ECUタイマ値T11に基づいて、第三ECUタイマ値T31を更新する第三ECUタイマ値更新部46cと、車両90のブレーキ制御を行うブレーキ制御実行部48cを有している。   The third ECU 40c connected to the first ECU 20c via the second CAN bus 10f includes a first ECU timer value receiving unit 42c that receives the first ECU timer value T11 transmitted from the first ECU 20c, and an elapsed time in the third ECU 40c. Based on the third ECU timer value 44 which receives the first ECU timer value T11 received by the first ECU timer value receiving unit 42c and the third ECU timer value 44c which generates the third ECU timer value T31 for measuring A third ECU timer value update unit 46c that updates T31 and a brake control execution unit 48c that performs brake control of the vehicle 90 are provided.

第一ECU20dと第一CANバス10gで接続された第二ECU30dは、第一ECU20dから送信された第一ECUタイマ値T12を受信する第一ECUタイマ値受信部32dと、第二ECU30dにおいて経過時間を計時する第二ECUタイマ値T22を生成して計時を行う第二ECUタイマ部34dと、第一ECUタイマ値受信部32dが受信した第一ECUタイマ値T12に基づいて、第二ECUタイマ値T22を更新する第二ECUタイマ値更新部36dと、他車両92の挙動を検出する車両挙動検出部38dを有している。   The second ECU 30d connected to the first ECU 20d via the first CAN bus 10g includes a first ECU timer value receiving unit 32d that receives the first ECU timer value T12 transmitted from the first ECU 20d, and an elapsed time in the second ECU 30d. Based on the second ECU timer value 34 which generates the second ECU timer value T22 for measuring the time and the first ECU timer value T12 received by the first ECU timer value reception unit 32d. A second ECU timer value update unit 36d that updates T22 and a vehicle behavior detection unit 38d that detects the behavior of the other vehicle 92 are included.

第一ECU20dと第二CANバス10hで接続された第三ECU40dは、第一ECU20dから送信された第一ECUタイマ値T12を受信する第一ECUタイマ値受信部42dと、第三ECU40dにおいて経過時間を計時する第三ECUタイマ値T32を生成して計時を行う第三ECUタイマ部44dと、第一ECUタイマ値受信部42dが受信した第一ECUタイマ値T12に基づいて、第三ECUタイマ値T32を更新する第三ECUタイマ値更新部46dと、他車両92のハザードランプの動作状態の制御を行う灯火制御実行部48dを有している。
[実施例3の第一ECUの構成の説明]
The third ECU 40d connected to the first ECU 20d via the second CAN bus 10h includes a first ECU timer value receiving unit 42d that receives the first ECU timer value T12 transmitted from the first ECU 20d, and an elapsed time in the third ECU 40d. The third ECU timer value T32 is generated based on the third ECU timer unit 44d that generates the third ECU timer value T32 and measures the time, and the first ECU timer value T12 received by the first ECU timer value receiver 42d. A third ECU timer value updating unit 46d for updating T32 and a lighting control execution unit 48d for controlling the operation state of the hazard lamp of the other vehicle 92 are provided.
[Description of Configuration of First ECU of Embodiment 3]

次に、第一ECU20cと第一ECU20dの構成について、図6と図7の機能ブロック図を用いて説明する。   Next, the configuration of the first ECU 20c and the first ECU 20d will be described with reference to the functional block diagrams of FIGS.

図6は第一ECU20cの詳細構成を示す機能ブロック図である。第一ECU20cは、GPS受信機を用いて絶対時刻を受信する絶対時刻取得部21cと、経過時間を計時する第一ECUタイマ部22cと、絶対時刻取得部21cが受信した絶対時刻T01に基づいて、第一ECUタイマ部22cで計時される第一ECUタイマ値T11を生成して、生成した第一ECUタイマ値T11を新たに第一ECUタイマ値とする第一ECUタイマ値更新部23cと、第一ECUタイマ値更新部23cで生成された第一ECUタイマ値T11を第二ECU30cと第三ECU40cにそれぞれ送信する第一ECUタイマ値送信部24cと、他の第一ECU20d(図5)に対して、第一ECU20cが取得した絶対時刻をはじめとする情報を送信する情報送信部27cと、他の第一ECU20d(図5)から送信された、絶対時刻、他車両92の現在位置情報、他車両92の挙動情報を受信する情報受信部28cと、を有している。   FIG. 6 is a functional block diagram showing a detailed configuration of the first ECU 20c. The first ECU 20c is based on the absolute time acquisition unit 21c that receives the absolute time using a GPS receiver, the first ECU timer unit 22c that measures the elapsed time, and the absolute time T01 received by the absolute time acquisition unit 21c. A first ECU timer value updating unit 23c that generates a first ECU timer value T11 that is timed by the first ECU timer unit 22c and uses the generated first ECU timer value T11 as a first ECU timer value; The first ECU timer value transmission unit 24c that transmits the first ECU timer value T11 generated by the first ECU timer value update unit 23c to the second ECU 30c and the third ECU 40c, respectively, and the other first ECU 20d (FIG. 5) On the other hand, the information transmission unit 27c that transmits information including the absolute time acquired by the first ECU 20c and the other first ECU 20d (FIG. 5) transmit the information. And, absolute time, and has current location information of the other vehicle 92, an information receiving unit 28c which receives the behavior information of the other vehicle 92, a.

なお、情報受信部28cが受信した絶対時刻は第一ECUタイマ部22cに送られる。また、情報受信部28cが受信した他車両92の現在位置情報と他車両92の挙動情報は、第二ECU30c(図5)に送られる。   The absolute time received by the information receiving unit 28c is sent to the first ECU timer unit 22c. Further, the current position information of the other vehicle 92 and the behavior information of the other vehicle 92 received by the information receiving unit 28c are sent to the second ECU 30c (FIG. 5).

図7は第一ECU20dの詳細構成を示す機能ブロック図である。第一ECU20dは、GPS受信機を用いて絶対時刻を受信する絶対時刻取得部21dと、経過時間を計時する第一ECUタイマ部22dと、絶対時刻取得部21dが受信した絶対時刻T02に基づいて、第一ECUタイマ部22dで計時される第一ECUタイマ値T12を生成して、生成した第一ECUタイマ値T12を新たに第一ECUタイマ値とする第一ECUタイマ値更新部23dと、第一ECUタイマ値更新部23dで生成された第一ECUタイマ値T12を第二ECU30cと第三ECU40cにそれぞれ送信する第一ECUタイマ値送信部24dと、他の第一ECU20c(図5)に対して、第一ECU20dが取得した絶対時刻、他車両92の現在位置情報、他車両92の挙動情報を送信する情報送信部27dと、他の第一ECU20c(図5)から送信された情報を受信する情報受信部28dと、を有している。   FIG. 7 is a functional block diagram showing a detailed configuration of the first ECU 20d. The first ECU 20d is based on an absolute time acquisition unit 21d that receives an absolute time using a GPS receiver, a first ECU timer unit 22d that measures an elapsed time, and an absolute time T02 received by the absolute time acquisition unit 21d. A first ECU timer value updating unit 23d that generates a first ECU timer value T12 that is timed by the first ECU timer unit 22d and uses the generated first ECU timer value T12 as a first ECU timer value; The first ECU timer value transmission unit 24d that transmits the first ECU timer value T12 generated by the first ECU timer value update unit 23d to the second ECU 30c and the third ECU 40c, respectively, and the other first ECU 20c (FIG. 5) On the other hand, the information transmitter 27d that transmits the absolute time acquired by the first ECU 20d, the current position information of the other vehicle 92, and the behavior information of the other vehicle 92, and the other first CU20c has an information receiving unit 28d for receiving the information transmitted from (FIG. 5).

なお、情報送信部27dから送信される絶対時刻は絶対時刻取得部21dが取得した絶対時刻T02である。また、情報送信部27dから送信される他車両92の現在位置情報は、絶対時刻取得部21dが有するGPS受信機能を用いて測定されたものであり、他車両92の挙動情報は、第二ECU30d(図5)において検出された情報である。   The absolute time transmitted from the information transmitting unit 27d is the absolute time T02 acquired by the absolute time acquiring unit 21d. The current position information of the other vehicle 92 transmitted from the information transmitting unit 27d is measured using the GPS reception function of the absolute time acquisition unit 21d, and the behavior information of the other vehicle 92 is the second ECU 30d. This is the information detected in FIG.

実施例3においては、第一ECU20cと第一ECU20dとは、互いに無線通信を行って、自身が取得した絶対時刻を送受信し合う。そして、自身が取得した絶対時刻と他の第一ECUから受信した絶対時刻の差を検出することによって、自身の第一ECUタイマ値と、他の第一ECUのタイマ値とのずれ量(絶対時刻の差分値)を認識する。このずれ量は絶対時刻差分演算部26c,26dに記憶される。そして、他の第一ECUから絶対時刻と情報を受信した際に参照されて、受信した情報が他の第一ECUにおいて取得された正確な時刻を算出するために用いられる。   In the third embodiment, the first ECU 20c and the first ECU 20d perform wireless communication with each other to transmit and receive the absolute time acquired by themselves. Then, by detecting the difference between the absolute time acquired by itself and the absolute time received from the other first ECU, a deviation amount between the first ECU timer value of itself and the timer value of the other first ECU (absolute Recognize the time difference). This deviation amount is stored in the absolute time difference calculation units 26c and 26d. And it is referred when the absolute time and information are received from the other first ECU, and the received information is used to calculate the accurate time acquired in the other first ECU.

例えば、第一ECU20cが自身で取得した絶対時刻がT01であって、第一ECU20dから受信した絶対時刻がT02であるとき、絶対時刻差分演算部26cにはその差分値である(T01−T02)が記憶される。そして、第一ECU20cが、あるタイミングで、第一ECU20dから他車両92の異常挙動を示す情報を受信したとする。この情報を受信したときの第一ECU20cの絶対時刻がT03であったとすると、受信した情報は、他の第一ECU20dから、絶対時刻{T03+(T01−T02)}の時点において送信された情報であると推定される。そして、他車両92が自身の異常挙動を検出してからその情報を外部の送信するまでの時間が無視できるほど短いと仮定すると、他車両92は、絶対時刻{T03+(T01−T02)}の時点において自身の異常挙動を検出したものと推定することができる。   For example, when the absolute time acquired by the first ECU 20c is T01 and the absolute time received from the first ECU 20d is T02, the absolute time difference calculation unit 26c indicates the difference value (T01-T02). Is memorized. Then, it is assumed that the first ECU 20c receives information indicating the abnormal behavior of the other vehicle 92 from the first ECU 20d at a certain timing. If the absolute time of the first ECU 20c when this information is received is T03, the received information is information transmitted from the other first ECU 20d at the time of the absolute time {T03 + (T01−T02)}. Presumed to be. If it is assumed that the time from when the other vehicle 92 detects its own abnormal behavior until the information is transmitted to the outside is negligible, the other vehicle 92 has the absolute time {T03 + (T01−T02)}. It can be presumed that its own abnormal behavior has been detected at the time.

このように、他の第一ECU20dから受信した情報が実際に取得された時刻が明確になるため、異なる第一ECU20c,20d同士で連携して処理を行う際に、時刻を確実に管理して処理を進めることができる。
[実施例3の処理の流れの説明]
As described above, since the time when the information received from the other first ECU 20d is actually acquired becomes clear, when the processing is performed in cooperation between the different first ECUs 20c and 20d, the time is reliably managed. Processing can proceed.
[Description of Process Flow of Embodiment 3]

次に、図8Aと図8Bのフローチャートを用いて、実施例3の処理の流れを説明する。   Next, the processing flow of the third embodiment will be described with reference to the flowcharts of FIGS. 8A and 8B.

なお、実施例3にあっては、第一ECU20cと第一ECU20dとは、互いに無線通信を行って、第一ECU20dが取得した絶対時刻T02を、第一ECU20cに無線通信によって伝達している。なお、この絶対時刻T02の他に、第一ECU20dを有する他車両92が存在する緯度・経度を表す現在位置情報と、他車両92が呈した制動挙動、操舵挙動、加速挙動等の挙動情報を含む車両挙動情報と、がそれぞれ第一ECU20cに伝達されるものとする。   In the third embodiment, the first ECU 20c and the first ECU 20d perform wireless communication with each other, and transmit the absolute time T02 acquired by the first ECU 20d to the first ECU 20c by wireless communication. In addition to the absolute time T02, current position information indicating the latitude / longitude where the other vehicle 92 having the first ECU 20d is present, and behavior information such as braking behavior, steering behavior, acceleration behavior, etc. exhibited by the other vehicle 92 are displayed. It is assumed that the vehicle behavior information included is transmitted to the first ECU 20c.

まず、図8Aを用いて、車両90側の第一ECU20cで行われる処理の流れを説明する。   First, the flow of processing performed by the first ECU 20c on the vehicle 90 side will be described using FIG. 8A.

(ステップS300)絶対時刻取得部21cにおいて、絶対時刻T01を受信する。   (Step S300) The absolute time acquisition unit 21c receives the absolute time T01.

(ステップS310)第一ECUタイマ部22cにおいて、受信した絶対時刻T01に基づいて第一ECUタイマ値T11を生成する。具体的には、第一ECUタイマ値更新部23cにおいて、そのときの第一ECUタイマ値をT01に更新する。   (Step S310) The first ECU timer unit 22c generates a first ECU timer value T11 based on the received absolute time T01. Specifically, the first ECU timer value update unit 23c updates the first ECU timer value at that time to T01.

(ステップS320)第一ECUタイマ値送信部24cにおいて、そのときの第一ECUタイマ値T01を第二ECU30cと第三ECU40cにそれぞれ送信する。   (Step S320) The first ECU timer value transmission unit 24c transmits the first ECU timer value T01 at that time to the second ECU 30c and the third ECU 40c, respectively.

(ステップS330)第一ECUタイマ部22cにおいて、更新された第一ECUタイマ値T01をカウントアップして経過時間の計時を行う。   (Step S330) In the first ECU timer unit 22c, the updated first ECU timer value T01 is counted up to measure the elapsed time.

(ステップS340)第一ECUタイマ値更新部23cにおいて、第一ECUタイマ値T11を更新してから、予め設定された所定時間t0が経過したか否かを判断する。所定時間t0が経過したときはステップS350に進み、それ以外のときはステップS360に進む。   (Step S340) The first ECU timer value updating unit 23c determines whether or not a predetermined time t0 set in advance has elapsed since the first ECU timer value T11 is updated. When the predetermined time t0 has elapsed, the process proceeds to step S350, and otherwise, the process proceeds to step S360.

(ステップS350)車両90のイグニッションがOFFになった(車両の運転が終了した)か否かを判断する。イグニッションがOFFであるときは図8Aの処理を終了し、それ以外のときは、ステップS360に進む。   (Step S350) It is determined whether or not the ignition of the vehicle 90 is turned off (the driving of the vehicle is finished). When the ignition is OFF, the process of FIG. 8A is terminated. Otherwise, the process proceeds to step S360.

(ステップS360)情報受信部28cにおいて、第一ECU20cが他の第一ECU20dから絶対時刻T02を受信したか否かを確認する。絶対時刻T02を受信したときはステップS370に進み、それ以外のときはステップS300に戻る。   (Step S360) In the information receiving unit 28c, it is confirmed whether or not the first ECU 20c has received the absolute time T02 from the other first ECU 20d. When the absolute time T02 is received, the process proceeds to step S370, and otherwise, the process returns to step S300.

(ステップS370)絶対時刻差分演算部26cにおいて、第一ECU20cが自身で取得した絶対時刻T01から、他の第一ECU20dから受信した絶対時刻T02を差し引く差分演算を行う。   (Step S370) The absolute time difference calculation unit 26c performs a difference calculation by subtracting the absolute time T02 received from the other first ECU 20d from the absolute time T01 acquired by the first ECU 20c itself.

(ステップS380)他の第一ECU20dから受信した他車両92の挙動情報に基づいて、他車両92の挙動に異常があるか否かを判定する。他車両92の挙動に異常があるときはステップS390に進み、それ以外のときはステップS300に戻る。   (Step S380) Based on the behavior information of the other vehicle 92 received from the other first ECU 20d, it is determined whether or not the behavior of the other vehicle 92 is abnormal. When the behavior of the other vehicle 92 is abnormal, the process proceeds to step S390, and otherwise, the process returns to step S300.

(ステップS390)車両90と他車両92の相対位置関係を算出する。この処理は、第二ECU30cの危険度判定処理部38c(図5)で行われる。   (Step S390) The relative positional relationship between the vehicle 90 and the other vehicle 92 is calculated. This process is performed by the risk determination processing unit 38c (FIG. 5) of the second ECU 30c.

(ステップS400)車両90の危険度が高いか否かを判定する。危険度が高いときはステップS410に進み、それ以外のときはステップS300に戻る。この処理は、第二ECU30cの危険度判定処理部38c(図5)で行われる。   (Step S400) It is determined whether the risk of the vehicle 90 is high. When the degree of risk is high, the process proceeds to step S410, and otherwise, the process returns to step S300. This process is performed by the risk determination processing unit 38c (FIG. 5) of the second ECU 30c.

(ステップS410)車両90のブレーキを作動させて減速する。この処理は、第三ECU40cのブレーキ制御実行部48c(図5)で行われる。   (Step S410) The brake of the vehicle 90 is operated to decelerate. This process is performed by the brake control execution unit 48c (FIG. 5) of the third ECU 40c.

次に、図8Bを用いて、他車両92側の第一ECU20dで行われる処理の流れを説明する。   Next, the flow of processing performed by the first ECU 20d on the other vehicle 92 side will be described using FIG. 8B.

(ステップS500)絶対時刻取得部21dにおいて、絶対時刻T02を受信する。   (Step S500) The absolute time acquisition unit 21d receives the absolute time T02.

(ステップS510)第一ECUタイマ部22dにおいて、受信した絶対時刻T02に基づいて第一ECUタイマ値T12を生成する。具体的には、第一ECUタイマ値更新部23dにおいて、そのときの第一ECUタイマ値をT02に更新する。   (Step S510) The first ECU timer unit 22d generates a first ECU timer value T12 based on the received absolute time T02. Specifically, the first ECU timer value updating unit 23d updates the first ECU timer value at that time to T02.

(ステップS520)第一ECUタイマ値送信部24dにおいて、そのときの第一ECUタイマ値T02を第二ECU30dと第三ECU40dにそれぞれ送信する。   (Step S520) The first ECU timer value transmission unit 24d transmits the first ECU timer value T02 at that time to the second ECU 30d and the third ECU 40d, respectively.

(ステップS525)情報送信部27d(図7)において、他車両92が取得した絶対時刻T02を第一ECU20cに送信する。   (Step S525) The information transmitter 27d (FIG. 7) transmits the absolute time T02 acquired by the other vehicle 92 to the first ECU 20c.

(ステップS530)第一ECUタイマ部22dにおいて、更新された第一ECUタイマ値T02をカウントアップして経過時間の計時を行う。   (Step S530) In the first ECU timer unit 22d, the updated first ECU timer value T02 is counted up to measure the elapsed time.

(ステップS540)第一ECUタイマ値更新部23dにおいて、第一ECUタイマ値T12を更新してから、予め設定された所定時間t0が経過したか否かを判断する。所定時間t0が経過したときはステップS550に進み、それ以外のときはステップS560に進む。   (Step S540) The first ECU timer value updating unit 23d determines whether or not a predetermined time t0 set in advance has elapsed since the first ECU timer value T12 is updated. When the predetermined time t0 has elapsed, the process proceeds to step S550, and otherwise, the process proceeds to step S560.

(ステップS550)他車両92のイグニッションがOFFになった(車両の運転が終了した)か否かを判断する。イグニッションがOFFであるときは図8Bの処理を終了し、それ以外のときは、ステップS560に進む。   (Step S550) It is determined whether or not the ignition of the other vehicle 92 is turned off (the driving of the vehicle is finished). If the ignition is OFF, the process of FIG. 8B is terminated, otherwise the process proceeds to step S560.

(ステップS560)他車両92に急制動、急操舵、スリップ等の挙動異常が生じているか否かを判定する。異常が生じているときはステップS570に進み、それ以外のときはステップS500に戻る。なお、この判定は第二ECU30dの車両挙動検出部38d(図5)で行われる。   (Step S560) It is determined whether or not behavior abnormality such as sudden braking, sudden steering, slip, or the like has occurred in the other vehicle 92. If an abnormality has occurred, the process proceeds to step S570; otherwise, the process returns to step S500. This determination is performed by the vehicle behavior detection unit 38d (FIG. 5) of the second ECU 30d.

(ステップS570)周囲に危険の発生を報知するため、他車両92のハザードランプを点滅させる等の灯火制御を行う。この制御は第三ECU40dの灯火制御実行部48d(図6)において行われる。   (Step S570) In order to notify the occurrence of danger to the surroundings, lighting control such as blinking the hazard lamp of the other vehicle 92 is performed. This control is performed in the lighting control execution unit 48d (FIG. 6) of the third ECU 40d.

(ステップS580)情報送信部27d(図7)において、他車両92の現在位置情報と他車両92の挙動情報を第一ECU20cに送信する。その後、ステップS500に戻る。   (Step S580) The information transmitter 27d (FIG. 7) transmits the current position information of the other vehicle 92 and the behavior information of the other vehicle 92 to the first ECU 20c. Thereafter, the process returns to step S500.

なお、実施例3では、絶対時刻差分演算部26cに記憶した絶対時刻の差分値を用いて、異なる第一ECU20c,20d間の時刻管理を行ったが、これは、他の第一ECU20dから異常な挙動の発生を示す情報を送信する度に、そのときの絶対時刻を同時に送信する構成として、第一ECU20cは、絶対時刻を受信する都度、第一ECU20cが自ら取得した絶対時刻との差分を算出して、他の第一ECU20dとの時刻の差を取得する構成としても構わない。ただし、実施例3に記載した方法によれば、異常な挙動の発生を示す情報を送信する度に絶対時刻を送信する必要がなくなるため、通信処理を短時間で効率よく行うことができる。   In the third embodiment, the time management between the different first ECUs 20c and 20d is performed using the absolute time difference value stored in the absolute time difference calculating unit 26c. As a configuration in which the absolute time at that time is transmitted at the same time each time information indicating the occurrence of a behavior is transmitted, the first ECU 20c calculates the difference from the absolute time acquired by the first ECU 20c each time the absolute time is received. It may be configured to calculate and obtain a time difference from the other first ECU 20d. However, according to the method described in the third embodiment, it is not necessary to transmit the absolute time each time information indicating the occurrence of an abnormal behavior is transmitted, so that communication processing can be performed efficiently in a short time.

また、実施例3において、第一ECU20cは第一ECU20d以外の第一ECUとも互いに通信を行う必要があるため、絶対時刻を送信する際には、送信元の第一ECUが特定できる識別情報を一緒に送信するのが望ましい。そして、絶対時刻差分演算部26c,26dには、算出された絶対時刻の差分値の他に、その差分値を演算した相手の第一ECUを特定できる識別情報を一緒に記憶しておくようにする。これによって、第一ECU20cの周囲に存在する複数の他の第一ECUと連携して、必要な処理を実行することができる。   In the third embodiment, since the first ECU 20c needs to communicate with the first ECU other than the first ECU 20d, when transmitting the absolute time, identification information that can be specified by the first ECU of the transmission source is used. It is desirable to send it together. The absolute time difference calculation units 26c and 26d store, together with the calculated absolute time difference value, identification information that can identify the partner first ECU that has calculated the difference value. To do. Accordingly, necessary processing can be executed in cooperation with a plurality of other first ECUs existing around the first ECU 20c.

さらに、図5に示した実施例3の構成は、作用説明を簡単に行うために簡略化して記載したものである。実際は、車両90で異常な挙動が発生したときにも、その情報を他車両92に送信して、他車両92が危険度を判定して必要に応じてブレーキ制御を行う構成になっている。すなわち、図5に記載した第二ECU30c,30dは、危険度判定処理部38cと車両挙動検出部38dをともに有する構成になっている。また、第三ECU40c,40dは、ブレーキ制御実行部48cと灯火制御実行部48dをともに有する構成になっている。   Further, the configuration of the third embodiment shown in FIG. 5 is described in a simplified manner in order to easily explain the operation. Actually, even when an abnormal behavior occurs in the vehicle 90, the information is transmitted to the other vehicle 92, so that the other vehicle 92 determines the degree of danger and performs brake control as necessary. That is, the second ECUs 30c and 30d described in FIG. 5 are configured to include both a risk determination processing unit 38c and a vehicle behavior detection unit 38d. Further, the third ECUs 40c and 40d are configured to have both a brake control execution unit 48c and a lighting control execution unit 48d.

以上説明したように、実施例1に係る多重通信装置100aによれば、1つのECUである第一ECU20aの絶対時刻取得部21aが取得した絶対時刻T0に基づいて、第一ECUタイマ値更新部23a(第一計時値更新部)が、所定時間t0毎のタイミングで、絶対時刻取得部21aから取得した絶対時刻T0に基づいて第一ECUタイマ値T1(ECUタイマ値)を更新して、第一ECUタイマ部22a(第一計時部)で経過時間の計時を行うとともに、第一ECUタイマ値送信部24a(計時値送信部)が、異なるECUである第二ECU30aと第三ECU40aに第一ECUタイマ値T1を送信する。そして、第二ECU30aと第三ECU40aの第一ECUタイマ値受信部32a,42a(計時値受信部)は第一ECUタイマ値T1を受信して、第二ECUタイマ値更新部36aと第三ECUタイマ値更新部46a(第二計時値更新部)が、第一ECUタイマ値T1に基づいて第二ECUタイマ値T2,第三ECUタイマ値T3を更新して、第二ECUタイマ部34a,第三ECUタイマ部44a(第二計時部)において経過時間の計時を行うため、異なるECU同士を絶対時刻T0に基づいて時間管理することができ、異なるECU間で時刻の同期をとることができる。   As described above, according to the multiplex communication apparatus 100a according to the first embodiment, the first ECU timer value update unit is based on the absolute time T0 acquired by the absolute time acquisition unit 21a of the first ECU 20a that is one ECU. 23a (first timekeeping value update unit) updates the first ECU timer value T1 (ECU timer value) based on the absolute time T0 acquired from the absolute time acquisition unit 21a at a timing every predetermined time t0, One ECU timer unit 22a (first timing unit) counts the elapsed time, and the first ECU timer value transmission unit 24a (timed value transmission unit) performs first to second ECU 30a and third ECU 40a which are different ECUs. The ECU timer value T1 is transmitted. The first ECU timer value receiving units 32a and 42a (timekeeping value receiving units) of the second ECU 30a and the third ECU 40a receive the first ECU timer value T1, and the second ECU timer value updating unit 36a and the third ECU A timer value updating unit 46a (second timekeeping value updating unit) updates the second ECU timer value T2 and the third ECU timer value T3 based on the first ECU timer value T1, and the second ECU timer unit 34a, Since the elapsed time is measured in the three ECU timer unit 44a (second timing unit), different ECUs can be managed based on the absolute time T0, and the time can be synchronized between the different ECUs.

また、実施例1に係る多重通信装置100aによれば、第二ECU30a,第三ECU40aは、第一ECU20aに接続された異なる第一CANバス10a(通信線),第二CANバス10b(通信線)にそれぞれ接続されているため、例えば、通信速度の異なる複数の通信線に接続されたECU間であっても、容易に時刻の同期をとることができる。   Further, according to the multiplex communication apparatus 100a according to the first embodiment, the second ECU 30a and the third ECU 40a are different in the first CAN bus 10a (communication line) and the second CAN bus 10b (communication line) connected to the first ECU 20a. For example, even between ECUs connected to a plurality of communication lines having different communication speeds, the time can be easily synchronized.

そして、実施例1に係る多重通信装置100aによれば、第一ECU20aがスリープモードから通常運用モードに遷移した際に、絶対時刻T0を取得するため、定期的に絶対時刻T0のずれを管理することができ、必要に応じて時刻を補正することができる。   And according to the multiplex communication apparatus 100a which concerns on Example 1, when the 1st ECU20a changes to a normal operation mode from sleep mode, in order to acquire absolute time T0, the shift | offset | difference of absolute time T0 is managed regularly. And the time can be corrected as needed.

さらに、実施例1に係る多重通信装置100aによれば、絶対時刻取得部21aは、絶対時刻T0をGPS信号から取得するため、絶対時刻T0を確実かつ容易に取得することができる。   Furthermore, according to the multiplex communication apparatus 100a according to the first embodiment, the absolute time acquisition unit 21a can acquire the absolute time T0 reliably and easily because the absolute time T0 is acquired from the GPS signal.

また、実施例2に係る多重通信装置100bによれば、第一ECUタイマ値更新部23bは、所定の周期で、絶対時刻取得部21bにおいて取得した絶対時刻T0と第一ECUタイマ値T1との差分値Δtを算出する差分演算部25bと、差分値Δtを第二ECU30b,第三ECU40bに送信する情報送信部24b(計時値送信部)と、を有するとともに、第二ECU30b,第三ECU40bは、差分値Δtを受信する情報受信部32b,42b(計時値受信部)と、差分値Δtに基づいて第二ECUタイマ値T2と第三ECUタイマ値T3をそれぞれ更新する第二ECUタイマ値更新部36bと第三ECUタイマ値更新部46b(第二計時値更新部)と、を有するため、絶対時刻T0のずれを定期的に管理して、必要に応じて時刻を補正することができる。   Further, according to the multiplex communication apparatus 100b according to the second embodiment, the first ECU timer value update unit 23b is configured to calculate the absolute time T0 acquired by the absolute time acquisition unit 21b and the first ECU timer value T1 at a predetermined cycle. While having the difference calculating part 25b which calculates the difference value (DELTA) t, and the information transmission part 24b (time value transmission part) which transmits the difference value (DELTA) t to 2nd ECU30b and 3rd ECU40b, 2nd ECU30b and 3rd ECU40b are The information receiving units 32b and 42b (time value receiving unit) that receive the difference value Δt, and the second ECU timer value update that updates the second ECU timer value T2 and the third ECU timer value T3 based on the difference value Δt, respectively. Unit 36b and a third ECU timer value updating unit 46b (second timekeeping value updating unit), the deviation of the absolute time T0 is regularly managed, and the time is compensated as necessary. It can be.

そして、実施例3に係る多重通信装置100cによれば、複数の多重通信装置の第一ECU20c,20d同士が無線通信によって互いに連携して動作する際に、第一ECU20c,20dは、それぞれ、情報送信部27c,27d(絶対時刻送信部)によって他の第一ECUに絶対時刻を送信するとともに、情報受信部28c,28d(絶対時刻受信部)が、他の第一ECUから送信された絶対時刻を受信する。そして、絶対時刻差分演算部26c,26dにおいて、情報受信部28c,28dが他の第一ECUから受信した絶対時刻と各第一ECUが絶対時刻取得部21c,21dで取得した絶対時刻との差分値が算出されて、この差分値に基づいて、第一ECU20c,20dの時刻同期をとるため、通信線で接続されていないECU同士の時刻同期を容易にとることができる。したがって、例えば、車々間通信,路車間通信,人車間通信等の通信を応用したシステムにおいて、無線通信によって接続された異なるECU同士の時刻同期を容易にとることができる。   According to the multiplex communication apparatus 100c according to the third embodiment, when the first ECUs 20c and 20d of the plurality of multiplex communication apparatuses operate in cooperation with each other through wireless communication, the first ECUs 20c and 20d respectively The absolute time transmitted to the other first ECU by the transmitting units 27c and 27d (absolute time transmitting unit) and the information receiving units 28c and 28d (absolute time receiving unit) transmitted from the other first ECU. Receive. In the absolute time difference calculation units 26c and 26d, the difference between the absolute time received by the information receiving units 28c and 28d from the other first ECU and the absolute time acquired by each first ECU by the absolute time acquisition units 21c and 21d. Since the value is calculated and the time synchronization of the first ECUs 20c and 20d is performed based on the difference value, the time synchronization between the ECUs not connected by the communication line can be easily achieved. Therefore, for example, in a system that applies communication such as inter-vehicle communication, road-to-vehicle communication, and inter-vehicle communication, time synchronization between different ECUs connected by wireless communication can be easily achieved.

以上、この発明の実施例を図面により詳述してきたが、実施例はこの発明の例示にしか過ぎないものであるため、この発明は実施例の構成にのみ限定されるものではなく、この発明の要旨を逸脱しない範囲の設計の変更等があってもこの発明に含まれることは勿論である。   Although the embodiments of the present invention have been described in detail with reference to the drawings, the embodiments are only examples of the present invention, and the present invention is not limited to the configurations of the embodiments. Needless to say, design changes and the like within a range not departing from the gist of the invention are included in the present invention.

10a・・・第一CANバス
10b・・・第二CANバス
20a・・・第一ECU
21a・・・絶対時刻取得部
22a・・・第一ECUタイマ部(第一計時部)
23a・・・第一ECUタイマ値更新部(第一計時値更新部)
24a・・・第一ECUタイマ値送信部(計時値送信部)
30a・・・第二ECU
32a・・・第一ECUタイマ値受信部(計時値受信部)
34a・・・第二ECUタイマ部(第二計時部)
36a・・・第二ECUタイマ値更新部(第二計時値更新部)
40a・・・第三ECU
42a・・・第一ECUタイマ値受信部(計時値受信部)
44a・・・第三ECUタイマ部(第二計時部)
46a・・・第三ECUタイマ値更新部(第二計時値更新部)
90・・・・車両
100a・・多重通信装置
10a: first CAN bus 10b: second CAN bus 20a: first ECU
21a: Absolute time acquisition unit 22a: First ECU timer unit (first timekeeping unit)
23a ... 1st ECU timer value update part (1st time value update part)
24a ... 1st ECU timer value transmission part (time value transmission part)
30a ... Second ECU
32a ... 1st ECU timer value receiving part (time value receiving part)
34a ... Second ECU timer part (second timekeeping part)
36a ... 2nd ECU timer value update part (2nd time value update part)
40a ... 3rd ECU
42a: first ECU timer value receiving unit (time value receiving unit)
44a ... 3rd ECU timer part (2nd time measuring part)
46a ... 3rd ECU timer value update part (2nd time value update part)
90... Vehicle 100a .. Multiple communication device

Claims (6)

互いに接続された複数のECUを有する多重通信装置であって、
前記複数のECUの中の1つのECUは、絶対時刻を取得する絶対時刻取得部と、
絶対時刻に基づいて、ECUタイマ値を生成して計時を行う第一計時部と、
所定のタイミングで前記絶対時刻取得部から取得した絶対時刻に基づいて前記ECUタイマ値を更新する第一計時値更新部と、
前記ECUタイマ値を異なるECUに送信する計時値送信部と、を有し、
前記異なるECUは、それぞれ、前記ECUタイマ値を受信する計時値受信部と、
受信したECUタイマ値に基づいて、前記異なるECUのECUタイマ値を更新する第二計時値更新部と、
更新されたECUタイマ値に基づいて計時を行う第二計時部と、を有することを特徴とする多重通信装置。
A multiplex communication device having a plurality of ECUs connected to each other,
One ECU of the plurality of ECUs includes an absolute time acquisition unit that acquires absolute time;
A first timing unit that generates an ECU timer value and counts time based on the absolute time;
A first time value updating unit that updates the ECU timer value based on the absolute time acquired from the absolute time acquisition unit at a predetermined timing;
A time value transmitter that transmits the ECU timer value to a different ECU, and
The different ECUs each have a time value receiving unit that receives the ECU timer value;
A second time value updating unit for updating the ECU timer value of the different ECU based on the received ECU timer value;
A multiplex communication apparatus comprising: a second timing unit that performs timing based on the updated ECU timer value.
前記1つのECUは、さらに、前記絶対時刻取得部で取得した絶対時刻と前記ECUタイマ値との差分値を算出する差分演算部を備えるとともに、前記計時値送信部は、さらに前記差分値を異なるECUに送信するものであって、
前記異なるECUが備える前記計時値受信部は、さらに、前記差分値を受信して、前記第二計時値更新部は、さらに、受信した差分値に基づいて前記異なるECUのECUタイマ値を更新するものであることを特徴とする請求項1に記載の多重通信装置。
The one ECU further includes a difference calculation unit that calculates a difference value between the absolute time acquired by the absolute time acquisition unit and the ECU timer value, and the time measurement value transmission unit further differs in the difference value. Which is sent to the ECU,
The timekeeping value receiving unit included in the different ECU further receives the difference value, and the second timekeeping value updating unit further updates the ECU timer value of the different ECU based on the received difference value. The multiplex communication apparatus according to claim 1, wherein the multiplex communication apparatus is one.
前記異なるECUは、それぞれ前記1つのECUに接続された異なる通信線に接続されていることを特徴とする請求項1または請求項2に記載の多重通信装置。   The multiplex communication apparatus according to claim 1, wherein the different ECUs are connected to different communication lines connected to the one ECU. 請求項1から請求項3に記載の多重通信装置を複数有して、
前記1つのECUは、さらに、他の多重通信装置の1つのECUに絶対時刻を送信する絶対時刻送信部と、
他の多重通信装置の1つのECUが取得した絶対時刻を受信する絶対時刻受信部と、
前記絶対時刻受信部が他の1つのECUから受信した絶対時刻と前記1つのECUが前記絶対時刻取得部で取得した絶対時刻との差分値を算出する絶対時刻差分演算部と、を有して、前記1つのECUは、前記絶対時刻差分値算出部で算出された差分値に基づいて、前記1つのECUと前記他の1つのECUとの時刻同期をとることを特徴とする請求項1から請求項3のいずれか1項に記載の多重通信装置。
A plurality of the multiplex communication devices according to claim 1 to 3 are provided,
The one ECU further includes an absolute time transmission unit that transmits the absolute time to one ECU of another multiplex communication device;
An absolute time receiving unit that receives the absolute time acquired by one ECU of another multiplex communication device;
An absolute time difference calculating unit that calculates a difference value between the absolute time received by the absolute time receiving unit from another ECU and the absolute time acquired by the one ECU by the absolute time acquiring unit; The one ECU obtains time synchronization between the one ECU and the other ECU based on the difference value calculated by the absolute time difference value calculation unit. The multiplex communication apparatus according to claim 3.
前記絶対時刻取得部は、前記1つのECUがスリープモードから通常運用モードに遷移したタイミングで絶対時刻を取得することを特徴とする請求項1から請求項4のいずれか1項に記載の多重通信装置。   The multiplex communication according to any one of claims 1 to 4, wherein the absolute time acquisition unit acquires the absolute time at a timing when the one ECU transits from a sleep mode to a normal operation mode. apparatus. 前記絶対時刻取得部は、絶対時刻をGPS信号から取得することを特徴とする請求項1から請求項5のいずれか1項に記載の多重通信装置。   The multiplex communication apparatus according to claim 1, wherein the absolute time acquisition unit acquires an absolute time from a GPS signal.
JP2015052583A 2015-03-16 2015-03-16 Multiplex communication equipment Active JP6410233B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2015052583A JP6410233B2 (en) 2015-03-16 2015-03-16 Multiplex communication equipment

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2015052583A JP6410233B2 (en) 2015-03-16 2015-03-16 Multiplex communication equipment

Publications (2)

Publication Number Publication Date
JP2016173676A true JP2016173676A (en) 2016-09-29
JP6410233B2 JP6410233B2 (en) 2018-10-24

Family

ID=57009013

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2015052583A Active JP6410233B2 (en) 2015-03-16 2015-03-16 Multiplex communication equipment

Country Status (1)

Country Link
JP (1) JP6410233B2 (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2021153309A (en) * 2020-05-29 2021-09-30 ベイジン バイドゥ ネットコム サイエンス テクノロジー カンパニー リミテッドBeijing Baidu Netcom Science Technology Co., Ltd. Vehicle time synchronization method, device, apparatus, and storage medium

Citations (9)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2001324584A (en) * 2000-05-15 2001-11-22 Nec Eng Ltd Time synchronizer, time synchronizing system, and method of controlling time synchronizer
JP2007147413A (en) * 2005-11-27 2007-06-14 Kazuhiro Aoki Providing system of deviation information between standard time and time in terminal
WO2010128537A1 (en) * 2009-05-07 2010-11-11 トヨタ自動車株式会社 Distance detection device and collision judgment device
JP2011159093A (en) * 2010-02-01 2011-08-18 Beat Sonic:Kk On-vehicle monitoring camera
JP2011176768A (en) * 2010-02-25 2011-09-08 Nippon Telegr & Teleph Corp <Ntt> Push-type time distribution device, time synchronization server, and time synchronization client
US20120140861A1 (en) * 2010-12-01 2012-06-07 GM Global Technology Operations LLC Data Sensor Coordination Using Time Synchronization in a Multi-Bus Controller Area Network System
JP2012245938A (en) * 2011-05-30 2012-12-13 Denso Corp In-vehicle electronic control device and driving information storage system
JP2013093844A (en) * 2011-10-05 2013-05-16 Sanyo Electric Co Ltd Electronic camera
JP2013249802A (en) * 2012-06-01 2013-12-12 Denso Corp Electronic control device for vehicle

Patent Citations (9)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2001324584A (en) * 2000-05-15 2001-11-22 Nec Eng Ltd Time synchronizer, time synchronizing system, and method of controlling time synchronizer
JP2007147413A (en) * 2005-11-27 2007-06-14 Kazuhiro Aoki Providing system of deviation information between standard time and time in terminal
WO2010128537A1 (en) * 2009-05-07 2010-11-11 トヨタ自動車株式会社 Distance detection device and collision judgment device
JP2011159093A (en) * 2010-02-01 2011-08-18 Beat Sonic:Kk On-vehicle monitoring camera
JP2011176768A (en) * 2010-02-25 2011-09-08 Nippon Telegr & Teleph Corp <Ntt> Push-type time distribution device, time synchronization server, and time synchronization client
US20120140861A1 (en) * 2010-12-01 2012-06-07 GM Global Technology Operations LLC Data Sensor Coordination Using Time Synchronization in a Multi-Bus Controller Area Network System
JP2012245938A (en) * 2011-05-30 2012-12-13 Denso Corp In-vehicle electronic control device and driving information storage system
JP2013093844A (en) * 2011-10-05 2013-05-16 Sanyo Electric Co Ltd Electronic camera
JP2013249802A (en) * 2012-06-01 2013-12-12 Denso Corp Electronic control device for vehicle

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2021153309A (en) * 2020-05-29 2021-09-30 ベイジン バイドゥ ネットコム サイエンス テクノロジー カンパニー リミテッドBeijing Baidu Netcom Science Technology Co., Ltd. Vehicle time synchronization method, device, apparatus, and storage medium
JP7263440B2 (en) 2020-05-29 2023-04-24 阿波▲羅▼智▲聯▼(北京)科技有限公司 Vehicle time synchronization method, device, equipment, and storage medium

Also Published As

Publication number Publication date
JP6410233B2 (en) 2018-10-24

Similar Documents

Publication Publication Date Title
US10796168B2 (en) Device and method for the characterization of objects
JP6426277B2 (en) Parking assistance device for motor vehicles
JP6838848B2 (en) Systems and methods for synchronizing processor operations over communication networks
CN107005449B (en) Communication system and communication device
US8078762B2 (en) Method for transmitting measured data, and sensor device
ES2915383T3 (en) Method for clock synchronization of a broadband industrial internet field bus
US7310327B2 (en) Method and apparatus for time synchronizing an in-vehicle network
JP4661456B2 (en) Communications system
US10623292B2 (en) Receiver and event-detection-time-point estimation method
US20170280416A1 (en) Time Stamp Generation without GNSS Signal
JP2019103006A (en) On-vehicle relay device, information processing device, relay device, information processing method, program, information processing system, vehicle, and external device
JP6410233B2 (en) Multiplex communication equipment
JP2015005113A (en) Determination device, receiving device, control method, program and storage medium
US10193641B2 (en) Method and apparatus for estimating an expected reception quality
CN116828281A (en) Vehicle-mounted camera system data processing method, device, equipment and medium
WO2022030404A1 (en) On-vehicle device, time synchronization method, and time synchronization program
JP6536398B2 (en) Wireless communication system and wireless communication terminal
JP5009715B2 (en) In-vehicle communication system and distribution device
KR101498561B1 (en) System and method for can communication based tdma digital technology for global synchronization
WO2019150455A1 (en) Automotive device, communication method, and computer program
JP6172754B2 (en) Communication apparatus and communication method
JP6337783B2 (en) In-vehicle network system
JP2014121061A (en) Terminal device and radio communication system
CN114051710B (en) Information processing apparatus and regular communication determination method
WO2022196414A1 (en) On-board device, on-board communication system, and data transmission method

Legal Events

Date Code Title Description
A621 Written request for application examination

Free format text: JAPANESE INTERMEDIATE CODE: A621

Effective date: 20171012

A131 Notification of reasons for refusal

Free format text: JAPANESE INTERMEDIATE CODE: A131

Effective date: 20180703

A977 Report on retrieval

Free format text: JAPANESE INTERMEDIATE CODE: A971007

Effective date: 20180629

A521 Request for written amendment filed

Free format text: JAPANESE INTERMEDIATE CODE: A523

Effective date: 20180808

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

A61 First payment of annual fees (during grant procedure)

Free format text: JAPANESE INTERMEDIATE CODE: A61

Effective date: 20180918

R150 Certificate of patent or registration of utility model

Ref document number: 6410233

Country of ref document: JP

Free format text: JAPANESE INTERMEDIATE CODE: R150

R250 Receipt of annual fees

Free format text: JAPANESE INTERMEDIATE CODE: R250

S533 Written request for registration of change of name

Free format text: JAPANESE INTERMEDIATE CODE: R313533

R350 Written notification of registration of transfer

Free format text: JAPANESE INTERMEDIATE CODE: R350

R250 Receipt of annual fees

Free format text: JAPANESE INTERMEDIATE CODE: R250

R250 Receipt of annual fees

Free format text: JAPANESE INTERMEDIATE CODE: R250