JP4019840B2 - Network communication system and control processing system using the network communication system - Google Patents

Network communication system and control processing system using the network communication system Download PDF

Info

Publication number
JP4019840B2
JP4019840B2 JP2002215581A JP2002215581A JP4019840B2 JP 4019840 B2 JP4019840 B2 JP 4019840B2 JP 2002215581 A JP2002215581 A JP 2002215581A JP 2002215581 A JP2002215581 A JP 2002215581A JP 4019840 B2 JP4019840 B2 JP 4019840B2
Authority
JP
Japan
Prior art keywords
ecu
communication system
network communication
timer value
local timer
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.)
Expired - Fee Related
Application number
JP2002215581A
Other languages
Japanese (ja)
Other versions
JP2004064123A (en
Inventor
稔 岡田
正博 後藤
明史 岩井
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Denso Corp
Original Assignee
Denso 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 Denso Corp filed Critical Denso Corp
Priority to JP2002215581A priority Critical patent/JP4019840B2/en
Publication of JP2004064123A publication Critical patent/JP2004064123A/en
Application granted granted Critical
Publication of JP4019840B2 publication Critical patent/JP4019840B2/en
Anticipated expiration legal-status Critical
Expired - Fee Related legal-status Critical Current

Links

Images

Description

【0001】
【発明の属する技術分野】
本発明はECU間を搬送波を検出して通信する多重通信システムの通信プロトコルに従い複数のECU(電子制御ユニット)を連携させて作動させる際に、各々のECUにおけるタイマを同期させる方法に関する。
【0002】
【従来の技術】
複数のECU間をネットワーク通信するシステムは、近年車両等、複数の制御を組み合わせて実行したり、複雑な制御を実行する場合に不可欠になってきている。ところが、通常各々のECU(いわゆる電子制御装置)には各々独立したタイマを持っており、複数のECUが連動して1つあるいは複数の制御を実行する場合には、各ECU間のタイマの時間を同期して、演算タイミング、制御処理タイミング等を合わせる必要性が向上している。特に高応答性が要求される制御等では各々のECUにおける演算タイミング等のずれの影響が大きく、一層このような要求が増大している。
【0003】
複数のECU間をネットワーク通信する方法としては、例えば特開平11−261611号公報に開示されているように、搬送波を検出して通信する多重通信システム(いわゆるCSMA方式:以下CSMA方式と言う)が知られている。このCSMA方式によるネットワーク通信では、複数のECUの各々から送信されるメッセージフレームが衝突する等の理由により通信にかかる時間すなわち、メッセージフレームが送受信されるための必要時間を推定することは不可能に近い。
【0004】
そのため従来、CSMA方式によるネットワーク通信においてECU間の時間同期を行うには、明示的にマスターECUを用意し、そのマスターECUから時間同期を行う際の情報を送信する方法が採られている。たとえば特公平1−60853号に記載されている分散処理システムの絶対時刻同期化方式ではセンタ装置と複数のローカル装置とに分けてセンタ装置からローカル装置に時刻情報を送信することが開示されている。
【0005】
【発明が解決しようとする課題】
しかしながら従来の如くマスターECUを用意したとしても、ネットワークの通信バス上でのメッセージフレームの衝突による通信の誤差時間(タイムラグ)を加味した時間同期は実現できないという問題がある。すなわち、この通信時間の誤差とは所定のECUから他のECUへタイマ値を含むメッセージフレームが送信された場合、これらのECUを結ぶ通信バス上にはローカルタイマ値に関わるメッセージフレーム以外にも多種多様なメッセージフレーム(ex.演算データ、演算結果等)が流れている。よってタイマ値を含むメッセージフレームが他のECUに受信されるまでの誤差時間(タイムラグ)が通信バス上の通信密度によって可変する。
【0006】
なお従来では、このメッセージフレームの通信バス上での衝突による誤差時間(タイムラグ)は、ECU間で時間同期する際の考慮の対象にすらなっていなかった。
【0007】
よって本願発明では、通信バス上におけるメッセージフレーム等の衝突による通信誤差時間まで鑑みたECU間の時間同期を実現するネットワーク通信システムおよびこのネットワーク通信システムを用いた制御処理システムを提供することを目的とする。
【0008】
【課題を解決するための手段】
上記課題を解決するために請求項1に記載の発明では、各々がローカルタイマを備える3つ以上の複数のECUの間を接続したネットワーク通信システムにおいて、前記ECUの内の一つにマスターECUと、前記ECUの内の残るECUであって前記マスターECUのローカルタイマ値に合わせられるスレーブECUとが規定され、前記ECU全てに備えられた前記ローカルタイマ値を記憶する記憶手段が備えられ、前記スレーブECUのうちの一つは、前記ローカルタイマの時間同期を図る過程の最初に前記マスターECUから送信されるローカルタイマ値に自身のローカルタイマ値を合わせるとともに前記マスターECUおよび残るスレーブECUにこのローカルタイマ値を送信する機能を備え、前記残るスレーブECUは、前記ローカルタイマの時間同期を図る過程の最初に前記マスターECUから送信されるローカルタイマ値に自身のローカルタイマ値を合わせるとともに、前記スレーブECUのうちの一つから送信されたローカルタイマ値とこの送信を受る以前に記憶していた自身のローカルタイマ値との差分時間を算出して前記マスターECUに差分時間情報を送信する機能を備え、前記マスターECUは、前記ローカルタイマの時間同期を図る過程の最初に少なくとも時間同期を図る必要のある前記スレーブECU全てに自身のローカルタイマ値を送信する機能を有するとともに、前記スレーブECUの内の一つから送信されたローカルタイマ値に前記差分時間を加算して自身のローカルタイマ値とする機能を備える事を特徴とする。
【0009】
また請求項2に記載の発明では、複数のECU間をネットワークで接続して、複数のECU間で連携した制御処理を実行するネットワーク通信システムを用いた制御処理システムにおいて、前記複数のECUは、各々ローカルタイマとこのローカルタイマの値を記憶する記憶手段を備えており、前記複数のECUにおいてマスターECUと複数のスレーブECUとが位置付けられ、前記マスターECUが前記複数のスレーブECUに対して前記ローカルタイマ値を送信する第1ステップと、前記複数のスレーブの全てが第1ステップにて送信された前記ローカルタイマ値を各々のスレーブECU自身のローカルタイマ値として記憶して該スレーブECUの内の少なくとも一つが他の全てのECUに対して記憶したローカルタイマ値を送信する第2ステップと、前記第2ステップによる送信を受けた前記スレーブECUの内の少なくとも一つがこの送信によるローカルタイマ値と記憶していたローカルタイマ値との差分時間を算出して、前記マスターECUにこの差分時間の情報を送信とともに、前記マスターECUは前記第2のステップにより送信されたローカルタイマ値に前記差分時間を加算して記憶する第3のステップと、を備えることを特徴とする。
【0010】
このように請求項1および請求項2に記載の発明では、少なくとも時間同期を図るべきECUのうちでマスターECUとスレーブECUとを規定し、マスターECUから自身のローカルタイマ値をスレーブECUに送信してマスターECUのローカルタイマ値にスレーブECUのローカルタイマ値を合わせる。そして、スレーブECUのうちの一つから他のECUへローカルタイマ値を送信する。この場合マスターECUとスレーブECUとのローカルタイマ値には、スレーブECUのうちの一つから他のECUへローカルタイマ値を送信した際の通信バス上のメッセージフレームの衝突等によるタイムラグ分がずれていることとなる。よって、送信を行ったスレーブECU以外の他のスレーブECUにおいて、スレーブECUのうちの一つから他のECUへローカルタイマ値を送信した際のタイムラグを差分時間として演算し、マスターECUに差分時間の情報を送信する。そして、マスターECUにおいてこの差分時間分スレーブECUから送信されたローカルタイマ値に加算することによって全てのECUすなわちマスターECUとスレーブECUとのローカルタイマ値が同期できる。
【0014】
請求項に記載の発明では、マスターECUは、所定のタイミングで前記複数のECUの内の他のECUに変更されることを特徴とする。
【0015】
このように、マスターECUが変更されれば、マスターECUが固定されている場合と比較して時間同期性に関する信頼性が増大する。すなわち、マスターECUが故障等によりマスターECUとしての機能を発揮できなくなった場合においても、マスターECUが変更された段階で時間同期を図ることが可能である。
【0016】
請求項に記載の発明のごとく、メッセージフレームにはローカルタイマ値の情報の他に前記差分時間がどのスレーブECUで演算されるものかを規定する情報が含まれ、前記差分時間の情報が所定時間経過しても送信されなかったあるいは/および少なくとも前記マスターECUが受信しなかった場合には、他のスレーブECUに差分時間を演算させて少なくともマスターECUに送信させる機能を備えるようにしてもよい。
【0017】
この場合には、差分時間の情報を送信する役割を果たすスレーブECUが故障した場合あるいは差分時間の情報を送信する機能が備えられていないECUがスレーブECUに含まれていたとしても、差分時間の情報がマスターECUに伝達されずに時間同期が達成できなくなるという事態を回避することができる。
【0018】
請求項に記載の発明のごとく、ローカルタイマの時間同期を図る過程の最初に少なくとも時間同期を図る必要のあるスレーブECUに対して自身のローカルタイマ値を送信することが所定時間の間にできなかった場合、あるいは/および前記スレーブECUの内の一つから前記差分時間の情報を受信した際に自身のローカルタイマ値に差分時間を加算することができなかった場合を検出および判断する手段を設け、この検出手段で肯定判断された場合にはマスターECUを前記スレーブECUの内の一つに変更するようにしても良い。
【0019】
このようにした場合には、マスターECUに規定されたECUが所定の故障、あるいはマスターECUとしての機能を満足していなかった場合においても、マスターECUが変更されることによって時間同期が達成されなくなることを回避することができる。
【0020】
請求項に記載の発明のごとく、前記差分を演算させて少なくともマスターECUに送信させる機能は、前記差分時間を送信できなかったスレーブECU、前記差分時間の情報を受けることになっていたスレーブECU、あるいはマスターECU自身のいずれか1つあるいは複数に備えるようにすればよい。
【0021】
なお、請求項または請求項に記載のごとくマスターECUの変更のタイミングは、車両のイグニッションON毎あるいはECUの制御タイミング毎、たとえば制御実行開始タイミングあるいは制御終了タイミング等としてもよい。すなわち、なるべく本来のECUの制御内容を中断したり制御途中でローカルタイマ値が可変されたりすることがないようなタイミングとすることが望ましい。
【0022】
請求項に記載の発明では、ローカルタイマ値は前記ネットワーク通信システムにおいてメッセージフレームにのせて通信され、このメッセージフレームにはローカルタイマ値の情報の他に現在のマスターECUがどのECUかを規定する情報が含まれていることを特徴とする。
【0023】
このようにすれば、マスターECUが随時変更された場合においても、時間同期がスムースに実現できる。
【0024】
請求項1に記載の発明では、メッセージフレームは、他に制御用データ等を含むアプリケーションメッセージフレームであって、該アプリケーションメッセージフレームに前記ローカルタイマ値、マスターECUの情報、差分時間の情報が含まれるようにしている。
【0025】
請求項1,1に記載のごとく構成すれば、通常ECUが実行する制御に用いられているメッセージフレームの数に比較して時間同期を行うことによりメッセージフレーム数の総数が増えることを抑制することができ、データ転送効率が高められる。
【0026】
請求項1に記載の発明のごとく、ローカルタイマ値は前記ネットワーク通信システムにおいてメッセージフレームにのせて通信され、このメッセージフレームは他の制御用データを含まず、前記時間同期を行う際のデータが含まれるのみとすることも可能である。たとえば車両バリエーション、製品バリエーションが多い場合、このバリエーションごとに制御データ等が異なる場合において前述のアプリケーションメッセージフレームを再構築しなければならないが、本発明のごとく時間同期専用のメッセージフレームを供えるようにすれば、バリエーションに関わらず、時間同期が要求されるECU群において単に時間同期専用のメッセージフレームを備えさせることのみによって時間同期を実現することが可能である。
【0027】
請求項1に記載の発明のごとく、時間同期を行われるECU群と前記時間同期が行われないECUとを含んでいるシステムとしてもよい。
【0028】
【発明の実施の形態】
図1は、本願発明の第1の実施形態の概略構成を示す図である。ECU1,2,3,4は太実線にて示すLAN(ローカルエリアネットワーク)ケーブル5によって接続されている。このLANケーブル5は各ECU1ないし4の図示しない送受信タスクにデータを送信する。この際細実線で示す系統はECU1から他のECU2ないし4へのデータ送信を示し、点線で示す系統はECU2から他のECU1、3,4へのデータ送信を示す。また一点破線で示す系統はECU3から他のECU1,2,4へのデータ送信を示し、二点破線で示す系統はECU4から他のECU1ないし3へのデータ送信を示す。このような3つ以上のECU間のネットワーク通信システムはCSMA方式が採用されている。
【0029】
各々のECU1ないし4は、それぞれ内部に図示しないローカルタイマを備えている。そして、各々のECU1ないし4における制御演算等の処理はそれぞれのローカルタイマ値に従い実行される。なお、各々のECU1ないし4におけるローカルタイマ値はローカルタイマ自身あるいは別の記憶部位によって一時的に記憶され、この記憶されたローカルタイマ値を始点にタイマカウントを実行することが可能となっている。なお、このローカルタイマ値の記憶は随時書き換え可能でもある。
【0030】
次に図2に基づいて各ECU1ないし4がLANケーブル5を用いて送受信するデータいわゆるメッセージフレームの形式の一例について説明する。
【0031】
図2に示すメッセージフレームは1つのメッセージフレームが0〜6のバイトで形成されている例であり、各々のバイトを集合単位として意味を持たせ、書き込み・更新が行われる。
【0032】
0バイト目は“モード番号”を意味する内容が記憶される。たとえばモード番号=0は「マスターECUからスレーブECUへローカルタイマ値を送信する際に用いられる識別手段」とし、モード番号=1は「任意の1つのスレーブECUからマスターECUおよび他のスレーブECUへローカルタイマ値を送信する際に用いられる識別手段」とし、モード番号=2は「ローカルタイマ値の差分時間の演算結果をマスターECUに送信する際に用いられる識別手段」としている。なお、モード番号=2は「ローカルタイマ値の差分時間の演算結果を、この演算を行ったスレーブECUからこの演算を行ったスレーブECU以外のスレーブECU及びマスターECUへ送信する際に用いられる識別手段」と位置付けても同等の作用を発揮する。なお、ローカルタイマ値の差分時間については後述する。
【0033】
1バイト目は“ノード番号”を意味する内容が記憶される。このノード番号はどのECUに対する同期時間情報であるかに関して規定する管理番号としている。
【0034】
2バイト目は“マスターノード番号”を意味する内容が記憶される。このマスターノード番号とは、現在のマスターECUがどのECUであるかについて規定する管理番号である。なお、このマスターノード番号は、マスターECUが固定されて決められている場合には不要となり、省くことができる。すなわちこのマスターノード番号は、マスターECUとスレーブECUとが一定時間毎あるいは制御処理タイミング毎に切り替えられる場合にどのECUが現在マスターかを規定するために用いられるものである。
【0035】
3ないし4バイト目は“ローカルタイマ値”を意味する内容が記憶される。このローカルタイマ値とは、マスターECUおよび各スレーブECUの各々が備えている制御演算等の処理のタイミングの基準となるローカルタイマの値である。なお、各ECU1ないし4内のローカルタイマは、この3ないし4バイト目にローカルタイマ値書き込みをし、またこのローカルタイマ値を読み込むことでローカルタイマの値を変更する。なお、このローカルタイマ値が3ないし4バイト目に載って送信される場合は、前述のモード番号が0または1の場合であり、モード番号が0の場合にはこの3ないし4バイト目にはマスターECUのローカルタイマ値が書き込まれ、モード番号が1の場合にはスレーブECUのローカルタイマ値が書きこまれる。なおモード番号が2の場合にはこの3ないし4バイト目には何も書き込まれず空の状態を維持する。
【0036】
5ないし6バイト目は“タイマ差分時間”を意味する内容を記憶する。このタイマ差分時間は前述のモード番号が2の際に算出されたスレーブECUのローカルタイマ値の差分時間である。
【0037】
図3に基づいて、上述の図2にて説明したメッセージフレームがECU1ないし4の間でどのようなタイミングで送受信され、各ECUのローカルタイマ値がどのように更新されて同期されるかの過程を説明する。
【0038】
この図3ではECU1をマスターECUと位置付ける。そして、ECU2ないし4をスレーブECUと位置付ける。すなわちマスターECU1はECU1ないし4のローカルタイマ値を同期させるシーケンスの最初の基準となるローカルタイマ値を持つECUとして位置付け、スレーブECU2ないし4はこのマスターECU1に従属して時間同期が図られるECUである。図3は紙面下方向に時間tの経過を示している。また、▲1▼〜■は各タイミングあるいは各タイミング間におけるECU間のシーケンスについて説明している。なお、図4は図3に示すシーケンスが実行された場合の各ECU1ないし4内のローカルタイマ値がどのように具体的に更新されて時間が同期されていくかの例を示すものであり、図4のタイミングt1の欄には各ECU1ないし4間で時間同期が成されていない段階のバラバラのローカルタイマ値の一例が記載されている。
【0039】
タイミングt1においてECU1が内部のローカルタイマ値を含むメッセージフレームAを各スレーブECU2ないし4に送信する。(図3▲1▼に相当する。)
この際のメッセージフレームAは図2に示す例を採用した場合、モード番号=0、ノード番号=1(ECU1が送信するメッセージフレームである場合を“1”とする。ECU2〜4が送信する際にはノード番号が“2〜4”に随時移行する。)、マスターノード番号=1(一例として、現在のマスターノードがECU1にある場合をマスターノード番号=1とする)、ローカルタイマ値=12秒345(図4の▲1▼と対応する)、タイマ差分値=空(現t1では差分時間を送信するタイミングではないため空である)、となっている。
【0040】
タイミングt1においてマスターECU1がメッセージフレームAを送信した後、各スレーブECU2ないし4がこのメッセージフレームAを受信するまでには、メッセージフレームAのLANケーブル5上での他のメッセージフレームとの衝突等により誤差時間すなわちタイムラグTsys1(図3の▲2▼に相当する)が生じる。よって、スレーブECU2ないし4はタイミングt1からタイムラグTsys1が経過したタイミングt2にマスターECU1からのメッセージフレームAを受信する。(図3の▲3▼に相当する。)
このタイミングt2にメッセージフレームAを受け取った際の各ECU1ないし4のローカルタイマ値は図4のタイミングt2の上欄に示す如く、タイミングt1の際のローカルタイマ値と比較してタイムラグTsys1時間分経過したローカルタイマ値となっている。なおここではタイムラグTsys1を5ミリ秒としている。
【0041】
そしてこのメッセージフレームAを受信したスレーブECU2ないし4は、このメッセージフレームAに記憶されていたローカルタイマ値(=12秒345)に書き換えて記憶する。(図3の▲4▼に相当する)
この処理はタイミングt2においてECU2ないし4がメッセージフレームを受信したと同時に行われる。
【0042】
所定の経過時間Tw1は次にメッセージフレームを送信するまでの時間を規定するあらかじめ定められた時間である。たとえば送信タスクが発信されるタイミングである。なお、この実施例ではこの間隔Tw1は一例として100ミリ秒としている。(図3の▲4▼に相当する)
よってECU2ないし4がECU1から送信されたローカルタイマ値をセットした時点では、ECU1のみが12秒350、その他のECU2ないし4は12秒345が各々のローカルタイマ値となっている。
【0043】
次にタイミングt2から経過時間Tw1が経過したタイミングt3の時点でスレーブECUの一つであるスレーブECU2が内部のローカルタイマ値を含むメッセージフレームBを他のECUここではマスターECU1およびスレーブECU3,4に送信する。(図3の▲5▼に相当する)
この際のメッセージフレームBは図2を例とすると、モード番号=1となっている。その他のバイトはノード番号=2、マスターノード番号=1、ローカルタイマ値=12S445である。
【0044】
この際のローカルタイマ値は図4のタイミングt3の欄に示すように、各々t2の時点からTw1の経過時間経過した値となる。そして、今回の送信においても所定のタイムラグTsys2(ここでは10ミリ秒を例とする)を持つ。(図3の▲6▼に相当する)
そして、タイミングt3からタイムラグTsys2が経過したタイミングt4においてECU1,3,4がECU2からのメッセージフレームBを受信する。(図3の▲7▼に相当する)
この受信時点の各ECUのローカルタイマ値は図4のタイミングt4の欄に示すように、タイミングt3の時点のローカルタイマ値と比較してタイムラグTsys2が経過した値となっている。
【0045】
ECU1は、メッセージフレームBを受信したタイミングt4に、ECU2から送信されたローカルタイマ値をセットする。図4のt4の下欄に示すようにECU1にはタイミングt3におけるECU2のローカルタイマの値である12秒445がセットされることとなる。この時点においても未だECU1ないし4ではマスターECUであるECU1のみがタイムラグTsys2の分、他のECUにおけるローカルタイマ値と差を生じている。
【0046】
また経過時間Tw2の間にマスターECU1内のローカルタイマ値の書き換えの基準となったスレーブECU2を除く他のスレーブECUにおいて、内部のローカルタイマ値と、マスターECU内のローカルタイマ値の書き換えの基準となったスレーブECU内のローカルタイマ値すなわち受信したローカルタイマ値との差分時間を算出する。ここではECU3内のローカルタイマ値(12秒455)と、ECU2から送信されてきたメッセージフレームBに記憶されていたローカルタイマ値(12秒445)との差分時間を算出する。(図3の▲8▼’に相当する)
なお、経過時間Tw2はTw1と同義で、次にメッセージフレームを送信するまでのあらかじめ定められた時間であり、ここでは一例として100ミリ秒としている。
【0047】
そして、タイミングt4時点から経過時間Tw2が経過したタイミングt5において、差分時間を含むメッセージフレームCをスレーブECU3から他のECU1,2,4に送信する。なお、このメッセージフレームCの送信はECU3からマスターECU1のみに送信するようにしてもよい。(図3の▲9▼に相当する)このタイミングt5の時点では図4に示すようにECU1がECU2から受信したローカルタイマ値をセットした時点の各々のECUのローカルタイマ値と比較して経過時間Tw2分経過している。
【0048】
なお、メッセージフレームCは図2を例にとれば、モード番号=2、ノード番号=3、マスターノード番号=1、ローカルタイマ値=空、タイマ差分値=10ミリ秒、となっている。
【0049】
タイミングt5からタイムラグTsys3が経過したタイミングt6において少なくともマスターECU1が差分時間の情報を受信する。(図3の■に相当)
なお、図4のタイミングt6の欄に示すように、タイミングt6の時点ではタイムラグTsys3の分経過している。なお、タイムラグTsys3は一例として10ミリ秒としている。
【0050】
マスターECU1は時間t6において差分時間の情報を受信した際に直ちに自身のローカルタイマ値に差分時間分をプラスする。(図3の■’に相当する)
このようなタイミングt1〜t6のシーケンスを実行することによってECU間の高い時間同期精度を実現することができる。また、この実施例では、ネットワーク上のメッセージフレームの衝突による誤差時間すなわちタイムラグTsys1〜3も加味したECU間の時間同期を実現することが可能である。
【0051】
次に本発明にかかる第2の実施形態を図5に基づいて説明する。
【0052】
図5に示す実施形態では、マスターECUの機能として、自身で送信したメッセージフレームを自身で受信することができる機能を備えることを前提としている。そして、このような機能を備えるマスターECUが存在する場合には、スレーブECUは1つ以上存在すれば、マスターECUと1つ以上のスレーブECU間の時間同期を図ることができる。なお、スレーブECUの必須機能として、自身のローカルタイマ値をマスターECUから送信されたローカルタイマ値に書き換え記憶することができること、およびスレーブECU自身のローカルタイマ値に対してマスターECUから送信された差分時間情報を加算することができることが必要である。
【0053】
図5には時間tごとにおけるマスターECUおよびスレーブECU内のローカルタイマ値の移り変わり、および各タイミングT1〜T4におけるシーケンスが示されている。
【0054】
タイミングT1においてマスターECUが自身の現在のローカルタイマ値をスレーブECUおよび自分自身に送信する。
【0055】
送信によるタイムラグTadv後であるタイミングT2においてマスターECUおよびスレーブECUはタイミングT1にマスターECUから送信されたローカルタイマ値Tadjを同時に受信する。そして、このタイミングT2においてスレーブECUは自身のローカルタイマ値を受信したローカルタイマ値(Tadj)に変更・記憶する。
【0056】
T2からT3までの間であるTpassの間は、次にメッセージフレームを送信するまでの時間を規定するあらかじめ定められた時間であり、第1の実施形態におけるTw1,Tw2と同義である。
【0057】
タイミングT3では、マスターECUがタイミングT2で受信した自身のローカルタイマ値(Tadj+Tadv)とタイミングT1で送信したローカルタイマ値Tadjとの差分時間を算出する。そして、スレーブECUにこの差分時間の情報を送信する。
【0058】
T3からT4までの間であるTadv2のタイムラグ後のタイミングT4では、スレーブECUにおいてマスターECUからタイミングT3の時点で送信された差分時間をスレーブECU内のローカルタイマ値に加算する。
【0059】
このようなシーケンスを実行することにより、マスターECUとスレーブECUとにおけるローカルタイマ値が時間同期される。
【0060】
なお、この第2の実施形態においても、スレーブECUは複数備えられてもよく、スレーブECUが複数存在する場合、マスターECUから送信される情報、すなわちタイミングT1におけるローカルタイマ値、タイミングT3における差分時間情報を各々のスレーブECUが受けて、差分時間情報をスレーブECUのローカルタイマ値に加算すればよい。
【0061】
また、上述の第2の実施形態において差分時間はタイミング3において演算されていたが、タイミングT2で算出してタイミングT3でスレーブECUに送信するようにしてもよい。
【0062】
本発明は上記実施形態に限定されることなく、種々変更可能である。
【0063】
たとえば、上記実施形態において、マスターECUをあらかじめECU1に固定してもよく、また制御タイミング毎あるいは/および所定時間毎あるいは/およびシーケンス開始タイミング毎にマスターECUをECU1〜4のうちで変更していってもよい。すなわち今回はマスターECU=ECU1、スレーブECU=ECU2〜4であっても、次回の時間同期処理時にはマスターECU=ECU2、スレーブECU=ECU1,3,4としてもよい。このようにマスターECUを随時変更できるようにすれば、特定のECUたとえば固定されたマスターECUが故障した場合においても、他のECUがマスターECUとなった時にECU間の時間同期を図ることができるというメリットがある。
【0064】
また、上記実施例におけるシーケンスは、定期的に所定時間毎に実行するようにしてもよいし、車両等に用いられる場合にはイグニッションスイッチのON動作タイミング毎に実行されるようにしてもよい。また時間同期のシーケンスの実行は、時間同期を行うECUの制御実行タイミング、制御終了タイミングに合わせて時間同期のシーケンスを実行するようにしてもよい。なお、制御実行タイミングとは制御開始直前とすればよい。また、どのECUの制御実行・終了タイミングを基準とするかは、たとえば時間同期を図るECU群のうち、上位の階層にある制御の実行・終了としてもよい。
【0065】
また上述までの実施例では、メッセージフレーム中のノード番号としてどのECUにおけるローカルタイマ値の差分時間かを規定する識別信号として用いたが、こればかりでなく、たとえば差分時間の結果がどのECUがマスターECUである場合の差分時間かを識別するために用いるようにしても良い。
【0066】
またメッセージフレームが他のECUに送信されて来るべき時間間隔を予め規定し、この規定の時間間隔を超えても差分時間の情報を含むメッセージフレームが送信されてこなかった場合には別のECU間の差分時間を規定したノード番号で差分時間の情報を送信するようにしてもよい。具体的に言えば、上述の実施例においてECU3において差分時間を算出していたが、この場合のノード番号を1とすると、このノード番号=1を含むメッセージフレームが規定時間を超えても送信されなかった場合、ECU4において差分時間を演算し、ECU4における差分時間の情報をノード番号=2としてメッセージフレームに載せて送信するようにしてもよい。このノード番号=1を含むメッセージフレームが規定時間を超えても送信されなかった場合の検出および/あるいは差分時間の演算を他のECU4に実行させ少なくともマスターECUに送信させる機能は、スレーブECU3に持たせてもよいし、マスターECU1においてこのメッセージフレームを受信しなかったことを検出するようにしてもよい。またこの差分時間情報を含むメッセージフレームがECU3からECU4等の他のスレーブECUに送信されるように設定されている場合には、他のスレーブECU例えばECU4にこのような機能を持たせるようにしても良い。なお、差分時間が規定時間を超えても送信されない原因としてはECUの故障あるいは/およびECU2ないし4の中に差分時間を演算する機能のない既製汎用品のECUが混在していて、そのECUが上述の実施例のECU3に相当していた場合にはECU3からは何時まで経っても差分時間の情報が送信されないことが予想できる。しかしながら、ノード番号に以上のような機能を持たせるとECU故障に対する補償性が増し、あるいは/および既製汎用品ECUを混在してネットワーク上に採用することが可能となる。
【0067】
ようするに、既製汎用ECUにおいてもローカルタイマ自体は漏れなく存在するため、ローカルタイマ値を読み込み・書き換えする機能とローカルタイマ値をメッセージフレーム等に載せて送受信する機能を備えれば、他のECUとの時間同期を採ることが可能である。なお、ローカルタイマ値を読み込み・書き換えする機能とローカルタイマ値をメッセージフレーム等に載せて送受信する機能が存在しないECUに際しては、ECU内に擬似タイマを設け、この擬似タイマにおいて前述までの実施形態におけるローカルタイマ値の変更・書き換え・送信を行えば、全てのECUに対して時間同期を採ることも可能である。
【0068】
このように本願発明による時間同期の方法は、時間同期を必要とするECUと時間同期を必要としないECUとが混在するシステムにも適用できるし、時間同期を必要とするECUの集合単位がシステム上に2つ以上存在する場合においても適用することができる。たとえばECU1,2,3、4で時間同期を図り、これらのECU1〜3とは独立してECU5,6、7(図示なし)で時間同期を図る場合には例えば図2に図示したメッセージフレームにおけるマスターノード番号によりマスターECUを分けて管理し、且つ別のバイトを設けること等により時間同期を図る集合単位を区別するようにしてもよい。
【0069】
また、時間同期を採るためにメッセージフレームA〜Cを他の制御用のメッセージフレームと独立して設けるようにしてもよいし、または既存の制御用あるいはデータ用等のアプリケーションメッセージフレーム中に必要データを混在させるようにしても良い。この際には特別に時間同期用のメッセージフレームを用意する必要はない。たとえば車両の制御で言えば、車体速度、車輪速度、エンジン回転数、吸入空気量、ステアリング回転角等のいずれか/あるいは全てが複数個データとしてメッセージフレームに格納され、ECU間を通信される。このようなメッセージフレームに本願発明におけるECU間の時間同期を実現する上で必要なモード番号、ローカルタイマ値、タイマ差分値等を付加してアプリケーションメッセージフレームとしてECU間で送受信するようにしてもよい。この場合にはネットワーク上のデータ転送効率を向上でき、またメッセージフレームが衝突して誤差時間自体が長くなることを抑制することができる。なお、アプリケーションメッセージフレームには必要に応じて、前述のノード番号、マスターノード番号を付加するように構成してもよい。
【0070】
なお、図2にて説明したメッセージフレームの例では、ローカルタイマ値用のバイトと差分時間用のバイトとを分けていたが、1つのバイトまたはバイト群においてローカルタイマ値を送る場合にはローカルタイマ値を記憶し、差分時間情報を送信する場合には差分時間を記憶するように、1つのバイトまたはバイト群を共用するようにしてもよい。このような共用はアプリケーションメッセージフレームを採用した場合のも同様に実現できる。
【0071】
また、上述までの実施例はCSMA方式によるネットワークで接続されたリアルタイム分散システムに適用した場合、処理応答時間制約が厳しい車両の挙動制御や統合制御等のシステムにおいて制御性能を向上させることが可能である。なお、CSMA方式によるネットワーク方式では前述の実施形態におけるタイムラグTsys1、Tsys2、Tsys3、Tadv,Tadv2は、どのECU間であっても一律同じ時間である。よって本願発明は、CSMA方式によるネットワークで接続されたシステム以外でも、タイムラグTsys1、Tsys2、Tsys3、Tadv,Tadv2がどのECU間でも同じとなる通信システムであれば適用可能である。
【図面の簡単な説明】
【図1】本発明の通信システムを示す概略図である。
【図2】メッセージフレームの構成の一例を示す図である。
【図3】第1の実施形態によるECU1〜4のローカルタイマの時間同期のシーケンスを示す図である。
【図4】第1の実施形態によるECU1〜4のローカルタイマ値が時間同期される際の具体例を示す図である。
【図5】第2の実施形態を示すシーケンスを示す図である。
【符号の説明】
1〜4・・・ECU
5・・・LANケーブル
[0001]
BACKGROUND OF THE INVENTION
The present invention relates to a method of synchronizing timers in each ECU when a plurality of ECUs (electronic control units) are operated in cooperation according to a communication protocol of a multiplex communication system that detects and communicates carrier waves between ECUs.
[0002]
[Prior art]
In recent years, a system for network communication between a plurality of ECUs has become indispensable when a plurality of controls such as a vehicle are combined or executed. However, each ECU (so-called electronic control unit) usually has an independent timer, and when a plurality of ECUs execute one or a plurality of controls in conjunction with each other, the time of the timer between the ECUs. , And the need for matching the operation timing, control processing timing, and the like has been improved. In particular, in control and the like where high responsiveness is required, the influence of deviations in calculation timing and the like in each ECU is large, and such a requirement is further increased.
[0003]
As a method for network communication between a plurality of ECUs, for example, as disclosed in Japanese Patent Application Laid-Open No. 11-261611, there is a multiple communication system (so-called CSMA system: hereinafter referred to as CSMA system) that detects and communicates with a carrier wave. Are known. In the network communication by this CSMA method, it is impossible to estimate the time required for communication, that is, the time required for the message frame to be transmitted / received due to the collision of the message frames transmitted from each of the plurality of ECUs. close.
[0004]
Therefore, conventionally, in order to perform time synchronization between ECUs in network communication using the CSMA method, a method of explicitly preparing a master ECU and transmitting information when performing time synchronization from the master ECU has been adopted. For example, in the absolute time synchronization method of the distributed processing system described in Japanese Patent Publication No. 1-60853, it is disclosed that the time information is transmitted from the center device to the local device separately for the center device and a plurality of local devices. .
[0005]
[Problems to be solved by the invention]
However, even if a master ECU is prepared as in the prior art, there is a problem that time synchronization in consideration of communication error time (time lag) due to collision of message frames on the network communication bus cannot be realized. In other words, this error in communication time means that when a message frame including a timer value is transmitted from a predetermined ECU to another ECU, there are various types of messages other than the message frame related to the local timer value on the communication bus connecting these ECUs. Various message frames (ex. Operation data, operation results, etc.) are flowing. Therefore, the error time (time lag) until the message frame including the timer value is received by another ECU varies depending on the communication density on the communication bus.
[0006]
Conventionally, the error time (time lag) due to the collision of the message frame on the communication bus has not been taken into consideration in time synchronization between ECUs.
[0007]
Accordingly, the present invention has an object to provide a network communication system that realizes time synchronization between ECUs in consideration of communication error time due to collision of message frames on a communication bus, and a control processing system using this network communication system. To do.
[0008]
[Means for Solving the Problems]
In order to solve the above-mentioned problem, in the invention according to claim 1, in a network communication system in which a plurality of ECUs each having three or more local timers are connected, a master ECU is included in one of the ECUs. A slave ECU that is a remaining ECU of the ECU and is adapted to a local timer value of the master ECU, and includes a storage means for storing the local timer value provided in all of the ECUs, and the slave One of the ECUs adjusts the local timer value to the local timer value transmitted from the master ECU at the beginning of the process of time synchronization of the local timer and sets the local timer to the master ECU and the remaining slave ECUs. A function of transmitting a value, and the remaining slave ECU The local timer value transmitted from the master ECU is matched with the local timer value transmitted from the master ECU at the beginning of the process of synchronizing the timer and the local timer value transmitted from one of the slave ECUs and the transmission is received. A function of calculating a difference time from its own local timer value stored before and transmitting the difference time information to the master ECU, wherein the master ECU And having the function of transmitting its own local timer value to all the slave ECUs that need to be synchronized at least in time, and adding the difference time to the local timer value transmitted from one of the slave ECUs. It is characterized by having a function to set its own local timer value.
[0009]
In the invention according to claim 2, in the control processing system using the network communication system in which the plurality of ECUs are connected by a network and the control processing is performed in cooperation between the plurality of ECUs, the plurality of ECUs includes: Each of the plurality of ECUs is provided with a master ECU and a plurality of slave ECUs, and the master ECU is connected to the plurality of slave ECUs with the local timer. A first step of transmitting a timer value; and the local timer value transmitted by all of the plurality of slaves in the first step is stored as a local timer value of each slave ECU, and at least one of the slave ECUs One sends the stored local timer value to all other ECUs At least one of the slave ECUs having received the transmission in step 2 and the second step calculates a difference time between the local timer value by the transmission and the stored local timer value, and the master ECU The master ECU includes a third step of adding the difference time to the local timer value transmitted in the second step and storing the difference time information.
[0010]
As described above, in the first and second aspects of the invention, the master ECU and the slave ECU are defined at least among the ECUs that are to be synchronized in time, and the master ECU transmits its own local timer value to the slave ECU. Then, the local timer value of the slave ECU is matched with the local timer value of the master ECU. Then, the local timer value is transmitted from one of the slave ECUs to the other ECU. In this case, the local timer value between the master ECU and the slave ECU is shifted by a time lag due to a collision of message frames on the communication bus when the local timer value is transmitted from one of the slave ECUs to another ECU. Will be. Therefore, in a slave ECU other than the slave ECU that performed the transmission, the time lag when the local timer value is transmitted from one of the slave ECUs to the other ECU is calculated as the difference time, and the difference time is transmitted to the master ECU. Send information. Then, by adding to the local timer value transmitted from the slave ECU by the difference time in the master ECU, the local timer values of all the ECUs, that is, the master ECU and the slave ECU can be synchronized.
[0014]
Claim 3 In the invention described in item 1, the master ECU is changed to another ECU among the plurality of ECUs at a predetermined timing.
[0015]
In this way, if the master ECU is changed, the reliability related to time synchronism increases as compared with the case where the master ECU is fixed. That is, even when the master ECU cannot function as the master ECU due to a failure or the like, it is possible to achieve time synchronization when the master ECU is changed.
[0016]
Claim 4 As described in the invention, the message frame includes information specifying which slave ECU the difference time is calculated in addition to the local timer value information, and the difference time information has passed a predetermined time. However, if it is not transmitted or / and at least not received by the master ECU, it may have a function of causing another slave ECU to calculate the difference time and transmitting it to at least the master ECU.
[0017]
In this case, even if the slave ECU that plays the role of transmitting the difference time information breaks down or an ECU that does not have the function of transmitting the difference time information is included in the slave ECU, A situation in which time synchronization cannot be achieved without information being transmitted to the master ECU can be avoided.
[0018]
Claim 5 When the local timer value cannot be transmitted within a predetermined time to the slave ECU that needs to be synchronized at least at the beginning of the process of synchronizing the time of the local timer as in the invention described in Or / and a means for detecting and determining when the difference time cannot be added to its own local timer value when the difference time information is received from one of the slave ECUs. When an affirmative determination is made by the detection means, the master ECU may be changed to one of the slave ECUs.
[0019]
In such a case, even when the ECU defined in the master ECU does not satisfy the predetermined failure or the function as the master ECU, the time synchronization is not achieved by changing the master ECU. You can avoid that.
[0020]
Claim 6 As described in the invention, the function of calculating the difference and transmitting it to at least the master ECU is a slave ECU that could not transmit the difference time, a slave ECU that was supposed to receive the information of the difference time, or a master Any one or a plurality of ECUs may be provided.
[0021]
Claims 7 Or claims 8 As described above, the timing for changing the master ECU may be the timing at which the vehicle is turned on or the timing at which the ECU is controlled, for example, the control execution start timing or the control end timing. In other words, it is desirable to set the timing so that the original control contents of the ECU are not interrupted or the local timer value is not changed during the control.
[0022]
Claim 9 In this invention, the local timer value is communicated on a message frame in the network communication system, and this message frame includes information defining which ECU is the current master ECU in addition to the local timer value information. It is characterized by being.
[0023]
In this way, even when the master ECU is changed as needed, time synchronization can be smoothly realized.
[0024]
Claim 1 0 In the invention described in the above, the message frame is an application message frame including control data and the like, and the application message frame includes the local timer value, master ECU information, and difference time information. Yes.
[0025]
Claim 1 0 , 1 1 If configured as described above, it is possible to suppress an increase in the total number of message frames by performing time synchronization as compared to the number of message frames used for control executed by the normal ECU. Efficiency is increased.
[0026]
Claim 1 2 As described in the invention described above, the local timer value is communicated on a message frame in the network communication system, and this message frame does not include other control data but only includes data for performing the time synchronization. It is also possible to do. For example, when there are many vehicle variations and product variations, the above-mentioned application message frame must be reconstructed when the control data differs for each variation. However, as in the present invention, a message frame dedicated to time synchronization can be provided. For example, regardless of variations, it is possible to realize time synchronization only by providing a message frame dedicated to time synchronization in an ECU group that requires time synchronization.
[0027]
Claim 1 3 As described in the invention described above, the system may include an ECU group that performs time synchronization and an ECU that does not perform time synchronization.
[0028]
DETAILED DESCRIPTION OF THE INVENTION
FIG. 1 is a diagram showing a schematic configuration of a first embodiment of the present invention. The ECUs 1, 2, 3, and 4 are connected by a LAN (local area network) cable 5 indicated by a thick solid line. The LAN cable 5 transmits data to a transmission / reception task (not shown) of each ECU 1 to 4. At this time, a system indicated by a thin solid line indicates data transmission from the ECU 1 to the other ECUs 2 to 4, and a system indicated by a dotted line indicates data transmission from the ECU 2 to the other ECUs 1, 3 and 4. A system indicated by a one-dot broken line indicates data transmission from the ECU 3 to the other ECUs 1, 2, and 4, and a system indicated by a two-dot broken line indicates data transmission from the ECU 4 to the other ECUs 1 to 3. Such a network communication system between three or more ECUs employs the CSMA method.
[0029]
Each of the ECUs 1 to 4 includes a local timer (not shown). Then, processing such as control calculation in each of the ECUs 1 to 4 is executed according to each local timer value. The local timer values in the ECUs 1 to 4 are temporarily stored by the local timer itself or another storage part, and the timer count can be executed starting from the stored local timer value. The storage of the local timer value can be rewritten at any time.
[0030]
Next, an example of a so-called message frame format of data transmitted and received by the ECUs 1 to 4 using the LAN cable 5 will be described with reference to FIG.
[0031]
The message frame shown in FIG. 2 is an example in which one message frame is formed of 0 to 6 bytes, and each byte has a meaning as a set unit, and writing / updating is performed.
[0032]
In the 0th byte, the content indicating “mode number” is stored. For example, mode number = 0 is “identification means used when transmitting a local timer value from the master ECU to the slave ECU”, and mode number = 1 is “local from any one slave ECU to the master ECU and other slave ECUs. “Identification means used when transmitting the timer value” and mode number = 2 is “identification means used when transmitting the calculation result of the difference time of the local timer value to the master ECU”. Note that the mode number = 2 is “identification means used when transmitting the calculation result of the difference time of the local timer value from the slave ECU that performed this calculation to a slave ECU other than the slave ECU that performed this calculation and the master ECU. Even if it is positioned as “,” the same effect is exhibited. The difference time between local timer values will be described later.
[0033]
The first byte stores contents that mean “node number”. This node number is a management number that prescribes which ECU is the synchronization time information.
[0034]
The second byte stores the contents that mean “master node number”. The master node number is a management number that defines which ECU is the current master ECU. This master node number is unnecessary and can be omitted when the master ECU is fixed and determined. That is, this master node number is used to define which ECU is the current master when the master ECU and the slave ECU are switched at regular time intervals or at every control processing timing.
[0035]
In the 3rd to 4th bytes, the contents indicating “local timer value” are stored. The local timer value is a value of a local timer serving as a reference for processing timing such as a control calculation provided in each of the master ECU and each slave ECU. The local timers in the ECUs 1 to 4 write the local timer value at the third to fourth bytes, and change the local timer value by reading the local timer value. When the local timer value is transmitted in the 3rd to 4th bytes, the mode number is 0 or 1, and when the mode number is 0, the 3rd to 4th bytes are used. The local timer value of the master ECU is written. When the mode number is 1, the local timer value of the slave ECU is written. When the mode number is 2, nothing is written in the 3rd to 4th bytes, and the empty state is maintained.
[0036]
The contents of the fifth to sixth bytes mean “timer differential time”. This timer difference time is the difference time of the local timer value of the slave ECU calculated when the mode number is 2.
[0037]
Based on FIG. 3, a process of how the message frame described in FIG. 2 described above is transmitted and received between the ECUs 1 to 4 and how the local timer value of each ECU is updated and synchronized Will be explained.
[0038]
In FIG. 3, the ECU 1 is positioned as a master ECU. Then, the ECUs 2 to 4 are positioned as slave ECUs. That is, the master ECU 1 is positioned as an ECU having a local timer value as a first reference of a sequence for synchronizing the local timer values of the ECUs 1 to 4, and the slave ECUs 2 to 4 are ECUs that are time-synchronized depending on the master ECU 1. . FIG. 3 shows the passage of time t in the downward direction on the page. In addition, (1) to (2) describe timings or sequences between ECUs at each timing. FIG. 4 shows an example of how the local timer values in the ECUs 1 to 4 are specifically updated and the time is synchronized when the sequence shown in FIG. 3 is executed. In the column of the timing t1 in FIG. 4, an example of disjoint local timer values at a stage where time synchronization is not established between the ECUs 1 to 4 is described.
[0039]
At timing t1, the ECU 1 transmits a message frame A including an internal local timer value to each of the slave ECUs 2 to 4. (This corresponds to (1) in FIG. 3)
When the example shown in FIG. 2 is adopted for the message frame A at this time, mode number = 0, node number = 1 (“1” is the case where the message frame is transmitted by the ECU 1. , The node number is shifted to “2-4” as needed.), Master node number = 1 (for example, the master node number = 1 when the current master node is in ECU 1), local timer value = 12 Second 345 (corresponding to {circle over (1)} in FIG. 4), timer difference value = empty (current t1 is empty because it is not the timing for transmitting the differential time).
[0040]
After the master ECU 1 transmits the message frame A at the timing t1, until each of the slave ECUs 2 to 4 receives the message frame A, the message frame A collides with other message frames on the LAN cable 5 or the like. An error time, that is, a time lag Tsys1 (corresponding to (2) in FIG. 3) occurs. Therefore, the slave ECUs 2 to 4 receive the message frame A from the master ECU 1 at the timing t2 when the time lag Tsys1 has elapsed from the timing t1. (This corresponds to (3) in FIG. 3)
When the message frame A is received at the timing t2, the local timer values of the ECUs 1 to 4 have a time lag Tsys of 1 hour as compared with the local timer value at the timing t1, as shown in the upper column of the timing t2 in FIG. The local timer value is set. Here, the time lag Tsys1 is set to 5 milliseconds.
[0041]
Then, the slave ECUs 2 to 4 that have received the message frame A rewrite and store the local timer value (= 12 seconds 345) stored in the message frame A. (Corresponding to (4) in FIG. 3)
This processing is performed at the same time as the ECUs 2 to 4 receive the message frame at the timing t2.
[0042]
The predetermined elapsed time Tw1 is a predetermined time that defines the time until the next message frame is transmitted. For example, it is a timing at which a transmission task is transmitted. In this embodiment, the interval Tw1 is 100 milliseconds as an example. (Corresponding to (4) in FIG. 3)
Accordingly, when the ECUs 2 to 4 set the local timer values transmitted from the ECU 1, only the ECU 1 has the local timer value of 12 seconds 350, and the other ECUs 2 to 4 have the local timer values of 12 seconds 345.
[0043]
Next, at the timing t3 when the elapsed time Tw1 has elapsed from the timing t2, the slave ECU 2, which is one of the slave ECUs, sends a message frame B including the internal local timer value to the other ECUs, here the master ECU 1 and the slave ECUs 3, 4. Send. (Corresponding to (5) in FIG. 3)
The message frame B at this time is mode number = 1 when FIG. 2 is taken as an example. The other bytes are node number = 2, master node number = 1, and local timer value = 12S445.
[0044]
At this time, as shown in the column of the timing t3 in FIG. 4, the local timer value is a value obtained by elapse of Tw1 from the time t2. Also in this transmission, it has a predetermined time lag Tsys2 (here, 10 milliseconds is taken as an example). (Corresponding to (6) in FIG. 3)
Then, ECU 1, 3, 4 receives message frame B from ECU 2 at time t 4 when time lag Tsys 2 has elapsed from time t 3. (Corresponding to (7) in FIG. 3)
As shown in the column of timing t4 in FIG. 4, the local timer value of each ECU at the time of reception is a value at which the time lag Tsys2 has elapsed compared to the local timer value at the time t3.
[0045]
The ECU 1 sets the local timer value transmitted from the ECU 2 at the timing t4 when the message frame B is received. As shown in the lower column of t4 in FIG. 4, 12 seconds 445 that is the value of the local timer of the ECU 2 at the timing t3 is set in the ECU 1. Even at this time, only the ECU 1 that is the master ECU in the ECUs 1 to 4 still differs from the local timer values in the other ECUs by the time lag Tsys2.
[0046]
Further, in the other slave ECUs other than the slave ECU 2 which has become the reference for rewriting the local timer value in the master ECU 1 during the elapsed time Tw2, the internal local timer value and the reference for rewriting the local timer value in the master ECU The difference time from the local timer value in the slave ECU, that is, the received local timer value is calculated. Here, the difference time between the local timer value (12 seconds 455) in the ECU 3 and the local timer value (12 seconds 445) stored in the message frame B transmitted from the ECU 2 is calculated. (Corresponding to (8) in FIG. 3)
The elapsed time Tw2 is synonymous with Tw1, and is a predetermined time until the next message frame is transmitted, and is 100 milliseconds as an example here.
[0047]
Then, at the timing t5 when the elapsed time Tw2 has elapsed from the timing t4, the message frame C including the difference time is transmitted from the slave ECU 3 to the other ECUs 1, 2, and 4. The message frame C may be transmitted only from the ECU 3 to the master ECU 1. At time t5 (corresponding to (9) in FIG. 3), as shown in FIG. 4, the elapsed time is compared with the local timer value of each ECU when the ECU 1 sets the local timer value received from the ECU 2. Tw2 minutes have passed.
[0048]
In FIG. 2, the message frame C has mode number = 2, node number = 3, master node number = 1, local timer value = empty, and timer difference value = 10 milliseconds.
[0049]
At timing t6 when the time lag Tsys3 has elapsed from timing t5, at least the master ECU 1 receives the difference time information. (Equivalent to ■ in Figure 3)
As shown in the column of timing t6 in FIG. 4, the time lag Tsys3 has elapsed at the timing t6. The time lag Tsys3 is set to 10 milliseconds as an example.
[0050]
When the master ECU 1 receives the difference time information at time t6, the master ECU 1 immediately adds the difference time to its own local timer value. (Corresponding to ■ 'in Fig. 3)
By executing such a sequence of timings t1 to t6, high time synchronization accuracy between the ECUs can be realized. Further, in this embodiment, it is possible to realize time synchronization between ECUs in consideration of error time due to collision of message frames on the network, that is, time lags Tsys1 to Tsys3.
[0051]
Next, a second embodiment according to the present invention will be described with reference to FIG.
[0052]
In the embodiment shown in FIG. 5, it is assumed that the master ECU has a function capable of receiving a message frame transmitted by itself as a function of the master ECU. When there is a master ECU having such a function, time synchronization between the master ECU and one or more slave ECUs can be achieved if there are one or more slave ECUs. As an essential function of the slave ECU, the local timer value of the slave ECU can be rewritten and stored in the local timer value transmitted from the master ECU, and the difference transmitted from the master ECU with respect to the local timer value of the slave ECU itself It is necessary to be able to add time information.
[0053]
FIG. 5 shows the transition of the local timer values in the master ECU and the slave ECU at each time t, and the sequence at each timing T1 to T4.
[0054]
At timing T1, the master ECU transmits its current local timer value to the slave ECU and itself.
[0055]
At timing T2, which is after the time lag Tadv due to transmission, the master ECU and the slave ECU simultaneously receive the local timer value Tadj transmitted from the master ECU at timing T1. Then, at this timing T2, the slave ECU changes and stores its own local timer value to the received local timer value (Tadj).
[0056]
The period between T2 and T3, which is between T2 and T3, is a predetermined time that defines the time until the next message frame is transmitted, and is synonymous with Tw1 and Tw2 in the first embodiment.
[0057]
At timing T3, the master ECU calculates a difference time between its own local timer value (Tadj + Tadv) received at timing T2 and the local timer value Tadj transmitted at timing T1. Then, the difference time information is transmitted to the slave ECU.
[0058]
At a timing T4 after a time lag of Tadv2 between T3 and T4, the difference time transmitted from the master ECU at the timing T3 in the slave ECU is added to the local timer value in the slave ECU.
[0059]
By executing such a sequence, the local timer values in the master ECU and the slave ECU are time-synchronized.
[0060]
Also in this second embodiment, a plurality of slave ECUs may be provided. When there are a plurality of slave ECUs, information transmitted from the master ECU, that is, a local timer value at timing T1, and a differential time at timing T3. Each slave ECU receives the information, and the difference time information may be added to the local timer value of the slave ECU.
[0061]
Further, in the second embodiment described above, the difference time is calculated at timing 3, but may be calculated at timing T2 and transmitted to the slave ECU at timing T3.
[0062]
The present invention is not limited to the above embodiment, and various modifications can be made.
[0063]
For example, in the above embodiment, the master ECU may be fixed to the ECU 1 in advance, and the master ECU may be changed among the ECUs 1 to 4 at every control timing or / and every predetermined time or / and every sequence start timing. May be. That is, even if the master ECU = ECU1 and the slave ECU = ECU2 to 4 this time, the master ECU = ECU2 and the slave ECU = ECU1, 3, 4 may be used in the next time synchronization process. If the master ECU can be changed at any time in this way, even when a specific ECU, for example, a fixed master ECU fails, time synchronization between the ECUs can be achieved when another ECU becomes the master ECU. There is a merit.
[0064]
In addition, the sequence in the above embodiment may be periodically executed at predetermined time intervals, or may be executed at each ON operation timing of the ignition switch when used in a vehicle or the like. The time synchronization sequence may be executed in accordance with the control execution timing and control end timing of the ECU that performs time synchronization. The control execution timing may be immediately before the start of control. Further, which ECU's control execution / end timing is used as a reference may be, for example, the execution / end of control in a higher hierarchy in the ECU group for time synchronization.
[0065]
In the above-described embodiments, the node number in the message frame is used as an identification signal that defines the difference time of the local timer value in which ECU. However, not only this, but for example, which ECU is the master of the difference time result. You may make it use in order to identify whether it is difference time in the case of being ECU.
[0066]
In addition, the time interval at which the message frame is to be transmitted to another ECU is defined in advance, and if a message frame including information on the difference time is not transmitted even if the specified time interval is exceeded, another ECU The difference time information may be transmitted using a node number that defines the difference time. Specifically, in the above-described embodiment, the ECU 3 calculates the difference time. If the node number in this case is 1, a message frame including the node number = 1 is transmitted even if it exceeds the specified time. If not, the difference time may be calculated in the ECU 4 and the difference time information in the ECU 4 may be transmitted as a node number = 2 in a message frame. The slave ECU 3 has a function of causing the other ECU 4 to execute detection and / or calculation of the difference time when the message frame including the node number = 1 has not been transmitted even after the specified time has elapsed and to transmit at least the master ECU. Alternatively, the master ECU 1 may detect that this message frame has not been received. When the message frame including the difference time information is set to be transmitted from the ECU 3 to another slave ECU such as the ECU 4, the other slave ECU, for example, the ECU 4 is provided with such a function. Also good. Note that the reason why the transmission is not performed even if the difference time exceeds the specified time is that there is an ECU failure or / and an ECU 2 to 4 that is an off-the-shelf general-purpose product that does not have a function for calculating the difference time. If it corresponds to the ECU 3 of the above-described embodiment, it can be expected that the difference time information will not be transmitted from the ECU 3 no matter what time. However, if the node number has the above functions, the compensation for ECU failure is increased, and / or a commercially available general-purpose ECU can be mixed and used on the network.
[0067]
Thus, even in an off-the-shelf general-purpose ECU, the local timer itself exists without omission, so if it has a function of reading and rewriting the local timer value and a function of transmitting and receiving the local timer value on a message frame, etc. Time synchronization can be taken. In the case of an ECU that does not have a function for reading / rewriting the local timer value and a function for transmitting and receiving the local timer value on a message frame or the like, a pseudo timer is provided in the ECU. If the local timer value is changed, rewritten, or transmitted, time synchronization can be achieved for all ECUs.
[0068]
Thus, the time synchronization method according to the present invention can be applied to a system in which an ECU that requires time synchronization and an ECU that does not require time synchronization coexist, and the collective unit of ECUs that require time synchronization is a system. The present invention can be applied even when two or more of them exist. For example, when time synchronization is achieved by the ECUs 1, 2, 3, and 4 and time synchronization is achieved by the ECUs 5, 6, and 7 (not shown) independently of the ECUs 1 to 3, for example, in the message frame shown in FIG. The master ECU may be divided and managed by the master node number, and a set unit for time synchronization may be distinguished by providing another byte.
[0069]
Further, in order to achieve time synchronization, the message frames A to C may be provided independently of other control message frames, or necessary data may be included in an existing application message frame for control or data. May be mixed. In this case, it is not necessary to prepare a special message frame for time synchronization. For example, in terms of vehicle control, any or all of the vehicle body speed, wheel speed, engine speed, intake air amount, steering rotation angle, etc. are stored as a plurality of data in the message frame and communicated between the ECUs. A mode number, a local timer value, a timer difference value, and the like necessary for realizing time synchronization between ECUs in the present invention may be added to such a message frame and transmitted / received between ECUs as an application message frame. . In this case, the data transfer efficiency on the network can be improved, and it is possible to suppress the error time itself from becoming longer due to collision of message frames. Note that the above-described node number and master node number may be added to the application message frame as necessary.
[0070]
In the example of the message frame described in FIG. 2, the local timer value byte and the difference time byte are separated. However, when the local timer value is transmitted in one byte or a group of bytes, the local timer value is transmitted. When storing a value and transmitting difference time information, one byte or a group of bytes may be shared so that the difference time is stored. Such sharing can be similarly realized when an application message frame is adopted.
[0071]
In addition, when the above-described embodiments are applied to a real-time distributed system connected via a CSMA network, it is possible to improve control performance in systems such as vehicle behavior control and integrated control that have severe processing response time constraints. is there. In the network system based on the CSMA system, the time lags Tsys1, Tsys2, Tsys3, Tadv, and Tadv2 in the above-described embodiment are uniformly the same time between any ECUs. Therefore, the present invention can be applied to any communication system in which the time lags Tsys1, Tsys2, Tsys3, Tadv, and Tadv2 are the same between any ECUs other than the systems connected by the CSMA system network.
[Brief description of the drawings]
FIG. 1 is a schematic diagram showing a communication system of the present invention.
FIG. 2 is a diagram illustrating an example of a configuration of a message frame.
FIG. 3 is a diagram showing a time synchronization sequence of local timers of ECUs 1 to 4 according to the first embodiment.
FIG. 4 is a diagram showing a specific example when local timer values of ECUs 1 to 4 according to the first embodiment are time-synchronized.
FIG. 5 is a diagram illustrating a sequence illustrating a second embodiment.
[Explanation of symbols]
1-4 ... ECU
5 ... LAN cable

Claims (14)

各々がローカルタイマを備える3つ以上の複数のECUの間を接続したネットワーク通信システムにおいて、前記ECUの内の一つにマスターECUと、前記ECUの内の残るECUであって前記マスターECUのローカルタイマ値に合わせられるスレーブECUとが規定され、前記ECU全てに前記ローカルタイマ値を記憶する記憶手段が備えられ、前記スレーブECUのうちの一つは、前記ローカルタイマの時間同期を図る過程の最初に前記マスターECUから送信されるローカルタイマ値に自身のローカルタイマ値を合わせるとともに前記マスターECUおよび残るスレーブECUにこのローカルタイマ値を送信する機能を備え、前記残るスレーブECUは、前記ローカルタイマの時間同期を図る過程の最初に前記マスターECUから送信されるローカルタイマ値に自身のローカルタイマ値を合わせるとともに、前記スレーブECUのうちの一つから送信されたローカルタイマ値とこの送信を受る以前に記憶していた自身のローカルタイマ値との差分時間を算出して前記マスターECUに差分時間情報を送信する機能を備え、前記マスターECUは、前記ローカルタイマの時間同期を図る過程の最初に前記スレーブECU全てに自身のローカルタイマ値を送信する機能を有するとともに、前記スレーブECUの内の一つから送信されたローカルタイマ値に前記差分時間を加算して自身のローカルタイマ値とする機能を備える事を特徴とするネットワーク通信システムおよびこのネットワーク通信システムを用いた制御処理装置。    In a network communication system in which a plurality of three or more ECUs each having a local timer are connected, one of the ECUs is a master ECU, and the remaining ECUs in the ECUs are local to the master ECU. A slave ECU to be adjusted to a timer value is provided, and all the ECUs are provided with storage means for storing the local timer value, and one of the slave ECUs is the first in the process of time synchronization of the local timer The local timer value transmitted from the master ECU is adjusted to the local timer value and the local timer value is transmitted to the master ECU and the remaining slave ECU. From the master ECU at the beginning of the synchronization process The local timer value is adjusted to the local timer value transmitted, and the local timer value transmitted from one of the slave ECUs and the local timer value stored before receiving this transmission A function of calculating a difference time and transmitting difference time information to the master ECU is provided, and the master ECU transmits its own local timer value to all the slave ECUs at the beginning of the process of time synchronization of the local timer. A network communication system having a function, and having a function of adding the difference time to a local timer value transmitted from one of the slave ECUs to obtain its own local timer value, and the network communication Control processing device using the system. 複数のECU間をネットワークで接続して、複数のECU間で連携した制御処理を実行するネットワーク通信システムを用いた制御処理システムにおいて、前記複数のECUは、各々ローカルタイマとこのローカルタイマの値を記憶する記憶手段を備えており、前記複数のECUにおいてマスターECUとこのマスターECUのローカルタイマ値に時間同期される複数のスレーブECUとが位置付けられ、前記マスターECUが前記複数のスレーブECUに対して前記ローカルタイマ値を送信する第1ステップと、前記複数のスレーブの全てが第1ステップにて送信された前記ローカルタイマ値を各々のスレーブECU自身のローカルタイマ値として記憶して該スレーブECUの内の少なくとも一つが他の全てのECUに対して記憶したローカルタイマ値を送信する第2ステップと、前記第2ステップによる送信を受けた前記スレーブECUの内の少なくとも一つがこの送信によるローカルタイマ値と記憶していたローカルタイマ値との差分時間を算出して、前記マスターECUにこの差分時間の情報を送信とともに、前記マスターECUは前記第2のステップにより送信されたローカルタイマ値に前記差分時間を加算して記憶する第3のステップと、を備えることを特徴とするネットワーク通信システムを用いた制御処理システム。  In a control processing system using a network communication system in which a plurality of ECUs are connected by a network and a control process is performed in cooperation with the plurality of ECUs, the plurality of ECUs each have a local timer and a value of the local timer. Storage means for storing, in the plurality of ECUs, a master ECU and a plurality of slave ECUs time-synchronized with a local timer value of the master ECU are positioned, and the master ECU is connected to the plurality of slave ECUs A first step of transmitting the local timer value; and the local timer value transmitted by all of the plurality of slaves in the first step is stored as a local timer value of each slave ECU itself; At least one of the A second step of transmitting a timer value, and at least one of the slave ECUs receiving the transmission of the second step calculates a difference time between the local timer value of the transmission and the stored local timer value. And a third step of transmitting the difference time information to the master ECU, and the master ECU adding and storing the difference time to the local timer value transmitted in the second step. A control processing system using a characteristic network communication system. 前記マスターECUは、所定のタイミングで前記複数のECUの内の他のECUに変更されることを特徴とする請求項1または請求項2に記載のネットワーク通信システムおよびこのネットワーク通信システムを用いた制御処理装置。  3. The network communication system according to claim 1 or 2, wherein the master ECU is changed to another ECU of the plurality of ECUs at a predetermined timing, and control using the network communication system. Processing equipment. 前記ローカルタイマ値は前記ネットワーク通信システムにおいてメッセージフレームにのせて通信され、このメッセージフレームにはローカルタイマ値の情報の他に前記差分時間がどのスレーブECUで演算されるものかを規定する情報が含まれ、且つ、前記差分時間の情報が所定時間経過しても送信されなかったあるいは/および少なくとも前記マスターECUが受信しなかった場合には、他のスレーブECUに差分時間を演算させて少なくとも前記マスターECUに送信させる機能を備えたことを特徴とする請求項1または請求項2または請求項に記載のネットワーク通信システムおよびこのネットワーク通信システムを用いた制御処理装置。The local timer value is communicated on a message frame in the network communication system, and this message frame includes information specifying which slave ECU the difference time is calculated in addition to the local timer value information. In addition, if the information on the difference time is not transmitted even after a predetermined time has passed, and / or at least the master ECU does not receive the information, the other slave ECU calculates the difference time and at least the master The network communication system according to claim 1, 2 or 3 , and a control processing apparatus using the network communication system, comprising a function of causing the ECU to transmit. 前記ローカルタイマの時間同期を図る過程の最初に少なくとも時間同期を図る必要のあるスレーブECUに対して自身のローカルタイマ値を送信することが所定時間の間にできなかった場合、あるいは/および前記スレーブECUの内の一つから前記差分時間の情報を受信した際に自身のローカルタイマ値に差分時間を加算することができなかった場合を検出および判断する手段を設け、この検出手段で肯定判断された場合にはマスターECUを前記スレーブECUの内の一つに変更することを特徴とする請求項1または請求項2または請求項または請求項に記載のネットワーク通信システムおよびこのネットワーク通信システムを用いた制御処理装置。When the local timer value cannot be transmitted to a slave ECU that needs to synchronize at least at the beginning of the process of synchronizing the time of the local timer within a predetermined time, or / and the slave A means for detecting and determining when the difference time cannot be added to its own local timer value when the difference time information is received from one of the ECUs is provided. the network communication system and the network communication system of claim 1 or claim 2 or claim 3 or claim 4, characterized in that to change the master ECU in one of the slave ECU when the Control processing device used. 前記他のスレーブECUに差分時間を演算させて少なくともマスターECUに送信させる機能は、前記差分時間を送信できなかったスレーブECU、前記差分時間の情報を受けることになっていたスレーブECU、あるいはマスターECU自身のいずれか1つあるいは複数に備えられていることを特徴とする請求項に記載のネットワーク通信システムおよびこのネットワーク通信システムを用いた制御処理装置。The function of causing the other slave ECUs to calculate the difference time and transmitting it to at least the master ECU is the slave ECU that could not transmit the difference time, the slave ECU that was to receive the information of the difference time, or the master ECU 5. The network communication system according to claim 4 , and a control processing apparatus using the network communication system according to claim 4 , wherein the network communication system is provided in any one or a plurality of itself. 前記所定のタイミングは、車両のイグニッションスイッチのON毎であることを特徴とする請求項5に記載のネットワーク通信システムおよびこのネットワーク通信システムを用いた制御処理装置。  6. The network communication system according to claim 5, and a control processing apparatus using the network communication system according to claim 5, wherein the predetermined timing is every time the ignition switch of the vehicle is turned on. 前記所定のタイミングは、前記複数のECUの内のいずれかのECUにおける制御タイミングであることを特徴とする請求項または請求項に記載のネットワーク通信システムおよびこのネットワーク通信システムを用いた制御処理装置。The network communication system according to claim 3 or 7 , and the control process using the network communication system according to claim 3 , wherein the predetermined timing is a control timing in any one of the plurality of ECUs. apparatus. 前記ローカルタイマ値は前記ネットワーク通信システムにおいてメッセージフレームにのせて通信され、このメッセージフレームにはローカルタイマ値の情報の他に現在のマスターECUがどのECUかを規定する情報が含まれていることを特徴とする請求項1ないし請求項のいずれかに記載のネットワーク通信システムおよびこのネットワーク通信システムを用いた制御処理装置。The local timer value is communicated on a message frame in the network communication system, and this message frame includes information specifying which ECU is the current master ECU in addition to the local timer value information. control processing apparatus using the network communication system and the network communication system according to any one of claims 1 to 8, characterized. 前記ローカルタイマ値は前記ネットワーク通信システムにおいてメッセージフレームにのせて通信され、このメッセージフレームは、他に制御用データ等を含むアプリケーションメッセージフレームであって、該アプリケーションメッセージフレームに前記ローカルタイマ値、現在のマスターECUがどのECUであるかの情報、差分時間の情報が含まれていることを特徴とする請求項1ないし請求項のいずれかに記載のネットワーク通信システムおよびこのネットワーク通信システムを用いた制御処理装置。The local timer value is communicated on a message frame in the network communication system, and the message frame is an application message frame including control data and the like. The network communication system according to any one of claims 1 to 9 and control using the network communication system, including information on which ECU the master ECU is and information on difference time Processing equipment. 前記メッセージフレームは全て、前記複数のECUのローカルタイマの時間同期のみを行うものではないことを特徴とする請求項10に記載のネットワーク通信システムおよびこのネットワーク通信システムを用いた制御処理装置。11. The network communication system according to claim 10 and a control processing apparatus using the network communication system according to claim 10 , wherein all of the message frames do not only perform time synchronization of local timers of the plurality of ECUs. 前記ローカルタイマ値は前記ネットワーク通信システムにおいてメッセージフレームにのせて通信され、このメッセージフレームは他の制御用データを含まず、前記時間同期を行う際のデータが含まれるのみであることを特徴とする請求項1ないし請求項のいずれかに記載のネットワーク通信システムおよびこのネットワーク通信システムを用いた制御処理装置。The local timer value is communicated on a message frame in the network communication system, and the message frame does not include other control data but only includes data for performing the time synchronization. A network communication system according to any one of claims 1 to 9 , and a control processing apparatus using the network communication system. システムの中で、前記複数のECUは、前記時間同期を行われるECU群と前記時間同期が行われないECUとが含まれていることを特徴とする請求項1ないし請求項12のいずれかに記載のネットワーク通信システムおよびこのネットワーク通信システムを用いた制御処理装置。In the system, the plurality of the ECU, to any one of claims 1 to 12, wherein the time synchronization and ECU group performed the time synchronization is included an ECU not performed The described network communication system and a control processing apparatus using the network communication system. 前記ネットワーク通信システムは、CSMA方式の多重通信システムが採用されていることを特徴とする請求項1ないし請求項13のいずれかに記載のネットワーク通信システムおよびこのネットワーク通信システムを用いた制御処理装置。The network communication system according to any one of claims 1 to 13 , and a control processing apparatus using the network communication system, wherein a CSMA multiple communication system is employed as the network communication system.
JP2002215581A 2002-07-24 2002-07-24 Network communication system and control processing system using the network communication system Expired - Fee Related JP4019840B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2002215581A JP4019840B2 (en) 2002-07-24 2002-07-24 Network communication system and control processing system using the network communication system

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2002215581A JP4019840B2 (en) 2002-07-24 2002-07-24 Network communication system and control processing system using the network communication system

Publications (2)

Publication Number Publication Date
JP2004064123A JP2004064123A (en) 2004-02-26
JP4019840B2 true JP4019840B2 (en) 2007-12-12

Family

ID=31937572

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2002215581A Expired - Fee Related JP4019840B2 (en) 2002-07-24 2002-07-24 Network communication system and control processing system using the network communication system

Country Status (1)

Country Link
JP (1) JP4019840B2 (en)

Families Citing this family (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP4941500B2 (en) 2009-04-17 2012-05-30 株式会社デンソー Node device and vehicle network system
JP6402428B2 (en) * 2015-03-16 2018-10-10 カルソニックカンセイ株式会社 Multiplex communication equipment
JP6725986B2 (en) * 2015-12-24 2020-07-22 ボッシュ株式会社 Engine control device and control method
JP7075202B2 (en) * 2017-12-18 2022-05-25 日本放送協会 Terminal device
JP6523497B1 (en) 2018-01-17 2019-06-05 三菱電機株式会社 Master controller and synchronous communication system using the same

Also Published As

Publication number Publication date
JP2004064123A (en) 2004-02-26

Similar Documents

Publication Publication Date Title
US8775681B2 (en) Cross-network synchronization of application S/W execution using flexray global time
US7979730B2 (en) Method and device for synchronizing cycle time of a plurality of TTCAN buses based on determined global time deviations and a corresponding bus system
Navet et al. Trends in automotive communication systems
US7721030B2 (en) Method and device for connecting sensors or actuators to a bus system
US20090327549A1 (en) Monitoring unit for monitoring or controlling user access to a data bus and user having such a monitoring unit
WO2007043608A1 (en) On-vehicle database distribution node and on-vehicle database system
US11171807B2 (en) Method and apparatus for allocating priority transmission opportunities in vehicle network
JP5680048B2 (en) Automatic control system, contact information collection and distribution device, and slave station of automatic control system
JP7030742B2 (en) Communication system and communication control method
EP1949614A1 (en) Bus guardian with improved channel monitoring
JP2014531844A (en) Method for driving a communication system
JP4019840B2 (en) Network communication system and control processing system using the network communication system
JP4596448B2 (en) Method, apparatus and bus system for causing program interruption in a subscriber of a bus system
Akpinar et al. Improved clock synchronization algorithms for the controller area network (CAN)
Seo et al. Development of network gateway between CAN and FlexRay protocols for ECU embedded systems
JPH05175971A (en) Multiplex transmission system
Shaheen et al. A comparison of emerging time-triggered protocols for automotive X-by-wire control networks
US20100195672A1 (en) Diagnosis of the synchronization of two communications networks of an electronic data-processing system
Bannatyne Time triggered protocol-fault tolerant serial communications for real-time embedded systems
US9172555B2 (en) Distribution apparatus, communication system and communication method
Zeltwanger Time-Triggered communication on CAN
JP7446517B2 (en) Electronic device and communication control method
Herpel et al. A simulation approach for the design of safety-relevant automotive multi-ECU systems
Cena et al. Protocols and Services in Controller Area Networks
US8571007B2 (en) Synchronization of two communication networks of an electronic data-processing system

Legal Events

Date Code Title Description
A621 Written request for application examination

Free format text: JAPANESE INTERMEDIATE CODE: A621

Effective date: 20041221

A977 Report on retrieval

Free format text: JAPANESE INTERMEDIATE CODE: A971007

Effective date: 20070104

A131 Notification of reasons for refusal

Free format text: JAPANESE INTERMEDIATE CODE: A131

Effective date: 20070116

A521 Written amendment

Free format text: JAPANESE INTERMEDIATE CODE: A523

Effective date: 20070309

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

A61 First payment of annual fees (during grant procedure)

Free format text: JAPANESE INTERMEDIATE CODE: A61

Effective date: 20070917

FPAY Renewal fee payment (event date is renewal date of database)

Free format text: PAYMENT UNTIL: 20101005

Year of fee payment: 3

R150 Certificate of patent or registration of utility model

Free format text: JAPANESE INTERMEDIATE CODE: R150

FPAY Renewal fee payment (event date is renewal date of database)

Free format text: PAYMENT UNTIL: 20101005

Year of fee payment: 3

FPAY Renewal fee payment (event date is renewal date of database)

Free format text: PAYMENT UNTIL: 20111005

Year of fee payment: 4

FPAY Renewal fee payment (event date is renewal date of database)

Free format text: PAYMENT UNTIL: 20121005

Year of fee payment: 5

FPAY Renewal fee payment (event date is renewal date of database)

Free format text: PAYMENT UNTIL: 20121005

Year of fee payment: 5

FPAY Renewal fee payment (event date is renewal date of database)

Free format text: PAYMENT UNTIL: 20131005

Year of fee payment: 6

R250 Receipt of annual fees

Free format text: JAPANESE INTERMEDIATE CODE: R250

LAPS Cancellation because of no payment of annual fees