JP4028096B2 - Network system - Google Patents

Network system Download PDF

Info

Publication number
JP4028096B2
JP4028096B2 JP20729598A JP20729598A JP4028096B2 JP 4028096 B2 JP4028096 B2 JP 4028096B2 JP 20729598 A JP20729598 A JP 20729598A JP 20729598 A JP20729598 A JP 20729598A JP 4028096 B2 JP4028096 B2 JP 4028096B2
Authority
JP
Japan
Prior art keywords
transmission
data
network system
collision
adjustment amount
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
JP20729598A
Other languages
Japanese (ja)
Other versions
JP2000041054A (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 Ten Ltd
Original Assignee
Denso Ten Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Denso Ten Ltd filed Critical Denso Ten Ltd
Priority to JP20729598A priority Critical patent/JP4028096B2/en
Publication of JP2000041054A publication Critical patent/JP2000041054A/en
Application granted granted Critical
Publication of JP4028096B2 publication Critical patent/JP4028096B2/en
Anticipated expiration legal-status Critical
Expired - Fee Related legal-status Critical Current

Links

Images

Description

【0001】
【発明の属する技術分野】
本発明はネットワークシステムに関し、より詳細には、LAN(Local Area Network)に接続された複数の制御装置間で有効にデータ通信を行なうことのできるネットワークシステムに関する。
【0002】
【従来の技術】
近年、車両用電子制御システムにおいては、内燃機関や変速機等の車両駆動系を制御するのに必要な各種制御処理をマイクロプロセッサ等からなる複数の電子制御装置で分散して行なうようになり、さらにパワートレイン制御関係に必要なエンジン回転数や、車両制御関係の車輪速度等のように、各電子制御装置で信号やデータを共有することが多く、それぞれの電子制御装置間で通信ができるようになっている。
【0003】
図5は、パワートレイン制御における従来の電子制御のネットワークシステムの一例を概略的に示したブロック図である。
【0004】
図中1はネットワークシステムを示しており、ネットワークシステム1はインジェクタ、イグナイタ、及びアイドル回転数制御ステップモータを駆動制御する燃料噴射・点火制御装置2と、変速用のソレノイド類を制御する変速機制御装置3と、エンジンの吸気系に設けられたサブスロットルバルブを開閉するモータを駆動制御するスロットル制御装置4とを含んで構成されている。
【0005】
また、これら各制御装置2〜4は、通信線5を介して相互に接続されて、いわゆるLANを形成し、通信線5を介して各制御装置2〜4間でパワートレイン制御のためのデータの送受信を行なうことにより、エンジンや自動変速機等からなる車両駆動系を制御するようになっている。
【0006】
すなわち、上記各制御装置2〜4は、CPU、ROM、及びRAM等からなる通信機能を有するマイクロコンピュータにより構成されており、予め設定された制御プログラムに従い、パワートレイン制御のための各種制御処理を行なうと共に、通信線5を介して他の制御装置との間でデータ通信を行なうことによって、車両駆動系をエンジンや車両の運転状態等に応じて制御することができるようになっている。
【0007】
燃料噴射・点火制御装置2には、エンジンの燃料噴射量を調整するためのインジェクタ、スパークプラグに接続されているイグナイタ、及びアイドル回転数制御ステップモータが接続されると共に、空気流量を検出するエアフローメータ、アクセルペダルに連動して開閉されるメインスロットルバルブの開度を検出するメインスロットルポジションセンサ、スタータの駆動状態を検出するスタータスイッチ、エンジンのアイドル状態を検出するアイドルスイッチ、エンジンの回転速度を検出するためのクランク角センサ、エンジンの冷却状態を判断する水温センサ、及びバッテリ等が接続されている。
【0008】
変速機制御装置3には、変速用のソレノイド類が接続されると共に、変速制御の基本的な制御量を演算するのに必要なセンサ類、例えば、トルクコンバータの回転数を検出する回転数センサ、及び運転者により操作されるシフトレバーの位置を検出するシフトスイッチ等が接続されている。
【0009】
スロットル制御装置4には、エンジンの吸気系にアクセルペダルと連動して開閉されるメインスロットルバルブとは別に設けられたサブスロットルバルブを開閉するモータが接続されると共に、このモータにより開閉されるサブスロットルバルブの開度を検出するサブスロットルポジションセンサが接続されている。
【0010】
上記各制御装置2〜4は、接続された各センサ類からの検出信号を取り込む信号入力処理、他の制御装置からの送信データを受信するデータ受信処理、これら信号入力処理やデータ受信処理にて得られるデータに基づいて各々制御対象を駆動制御する駆動制御処理、及びこれら各処理で得られたデータを通信線5を介して他の制御装置へ送信するデータ送信処理を実行するようになっている。
【0011】
このように、ネットワークシステム1では、各制御装置2〜4に通信機能を設け、通信線5に接続することにより、LANを形成し、各制御装置2〜4で得られた車両制御のためのデータを各制御装置2〜4間で送受信することにより、各制御装置2〜4間で前記データを共有するように構成されている。
【0012】
このため、受信する制御装置側で、連続的に変化するデータ(スロットル開度データ、水温データ、空気流量データ、及び負圧データ等)を必要とする場合には、前記データを検出する制御装置側から前記受信する制御装置側へこれらデータを周期的に送信しなければならない。
【0013】
例えば、変速機制御装置3で変速用のソレノイド類を制御する場合には、燃料噴射・点火制御装置2にて検出されるスロットル開度データや水温データ等が変速機制御装置3で必要となり、燃料噴射・点火制御装置2のタイマクロックに従って、燃料噴射・点火制御装置2から周期的にスロットル開度データや水温データ等が変速機制御装置3へ送信されるようになっている(例えば、スロットル開度データの場合には、2msの周期で送信され、水温データの場合には、64msの周期で送信される)。
【0014】
また、連続的には変化しないデータ(例えば、シフトスイッチにて検出されるシフトレバーの位置データ)、すなわち周期的に送信する必要のないデータ(非周期的に送信されるデータ)をも通信線5を介して通信される。このようなデータは車両状態の変化等に伴って非周期的に送信されるものである。
【0015】
上記したように、LANを形成し、そのネットワーク上でデータ通信を行なう場合には、例えば、燃料噴射・点火制御装置2から水温データを送信するのとほぼ同時刻に(厳密に言えば燃料噴射・点火制御装置2が送信したデータが変速機制御装置3に到着する前に)、変速機制御装置3からある種のデータが送信されるといったことが起こる場合がある。すると、前記ある種データと前記水温データとが燃料噴射・点火制御装置2と変速機制御装置3との間のどこかで衝突してしまう。
【0016】
【発明が解決しようとする課題】
ネットワーク上でデータ衝突が発生すると、それぞれのデータは破壊されてしまうので、これらデータをそれぞれの制御装置から再送する必要がある。このとき繰り返し前記衝突が起こらないようにするために、衝突発生時には一定時間経過後にデータの再送を行なうようになっている。
【0017】
従って、前記衝突が発生すると、データ送信に大きな遅れが生じてしまう場合があり、各制御装置で適切な機器制御等が行なえなくなる虞れがある。
【0018】
特開平9−247192号公報には、ネットワーク上における単位時間当たりの衝突回数を検出し、その回数が所定回数を超えた時に、データの送信タイミングを調整するといった通信方式が開示されているが、このような方式では下記に示すような問題点がある。
【0019】
▲1▼2つの制御装置それぞれから周期的に送信されるデータがある場合、これらデータの送信タイミングが丁度重なってしまう(すなわち、ほぼ同時刻に送信されてしまう)と、これらデータは毎回衝突する(慢性的に衝突が生じる)こととなる。このような場合には、衝突回数を軽減するために前記送信タイミングを調整することが望ましい。
【0020】
しかしながら、上記した状況の場合、慢性的に衝突が発生するものの、単位時間当たりの衝突回数はある一定回数で維持されてしまうので、上記通信方式においては、上記状況は前記送信タイミングを調整する対象とはならない。従って、前記送信タイミングが調整されないので、これらデータの衝突回数を軽減することはできない。
【0021】
▲2▼非周期的に送信されるデータ等の影響によって、通常時であれば前記衝突を生じないはずのデータに、たまたま前記衝突が生じてしまう場合がある。このような場合には、瞬間的に衝突回数が大きく増大する場合が多いので、単位時間当たりの衝突回数も当然大きく増大してしまい、上記通信方式においては、上記状況は前記送信タイミングを調整する対象となり、前記送信タイミングが調整されることとなる。
【0022】
しかしながら、一時的に発生しただけの衝突、すなわち非周期的に送信されるデータ等の影響によってたまたま生じた衝突に基づいて、前記送信タイミングを調整したとしても、それ以降のデータの衝突回数を軽減する根拠にならないのは明白である。逆にそれまで(衝突なく)スムーズに送信を行なうことのできていたデータに悪影響を及ぼす虞れさえある。
【0023】
本発明は上記課題に鑑みなされたものであって、複数の制御装置が接続され、これら制御装置間でデータが通信されるネットワークシステムにおいて、周期的に送信されるデータの衝突回数を軽減することによって、有効にデータの通信を行なうことのできるネットワークシステムを提供することを目的としている。
【0024】
【課題を解決するための手段及びその効果】
上記目的を達成するために本発明に係るネットワークシステム(1)は、複数の制御装置が接続され、これら制御装置間でデータが通信されるネットワークシステムにおいて、これら各制御装置に、自装置から送信るデータにネットワーク上の衝突が発生したか否かを判断する第1の判断手段と、その判断結果に基づいて、前記衝突が慢性的に発生しているか否かを判断する第2の判断手段と、前記衝突が慢性的に発生していると判断した時、前記自装置から周期的に送信するデータの送信タイミングを調整する第1の調整手段と、これら各制御装置に、前記衝突が発生したデータの送信完了時刻と送信開始時刻との差から、前記データに通常必要となる送信時間を減算することにより送信遅延時間を求める第1の算出手段と、前記送信遅延時間に基づいて、前記送信タイミングの調整量を求める第2の算出手段とを備え、前記第1の調整手段が前記調整量に応じて前記送信タイミングを調整するようになっていることを特徴としている。
【0025】
上記ネットワークシステム(1)によれば、ネットワーク上の衝突が慢性的に発生していれば、複数の制御装置間で周期的に送信されるデータの送信タイミングが重なっているものと考え、そのような場合には、前記送信タイミングを調整するので、周期的に送信されるデータの衝突回数を軽減することができ、有効にデータの通信を行なうことができる。
さらに、上記ネットワークシステム(1)によれば、実際に生じた送信遅延時間に基づいて求められた前記調整量に応じて、すなわち過去の衝突の経験に基づいて、前記送信タイミングが調整されるので、より適切に周期的に送信されるデータの衝突回数を軽減することができる。
【0026】
また、本発明に係るネットワークシステム(2)は、複数の制御装置が接続され、これら制御装置間でデータが通信されるネットワークシステムにおいて、これら各制御装置に、自装置から送信するデータにネットワーク上の衝突が発生したか否かを判断する第1の判断手段と、その判断結果に基づいて、前記衝突が所定回数を超えて連続的に発生しているか否かを判断する第3の判断手段と、前記衝突が前記所定回数を超えて連続的に発生していると判断した時、前記自装置から周期的に送信するデータの送信タイミングを調整する第2の調整手段と、これら各制御装置に、前記衝突が発生したデータの送信完了時刻と送信開始時刻との差から、前記データに通常必要となる送信時間を減算することにより送信遅延時間を求める第1の算出手段と、前記送信遅延時間に基づいて、前記送信タイミングの調整量を求める第2の算出手段とを備え、前記第2の調整手段が前記調整量に応じて前記送信タイミングを調整するようになっていることを特徴としている。
【0027】
上記ネットワークシステム(2)によれば、ネットワーク上の衝突が前記所定回数を超えて連続して発生していれば、複数の制御装置間で周期的に送信されるデータの送信タイミングが重なっているものと考え、そのような場合には、前記送信タイミングを調整するので、周期的に送信されるデータの衝突回数を軽減することができ、有効にデータの通信を行なうことができる。
【0029】
さらに、上記ネットワークシステム()によれば、実際に生じた送信遅延時間に基づいて求められた前記調整量に応じて、すなわち過去の衝突の経験に基づいて、前記送信タイミングが調整されるので、より適切に周期的に送信されるデータの衝突回数を軽減することができる。
【0030】
また、本発明に係るネットワークシステム()は、上記ネットワークシステム(1)又は(2)において、新たに求められた送信遅延時間が、過去に求められた送信遅延時間と比較して大きな差がある時、前記第2の算出手段が前記新たに求められた送信遅延時間を前記調整量の算出要素に含めないようになっていることを特徴としている。
【0031】
上記ネットワークシステム()によれば、新たに求められた送信遅延時間と過去に求められた送信遅延時間との差が大きければ、前記新たに求められた送信遅延時間は、非周期的に送信されるデータ等の影響によって生じた衝突のために、一時的に長くなった送信遅延時間であると考え、そのような送信遅延時間は前記調整量の算出要素に加味させないことによって、より適切な前記調整量を算出することができる。
【0032】
また、本発明に係るネットワークシステム()は、上記ネットワークシステム(1)〜(3)のいずれかにおいて、これら各制御装置に、該装置のパワーOFF後も前記調整量を記憶保存しておくための記憶手段と、前記装置のパワーON時に、前記装置のタイマクロックの起動タイミングを前記調整量に応じて調整する第3の調整手段とを備えていることを特徴としている。
【0033】
上記ネットワークシステム()によれば、前記調整量を記憶保存させておくので、パワーOFF前と同様に前記送信タイミングを調整し、周期的に送信されるデータの衝突回数を軽減することができる。また、何回かパワーONを繰り返すことによって、適切な周期スケジュールを学習することができる。また、タイマクロック自体の起動タイミングを調整しているので、送信に同期した制御処理も併せて調整可能となる。
【0034】
また、本発明に係るネットワークシステム()は、上記ネットワークシステム(1)〜()のいずれかにおいて、これら各制御装置に、前記送信タイミングの調整に併せて、送信データの送信に伴う制御処理のタイミングを調整する第4の調整手段を備えていることを特徴としている。
【0035】
上記ネットワークシステム()によれば、データの送信タイミングとその送信に伴う制御処理のタイミングとのズレをなくすことができる。
【0036】
また、本発明に係るネットワークシステム()は、上記ネットワークシステム()において、前記第4の調整手段が、一度に所定量を超えて前記調整を行なわないようになっていることを特徴としている。
【0037】
上記ネットワークシステム()によれば、データの送信タイミングを調整するのと同様にして、前記制御処理のタイミングを急激に調整してしまうと、前記制御処理に不具合を来す可能性があるため、前記制御処理のタイミングの調整については徐々に行なうようにすることによって、前記不具合が生じるのを防止することができる。
【0038】
【発明の実施の形態】
以下、本発明に係るネットワークシステムの実施の形態を図面に基づいて説明する。なお、本発明の実施の形態(1)に係るネットワークシステムにおける概略図は、図5に示した構成と略同一であるため、ここではその説明を省略するが、構成部品の符号はそのまま使用することとする。
【0039】
従来の技術の項目でも説明したが、ネットワークシステム1では、各制御装置2〜4に通信機能を設け、通信線5に接続することにより、LANを形成し、各制御装置2〜4で得られた車両制御のためのデータを各制御装置2〜4間で送受信することにより、各制御装置2〜4間で前記データを共有するように構成されている。実施の形態(1)に係るネットワークシステムでは、このようなデータを送信するに当たって、ネットワーク上の衝突を軽減するために送信タイミングを調整するようになっている。
【0040】
以下、各制御装置2〜4のいずれかの制御装置にて周期的に検出され、そして送信されるデータに関わる一連の処理について、図1、図2、及び図3に示したフローチャートに基づいて説明する。
【0041】
まず、周期的に送信されるデータの送信割り込みが発生した場合における、実施の形態(1)に係るネットワークシステムの制御装置2〜4のいずれかに装備されたマイクロコンピュータの動作を、図1に示したフローチャートに基づいて説明する。
【0042】
周期的に送信されるデータの送信割り込みがあると、まず送信タイミングの調整量Tadj が0であるか否かを判断する(S1)。調整量Tadj の算出の仕方については、後で詳しく説明する(図2参照)。
【0043】
調整量Tadj が0でないと判断すれば、調整量Tdly を、調整量Tdly に調整量Tadj を加算した値に更新し(S2)、更新された調整量Tdly を制御装置のパワーOFF後も記憶保存しておくことのできるRAMに記憶させ(S3)、次にカウンタCと調整量Tadj とを0にし(S4)、そしてステップ5へ進む。
一方、調整量Tadj が0であると判断すれば、ステップ2〜4を飛ばして、ステップ5へ進む。
【0044】
ステップ5では、周期スケジュールに基づいた送信タイミングを調整量Tdly に応じて遅延させ、次にステップ6において、送信先アドレスと発信元アドレスとを付加して送信データを送信するといった送信処理を行ない、そしてステップ7へ進み、送信開始時刻ts を取り込む。
【0045】
続いて、周期的に送信されるデータの送信完了割り込みが発生した場合における、制御装置2〜4のいずれかに装備されたマイクロコンピュータの動作を、図2に示したフローチャートに基づいて説明する。
【0046】
周期的に送信されるデータの送信完了を知らせる信号の割り込みがあると、まず送信完了時刻te を取り込み(S11)、送信完了時刻te と送信開始時刻ts との差から、前記データに通常必要とされる送信時間α(≒データ長)を減算した値を送信遅延時間Δtとし(S12)、送信遅延時間Δtがほぼ0であるか否かを判断する(S13)。ここでの判断は、ネットワーク上の衝突の有無を判断しており、前記第1の判断手段の動作処理に相当する。
【0047】
0ではない、すなわち衝突有りと判断すれば、カウンタCに1を加算し(S14)、次に今回求められた送信遅延時間Δtから前回求められた送信遅延時間Δts を減算した値が所定値βを超えているか否かを判断する(S15)。ここでの判断は、一時的に発生しただけの衝突、すなわち非周期的に送信されるデータ等の影響によってたまたま生じた衝突であるか否かを判断するものである。
【0048】
所定値βを超えている、すなわち一時的に発生しただけの衝突と判断すれば、ステップ16を飛ばしてステップ17へ移る。一方、所定値βを超えていないと判断すれば、調整量ΔTを、過去に求められた調整量ΔTと今回求められた送信遅延時間Δtとの平均値として更新し(S16)、ステップ17へ移る。
ステップ17では、前回求められた送信遅延時間の更新(Δts ←Δt)を行ない、そしてステップ21へ移る。
【0049】
一方、ほぼ0(0も含む)である、すなわち衝突無しと判断すれば、カウンタCから1を減算し(S18)、次にカウンタCが0未満であるか否かを判断する(S19)。0未満であると判断すれば、カウンタCを0にして(S20)、ステップ21へ移る。一方、0以上であると判断すれば、ステップ20を飛ばしてステップ21へ移る。
【0050】
ステップ21では、カウンタCが所定回数γ1 を超えているか否かを判断する。ここでの判断は、ネットワーク上の衝突が慢性的に発生しているか否かを判断しており、前記第2の判断手段の動作処理に相当する。
【0051】
カウンタCが所定回数γ1 を超えている、すなわち前記衝突が慢性的に発生していると判断すれば、調整量ΔTを調整量Tadj とする(S22)。一方、カウンタCが所定回数γ1 を超えていないと判断すれば、ステップ22を飛ばして前記動作を終了する。
【0052】
続いて、各制御装置2〜4のパワーON時における、制御装置2〜4のいずれかに装備された前記マイクロコンピュータの動作を、図3示したフローチャートに基づいて説明する。
【0053】
パワーONになると、まずRAMに記憶保存しておいた調整量Tdly (図1のステップ3参照)と調整量T’dly とを取り込み(S41)、調整量T’dly (←T’dly +Tdly )を更新し(S42)、タイマクロックの起動タイミングを調整量T’dly に応じて遅延させて(S43)、タイマクロックを起動させる(S44)。そして、調整量T’dly をパワーOFF後も記憶保存しておくことのできるRAMに記憶させ(S45)、調整量Tdly を0にする(S46)。
【0054】
上記実施の形態(1)に係るネットワークシステムによれば、ネットワーク上の衝突が慢性的に発生していれば、複数の制御装置間で周期的に送信されるデータの送信タイミングが重なっているものと考え、そのような場合には、前記送信タイミングを調整するので、周期的に送信されるデータの衝突回数を軽減することができ、有効にデータの通信を行なうことができる。
【0055】
また、送信遅延時間Δtに基づいて求められた調整量ΔTに応じて、すなわち過去の衝突経験に基づいて、前記送信タイミングが調整されるので、より適切に周期的に送信されるデータの衝突回数を軽減することができる。
【0056】
また、新たに求められた送信遅延時間Δtと前回求められた送信遅延時間Δts との差が大きい場合には、送信遅延時間Δtは非周期的に送信されるデータ等の影響によって生じた衝突のために、一時的に長くなったものであると考え、そのような送信遅延時間Δtは調整量ΔTの算出要素に加味させないことによって、より適切な調整量ΔTを算出することができる。
【0057】
また、調整量Tdly を記憶保存させておくので、パワーOFF前と同様に前記送信タイミングを調整し、周期的に送信されるデータの衝突回数を軽減することができる。また、何回かパワーONを繰り返すことによって、適切な周期スケジュールを学習することができる。また、タイマクロック自体の起動タイミングを調整しているので、送信に同期した制御処理も併せて調整可能となる。
【0058】
次に、実施の形態(2)に係るネットワークシステムについて説明する。実施の形態(2)に係るネットワークシステムと上記実施の形態(1)に係るネットワークシステムとが異なるのは、前記送信タイミングを調整する判断基準だけであるので、その部分についてのみ以下で説明する。
【0059】
前記制御装置に装備された前記マイクロコンピュータにおける、周期的に送信されるデータの送信完了割り込みが発生した場合の動作を、図4示したフローチャートに基づいて説明する。
【0060】
周期的に送信されるデータの送信完了を知らせる信号の割り込みがあると、まず送信完了時刻te を取り込み(S51)、送信完了時刻te と送信開始時刻ts との差から、前記データに通常必要とされる送信時間α(≒データ長)を減算した値を送信遅延時間Δtとし(S52)、送信遅延時間Δtがほぼ0であるか否かを判断する(S53)。ここでの判断は、ネットワーク上の衝突の有無を判断しており、前記第1の判断手段の動作処理に相当する。
【0061】
0ではない、すなわち衝突有りと判断すれば、カウンタCに1を加算し(S54)、次に今回求められた送信遅延時間Δtから前回求められた送信遅延時間Δts を減算した値が所定値βを超えているか否かを判断する(S55)。ここでの判断は、一時的に発生しただけの衝突、すなわち非周期的に送信されるデータ等の影響によってたまたま生じた衝突であるか否かを判断するものである。
【0062】
所定値βを超えている、すなわち一時的に発生しただけの衝突と判断すれば、ステップ56を飛ばしてステップ57へ移る。一方、所定値βを超えていないと判断すれば、調整量ΔTを、過去に求めた調整量ΔTと今回求めた送信遅延時間Δtとの平均値として更新し(S56)、ステップ57へ移る。
ステップ57では、前回求めた送信遅延時間の更新(Δts ←Δt)を行ない、そしてステップ59へ移る。
【0063】
一方、ほぼ0(0も含む)である、すなわち衝突無しと判断すれば、カウンタCを0にして(S58)、ステップ59へ移る。
【0064】
ステップ59では、カウンタCが所定回数γ2 を超えているか否かを判断する。ここでの判断は、ネットワーク上の衝突が連続して発生しているか否かを判断しており、前記第3の判断手段の動作処理に相当する。
【0065】
カウンタCが所定回数γ2 を超えている、すなわち前記衝突が連続して発生していると判断すれば、調整量ΔTを調整量Tadj とする(S60)。一方、カウンタCが所定回数γ2 を超えていないと判断すれば、ステップ60を飛ばして前記動作を終了する。
【0066】
上記実施の形態(2)に係るネットワークシステムによれば、ネットワーク上の衝突が所定回数γ2 を超えて連続して発生していれば、複数の制御装置間で周期的に送信されるデータの送信タイミングが重なっているものと考え、そのような場合には、前記送信タイミングを調整するので、周期的に送信されるデータの衝突回数を軽減することができ、有効にデータの通信を行なうことができる。
【0067】
また上記実施の形態(1)又は(2)に係るネットワークシステムにおいて、前記制御装置に、前記送信タイミングの調整に併せて、送信データの送信に伴う制御処理のタイミングを調整する調整手段を装備することによって、データの送信タイミングとその送信に伴う制御処理のタイミングとのズレをなくすことができる。また、前記制御処理のタイミングの調整を徐々に行なうようにすることによって、前記制御処理に不具合が生じることを防止することができる。
【図面の簡単な説明】
【図1】周期的に送信されるデータの送信割り込みが発生した場合における、本発明の実施の形態(1)に係るネットワークシステムの制御装置に装備されたマイクロコンピュータの動作を示したフローチャートである。
【図2】周期的に送信されるデータの送信完了割り込みが発生した場合における、実施の形態(1)に係るネットワークシステムの制御装置に装備されたマイクロコンピュータの動作を示したフローチャートである。
【図3】制御装置のパワーON時における、実施の形態(1)に係るネットワークシステムの制御装置に装備されたマイクロコンピュータの動作をしたフローチャートである。
【図4】周期的に送信されるデータの送信完了割り込みが発生した場合における、実施の形態(2)に係るネットワークシステムの制御装置に装備されたマイクロコンピュータの動作を示したフローチャートである。
【図5】パワートレイン制御における従来の電子制御のネットワークシステムの一例を概略的に示したブロック図である。
【符号の説明】
1 電子制御システム
2 燃料噴射・点火制御装置
3 変速機制御装置
4 スロットル制御装置
5 通信線
[0001]
BACKGROUND OF THE INVENTION
The present invention relates to a network system, and more particularly to a network system capable of effectively performing data communication between a plurality of control devices connected to a LAN (Local Area Network).
[0002]
[Prior art]
In recent years, in a vehicle electronic control system, various control processes necessary for controlling a vehicle drive system such as an internal combustion engine and a transmission have been performed in a distributed manner by a plurality of electronic control devices such as microprocessors. In addition, signals and data are often shared by each electronic control unit, such as the engine speed required for powertrain control and wheel speeds for vehicle control. It has become.
[0003]
FIG. 5 is a block diagram schematically showing an example of a conventional electronically controlled network system in powertrain control.
[0004]
In the figure, reference numeral 1 denotes a network system. The network system 1 is a fuel injection / ignition control device 2 for driving and controlling an injector, an igniter, and an idle speed control step motor, and a transmission control for controlling a solenoid for shifting. It includes a device 3 and a throttle control device 4 that drives and controls a motor that opens and closes a sub-throttle valve provided in the intake system of the engine.
[0005]
These control devices 2 to 4 are connected to each other via a communication line 5 to form a so-called LAN, and data for powertrain control between the control devices 2 to 4 via the communication line 5. By transmitting / receiving these, the vehicle drive system which consists of an engine, an automatic transmission, etc. is controlled.
[0006]
That is, each of the control devices 2 to 4 is configured by a microcomputer having a communication function including a CPU, a ROM, a RAM, and the like, and performs various control processes for powertrain control according to a preset control program. In addition, by performing data communication with another control device via the communication line 5, the vehicle drive system can be controlled in accordance with the engine, the driving state of the vehicle, and the like.
[0007]
The fuel injection / ignition control device 2 is connected to an injector for adjusting the fuel injection amount of the engine, an igniter connected to a spark plug, and an idle speed control step motor, and an air flow for detecting an air flow rate. Meter, main throttle position sensor that detects the opening of the main throttle valve that opens and closes in conjunction with the accelerator pedal, starter switch that detects the starter drive state, idle switch that detects the engine idle state, and engine speed A crank angle sensor for detection, a water temperature sensor for determining the cooling state of the engine, a battery, and the like are connected.
[0008]
The transmission control device 3 is connected with solenoids for shifting, and sensors necessary for calculating a basic control amount of the shift control, for example, a rotation speed sensor for detecting the rotation speed of the torque converter. And a shift switch for detecting the position of the shift lever operated by the driver.
[0009]
The throttle control device 4 is connected to a motor that opens and closes a sub-throttle valve provided separately from the main throttle valve that is opened and closed in conjunction with the accelerator pedal in the intake system of the engine. A sub-throttle position sensor that detects the opening of the throttle valve is connected.
[0010]
Each of the control devices 2 to 4 includes a signal input process for capturing a detection signal from each connected sensor, a data reception process for receiving transmission data from another control device, and a signal input process and a data reception process. A drive control process for driving and controlling each control object based on the obtained data and a data transmission process for transmitting the data obtained by these processes to another control device via the communication line 5 are executed. Yes.
[0011]
Thus, in the network system 1, a communication function is provided in each of the control devices 2 to 4, and a LAN is formed by connecting to the communication line 5, for vehicle control obtained by each of the control devices 2 to 4. By transmitting / receiving data between the control devices 2 to 4, the data is shared between the control devices 2 to 4.
[0012]
For this reason, the control device that detects the data when continuously changing data (throttle opening data, water temperature data, air flow rate data, negative pressure data, etc.) is required on the receiving control device side. These data must be transmitted periodically from the side to the receiving control device side.
[0013]
For example, when the transmission control device 3 controls the solenoids for speed change, the throttle opening data and the water temperature data detected by the fuel injection / ignition control device 2 are required by the transmission control device 3. According to the timer clock of the fuel injection / ignition control device 2, throttle opening data, water temperature data, etc. are periodically transmitted from the fuel injection / ignition control device 2 to the transmission control device 3 (for example, throttle In the case of opening degree data, it is transmitted in a cycle of 2 ms, and in the case of water temperature data, it is transmitted in a cycle of 64 ms).
[0014]
In addition, data that does not change continuously (for example, shift lever position data detected by a shift switch), that is, data that does not need to be transmitted periodically (data that is transmitted aperiodically) is also used as a communication line. 5 to communicate. Such data is transmitted aperiodically with changes in the vehicle state or the like.
[0015]
As described above, when a LAN is formed and data communication is performed on the network, for example, at substantially the same time as when the water temperature data is transmitted from the fuel injection / ignition control device 2 (strictly speaking, the fuel injection -Some data may be transmitted from the transmission control device 3 before the data transmitted by the ignition control device 2 arrives at the transmission control device 3). Then, the certain data and the water temperature data collide somewhere between the fuel injection / ignition control device 2 and the transmission control device 3.
[0016]
[Problems to be solved by the invention]
When a data collision occurs on the network, each data is destroyed, and it is necessary to retransmit these data from each control device. At this time, in order to prevent the collision from occurring repeatedly, the data is retransmitted after a predetermined time elapses when the collision occurs.
[0017]
Therefore, when the collision occurs, there is a case where a large delay occurs in data transmission, and there is a possibility that appropriate control of the device cannot be performed in each control device.
[0018]
JP-A-9-247192 discloses a communication system that detects the number of collisions per unit time on a network and adjusts the data transmission timing when the number of collisions exceeds a predetermined number. Such a method has the following problems.
[0019]
(1) When there is data periodically transmitted from each of the two control devices, if the transmission timing of these data overlaps (that is, they are transmitted at approximately the same time), these data collide each time. (Crashes occur chronically). In such a case, it is desirable to adjust the transmission timing in order to reduce the number of collisions.
[0020]
However, in the above situation, although the collision occurs chronically, the number of collisions per unit time is maintained at a certain number of times. Therefore, in the communication method, the situation is a target for adjusting the transmission timing. It will not be. Therefore, since the transmission timing is not adjusted, the number of collisions of these data cannot be reduced.
[0021]
{Circle around (2)} Due to the influence of non-periodically transmitted data or the like, the collision may happen to the data that should not cause the collision during normal times. In such a case, the number of collisions often increases instantaneously in many cases, so the number of collisions per unit time also naturally increases. In the above communication method, the above situation adjusts the transmission timing. The transmission timing is adjusted.
[0022]
However, even if the transmission timing is adjusted based on the collision that occurred only temporarily, that is, the collision that happened due to the influence of non-periodically transmitted data, etc., the number of subsequent data collisions was reduced. It is clear that there is no basis for this. Conversely, there is a possibility of adversely affecting data that could be transmitted smoothly (without collision).
[0023]
The present invention has been made in view of the above problems, and reduces the number of collisions of periodically transmitted data in a network system in which a plurality of control devices are connected and data is communicated between these control devices. Therefore, an object of the present invention is to provide a network system capable of effectively communicating data.
[0024]
[Means for solving the problems and effects thereof]
  In order to achieve the above object, a network system (1) according to the present invention is connected to a plurality of control devices, and data is communicated between these control devices.IsIn this network system, it transmits to each of these control devices from its own device.YouFirst judging means for judging whether or not a collision has occurred in the network, and second judging means for judging whether or not the collision has occurred chronically based on the judgment result And a first adjusting means for adjusting a transmission timing of data periodically transmitted from the own device when it is determined that the collision occurs chronically.The first calculation means for obtaining a transmission delay time by subtracting the transmission time normally required for the data from the difference between the transmission completion time and the transmission start time of the data in which the collision has occurred. And a second calculating means for obtaining an adjustment amount of the transmission timing based on the transmission delay time, wherein the first adjusting means adjusts the transmission timing according to the adjustment amount.It is characterized by having.
[0025]
  According to the network system (1), if a collision on the network occurs chronically, it is considered that the transmission timings of data periodically transmitted between a plurality of control devices overlap. In this case, since the transmission timing is adjusted, the number of collisions of data transmitted periodically can be reduced, and data can be communicated effectively.
  Furthermore, according to the network system (1), the transmission timing is adjusted according to the adjustment amount obtained based on the actually generated transmission delay time, that is, based on past collision experiences. Thus, the number of collisions of data transmitted more appropriately and periodically can be reduced.
[0026]
  Further, the network system (2) according to the present invention is a network system in which a plurality of control devices are connected and data is communicated between these control devices. First determination means for determining whether or not a collision has occurred, and third determination means for determining whether or not the collision has occurred continuously over a predetermined number of times based on the determination result And a second adjusting means for adjusting a transmission timing of data periodically transmitted from the own device when it is determined that the collision continuously occurs exceeding the predetermined number of times,A first calculating means for obtaining a transmission delay time by subtracting a transmission time normally required for the data from a difference between a transmission completion time and a transmission start time of the data in which the collision has occurred; And a second calculation means for obtaining an adjustment amount of the transmission timing based on the transmission delay time, and the second adjustment means adjusts the transmission timing according to the adjustment amount.It is characterized by having.
[0027]
According to the network system (2), when the collisions on the network occur continuously exceeding the predetermined number of times, the transmission timings of the data periodically transmitted between the plurality of control devices overlap. In such a case, since the transmission timing is adjusted, the number of collisions of periodically transmitted data can be reduced, and data communication can be performed effectively.
[0029]
  further,The above network system (2), The transmission timing is adjusted according to the adjustment amount obtained based on the actually generated transmission delay time, that is, based on the experience of past collisions. The number of collisions of transmitted data can be reduced.
[0030]
  The network system according to the present invention (3) The above network system (1) or (2), The second calculation means adjusts the newly determined transmission delay time when the newly determined transmission delay time is significantly different from the previously determined transmission delay time. It is not included in the quantity calculation element.
[0031]
  The above network system (3According to the above, if the difference between the newly obtained transmission delay time and the previously obtained transmission delay time is large, the newly obtained transmission delay time is determined as the non-periodically transmitted data, etc. Considering that the transmission delay time is temporarily increased due to the collision caused by the influence, such a transmission delay time is not added to the calculation element of the adjustment amount, thereby calculating the more appropriate adjustment amount. can do.
[0032]
  The network system according to the present invention (4) The above network system (Any of 1) to (3)In each of these control devices, storage means for storing and saving the adjustment amount even after the power of the device is turned off, and when the device power is turned on, the start timing of the timer clock of the device is set to the adjustment amount. And a third adjusting means for adjusting accordingly.
[0033]
  The above network system (4), Since the adjustment amount is stored and saved, the transmission timing can be adjusted in the same manner as before power-off, and the number of collisions of data transmitted periodically can be reduced. Moreover, an appropriate periodic schedule can be learned by repeating the power-on several times. Further, since the start timing of the timer clock itself is adjusted, control processing synchronized with transmission can also be adjusted.
[0034]
  The network system according to the present invention (5) Is the network system (1) to (4), Each of the control devices includes a fourth adjustment unit that adjusts the timing of the control process accompanying the transmission of the transmission data in addition to the adjustment of the transmission timing.
[0035]
  The above network system (5), It is possible to eliminate the difference between the data transmission timing and the timing of the control processing accompanying the transmission.
[0036]
  The network system according to the present invention (6) The above network system (5), The fourth adjusting means does not perform the adjustment exceeding a predetermined amount at a time.
[0037]
  The above network system (6), If the timing of the control process is suddenly adjusted in the same manner as the data transmission timing is adjusted, there is a possibility that the control process may malfunction. By making the timing adjustment gradually, it is possible to prevent the occurrence of the above problems.
[0038]
DETAILED DESCRIPTION OF THE INVENTION
Embodiments of a network system according to the present invention will be described below with reference to the drawings. Note that the schematic diagram in the network system according to the embodiment (1) of the present invention is substantially the same as the configuration shown in FIG. I will do it.
[0039]
As described in the section of the prior art, in the network system 1, each control device 2 to 4 is provided with a communication function and connected to the communication line 5 to form a LAN, which is obtained by each control device 2 to 4. By transmitting / receiving data for vehicle control between the control devices 2 to 4, the data is shared between the control devices 2 to 4. In the network system according to the embodiment (1), when transmitting such data, the transmission timing is adjusted in order to reduce the collision on the network.
[0040]
Hereinafter, a series of processes relating to data periodically detected and transmitted by any one of the control devices 2 to 4 will be described based on the flowcharts shown in FIGS. 1, 2, and 3. explain.
[0041]
First, FIG. 1 shows the operation of the microcomputer provided in any one of the control devices 2 to 4 of the network system according to the embodiment (1) when a transmission interrupt of periodically transmitted data occurs. This will be described based on the flowchart shown.
[0042]
If there is a transmission interrupt for data that is transmitted periodically, first the transmission timing adjustment amount Tadj Is determined to be 0 (S1). Adjustment amount Tadj The method of calculating will be described in detail later (see FIG. 2).
[0043]
Adjustment amount Tadj If it is determined that is not 0, the adjustment amount Tdly Adjustment amount Tdly Adjustment amount Tadj Is updated to a value obtained by adding (S2), and the updated adjustment amount T is updated.dly Is stored in a RAM that can be stored and stored even after the power of the control device is turned off (S3).adj Are set to 0 (S4), and the process proceeds to Step 5.
On the other hand, the adjustment amount Tadj If it is determined that is 0, Steps 2 to 4 are skipped and the process proceeds to Step 5.
[0044]
In step 5, the transmission timing based on the periodic schedule is adjusted with the adjustment amount T.dly Then, in step 6, transmission processing is performed such that transmission data is transmitted by adding a transmission destination address and a transmission source address.s Capture.
[0045]
Next, the operation of the microcomputer provided in any one of the control devices 2 to 4 when a transmission completion interrupt of periodically transmitted data occurs will be described based on the flowchart shown in FIG.
[0046]
If there is an interrupt of a signal notifying the completion of transmission of periodically transmitted data, first, the transmission completion time te (S11), transmission completion time te And transmission start time ts The value obtained by subtracting the transmission time α (≈data length) normally required from the data is defined as a transmission delay time Δt (S12), and it is determined whether or not the transmission delay time Δt is substantially zero. (S13). This determination determines whether there is a collision on the network, and corresponds to the operation process of the first determination means.
[0047]
If it is not 0, that is, if it is determined that there is a collision, 1 is added to the counter C (S14), and then the transmission delay time Δt obtained last time from the transmission delay time Δt obtained this time.s It is determined whether or not the value obtained by subtracting is over a predetermined value β (S15). The determination here is to determine whether or not the collision has occurred only temporarily, that is, whether or not the collision has occurred due to the influence of data transmitted non-periodically.
[0048]
If it is determined that the collision exceeds the predetermined value β, that is, the collision has occurred temporarily, step 16 is skipped and the process proceeds to step 17. On the other hand, if it is determined that the predetermined value β is not exceeded, the adjustment amount ΔT is updated as an average value of the adjustment amount ΔT obtained in the past and the transmission delay time Δt obtained this time (S16), and the process proceeds to step 17. Move.
In step 17, the transmission delay time obtained last time (Δts ← Δt), and then move to step 21.
[0049]
On the other hand, if it is almost 0 (including 0), that is, it is determined that there is no collision, 1 is subtracted from the counter C (S18), and then it is determined whether the counter C is less than 0 (S19). If it is determined that it is less than 0, the counter C is set to 0 (S20), and the process proceeds to step 21. On the other hand, if it is determined that it is equal to or greater than 0, step 20 is skipped and step 21 is entered.
[0050]
In step 21, the counter C is set to a predetermined number γ.1 It is determined whether or not it exceeds. The determination here determines whether or not a collision on the network has occurred chronically, and corresponds to the operation process of the second determination means.
[0051]
Counter C is a predetermined number of times γ1 Is exceeded, that is, if the collision has occurred chronically, the adjustment amount ΔT is changed to the adjustment amount T.adj (S22). On the other hand, the counter C is a predetermined number of times γ1 If it is determined that it does not exceed, step 22 is skipped and the operation is terminated.
[0052]
Next, the operation of the microcomputer equipped in one of the control devices 2 to 4 when the power of each control device 2 to 4 is turned on will be described based on the flowchart shown in FIG.
[0053]
When the power is turned on, the adjustment amount T stored in RAM firstdly (See step 3 in FIG. 1) and the adjustment amount T ′dly (S41), adjustment amount T 'dly (← T ’dly + Tdly ) Is updated (S42), and the start timing of the timer clock is adjusted by the adjustment amount T '.dly (S43) and start the timer clock (S44). Then, the adjustment amount T ′dly Is stored in a RAM that can be stored and saved even after the power is turned off (S45).dly Is set to 0 (S46).
[0054]
According to the network system according to the above embodiment (1), the transmission timings of data periodically transmitted between a plurality of control devices overlap if a network collision occurs chronically. In such a case, since the transmission timing is adjusted, the number of collisions of data transmitted periodically can be reduced, and data communication can be performed effectively.
[0055]
In addition, since the transmission timing is adjusted according to the adjustment amount ΔT obtained based on the transmission delay time Δt, that is, based on past collision experiences, the number of collisions of data transmitted more appropriately and periodically Can be reduced.
[0056]
Also, the newly determined transmission delay time Δt and the previously determined transmission delay time Δts If the difference between the transmission delay time and the transmission delay time is large, it is considered that the transmission delay time Δt is temporarily increased due to a collision caused by the influence of data transmitted aperiodically, and such a transmission delay time. By not adding the time Δt to the calculation element of the adjustment amount ΔT, a more appropriate adjustment amount ΔT can be calculated.
[0057]
Also, the adjustment amount Tdly Is stored and saved, the transmission timing is adjusted in the same manner as before power-off, and the number of collisions of data transmitted periodically can be reduced. Moreover, an appropriate periodic schedule can be learned by repeating the power-on several times. Further, since the start timing of the timer clock itself is adjusted, control processing synchronized with transmission can also be adjusted.
[0058]
Next, the network system according to Embodiment (2) will be described. The network system according to the embodiment (2) is different from the network system according to the above embodiment (1) only in the criterion for adjusting the transmission timing, and only that part will be described below.
[0059]
The operation of the microcomputer provided in the control device when a transmission completion interrupt for periodically transmitted data occurs will be described based on the flowchart shown in FIG.
[0060]
If there is an interrupt of a signal notifying the completion of transmission of periodically transmitted data, first, the transmission completion time te (S51), transmission completion time te And transmission start time ts A value obtained by subtracting the transmission time α (≈data length) that is normally required from the data is defined as a transmission delay time Δt (S52), and it is determined whether or not the transmission delay time Δt is substantially zero. (S53). This determination determines whether there is a collision on the network, and corresponds to the operation process of the first determination means.
[0061]
If it is not 0, that is, it is determined that there is a collision, 1 is added to the counter C (S54), and the transmission delay time Δt obtained last time from the transmission delay time Δt obtained next time.s It is determined whether or not the value obtained by subtracting is over a predetermined value β (S55). The determination here is to determine whether or not the collision has occurred only temporarily, that is, whether or not the collision has occurred due to the influence of data transmitted non-periodically.
[0062]
If it is determined that the collision exceeds the predetermined value β, that is, the collision has occurred temporarily, step 56 is skipped and the process proceeds to step 57. On the other hand, if it is determined that the predetermined value β is not exceeded, the adjustment amount ΔT is updated as an average value of the adjustment amount ΔT obtained in the past and the transmission delay time Δt obtained this time (S56), and the process proceeds to step 57.
In step 57, the previously obtained transmission delay time is updated (Δts ← Δt), and go to step 59.
[0063]
On the other hand, if it is almost 0 (including 0), that is, it is determined that there is no collision, the counter C is set to 0 (S58), and the process proceeds to step 59.
[0064]
In step 59, the counter C is incremented by a predetermined number γ.2 It is determined whether or not it exceeds. The determination here determines whether or not network collisions occur continuously, and corresponds to the operation process of the third determination means.
[0065]
Counter C is a predetermined number of times γ2 Is exceeded, that is, it is determined that the collision occurs continuously, the adjustment amount ΔT is changed to the adjustment amount T.adj (S60). On the other hand, the counter C is a predetermined number of times γ2 If it is determined that it does not exceed, step 60 is skipped and the operation is terminated.
[0066]
According to the network system according to the above embodiment (2), the network collision occurs a predetermined number of times γ.2 If it occurs continuously over the range, it is considered that the transmission timing of data periodically transmitted between a plurality of control devices overlaps, and in such a case, the transmission timing is adjusted. The number of collisions of periodically transmitted data can be reduced, and data can be communicated effectively.
[0067]
Further, in the network system according to the embodiment (1) or (2), the control device is equipped with an adjustment unit that adjusts the timing of control processing accompanying transmission of transmission data in addition to the adjustment of the transmission timing. Accordingly, it is possible to eliminate a difference between the data transmission timing and the timing of the control processing accompanying the transmission. Further, by gradually adjusting the timing of the control process, it is possible to prevent a problem from occurring in the control process.
[Brief description of the drawings]
FIG. 1 is a flowchart showing an operation of a microcomputer provided in a control device of a network system according to an embodiment (1) of the present invention when a transmission interrupt of periodically transmitted data occurs. .
FIG. 2 is a flowchart showing an operation of a microcomputer provided in the control device of the network system according to the embodiment (1) when a transmission completion interrupt of periodically transmitted data occurs.
FIG. 3 is a flowchart showing the operation of the microcomputer provided in the control device of the network system according to the embodiment (1) when the control device is powered on.
FIG. 4 is a flowchart showing an operation of a microcomputer provided in the control device of the network system according to the embodiment (2) when a transmission completion interrupt of periodically transmitted data occurs.
FIG. 5 is a block diagram schematically showing an example of a conventional electronically controlled network system in powertrain control.
[Explanation of symbols]
1 Electronic control system
2 Fuel injection / ignition control device
3 Transmission control device
4 Throttle control device
5 communication lines

Claims (6)

複数の制御装置が接続され、これら制御装置間でデータが通信されるネットワークシステムにおいて、
これら各制御装置に、自装置から送信するデータにネットワーク上の衝突が発生したか否かを判断する第1の判断手段と、
その判断結果に基づいて、前記衝突が慢性的に発生しているか否かを判断する第2の判断手段と、
前記衝突が慢性的に発生していると判断した時、前記自装置から周期的に送信するデータの送信タイミングを調整する第1の調整手段と
これら各制御装置に、前記衝突が発生したデータの送信完了時刻と送信開始時刻との差から、前記データに通常必要となる送信時間を減算することにより送信遅延時間を求める第1の算出手段と、
前記送信遅延時間に基づいて、前記送信タイミングの調整量を求める第2の算出手段とを備え、
前記第1の調整手段が前記調整量に応じて前記送信タイミングを調整するようになっていることを特徴とするネットワークシステム。
In a network system in which a plurality of control devices are connected and data is communicated between these control devices,
A first judging means for judging whether or not a collision on the network has occurred in the data transmitted from the own device to each of the control devices;
Second determination means for determining whether or not the collision occurs chronically based on the determination result;
A first adjusting means for adjusting a transmission timing of data periodically transmitted from the own device when it is determined that the collision occurs chronically ;
A first calculating means for obtaining a transmission delay time by subtracting a transmission time normally required for the data from a difference between a transmission completion time and a transmission start time of the data in which the collision has occurred; ,
Second calculating means for obtaining an adjustment amount of the transmission timing based on the transmission delay time;
The network system, wherein the first adjusting means adjusts the transmission timing according to the adjustment amount .
複数の制御装置が接続され、これら制御装置間でデータが通信されるネットワークシステムにおいて、
これら各制御装置に、自装置から送信するデータにネットワーク上の衝突が発生したか否かを判断する第1の判断手段と、
その判断結果に基づいて、前記衝突が所定回数を超えて連続的に発生しているか否かを判断する第3の判断手段と、
前記衝突が前記所定回数を超えて連続的に発生していると判断した時、前記自装置から周期的に送信するデータの送信タイミングを調整する第2の調整手段と、
これら各制御装置に、前記衝突が発生したデータの送信完了時刻と送信開始時刻との差から、前記データに通常必要となる送信時間を減算することにより送信遅延時間を求める第1の算出手段と、
前記送信遅延時間に基づいて、前記送信タイミングの調整量を求める第2の算出手段とを備え、
前記第2の調整手段が前記調整量に応じて前記送信タイミングを調整するようになっていることを特徴とするネットワークシステム。
In a network system in which a plurality of control devices are connected and data is communicated between these control devices,
A first judging means for judging whether or not a collision on the network has occurred in the data transmitted from the own device to each of the control devices;
Based on the determination result, a third determination means for determining whether or not the collision has occurred continuously over a predetermined number of times;
A second adjusting means for adjusting a transmission timing of data periodically transmitted from the own device when it is determined that the collision has occurred continuously beyond the predetermined number of times;
A first calculating means for obtaining a transmission delay time by subtracting a transmission time normally required for the data from a difference between a transmission completion time and a transmission start time of the data in which the collision has occurred; ,
Second calculating means for obtaining an adjustment amount of the transmission timing based on the transmission delay time;
The network system, wherein the second adjusting means adjusts the transmission timing according to the adjustment amount .
新たに求められた送信遅延時間が、過去に求められた送信遅延時間と比較して大きな差がある時、前記第2の算出手段が前記新たに求められた送信遅延時間を前記調整量の算出要素に含めないようになっていることを特徴とする請求項1又は請求項2記載のネットワークシステム。When the newly determined transmission delay time is significantly different from the previously determined transmission delay time, the second calculation means calculates the newly determined transmission delay time as the adjustment amount. 3. The network system according to claim 1 , wherein the network system is not included in an element. これら各制御装置に、該装置のパワーOFF後も前記調整量を記憶保存しておくための記憶手段と、
前記装置のパワーON時に、前記装置のタイマクロックの起動タイミングを前記調整量に応じて調整する第3の調整手段とを備えていることを特徴とする請求項1〜3のいずれかの項に記載のネットワークシステム。
In each of these control devices, storage means for storing and storing the adjustment amount even after the power of the device is turned off,
The apparatus according to any one of claims 1 to 3, further comprising third adjusting means for adjusting a start timing of the timer clock of the device according to the adjustment amount when the device is powered on. The network system described.
これら各制御装置に、前記送信タイミングの調整に併せて、送信データの送信に伴う制御処理のタイミングを調整する第4の調整手段を備えていることを特徴とする請求項1〜のいずれかの項に記載のネットワークシステム。The respective control device, wherein in addition to the adjustment of the transmission timing, any one of claims 1-4, characterized in that it comprises a fourth adjusting means for adjusting the timing of the control processing accompanying the transmission of the transmission data The network system described in the section. 前記第4の調整手段が、一度に所定量を超えて前記調整を行なわないようになっていることを特徴とする請求項記載のネットワークシステム。6. The network system according to claim 5, wherein the fourth adjustment means does not perform the adjustment exceeding a predetermined amount at a time.
JP20729598A 1998-07-23 1998-07-23 Network system Expired - Fee Related JP4028096B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP20729598A JP4028096B2 (en) 1998-07-23 1998-07-23 Network system

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP20729598A JP4028096B2 (en) 1998-07-23 1998-07-23 Network system

Publications (2)

Publication Number Publication Date
JP2000041054A JP2000041054A (en) 2000-02-08
JP4028096B2 true JP4028096B2 (en) 2007-12-26

Family

ID=16537428

Family Applications (1)

Application Number Title Priority Date Filing Date
JP20729598A Expired - Fee Related JP4028096B2 (en) 1998-07-23 1998-07-23 Network system

Country Status (1)

Country Link
JP (1) JP4028096B2 (en)

Families Citing this family (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP4781113B2 (en) * 2006-01-18 2011-09-28 Udトラックス株式会社 Automatic inspection device for vehicle electronic control system
JP4732926B2 (en) * 2006-03-10 2011-07-27 株式会社オートネットワーク技術研究所 Electronic control unit
JP2008294662A (en) * 2007-05-23 2008-12-04 Toyota Motor Corp Communication apparatus and communication system
JP5712783B2 (en) * 2011-05-13 2015-05-07 トヨタ自動車株式会社 Electronic control unit, in-vehicle network, data transmission method
JP5892889B2 (en) * 2012-07-27 2016-03-23 ダイハツ工業株式会社 Communication control device
JP5892890B2 (en) * 2012-07-27 2016-03-23 ダイハツ工業株式会社 Communication control device

Also Published As

Publication number Publication date
JP2000041054A (en) 2000-02-08

Similar Documents

Publication Publication Date Title
CN100447391C (en) Engine torque control device
US7970524B2 (en) Safety concept in electronic throttle control of internal combustion engine controllers
JP4028096B2 (en) Network system
EP0691466B1 (en) Device for coping with sensor abnormal state in electronic control system for internal combustion engine
US7096112B2 (en) Control apparatus for vehicle
JP4682122B2 (en) Control device for automatic transmission
JP4255535B2 (en) Electronic control system
JP2003155954A (en) Electronic control device for vehicle
JPH0658187A (en) Fuel feed stop control device for internal combustion engine
JPS63254256A (en) Speed change shock lightening device for vehicle equipped with automatic transmission
JPH09310627A (en) Torque reduction control device for automatic transmission
JP2003343324A (en) Method and apparatus for controlling diesel engine
JP2006242111A (en) Drive force control device for vehicle
KR100448820B1 (en) a method for electronic throttle system controling of engine in vehicle
KR100494949B1 (en) Method for cranking of hybrid vehicle using hybrid motor
JPH094485A (en) Driving force control device for vehicle
JPS6411818B2 (en)
JP2003138973A (en) Electronic control device for vehicle
JP3453850B2 (en) Vehicle electronic control unit
JP3331723B2 (en) Step motor control device
JP2535795B2 (en) Maximum vehicle speed controller
JP2518328B2 (en) Fail-safe device for internal combustion engine for vehicles
JP2987269B2 (en) Vehicle control device
JPH0727001A (en) Power plant controller for vehicle
JP2006183601A (en) Engine stall prevention device

Legal Events

Date Code Title Description
A621 Written request for application examination

Free format text: JAPANESE INTERMEDIATE CODE: A621

Effective date: 20050524

A977 Report on retrieval

Free format text: JAPANESE INTERMEDIATE CODE: A971007

Effective date: 20070622

A131 Notification of reasons for refusal

Free format text: JAPANESE INTERMEDIATE CODE: A131

Effective date: 20070703

A521 Written amendment

Free format text: JAPANESE INTERMEDIATE CODE: A523

Effective date: 20070823

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

A61 First payment of annual fees (during grant procedure)

Free format text: JAPANESE INTERMEDIATE CODE: A61

Effective date: 20071011

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

Free format text: PAYMENT UNTIL: 20101019

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

Year of fee payment: 4

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

Free format text: PAYMENT UNTIL: 20121019

Year of fee payment: 5

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

Free format text: PAYMENT UNTIL: 20121019

Year of fee payment: 5

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

Free format text: PAYMENT UNTIL: 20131019

Year of fee payment: 6

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

Free format text: PAYMENT UNTIL: 20131019

Year of fee payment: 6

LAPS Cancellation because of no payment of annual fees