JP2004066974A - Vehicle control device and its communication method - Google Patents
Vehicle control device and its communication method Download PDFInfo
- Publication number
- JP2004066974A JP2004066974A JP2002229449A JP2002229449A JP2004066974A JP 2004066974 A JP2004066974 A JP 2004066974A JP 2002229449 A JP2002229449 A JP 2002229449A JP 2002229449 A JP2002229449 A JP 2002229449A JP 2004066974 A JP2004066974 A JP 2004066974A
- Authority
- JP
- Japan
- Prior art keywords
- control unit
- ecu
- sub
- communication line
- response
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Granted
Links
- 230000006854 communication Effects 0.000 title claims abstract description 122
- 238000004891 communication Methods 0.000 title claims abstract description 118
- 238000000034 method Methods 0.000 title claims abstract description 31
- 230000004044 response Effects 0.000 claims abstract description 77
- 230000005540 biological transmission Effects 0.000 claims description 14
- 238000001514 detection method Methods 0.000 claims 2
- 230000006641 stabilisation Effects 0.000 abstract description 16
- 238000011105 stabilization Methods 0.000 abstract description 16
- 230000006870 function Effects 0.000 description 11
- 230000008569 process Effects 0.000 description 8
- 238000012545 processing Methods 0.000 description 8
- 230000005856 abnormality Effects 0.000 description 7
- 230000008859 change Effects 0.000 description 7
- 238000004519 manufacturing process Methods 0.000 description 5
- 238000010586 diagram Methods 0.000 description 4
- 238000012423 maintenance Methods 0.000 description 3
- 230000007246 mechanism Effects 0.000 description 2
- 230000002159 abnormal effect Effects 0.000 description 1
- 230000001133 acceleration Effects 0.000 description 1
- 238000013459 approach Methods 0.000 description 1
- 230000009118 appropriate response Effects 0.000 description 1
- 230000004397 blinking Effects 0.000 description 1
- 230000003247 decreasing effect Effects 0.000 description 1
- 238000011161 development Methods 0.000 description 1
- 230000000694 effects Effects 0.000 description 1
- 238000005516 engineering process Methods 0.000 description 1
- 239000000446 fuel Substances 0.000 description 1
- 230000008439 repair process Effects 0.000 description 1
Images
Landscapes
- Small-Scale Networks (AREA)
- Combined Controls Of Internal Combustion Engines (AREA)
Abstract
Description
【0001】
【発明の属する技術分野】
この発明は、車両に搭載されて車両各部を制御する複数の制御ユニットからなる車両制御装置および各制御ユニット間の通信方法に関するものである。
【0002】
【従来の技術】
近年、自動車等の車両においてはその制御の電子化が進んでおり、これに伴って、多くの電子装置が車両に搭載されるようになっている。このような電子装置は、車種の多様性や組立・保守作業の利便性を確保するために、車両各部を個別に制御する複数の制御ユニットからなっている。そして、これらの制御ユニットが通信線により接続されて相互に通信を行い情報を交換することで、車両全体が統合的に制御されるようになっている。
【0003】
これら複数の制御ユニットのうち一部は車両を作動させるために必須的に装備されるものであるが、これ以外に、車両の仕様に応じて、またはユーザの好みに応じて機能を付加すべくオプション装備として搭載されるものがある。このように、様々な制御ユニットの組み合わせにより構成されている車両を統合的に制御するためには、その組み合わせによって各ユニットの制御動作を異ならせることが必要な場合が生じる。
【0004】
このような必要に対応すべく、従来の車両制御装置においては、工場出荷段階でその車両に搭載された装備の内容をいずれかの制御ユニットのメモリに書き込んでおき、各制御ユニットはそのメモリから読み出されたデータに応じて制御動作モードを切り換えることで、当該車両における制御ユニットの組み合わせに応じた車両制御を可能としている。例えば、特開平8−296492号公報に記載されたように、エンジン制御装置に仕様情報を予め記憶させておき、変速機の制御装置は通信ケーブルを介して仕様情報を受信するとともに、その仕様情報に応じて制御内容を選択するように構成された装置がある。
【0005】
また他の従来技術では、各制御ユニット毎に、動作モードを異ならせた複数種の製品を予め用意しておき、装備の内容に応じてそれらを適宜選択して組み合わせることで多様な装備に対応できるようにしている。
【0006】
【発明が解決しようとする課題】
しかしながら、上記した従来技術では、以下のような問題があった。すなわち、工場出荷時に装備内容をメモリに書き込む方法では、製造される車両1台毎に、その車両の装備に応じたデータを書き込む作業が必要となり、そのための設備および作業工数が車両の製造コストを上昇させることとなる。また、このメモリを搭載した制御ユニットを交換する際にも、新しいユニットのメモリにそのデータを改めて書き込む必要があり、メンテナンスの手間が煩雑となる。
【0007】
また、動作モードの異なる複数種の製品を予め用意しておくには製造・管理コストがかかり、やはり車両のコスト上昇を招くこととなるだけでなく、保守・修理等の作業の際に誤ったユニットを取り付けてしまう恐れが大きくなる。
【0008】
さらに、上記したいずれの方法においても、工場出荷後の仕様変更、すなわち新たな制御ユニットの追加や既存のユニットの廃止等に柔軟に対応することが難しい。
【0009】
そこで、本発明は、複数の制御ユニットの組み合わせに柔軟に対応することのできる車両制御装置およびその通信方法を提供することを目的とする。
【0010】
【課題を解決するための手段】
この発明にかかる車両制御装置は、メイン制御ユニットと、前記メイン制御ユニットと電気的に接続された通信線とを備え、車両各部を制御する複数のサブ制御ユニットを前記通信線に接続可能に構成された車両制御装置において、上記目的を達成するため、前記メイン制御ユニットは、前記複数のサブ制御ユニットとの通信結果に基づいて各サブ制御ユニットの前記通信線への接続状態を判定するとともに、前記通信線に接続されたサブ制御ユニットに対して前記通信線を介して前記接続状態を通知する一方、前記メイン制御ユニットおよび前記通信線に接続されたサブ制御ユニットのうち少なくとも1つは複数の動作モードを実行可能に構成され、前記接続状態に応じて前記複数の動作モードの一を選択して実行することを特徴としている(請求項1)。
【0011】
このような構成によれば、各車両毎に、メイン制御ユニットが各サブ制御ユニットとの通信結果に基づいてその接続状態を判定し、各制御ユニットはその判定結果に応じた動作を実行する。つまり、それぞれの制御ユニットは、その車両における各制御ユニットの組み合わせに応じた制御動作を実行することとなり、工場で事前にその組み合わせを示すデータを書き込む作業が不要である。また、各制御ユニット毎に、想定される組み合わせに応じた複数の動作モードを予め用意しておき、その組み合わせに応じてそのうちの1つの動作モードを選択し実行するようにすることで、1つの品番で複数の組み合わせに対応することができ、動作モード毎に複数品番の製品を用意しておく必要がない。そのため、製造・管理に要するコストを低く抑えることができるとともに、取り付け間違いの発生を防止することができる。
【0012】
また、各制御ユニットの組み合わせはメイン制御ユニットが判定して各サブ制御ユニットに通知するので、サブ制御ユニットはその判定を行う必要がなく、サブ制御ユニットの動作が簡単となり、さらにコストを低減することができる。
【0013】
また、この発明にかかる車両制御装置では、前記メイン制御ユニットは、前記各サブ制御ユニットの一に対する応答要求信号を前記通信線に対し出力可能となっており、前記各サブ制御ユニットは、当該サブ制御ユニットに対する前記応答要求信号に対応して所定の応答信号を前記通信線に出力するように構成されている(請求項2)。
【0014】
このような構成によれば、各サブ制御ユニットはメイン制御ユニットからの応答要求信号に応じて所定の応答信号を出力するので、複数の制御ユニット間の通信が混乱することなくスムーズに行われ、またメイン制御ユニットは各サブ制御ユニットからの応答信号の有無によってその接続状態を確実に判定することができる。
【0015】
また、この発明にかかる車両制御装置では、前記メイン制御ユニットは、前記各サブ制御ユニットの一に対して前記通信線を介して定期的に前記応答要求信号を送信するとともに、その送信毎に当該サブ制御ユニットからの前記応答信号の有無を検知し、その結果に基づき当該サブ制御ユニットの前記通信線への接続状態を判定するようにしてもよい(請求項3)。
【0016】
このような構成によれば、メイン制御ユニットは随時各サブ制御ユニットの接続状態を判定しており、そのため、出荷後に各制御ユニットの組み合わせが変更されたり、動作中いずれかのユニットに異常が発生した場合であってもその変化を検知することができ、それに応じて各制御ユニットの動作モードを変更することでこれらの状況に対応することができる。
【0017】
また、前記応答信号が少なくとも1度あったときには当該サブ制御ユニットが前記通信線に接続されていると判定する一方、前記応答のない送信の回数が所定回数に達したときには、当該サブ制御ユニットが前記通信線に接続されていないと判定するようにしてもよい(請求項4)。
【0018】
このような構成によれば、制御ユニット間での通信の失敗が所定回数繰り返されたときに初めて接続されていないと判定する。そのため、当該サブ制御ユニットが接続されているにもかかわらず、通信線へのノイズ混入や結線の接触不良等の原因によってメイン制御ユニットとの通信に失敗した場合でも、それをもって直ちに当該サブ制御ユニットが接続されていないと判定されることがない。したがって、通信がいくらか不安定な状態であっても、メイン制御ユニットは各サブ制御ユニットの有無を確実に判定することができる。
【0019】
一方、サブ制御ユニットが接続されていなければ応答信号が受信されることはありえないから、1度でも応答信号が受信されればこのサブ制御ユニットは通信線に接続されていると判定することができる。
【0020】
また、この発明にかかる車両制御装置では、前記メイン制御ユニットは、前記通信線に接続されていると判定した前記サブ制御ユニットへの前記応答要求信号の送信に対する当該サブ制御ユニットからの応答のない送信回数が所定回数に達したときには、当該サブ制御ユニットが故障していると判定し、当該サブ制御ユニットの故障を他の前記各サブ制御ユニットに通知するようにしてもよい(請求項5)。
【0021】
このような構成によれば、いったん接続されていると判定されたサブ制御ユニットがその後になって何らかの異常により応答しなくなった場合、メイン制御ユニットはそのユニットが故障したと判定する。そして、各制御ユニットがその故障状況に応じた制御を行うようにすれば、故障の発生に対して適切な対応を行うことができる。
【0022】
例えば、前記メイン制御ユニットが前記サブ制御ユニットのうち少なくとも1つを故障と判定したときに、操作者に対して故障を報知する報知手段をさらに備えてもよい(請求項6)。こうすることで、操作者としての運転者は故障の発生を早期に察知することができるので、故障の発生を知らないまま運転を続けてしまうことによる危険を未然に回避することができる。また、操作者としてのサービスマンは故障の発生状況を容易に知ることができるので、車両のメンテナンス性を高めることができる。
【0023】
また、この発明にかかる通信方法は、通信線により互いに接続されて車両各部を制御する複数の制御ユニット間の通信方法であって、上記目的を達成するため、前記複数の制御ユニットのうち前記車両に標準装備される一の制御ユニットが、前記通信線に接続可能な他の制御ユニットのうち一の選択ユニットに対して所定の応答要求信号を前記通信線を介して送信し、前記通信線に接続された他の制御ユニットは、前記一の制御ユニットから送信される前記応答要求信号が当該制御ユニットに対応するものであるときには、前記通信線に所定の応答信号を出力し、前記一の制御ユニットは、前記選択ユニットからの応答信号の有無に応じて前記選択ユニットの接続状態を判定することを特徴としている(請求項7)。
【0024】
このような構成によれば、上記した車両制御装置と同様に、各車両毎に、その車両に搭載された制御ユニットの組み合わせを把握することができる。そのため、このような通信方法を採ることで、予めその組み合わせをメモリに記憶させたり、組み合わせに応じた複数品番の製品を用意しておく必要がなくなり、装置の製造・管理に要するコストを低減することができる。
【0025】
また、この発明にかかる通信方法では、前記一の制御ユニットは、前記選択ユニットに対して定期的に前記応答要求信号を送信し、前記選択ユニットからの前記応答信号が少なくとも1度あったときには前記選択ユニットが前記通信線に接続されていると判定する一方、前記選択ユニットからの応答のない送信の回数が所定回数に達したときには、前記選択ユニットが前記通信線に接続されていないと判定するようにしてもよい(請求項8)。
【0026】
このような構成によれば、上記した車両制御装置と同様に、車両における制御ユニットの組み合わせを随時判定しており、出荷後の組み合わせの変更やいずれかの制御ユニットの動作異常等を早期に検知することが可能となる。
【0027】
また、この通信方法では、前記一の制御ユニットは、前記通信線に接続されていると判定した前記選択ユニットへの前記応答要求信号の送信に対する当該選択ユニットからの応答のない送信回数が所定回数に達したときには、当該選択ユニットが故障していると判定するようにしてもよい(請求項9)。
【0028】
このような構成によれば、上記した車両制御装置と同様に、いったん接続されていると判定されたサブ制御ユニットがその後になって何らかの異常により応答しなくなった場合、そのユニットを故障と判定し、各制御ユニットは故障の発生に対して適切な対応を行うことができる。
【0029】
さらに、上記した車両制御装置と同様に、前記一の制御ユニットが他の制御ユニットのうち少なくとも1つを故障と判定したときには、所定の報知手段により操作者に対して故障の発生を報知するようにしてもよい(請求項10)。
【0030】
【発明の実施の形態】
この発明を自動車の制御装置に適用した場合の一実施形態の構成について、図1を参照して説明する。但し、図1は、この実施形態の制御装置を示すブロック図である。
【0031】
図1に示すように、この実施形態の制御装置では、自動車1に設けられたバスライン10に、複数の電子制御ユニット(以下、「ECU」という):メータECU11;ボデー統合ECU21;キーフリーECU22および安定化制御ECU23が電気的に接続可能となっている。
【0032】
これら各ユニットのうち、メータECU11は、バスライン10を介して後述する他の各ECUと通信を行って、自動車1の走行速度、エンジン回転数や燃料の残量などの各種情報を自動車1の各部から収集するとともに、それらの情報を運転席に設けられた表示部12に表示させたり、動作異常があるときには図示を省略するブザーを鳴らして運転者に報知する等の機能を有する。
【0033】
また、ボデー統合ECU21は、図示を省略する方向指示灯やルームランプ等の点滅を制御するほか、ドアロック機構を制御し施錠・開錠を行う等の機能を有するものである。
【0034】
これらメータECU11およびボデー統合ECU21は、自動車1各部を作動させて必要最少限の機能を実現するために不可欠なものであり、したがってこの自動車1に標準装備として搭載されるものである。
【0035】
これに対して、キーフリーECU22および安定化制御ECU23は、オプション装備として必要に応じ自動車1に搭載される。すなわち、キーフリーECU22は、電子カードキーを携えた運転者が運転席に近づくだけでドアロックを解除する一方、運転者が自動車1から離れると自動的にドアをロックするという機能を果たすものである。また、安定化制御ECU23は、ブレーキやエンジンの動作タイミングや出力等を統合的に制御して車両の安定性を確保し、運転者にとっての操縦性を高める目的で設けられるものであり、従来個別に制御されていたアンチロックブレーキシステム(ABS)やトラクションコントロール(TCS)等を統合したものである。
【0036】
これらの装備は、製品グレードやユーザの好みによって上記した標準装備に対して付加的に搭載されるものであり、したがって、同一車種の自動車1であっても、市場にはこれらのECU22、23が搭載されているものとそうでないものとが混在することとなる。
【0037】
これら複数のECU11等は、共通のバスライン10で互いに接続されており、このバスライン10を介して相互にデータ通信を行うことでそれぞれのECUにおいて必要な情報を交換し、その情報および自動車1の各部に設けられた車速センサ、加速度センサ、舵角センサ等の各種センサからの出力信号に基づいて各ECUが自動車1の各部を制御している。このようなECU間では、例えばLIN(Local Interconnect Network)として知られる通信プロトコルに基づきデータ通信を行うことができ、以下ではこのLINプロトコルに則って動作を説明するが、これ以外の通信プロトコルに基づくものであってもよい。
【0038】
このように構成された制御装置では、複数のECUのうちの1つ、例えばメータECU11が、他のECU21等との間で行う通信の結果に基づいて各ECUの接続状態を判定し、その接続状態に応じた制御動作を実行するとともに、その判定結果をバスライン10に出力する。すなわち、この実施形態では、メータECU11が「メイン制御ユニット」として機能する一方、その他のECU21、22および23が「サブ制御ユニット」として機能している。そして、サブ制御ユニットとしてのECU21、22および23は、他のECUの接続状態に関するデータを受信すると、予めプログラムされた複数の動作モードの中から、その接続状態に応じた動作モードを選択して実行する。
【0039】
このように、この実施形態では、メータECU11が他の各ECUとの通信結果からその接続状態を把握し、その接続状態を他の各ECUに通知することで、各ECUはその接続状態に応じた制御動作を実行することができるので、各ECUの様々な組み合わせに対応して常に最適な制御を行うことができる。そのため、従来技術のように、組み合わせを指定するデータを工場で書き込む手間が不要である。また、各組み合わせに対応する複数品番のECUを用意する必要もなく、各ユニット毎に、複数の動作モードを切り換えて実行可能な1つの品番を用意するのみでよい。
【0040】
次に、メータECU11が各ECUとの通信によりその接続状態を判定する方法について、図2ないし図4を参照して説明する。但し、図2はLINプロトコルを説明する波形図であり、図3は通信処理を示すフローチャートである。また、図4は、通信処理におけるサブ処理を示すフローチャートである。
【0041】
図2に示すように、LINプロトコルでは、1つのメッセージフレームは、ヘッダ部とレスポンス部とからなっている。すなわち、メイン制御ユニットとしてのメータECU11が、各ECUを識別する識別コードのうちデータ出力を要求するECUに割り当てられた識別コードを含むデータをヘッダ部として出力すると、その識別コードを割り当てられたECUが所定のデータをレスポンス部として出力する。
【0042】
例えば、ボデー統合ECU21を示す識別コードを含むデータをメータECU11がバスライン10に出力すると、ボデー統合ECU21がこれに応答して所定のデータをレスポンス部としてバスライン10に出力し(図2(a))、バスライン10に接続された全てのECUはこのデータを受信することができる。一方、メータECU11が自らに割り当てた識別コードを出力する場合があり、この場合には、レスポンス部としてメータECU11自身が所定のデータをバスライン10に出力する(図2(b))。このように、この実施形態では、1つのメッセージフレームのうち、各ECUの識別コードを含みメータECU11が出力するヘッダ部が本発明の「応答要求信号」に相当し、またこれに対応して各ECUから出力されるレスポンス部が「応答信号」に相当する。
【0043】
このように、この実施形態では、メータECU11がLINプロトコルにおけるマスタノードとしてバスライン10を司っており、各ECU21等がスレーブノードとして機能することで各ECU間で相互にデータの送受信が行われる。具体的には、メータECU11が予めプログラムされた図3に示す通信処理を実行して、バスライン10を介したデータ通信を制御している。
【0044】
この通信処理では、図示を省略するイグニッションスイッチが運転者によりオンにされ、メータECU11が起動すると、図3に示すように、メータECU11はバスライン10を制御し、各ECUに対して所定のデータを送信する(ステップS1)。そして、各ECUを順番に「選択ユニット」として指定し(ステップS2、S4、S6)、図4に示すサブ処理を実行して(ステップS3、S5、S7)、各ECUから出力されるデータを受信するとともに、その通信結果に基づいて、バスライン10への各ECUの接続状態を判定している。このサブ処理については後に詳述する。
【0045】
そして、再びステップS1に戻り、上記したステップS1ないしS7の処理を繰り返す。こうして各ECUからのデータが定期的にバスライン10に出力され、各ECUがこのデータを受信することで、制御のために必要な情報が各ECU間で交換され、かつその情報は随時更新されてゆく。
【0046】
次に、図4に示すサブ処理について説明する。このサブ処理では、メータECU11は、先に指定したECUに対応する識別コードを含むヘッダ部データをバスライン10に出力する(ステップS101)。このデータを受信した各ECUのうち識別コードにより指定されたECUからは所定のデータがレスポンス部として出力されるから、メータECU11はこのデータを取り込む(ステップS102)。
【0047】
ここで、上述したように、各ECUの一部、すなわちキーフリーECU22、安定化制御ECU23はオプション装備であり、それらのECU22、23については必ずしもバスライン10に接続されているわけではない。また、バスライン10に接続されていても、故障により通信が行えなくなっているECUもありうる。このように、一部のECUが接続されていない、あるいは故障している場合には、そのECUを指定した識別コードを送信しても、そのECUからの応答はないはずである。
【0048】
つまり、指定したECUからの応答の有無によって、そのECUがバスライン10に正しく接続されているか否かを判定することができる。ただし、ノイズ混入等の通信障害によってデータ送受信に失敗した可能性もあるので、ECUからの応答がなかったからといって直ちにそのECUが接続されていないと判断するのは好ましくない。そこで、この実施形態では、指定ECUに対して識別コードを送信する毎に、そのECUからの応答の有無を判断し(ステップS103)、応答がなかった場合には、各ECUそれぞれに対応して設けられたエラーカウンタを増加させてゆき(ステップS104)、そのエラーカウンタの値が所定値に達したときに(ステップS105)、当該ECUが接続されていないと判定する(ステップS107)。
【0049】
各ECUの応答の有無については、レスポンス部におけるバスライン10のレベル変化の有無により判断することができる。また、エラーカウンタとしては、例えばメータECU11に設けられたRAMやCPU内のメモリ、レジスタ等を用いることができる。エラーカウンタの値がいくつのときに当該ECUを「なし」と判定するかについては任意であるが、例えば8ビットのカウンタを用いて、その上限値、すなわち10進数で255となったときに「なし」と判定するようにすることができる。
【0050】
これに対して、エラーカウンタの値が所定値(例えば255)に達していない場合には、直ちに「なし」と判定せずにステップS101に戻り(ステップS106)、所定の繰り返し回数で上記処理を再実行し、通信を試みる。この繰り返し回数については任意であるが、ここでは一例としてその初期値を3とする。そして、上記処理を所定回数繰り返しても指定ECUからの応答がないときには、いったんサブ処理を終了し、図3の処理に戻る。
【0051】
また、上記したステップS105においてエラーカウンタが所定値に達し、指定ECU「なし」と判定したときには(ステップS108)、上記繰り返し回数を1に変更する。この実施形態では、図3に示すように、実際にバスライン10に接続されているか否かに関わらず、接続可能な全てのECU、すなわちボデー統合ECU21、キーフリーECU22、安定化制御ECU23を順番に指定して通信を行っている。というのは、こうすることで、故障等により通信が行えずいったん「なし」と判定されたECUがその後に通信可能な状態になったときにそれを認識することが可能となるからである。ただし、そのECUが接続されていない場合には繰り返し通信を試みるのは無駄となるので、この場合については、上記のように1回のみ通信を試みるべく繰り返し回数を変更している。
【0052】
そして、当該ECUが接続されていないことを各ECUに通知すべく、その判定結果をバスライン10に対して出力する(ステップS109)。各ECUは、これを受信することで当該ECUが接続されていないことを認識する。
【0053】
一方、上記したステップS103において応答あり、すなわち指定ECUからの応答信号を受信できた場合には、エラーカウンタの値をデクリメントする(ステップS110)。ただし、エラーカウンタの値がゼロの場合にはそのままとする。そして、指定ECU「あり」と判定し(ステップS111)、繰り返し回数を3回として(ステップS112)、その判定結果をバスライン10に出力する(ステップS109)。
【0054】
ここで、指定ECUからの応答があった場合にエラーカウンタをデクリメントするのは、以下の理由による。すなわち、上記したように、この実施形態では、通信が不安定になることがあるという事情を考慮して、エラーカウンタが所定値に達したときに初めて当該ECUを「なし」と判定するようにしている。つまり、エラーカウンタの値が比較的高くなっているECUでは、「なし」と判定されないまでも、その動作状態が不安定となっている可能性が高いといえる。したがって、このようなECUとの間では、いったん通信が成功したとしても、その直後に再び通信が不能となる可能性があり、そのような場合にはより短時間で「なし」と判定されるべきである。
【0055】
そこで、通信失敗の回数を累積してカウントする一方で、通信が成功すればその値を減ずるようにすれば、通信失敗の頻度が高く不安定なECUについては比較的早期に「なし」と判定するのに対し、成功回数が多く安定なECUについては「なし」と判定するまでの時間が長くなり、各ECUの有無を通信の安定度に応じて適切に判断することができるのである。
【0056】
このように、この実施形態の制御装置では、メータECU11が定期的に各ECUとの通信を行い、その通信結果に基づいて各ECUの有無を判定するとともに、その判定結果を各ECUに向け送信している。そのため、各ECUは、この制御装置の装置構成、つまり接続可能な複数のECUのうち、どれが接続され、どれが接続されていないかを把握することができる。そして、各ECUは、必要に応じて、上記した装置構成に対応した処理を適宜切り換えて実行することで、この自動車1全体としての動作を最適なものとすることができる。
【0057】
このような切り換えを要する処理としては、例えば次のようなものがある。すなわち、安定化制御ECU23を装備した自動車1では、該ECU23が機能することにより車輪ロックやスリップなどの現象が発生するのを未然に防止している。しかしながら、より安全を期するため、このような現象が起こりうる不安定な状態にあることは運転者に報知すべきである。このような報知手段としては、例えば運転席に設置されてメータECU11により制御される表示部12を使用することができる。
【0058】
したがって、メータECU11は、安定化制御ECU23が装備されている場合には、その出力データを受信して、必要に応じ所定の警告表示を表示部12に行わせる必要がある。一方、安定化制御ECU23が装備されていない場合にはこのような処理は不要である。
【0059】
また、これ以外にも、例えば、キーフリーECU22が接続されている、すなわちキーフリー機能が装備されているか否かによって、ボデー統合ECU21はドアロック機構の制御動作を変更する必要がある。
【0060】
これらの処理の切り換えは、装置構成に応じた複数の動作モードを実行するためのプログラムを予め各ECUに組み込んでおき、上記のようにして判定された各ECUの接続状態に応じてこれらの動作モードを切り換えることにより達成される。
【0061】
このようにして行われる各ECU間のデータ通信の一例を、図5を参照して説明する。但し、図5はECU間でのデータ通信を示すタイミングチャートである。
【0062】
ここでは、図1の自動車1に設けられたバスライン10に対して、標準装備のメータECU11およびボデー統合ECU21と、オプション装備のうち安定化制御ECU23とが接続されているが、オプション装備のうちのキーフリーECU22は接続されていない場合を例として考える。なお、図5の各波形は、各ECUからバスライン10に対して出力される信号を示している。
【0063】
イグニッションスイッチが運転者によりオンにされ、メータECU11が図3の通信処理の実行を開始すると、最初のメッセージフレーム、すなわちフレーム1では、ヘッダ部、レスポンス部ともメータECU11から出力される(図3のステップS1)。これにより、メータECU11からの送信データが他のECU、すなわちボデー統合ECU21、安定化制御ECU23それぞれに受信される。
【0064】
次に、フレーム2では、メータECU1がボデー統合ECU21に対応する識別コードを出力して応答を要求し(ステップS2、S3)、これに応答してボデー統合ECUが所定のデータを出力する。このデータを受信することで、メータECU11が指定ECUすなわちボデー統合ECU21を「あり」と判定する。
【0065】
これを受けて、フレーム3では、メータECU11が上記判定結果、つまりボデー統合ECU21が接続されていることを示す情報を含むデータを送信する。これを受信した各ECUは、ボデー統合ECU21がバスライン10に接続されていることを把握する。
【0066】
続くフレーム4ないし6は、メータECU11がキーフリーECU22に対して行う応答要求である(図3のステップS4、S5)。この例ではキーフリーECU22は接続されておらず、応答がないため、メータECU11は3回繰り返して応答要求を行い、その都度キーフリーECU22に対応するエラーカウンタの値が増加してゆく。
【0067】
こうして3回繰り返して応答要求しても応答がなければ、メータECU11は次に安定化制御ECU23に対する応答要求を行う(ステップS6、S7)。安定化制御ECU23はこれを受けて所定のデータを出力し(フレーム7)、続くフレーム8で、メータECU11は安定化制御ECU23が接続されていることを示す情報を含むデータをバスライン10に出力する。
【0068】
このように、図3の通信処理サイクルを繰り返すと、バスライン10に接続されているECU21、23とメータECU11との間で所定のデータ交換が継続的に行われる一方、接続されていないキーフリーECU22に対応するエラーカウンタの値は次第に増加し、やがて所定値(例えば255)に達すると、当該ECU22は「なし」と判定される。そして、メータECU11からその旨が各ECUに送信され、それ以後メータECU11からキーフリーECU22への応答要求は1サイクルあたり1回のみとなる。なお、この通信1サイクルの周期は任意であるが、通信速度や接続可能なユニット数を考慮して、例えば50〜100ms程度とすることができる。
【0069】
また、当初「あり」と判定されたECUが動作中に応答しなくなり「なし」と判定されるに至った場合には、そのECUが故障していることが考えられる。したがって、このような場合には、メータECU11は他のECUにその旨を送信するとともに、表示部12に警告表示を行ったりブザーを鳴らすことで運転者に報知するようにするのが望ましい。
【0070】
以上のように、この実施形態の制御装置では、メータECU11が各ECUとの間でデータ通信を行うとともに、その通信結果から各ECUの接続状態を判定している。そして、その判定結果をバスライン10を介して各ECUに送信し、各ECUはその結果に基づき必要に応じて動作モードを切り換え実行する。
【0071】
そのため、ECUの組み合わせによらず常に最適な制御を行うことができ、出荷前に工場でデータを書き込んだり、組み合わせに応じた複数の品番を各ユニット毎に用意する等の作業が不要であり、製造・管理コストを抑えることができる。また、各ECUの接続状態を定期的に判定するので、出荷後の仕様変更や、ユニットの故障等にも柔軟に対応することが可能である。
【0072】
しかも、メイン制御ユニットとして機能しているのが表示部12を制御するメータECU11であるから、故障等の異常が発生したときには直ちに表示部12にその旨を表示し、運転者に注意を促すことができる。
【0073】
また、通信に失敗した回数をカウントするエラーカウンタの値が所定値に達したときに初めて「なし」と判定する一方、通信に成功した場合にはこのエラーカウンタの値を減ずるようにしているので、ノイズ等に起因する誤判定が少なく、各ECUとの通信の安定度に合わせて適切にその有無を判定することができる。
【0074】
また、各ECUの有無を判定しているのはメイン制御ユニットたるメータECU11のみであり、他のECUはその判定結果に応じて動作モードを切り換えるだけでよいので、各ECUの制御ソフトウェア開発の自由度が高く、開発者の負担および開発コストも軽減されている。
【0075】
また、メータECU11は、各ECUの有無を判定するために特別な通信を行うのではなく、通常のデータ交換を行うための通信を行いながら、その通信結果に基づき各ECUの接続状態を判定しているので、各ECUの有無判定を実行することによって通信効率が低下することはない。
【0076】
なお、本発明は上記した実施形態に限定されるものではなく、その趣旨を逸脱しない限りにおいて上述したもの以外に種々の変更を行うことが可能である。例えば、上記した実施形態における各ECUの組み合わせは、本発明を説明するためにその一例を示したものにすぎず、これ以外のユニットを組み合わせるものであってもよい。例えば、上記実施形態における安定化制御ECU23は、アンチロックブレーキシステム(ABS)やトラクションコントロール(TCS)等を統合的に制御するものであるが、これらが個別のECUにより制御される車両であってもよい。
【0077】
また、上記実施形態におけるエラーカウンタの上限値および応答要求の繰り返し回数については、上記した値に限定されず、他の値であってもよい。
【0078】
また、上記した実施形態では、各ECU間の通信をLINプロトコルに基づいて行っているが、これ以外の通信プロトコルを用いてもよい。
【0079】
また、上記した実施形態では、メータECU11が、各ECUの有無を判定する度毎に判定結果をバスライン10に対し出力しているが、全てのECUの有無を判定した後で、それらを1フレームにまとめて出力するようにしてもよい。
【0080】
【発明の効果】
以上のように、請求項1、7に記載の発明によれば、各制御ユニット間の通信結果から各ユニットの通信線への接続状態を判定しているので、車両1台毎に制御ユニットの組み合わせを記憶させる作業が不要であり、また組み合わせに応じた複数種の製品を用意する必要がなく、製造・管理コストを低減することができる。
【0081】
また、請求項2に記載の発明によれば、複数の制御ユニット間の通信が混乱することなくスムーズに行われ、またメイン制御ユニットは各サブ制御ユニットからの応答信号の有無によってその接続状態を確実に判定することができる。
【0082】
また、請求項3、8に記載の発明によれば、各制御ユニットの接続状態を随時判定しているので、出荷後に各制御ユニットの組み合わせが変更されたり、動作中いずれかのユニットに異常が発生した場合であってもその変化を検知することができ、それに応じて各制御ユニットの動作モードを変更することでこれらの状況に対応することができる。
【0083】
また、請求項4に記載の発明によれば、通信線へのノイズ混入や結線の接触不良等の原因によってサブ制御ユニットとの通信に失敗した場合でも、それをもって直ちに当該サブ制御ユニットが接続されていないと判定されることがない。したがって、通信がいくらか不安定な状態であっても、メイン制御ユニットは各サブ制御ユニットの有無を確実に判定することができる。
【0084】
また、請求項5、9に記載の発明によれば、いったん接続されていると判定された制御ユニットがその後になって何らかの異常により応答しなくなった場合、そのユニットを故障と判定し、各制御ユニットは故障の発生に対して適切な対応を行うことができる。
【0085】
また、請求項6、10に記載の発明によれば、運転者が故障の発生を早期に察知することができるので、故障の発生を知らないまま運転を続けてしまうことによる危険を未然に回避することができる。
【図面の簡単な説明】
【図1】この実施形態の制御装置を示すブロック図である。
【図2】LINプロトコルを説明する波形図である。
【図3】通信処理を示すフローチャートである。
【図4】通信処理におけるサブ処理を示すフローチャートである。
【図5】ECU間でのデータ通信を示すタイミングチャートである。
【符号の説明】
1 自動車(車両)
10 バスライン(通信線)
11 メータECU(メイン制御ユニット)
12 表示部(報知手段)
21 ボデー統合ECU(サブ制御ユニット)
22 キーフリーECU(サブ制御ユニット)
23 安定化制御ECU(サブ制御ユニット)[0001]
TECHNICAL FIELD OF THE INVENTION
The present invention relates to a vehicle control device including a plurality of control units mounted on a vehicle and controlling respective parts of the vehicle, and a communication method between the control units.
[0002]
[Prior art]
2. Description of the Related Art In recent years, electronic control of vehicles such as automobiles has been advanced, and with this, many electronic devices have been mounted on vehicles. Such an electronic device is composed of a plurality of control units that individually control each part of the vehicle in order to ensure variety of vehicle types and convenience of assembly and maintenance work. These control units are connected by a communication line and communicate with each other to exchange information, so that the entire vehicle is integrally controlled.
[0003]
Some of the plurality of control units are indispensably provided for operating the vehicle. In addition, in order to add functions according to the specifications of the vehicle or according to the user's preference, Some are installed as optional equipment. As described above, in order to integrally control a vehicle configured by a combination of various control units, it may be necessary to make the control operation of each unit different depending on the combination.
[0004]
In order to cope with such a need, in the conventional vehicle control device, the contents of the equipment mounted on the vehicle are written in a memory of one of the control units at the factory shipment stage, and each control unit is stored in the memory. By switching the control operation mode according to the read data, vehicle control according to a combination of control units in the vehicle is enabled. For example, as described in JP-A-8-296492, specification information is stored in an engine control device in advance, and the transmission control device receives the specification information via a communication cable, and receives the specification information. There is a device configured to select the control content according to the control.
[0005]
In other conventional technologies, multiple types of products with different operation modes are prepared in advance for each control unit, and they are appropriately selected and combined according to the contents of the equipment to support various equipments. I can do it.
[0006]
[Problems to be solved by the invention]
However, the above-described related art has the following problems. That is, in the method of writing the contents of the equipment into the memory at the time of shipment from the factory, it is necessary to write data according to the equipment of the vehicle for each vehicle to be manufactured. Will be raised. Also, when replacing a control unit equipped with this memory, it is necessary to write the data in the memory of the new unit again, which makes the maintenance troublesome.
[0007]
In addition, preparing multiple types of products having different operation modes in advance requires manufacturing and management costs, which not only leads to an increase in vehicle cost, but also causes erroneous operations during maintenance and repair. The risk of attaching the unit increases.
[0008]
Further, in any of the above-described methods, it is difficult to flexibly cope with a change in specifications after shipment from a factory, that is, the addition of a new control unit or the abolition of an existing unit.
[0009]
Therefore, an object of the present invention is to provide a vehicle control device and a communication method thereof that can flexibly cope with a combination of a plurality of control units.
[0010]
[Means for Solving the Problems]
A vehicle control device according to the present invention includes a main control unit, and a communication line electrically connected to the main control unit, and a plurality of sub-control units that control each part of the vehicle can be connected to the communication line. In the vehicle control device, in order to achieve the above object, the main control unit determines a connection state of each sub-control unit to the communication line based on a communication result with the plurality of sub-control units, While notifying the connection state to the sub-control unit connected to the communication line via the communication line, at least one of the main control unit and the sub-control unit connected to the communication line has a plurality of An operation mode is configured to be executable, and one of the plurality of operation modes is selected and executed according to the connection state. (Claim 1).
[0011]
According to such a configuration, for each vehicle, the main control unit determines the connection state based on the communication result with each sub-control unit, and each control unit executes an operation according to the determination result. That is, each control unit executes a control operation according to the combination of the control units in the vehicle, and it is not necessary to write data indicating the combination in advance at the factory. Also, a plurality of operation modes corresponding to an assumed combination are prepared in advance for each control unit, and one of the operation modes is selected and executed according to the combination. A plurality of combinations can be supported by a product number, and there is no need to prepare products of a plurality of product numbers for each operation mode. Therefore, the cost required for manufacturing and management can be reduced, and the occurrence of mounting errors can be prevented.
[0012]
In addition, since the main control unit determines the combination of each control unit and notifies each sub-control unit, the sub-control unit does not need to make the determination, and the operation of the sub-control unit is simplified, further reducing the cost. be able to.
[0013]
Further, in the vehicle control device according to the present invention, the main control unit can output a response request signal to one of the sub-control units to the communication line, and the sub-control units A predetermined response signal is output to the communication line in response to the response request signal to the control unit (claim 2).
[0014]
According to such a configuration, since each sub-control unit outputs a predetermined response signal in response to a response request signal from the main control unit, communication between a plurality of control units is performed smoothly without confusion, Further, the main control unit can reliably determine the connection state based on the presence or absence of a response signal from each sub control unit.
[0015]
Further, in the vehicle control device according to the present invention, the main control unit periodically transmits the response request signal to one of the sub-control units via the communication line, and The presence or absence of the response signal from the sub-control unit may be detected, and the connection state of the sub-control unit to the communication line may be determined based on the result (claim 3).
[0016]
According to such a configuration, the main control unit determines the connection state of each sub-control unit at any time, so that the combination of the control units is changed after shipment, or an abnormality occurs in any of the units during operation. Even in such a case, the change can be detected, and the operation mode of each control unit can be changed accordingly to cope with these situations.
[0017]
When the response signal is at least once, it is determined that the sub-control unit is connected to the communication line. On the other hand, when the number of transmissions without response reaches a predetermined number, the sub-control unit is It may be determined that it is not connected to the communication line (claim 4).
[0018]
According to such a configuration, it is determined that the connection is not established for the first time when the communication failure between the control units is repeated a predetermined number of times. Therefore, even if the communication with the main control unit fails due to noise in the communication line or poor connection of the connection, even though the sub control unit is connected, the sub control unit is immediately Is not determined to be not connected. Therefore, even if the communication is somewhat unstable, the main control unit can reliably determine the presence or absence of each sub-control unit.
[0019]
On the other hand, if the sub-control unit is not connected, no response signal can be received, so if the response signal is received even once, it can be determined that this sub-control unit is connected to the communication line. .
[0020]
Further, in the vehicle control device according to the present invention, the main control unit does not receive a response from the sub control unit to the transmission of the response request signal to the sub control unit determined to be connected to the communication line. When the number of transmissions reaches a predetermined number, it may be determined that the sub-control unit has failed, and the failure of the sub-control unit may be notified to the other sub-control units (claim 5). .
[0021]
According to such a configuration, when the sub control unit once determined to be connected stops responding due to some abnormality later, the main control unit determines that the unit has failed. Then, if each control unit performs control according to the failure state, it is possible to appropriately cope with the occurrence of the failure.
[0022]
For example, when the main control unit determines that at least one of the sub-control units has failed, the main control unit may further include a notifying unit that notifies the operator of the failure (claim 6). By doing so, the driver as the operator can detect the occurrence of the failure at an early stage, so that the danger of continuing driving without knowing the occurrence of the failure can be avoided. In addition, the service person as the operator can easily know the status of occurrence of the failure, so that the maintainability of the vehicle can be improved.
[0023]
Further, a communication method according to the present invention is a communication method between a plurality of control units connected to each other by a communication line to control each part of the vehicle. One control unit, which is provided as standard, transmits a predetermined response request signal to one selected unit among other control units connectable to the communication line via the communication line, and The other connected control unit outputs a predetermined response signal to the communication line when the response request signal transmitted from the one control unit corresponds to the control unit, and outputs the one control signal. The unit determines the connection state of the selection unit according to the presence or absence of a response signal from the selection unit (claim 7).
[0024]
According to such a configuration, similarly to the above-described vehicle control device, it is possible to grasp, for each vehicle, a combination of control units mounted on the vehicle. Therefore, by adopting such a communication method, it is not necessary to previously store the combination in the memory or to prepare a product having a plurality of product numbers corresponding to the combination, thereby reducing the cost required for manufacturing and managing the apparatus. be able to.
[0025]
Further, in the communication method according to the present invention, the one control unit periodically transmits the response request signal to the selection unit, and when the response signal from the selection unit is at least once, While it is determined that the selected unit is connected to the communication line, when the number of transmissions without a response from the selected unit reaches a predetermined number, it is determined that the selected unit is not connected to the communication line. (Claim 8).
[0026]
According to such a configuration, similarly to the above-described vehicle control device, the combination of the control units in the vehicle is determined at any time, and a change in the combination after shipment or abnormal operation of any of the control units is detected at an early stage. It is possible to do.
[0027]
Further, in this communication method, the one control unit is configured to transmit the response request signal to the selected unit determined to be connected to the communication line by a predetermined number of times without transmitting a response from the selected unit. , It may be determined that the selected unit is out of order (claim 9).
[0028]
According to such a configuration, similarly to the above-described vehicle control device, if the sub-control unit once determined to be connected no longer responds due to some abnormality, the unit is determined to be faulty. In addition, each control unit can take appropriate measures for occurrence of a failure.
[0029]
Further, similarly to the above-described vehicle control device, when the one control unit determines that at least one of the other control units is faulty, a predetermined notifying unit notifies the operator of the occurrence of the fault. (Claim 10).
[0030]
BEST MODE FOR CARRYING OUT THE INVENTION
A configuration of an embodiment in which the present invention is applied to a control device of an automobile will be described with reference to FIG. However, FIG. 1 is a block diagram showing a control device of this embodiment.
[0031]
As shown in FIG. 1, in the control device of this embodiment, a plurality of electronic control units (hereinafter, referred to as “ECUs”): a
[0032]
Among these units, the
[0033]
The body integrated
[0034]
The
[0035]
On the other hand, the key-
[0036]
These equipments are additionally mounted on the above-mentioned standard equipments according to the product grade and user's preference. Therefore, even if the
[0037]
The plurality of
[0038]
In the control device configured as described above, one of the plurality of ECUs, for example, the
[0039]
As described above, in this embodiment, the
[0040]
Next, a method in which the
[0041]
As shown in FIG. 2, in the LIN protocol, one message frame includes a header part and a response part. That is, when the
[0042]
For example, when the
[0043]
As described above, in this embodiment, the
[0044]
In this communication processing, when an ignition switch (not shown) is turned on by the driver and the
[0045]
Then, the process returns to step S1, and the processes of steps S1 to S7 are repeated. In this way, data from each ECU is periodically output to the
[0046]
Next, the sub-process shown in FIG. 4 will be described. In this sub-process,
[0047]
Here, as described above, some of the ECUs, that is, the key-
[0048]
That is, whether or not the ECU is correctly connected to the
[0049]
The presence or absence of a response from each ECU can be determined by the presence or absence of a change in the level of the
[0050]
On the other hand, if the value of the error counter has not reached the predetermined value (for example, 255), the process returns to step S101 without immediately determining “none” (step S106), and the above processing is performed at a predetermined number of repetitions. Re-execute and attempt communication. The number of repetitions is arbitrary, but here the initial value is set to 3 as an example. Then, if there is no response from the designated ECU after repeating the above process a predetermined number of times, the sub-process is ended once and the process returns to the process of FIG.
[0051]
When the error counter reaches the predetermined value in step S105 and it is determined that the designated ECU is “none” (step S108), the number of repetitions is changed to 1. In this embodiment, as shown in FIG. 3, all connectable ECUs, that is, the body integrated
[0052]
Then, in order to notify each ECU that the ECU is not connected, the determination result is output to the bus line 10 (step S109). Each ECU recognizes that this ECU is not connected by receiving this.
[0053]
On the other hand, if there is a response in step S103, that is, if a response signal from the designated ECU has been received, the value of the error counter is decremented (step S110). However, if the value of the error counter is zero, it is left as it is. Then, it is determined that the designated ECU is present (step S111), the number of repetitions is set to three (step S112), and the result of the determination is output to the bus line 10 (step S109).
[0054]
Here, the reason why the error counter is decremented when there is a response from the designated ECU is as follows. That is, as described above, in this embodiment, the ECU is determined to be “none” only when the error counter reaches a predetermined value in consideration of the fact that communication may be unstable. ing. In other words, it can be said that the ECU in which the value of the error counter is relatively high has a high possibility that the operation state is unstable even if it is not determined to be “none”. Therefore, even if the communication is successful once with such an ECU, there is a possibility that the communication may be disabled again immediately after that, and in such a case, the determination is made “none” in a shorter time. Should.
[0055]
Therefore, while accumulating and counting the number of communication failures, if the communication is successful, the value is decreased, so that ECUs with high frequency of communication failures and unstable are determined to be "none" relatively early. On the other hand, for a stable ECU with a large number of successes, the time required to determine “none” becomes longer, and the presence or absence of each ECU can be appropriately determined according to the communication stability.
[0056]
As described above, in the control device of this embodiment, the
[0057]
The processing that requires such switching includes, for example, the following. That is, in the
[0058]
Therefore, when the
[0059]
In addition, the body integrated
[0060]
For switching these processes, a program for executing a plurality of operation modes according to the device configuration is incorporated in each ECU in advance, and these operations are performed according to the connection state of each ECU determined as described above. This is achieved by switching modes.
[0061]
An example of data communication between the ECUs performed in this manner will be described with reference to FIG. However, FIG. 5 is a timing chart showing data communication between ECUs.
[0062]
Here, a
[0063]
When the ignition switch is turned on by the driver and the
[0064]
Next, in the
[0065]
In response to this, in the
[0066]
[0067]
If there is no response even if the response is repeated three times, the
[0068]
As described above, when the communication processing cycle of FIG. 3 is repeated, predetermined data exchange is continuously performed between the
[0069]
Further, when the ECU initially determined to be “present” does not respond during operation and is determined to be “absent”, the ECU may be malfunctioning. Therefore, in such a case, it is desirable that the
[0070]
As described above, in the control device of this embodiment, the
[0071]
Therefore, optimal control can always be performed irrespective of the combination of ECUs, and there is no need to write data at the factory before shipment or to prepare a plurality of product numbers corresponding to the combination for each unit, etc. Manufacturing and management costs can be reduced. Further, since the connection state of each ECU is periodically determined, it is possible to flexibly cope with a specification change after shipment, a unit failure, and the like.
[0072]
Moreover, since the
[0073]
In addition, when the value of the error counter that counts the number of times of communication failure reaches a predetermined value, it is determined that “none” for the first time, and when the communication is successful, the value of this error counter is reduced. In addition, the number of erroneous determinations due to noise and the like is small, and the presence / absence can be appropriately determined in accordance with the stability of communication with each ECU.
[0074]
Only the
[0075]
The
[0076]
The present invention is not limited to the above-described embodiment, and various changes other than those described above can be made without departing from the gist of the present invention. For example, the combination of the ECUs in the above-described embodiment is merely an example for explaining the present invention, and other units may be combined. For example, the
[0077]
Further, the upper limit value of the error counter and the number of repetitions of the response request in the above embodiment are not limited to the above values, and may be other values.
[0078]
In the above-described embodiment, the communication between the ECUs is performed based on the LIN protocol. However, other communication protocols may be used.
[0079]
Further, in the above-described embodiment, the
[0080]
【The invention's effect】
As described above, according to the first and seventh aspects of the present invention, the connection state of each unit to the communication line is determined based on the communication result between the control units. The operation of storing the combination is unnecessary, and there is no need to prepare a plurality of types of products corresponding to the combination, so that the manufacturing and management costs can be reduced.
[0081]
According to the second aspect of the present invention, the communication between the plurality of control units is smoothly performed without confusion, and the main control unit determines the connection state based on the presence or absence of a response signal from each sub control unit. The determination can be made reliably.
[0082]
According to the third and eighth aspects of the present invention, since the connection state of each control unit is determined as needed, the combination of each control unit is changed after shipment, or an abnormality occurs in any of the units during operation. Even in the case of occurrence, the change can be detected, and by changing the operation mode of each control unit accordingly, it is possible to cope with these situations.
[0083]
According to the fourth aspect of the present invention, even if communication with the sub-control unit fails due to noise mixing into the communication line or poor connection of the connection, the sub-control unit is immediately connected. It is not determined that they have not. Therefore, even if the communication is somewhat unstable, the main control unit can reliably determine the presence or absence of each sub-control unit.
[0084]
According to the fifth and ninth aspects of the present invention, if a control unit once determined to be connected is no longer responding due to some abnormality, the unit is determined to be faulty and each control The unit can take an appropriate response to the occurrence of a failure.
[0085]
According to the inventions of
[Brief description of the drawings]
FIG. 1 is a block diagram showing a control device of this embodiment.
FIG. 2 is a waveform diagram illustrating a LIN protocol.
FIG. 3 is a flowchart illustrating a communication process.
FIG. 4 is a flowchart showing a sub-process in the communication process.
FIG. 5 is a timing chart showing data communication between ECUs.
[Explanation of symbols]
1 car (vehicle)
10 Bus line (communication line)
11 Meter ECU (Main control unit)
12 Display part (notification means)
21 Body integrated ECU (sub control unit)
22 Key Free ECU (Sub Control Unit)
23 Stabilization control ECU (sub-control unit)
Claims (10)
前記メイン制御ユニットと電気的に接続された通信線と
を備え、車両各部を制御する複数のサブ制御ユニットを前記通信線に接続可能に構成された車両制御装置において、
前記メイン制御ユニットは、前記複数のサブ制御ユニットとの通信結果に基づいて各サブ制御ユニットの前記通信線への接続状態を判定するとともに、前記通信線に接続されたサブ制御ユニットに対して前記通信線を介して前記接続状態を通知する一方、
前記メイン制御ユニットおよび前記通信線に接続されたサブ制御ユニットのうち少なくとも1つは複数の動作モードを実行可能に構成され、前記接続状態に応じて前記複数の動作モードの一を選択して実行する
ことを特徴とする車両制御装置。A main control unit,
A vehicle control device comprising: a communication line electrically connected to the main control unit; and a plurality of sub-control units that control each part of the vehicle, the vehicle control device being configured to be connectable to the communication line.
The main control unit determines a connection state of each sub-control unit to the communication line based on a communication result with the plurality of sub-control units, and determines a connection state of the sub-control unit connected to the communication line. While notifying the connection status via a communication line,
At least one of the main control unit and the sub-control unit connected to the communication line is configured to execute a plurality of operation modes, and selects and executes one of the plurality of operation modes according to the connection state. A vehicle control device comprising:
前記各サブ制御ユニットは、当該サブ制御ユニットに対する前記応答要求信号に対応して所定の応答信号を前記通信線に出力するように構成されている請求項1に記載の車両制御装置。The main control unit is capable of outputting a response request signal to one of the sub control units to the communication line,
The vehicle control device according to claim 1, wherein each of the sub-control units is configured to output a predetermined response signal to the communication line in response to the response request signal to the sub-control unit.
前記応答のない送信の回数が所定回数に達したときには、当該サブ制御ユニットが前記通信線に接続されていないと判定する請求項3に記載の車両制御装置。The main control unit determines that the sub control unit is connected to the communication line when the response signal is at least once,
4. The vehicle control device according to claim 3, wherein when the number of times of transmission without a response reaches a predetermined number, it is determined that the sub-control unit is not connected to the communication line.
前記複数の制御ユニットのうち前記車両に標準装備される一の制御ユニットが、前記通信線に接続可能な他の制御ユニットのうち一の選択ユニットに対して所定の応答要求信号を前記通信線を介して送信し、
前記通信線に接続された他の制御ユニットは、前記一の制御ユニットから送信される前記応答要求信号が当該制御ユニットに対応するものであるときには、前記通信線に所定の応答信号を出力し、
前記一の制御ユニットは、前記選択ユニットからの応答信号の有無に応じて前記選択ユニットの接続状態を判定する
ことを特徴とする通信方法。In a communication method between a plurality of control units connected to each other by a communication line to control each part of the vehicle,
One of the plurality of control units, which is provided as standard equipment in the vehicle, transmits a predetermined response request signal to one of the other control units that can be connected to the communication line, through the communication line. Send through,
The other control unit connected to the communication line outputs a predetermined response signal to the communication line when the response request signal transmitted from the one control unit corresponds to the control unit,
The communication method according to claim 1, wherein the one control unit determines a connection state of the selection unit according to presence / absence of a response signal from the selection unit.
前記選択ユニットからの前記応答信号が少なくとも1度あったときには前記選択ユニットが前記通信線に接続されていると判定する一方、
前記選択ユニットからの応答のない送信の回数が所定回数に達したときには、前記選択ユニットが前記通信線に接続されていないと判定する請求項7に記載の通信方法。The one control unit periodically transmits the response request signal to the selection unit,
When the response signal from the selection unit is at least once, it is determined that the selection unit is connected to the communication line,
The communication method according to claim 7, wherein when the number of transmissions without a response from the selection unit reaches a predetermined number, it is determined that the selection unit is not connected to the communication line.
Priority Applications (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| JP2002229449A JP4124427B2 (en) | 2002-08-07 | 2002-08-07 | Vehicle control apparatus and communication method thereof |
Applications Claiming Priority (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| JP2002229449A JP4124427B2 (en) | 2002-08-07 | 2002-08-07 | Vehicle control apparatus and communication method thereof |
Publications (2)
| Publication Number | Publication Date |
|---|---|
| JP2004066974A true JP2004066974A (en) | 2004-03-04 |
| JP4124427B2 JP4124427B2 (en) | 2008-07-23 |
Family
ID=32015818
Family Applications (1)
| Application Number | Title | Priority Date | Filing Date |
|---|---|---|---|
| JP2002229449A Expired - Fee Related JP4124427B2 (en) | 2002-08-07 | 2002-08-07 | Vehicle control apparatus and communication method thereof |
Country Status (1)
| Country | Link |
|---|---|
| JP (1) | JP4124427B2 (en) |
Cited By (13)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| JP2007331442A (en) * | 2006-06-12 | 2007-12-27 | Denso Corp | In-vehicle device monitoring device and vehicle instrument device having the same |
| JP2008074230A (en) * | 2006-09-21 | 2008-04-03 | Nissan Motor Co Ltd | Wireless communication system for vehicle and wireless communication method for vehicle |
| JP2008113554A (en) * | 2007-12-28 | 2008-05-15 | Yazaki Corp | Electrical junction box |
| JP2008189456A (en) * | 2007-02-07 | 2008-08-21 | Komatsu Utility Co Ltd | Operation switching device and mode switching device for data communicating system for industrial vehicle |
| KR100898772B1 (en) | 2007-03-12 | 2009-05-20 | 미쓰비시덴키 가부시키가이샤 | Control Sub-unit and Control Main Unit |
| JP2009196453A (en) * | 2008-02-20 | 2009-09-03 | Denso Corp | Failure detection device of switching mean |
| JP2011178389A (en) * | 2011-05-16 | 2011-09-15 | Denso Corp | Control system for vehicle |
| JP2013173534A (en) * | 2013-05-29 | 2013-09-05 | Denso Corp | Vehicle control system |
| US9073553B2 (en) | 2004-11-19 | 2015-07-07 | Denso Corporation | Method for providing control system of vehicle |
| JP2019209895A (en) * | 2018-06-06 | 2019-12-12 | 日本信号株式会社 | On-board device for organized train |
| WO2020017265A1 (en) * | 2018-07-17 | 2020-01-23 | オムロン株式会社 | Control system, monitoring device, and monitoring program |
| JP2023075131A (en) * | 2016-05-17 | 2023-05-30 | 株式会社ユピテル | Device and program |
| CN119854177A (en) * | 2025-01-17 | 2025-04-18 | 浙江吉利控股集团有限公司 | Vehicle bus circuit, network fault state detection method, vehicle and central gateway |
-
2002
- 2002-08-07 JP JP2002229449A patent/JP4124427B2/en not_active Expired - Fee Related
Cited By (17)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| US9073553B2 (en) | 2004-11-19 | 2015-07-07 | Denso Corporation | Method for providing control system of vehicle |
| US9744899B2 (en) | 2004-11-19 | 2017-08-29 | Denso Corporation | Method for providing control system of vehicle, electric control unit and headlight control system |
| JP2007331442A (en) * | 2006-06-12 | 2007-12-27 | Denso Corp | In-vehicle device monitoring device and vehicle instrument device having the same |
| JP2008074230A (en) * | 2006-09-21 | 2008-04-03 | Nissan Motor Co Ltd | Wireless communication system for vehicle and wireless communication method for vehicle |
| JP2008189456A (en) * | 2007-02-07 | 2008-08-21 | Komatsu Utility Co Ltd | Operation switching device and mode switching device for data communicating system for industrial vehicle |
| KR100898772B1 (en) | 2007-03-12 | 2009-05-20 | 미쓰비시덴키 가부시키가이샤 | Control Sub-unit and Control Main Unit |
| JP2008113554A (en) * | 2007-12-28 | 2008-05-15 | Yazaki Corp | Electrical junction box |
| JP2009196453A (en) * | 2008-02-20 | 2009-09-03 | Denso Corp | Failure detection device of switching mean |
| JP2011178389A (en) * | 2011-05-16 | 2011-09-15 | Denso Corp | Control system for vehicle |
| JP2013173534A (en) * | 2013-05-29 | 2013-09-05 | Denso Corp | Vehicle control system |
| JP2023075131A (en) * | 2016-05-17 | 2023-05-30 | 株式会社ユピテル | Device and program |
| JP2024038386A (en) * | 2016-05-17 | 2024-03-19 | 株式会社ユピテル | Device and program |
| JP2019209895A (en) * | 2018-06-06 | 2019-12-12 | 日本信号株式会社 | On-board device for organized train |
| WO2020017265A1 (en) * | 2018-07-17 | 2020-01-23 | オムロン株式会社 | Control system, monitoring device, and monitoring program |
| JP2020013257A (en) * | 2018-07-17 | 2020-01-23 | オムロン株式会社 | Control system, monitoring device and monitoring program |
| JP7151230B2 (en) | 2018-07-17 | 2022-10-12 | オムロン株式会社 | Control systems, monitoring devices and monitoring programs |
| CN119854177A (en) * | 2025-01-17 | 2025-04-18 | 浙江吉利控股集团有限公司 | Vehicle bus circuit, network fault state detection method, vehicle and central gateway |
Also Published As
| Publication number | Publication date |
|---|---|
| JP4124427B2 (en) | 2008-07-23 |
Similar Documents
| Publication | Publication Date | Title |
|---|---|---|
| EP0367177B1 (en) | Multiplex transmission system for automotive vehicles | |
| KR100233180B1 (en) | Communication systems | |
| EP0449304B1 (en) | Multiplex transmission system for use in vehicles | |
| JP4124427B2 (en) | Vehicle control apparatus and communication method thereof | |
| JP5071151B2 (en) | COMMUNICATION SYSTEM, ABNORMALITY ESTIMATION METHOD, AND INFORMATION READING DEVICE | |
| EP1022877A1 (en) | Data transmission method and system therefor | |
| JP5578207B2 (en) | Communication load judgment device | |
| KR20100039638A (en) | Can bus error detection method of automobile | |
| JP2004348274A (en) | Diagnosis device for communication failure | |
| JP2009035237A (en) | Failure diagnosis device, and failure diagnosis method | |
| EP2789127A1 (en) | Self -learning automotive data logger identifying automotive messages transmitted over a can bus connecting automotive electronic control units | |
| JP2012114537A (en) | Electronic control device, vehicle network system, communication method, and program | |
| US20210163025A1 (en) | Vehicle-mounted communication system, data acquisition device, management device, and monitoring method | |
| KR101039926B1 (en) | Vehicle Self Diagnosis Control System | |
| JP2002359625A (en) | Control area network | |
| JP3895912B2 (en) | Control unit and multiplex communication system | |
| JP2010095134A (en) | Communication relay device | |
| JP2005145262A (en) | In-vehicle LAN system | |
| JP4661624B2 (en) | Fault diagnosis apparatus and program | |
| JP3401360B2 (en) | Multiplex transmission equipment | |
| JP3088200B2 (en) | Multiplex communication device | |
| JP2849402B2 (en) | Vehicle failure diagnosis device | |
| JP3401361B2 (en) | Multiplex transmission system | |
| JP2012209676A (en) | Network system for vehicle | |
| JP2006222800A (en) | Multiplex communication equipment |
Legal Events
| Date | Code | Title | Description |
|---|---|---|---|
| A621 | Written request for application examination |
Free format text: JAPANESE INTERMEDIATE CODE: A621 Effective date: 20050608 |
|
| A977 | Report on retrieval |
Free format text: JAPANESE INTERMEDIATE CODE: A971007 Effective date: 20071218 |
|
| A131 | Notification of reasons for refusal |
Free format text: JAPANESE INTERMEDIATE CODE: A131 Effective date: 20071225 |
|
| A521 | Written amendment |
Free format text: JAPANESE INTERMEDIATE CODE: A523 Effective date: 20080212 |
|
| A521 | Written amendment |
Free format text: JAPANESE INTERMEDIATE CODE: A523 Effective date: 20080214 |
|
| 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: 20080430 |
|
| A01 | Written decision to grant a patent or to grant a registration (utility model) |
Free format text: JAPANESE INTERMEDIATE CODE: A01 |
|
| A61 | First payment of annual fees (during grant procedure) |
Free format text: JAPANESE INTERMEDIATE CODE: A61 Effective date: 20080501 |
|
| R150 | Certificate of patent (=grant) or registration of utility model |
Free format text: JAPANESE INTERMEDIATE CODE: R150 |
|
| FPAY | Renewal fee payment (prs date is renewal date of database) |
Free format text: PAYMENT UNTIL: 20110516 Year of fee payment: 3 |
|
| FPAY | Renewal fee payment (prs date is renewal date of database) |
Free format text: PAYMENT UNTIL: 20110516 Year of fee payment: 3 |
|
| FPAY | Renewal fee payment (prs date is renewal date of database) |
Free format text: PAYMENT UNTIL: 20130516 Year of fee payment: 5 |
|
| FPAY | Renewal fee payment (prs date is renewal date of database) |
Free format text: PAYMENT UNTIL: 20130516 Year of fee payment: 5 |
|
| LAPS | Cancellation because of no payment of annual fees |