JP2007265222A - Failure diagnostic method and failure diagnostic device - Google Patents

Failure diagnostic method and failure diagnostic device Download PDF

Info

Publication number
JP2007265222A
JP2007265222A JP2006091733A JP2006091733A JP2007265222A JP 2007265222 A JP2007265222 A JP 2007265222A JP 2006091733 A JP2006091733 A JP 2006091733A JP 2006091733 A JP2006091733 A JP 2006091733A JP 2007265222 A JP2007265222 A JP 2007265222A
Authority
JP
Japan
Prior art keywords
communication line
failure
electronic control
diagnosis
sub
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.)
Pending
Application number
JP2006091733A
Other languages
Japanese (ja)
Inventor
Hiroyoshi Ito
博義 伊東
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.)
Toyota Motor Corp
Original Assignee
Toyota Motor Corp
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Toyota Motor Corp filed Critical Toyota Motor Corp
Priority to JP2006091733A priority Critical patent/JP2007265222A/en
Publication of JP2007265222A publication Critical patent/JP2007265222A/en
Pending legal-status Critical Current

Links

Images

Landscapes

  • Testing And Monitoring For Control Systems (AREA)
  • Combined Controls Of Internal Combustion Engines (AREA)

Abstract

<P>PROBLEM TO BE SOLVED: To provide a failure diagnostic method and a failure diagnostic device for analyzing an increased number of communication lines and electronic control devices connected to the communication lines, and discriminating abnormality of a gateway device from that of the electronic control devices connected thereto. <P>SOLUTION: The failure diagnostic device is connected with a main communication line to diagnose an open-circuit or short-circuit failure of the main communication line. When there is no failure in the main communication line, each of a plurality of electronic control devices connected with the main communication line is allowed to transmit its self-diagnostic result to the failure diagnostic device to diagnose the failure of each of the plurality of electronic control devices connected with the main communication line. When there is no failure in the plurality of electronic control devices connected with the main communication line, the self-diagnostic result of each of the plurality of electronic control devices connected with sub-communication lines is transmitted to the failure diagnostic device from the gateway device which connects the sub-communication lines, to diagnose the failure of each of the plurality of electronic control devices connected with the sub-communication lines. <P>COPYRIGHT: (C)2008,JPO&INPIT

Description

本発明は、故障診断方法および故障診断装置に係り、特に、自己診断機能を持つ複数の電子制御装置をメインおよびサブの通信ラインで接続した通信ネットワークシステムの故障診断方法および故障診断装置に関する。   The present invention relates to a failure diagnosis method and a failure diagnosis device, and more particularly to a failure diagnosis method and a failure diagnosis device for a communication network system in which a plurality of electronic control devices having a self-diagnosis function are connected via main and sub communication lines.

例えば車両においては、車内LAN(Local Area Network)と呼ばれる通信ネットワークを介して車両各部に設けられたECU(電子制御装置)が通信を行っている。このような通信ネットワークシステムの故障診断を行う方法として、例えば特許文献1や特許文献2に記載の方法がある。   For example, in a vehicle, an ECU (Electronic Control Device) provided in each part of the vehicle performs communication via a communication network called an in-vehicle LAN (Local Area Network). As a method for performing a failure diagnosis of such a communication network system, for example, there are methods described in Patent Document 1 and Patent Document 2.

特許文献1には、配線の抵抗値と各電子制御装置が記憶する電子制御装置間の通信異常コードの組合せによって故障部位を特定することが記載されている。   Japanese Patent Application Laid-Open No. 2004-228561 describes that a failure portion is specified by a combination of a wiring resistance value and a communication abnormality code between electronic control devices stored in each electronic control device.

特許文献2には、各電子制御装置がそれぞれで診断した診断情報をゲートウェイ装置で集約すると共に、ゲートウェイ装置が取得した制御情報を利用して各電子制御装置の故障診断を行うことが記載されている。
特開2004−252963公報 特開2002−243591公報
Patent Document 2 describes that the diagnostic information diagnosed by each electronic control device is aggregated by the gateway device, and the failure diagnosis of each electronic control device is performed using the control information acquired by the gateway device. Yes.
JP 2004-252963 A Japanese Patent Laid-Open No. 2002-243591

特許文献1の技術では、全てのバス(通信ライン)を同時に診断する手法をとっているために、バスおよびこれに接続される電子制御装置が増加すると、故障部位を特定するための組み合わせ表が膨大な量となり、解析が困難になるという問題があった。   Since the technique of Patent Document 1 employs a method of diagnosing all buses (communication lines) at the same time, when the number of buses and electronic control devices connected thereto increases, a combination table for specifying a failure site is provided. There was a problem that the analysis was difficult due to the huge amount.

また、特許文献2の技術では、ゲートウェイ装置は各電子制御装置から受信した診断情報だけを用いて故障診断を行っているために自装置の異常を診断することができず、ゲートウェイ装置の異常とこれに通信ラインで接続されている電子制御装置の異常とを切り分けることができないという問題があった。   Further, in the technique of Patent Document 2, the gateway device performs failure diagnosis using only the diagnostic information received from each electronic control device, and thus cannot diagnose the abnormality of its own device. There has been a problem that it is impossible to distinguish between the abnormality of the electronic control device connected to the communication line.

本発明は、上述の点に鑑みてなされたものであり、通信ラインおよびこれに接続される電子制御装置が増加しても解析を行うことができ、ゲートウェイ装置とこれに接続されている電子制御装置の異常を切り分けることができる故障診断方法および故障診断装置を提供することを目的とする。   The present invention has been made in view of the above points, and can analyze even if the number of communication lines and electronic control devices connected thereto increases, and the gateway device and the electronic control connected thereto. It is an object of the present invention to provide a failure diagnosis method and a failure diagnosis device that can isolate an abnormality of a device.

本発明の故障診断方法は、自己診断機能を持つ複数の電子制御装置をメインおよびサブの通信ラインで接続した通信ネットワークシステムの故障診断方法において、
故障診断装置をメイン通信ラインに接続して前記メイン通信ラインのオープンまたはショートの故障を診断し、
前記メイン通信ラインに故障がない場合に、前記メイン通信ラインに接続されている複数の電子制御装置それぞれに自己診断結果を前記故障診断装置に送信させて、前記メイン通信ラインに接続されている複数の電子制御装置それぞれの故障を診断し、
前記メイン通信ラインに接続されている複数の電子制御装置に故障がない場合に、サブ通信ラインを接続するゲートウェイ装置から前記サブ通信ラインに接続されている複数の電子制御装置それぞれの自己診断結果を前記故障診断装置に送信させて、前記サブ通信ラインに接続されている複数の電子制御装置それぞれの故障を診断することにより、通信ラインおよびこれに接続される電子制御装置が増加しても解析を行うことができ、ゲートウェイ装置とこれに接続されている電子制御装置の異常を切り分けることができる。
The failure diagnosis method of the present invention is a failure diagnosis method for a communication network system in which a plurality of electronic control devices having a self-diagnosis function are connected via main and sub communication lines.
Connect a failure diagnosis device to the main communication line to diagnose an open or short failure of the main communication line,
When there is no failure in the main communication line, a plurality of electronic control devices connected to the main communication line are caused to transmit a self-diagnosis result to the failure diagnosis device, and are connected to the main communication line. Diagnose the failure of each electronic control unit
When there is no failure in the plurality of electronic control devices connected to the main communication line, the self-diagnosis result of each of the plurality of electronic control devices connected to the sub communication line is obtained from the gateway device connecting the sub communication line. By transmitting to the failure diagnosis device and diagnosing the failure of each of the plurality of electronic control devices connected to the sub-communication line, analysis can be performed even if the number of communication lines and electronic control devices connected thereto increases. It is possible to isolate the abnormality between the gateway device and the electronic control device connected thereto.

前記故障診断方法において、
前記サブ通信ラインに接続されている複数の電子制御装置それぞれの自己診断結果が送信されないとき、故障診断装置を前記サブ通信ラインに接続して前記サブ通信ラインのオープンまたはショートの故障を診断することができる。
In the failure diagnosis method,
When a self-diagnosis result of each of the plurality of electronic control devices connected to the sub-communication line is not transmitted, a failure diagnosis device is connected to the sub-communication line to diagnose an open or short-circuit failure of the sub-communication line Can do.

本発明の故障診断装置は、自己診断機能を持つ複数の電子制御装置をメインおよびサブの通信ラインで接続した通信ネットワークシステムの故障診断装置において、
前記メインおよびサブの通信ラインに接続して前記メインおよびサブの通信ラインのオープンまたはショートの故障を診断する第1診断手段と、
メイン通信ラインに接続されている複数の電子制御装置それぞれに自己診断結果を送信させて、前記メイン通信ラインに接続されている複数の電子制御装置それぞれの故障を診断し、サブ通信ラインを接続するゲートウェイ装置から前記サブ通信ラインに接続されている複数の電子制御装置それぞれの自己診断結果を送信させて、前記サブ通信ラインに接続されている複数の電子制御装置それぞれの故障を診断する第2診断手段を有することにより、ゲートウェイ装置とこれに接続されている電子制御装置の異常を切り分けることができる。
The failure diagnosis device of the present invention is a failure diagnosis device for a communication network system in which a plurality of electronic control devices having a self-diagnosis function are connected by main and sub communication lines.
A first diagnostic means for connecting to the main and sub communication lines and diagnosing an open or short failure of the main and sub communication lines;
Each of the plurality of electronic control devices connected to the main communication line is caused to transmit a self-diagnosis result, the failure of each of the plurality of electronic control devices connected to the main communication line is diagnosed, and the sub communication line is connected. A second diagnosis for diagnosing a failure of each of the plurality of electronic control devices connected to the sub communication line by transmitting a self-diagnosis result of each of the plurality of electronic control devices connected to the sub communication line from the gateway device By having the means, it is possible to isolate an abnormality between the gateway device and the electronic control device connected thereto.

本発明によれば、通信ラインおよびこれに接続される電子制御装置が増加しても解析を行うことができ、ゲートウェイ装置とこれに接続されている電子制御装置の異常を切り分けることができる。   According to the present invention, analysis can be performed even if the number of communication lines and electronic control devices connected to the communication line increases, and abnormalities between the gateway device and the electronic control device connected thereto can be separated.

以下、図面に基づいて本発明の実施形態について説明する。   Hereinafter, embodiments of the present invention will be described with reference to the drawings.

<通信ネットワークシステムの構成>
図1は、本発明の故障診断方法が適用される通信ネットワークシステムの一実施形態の構成図を示す。同図中、CAN(Controllar Area Network)バスであるメイン通信ライン10にはECU(電子制御装置)11a〜11dが接続されると共に、故障診断装置を接続するためのコネクタ13、およびゲートウェイ装置14が接続されている。
<Configuration of communication network system>
FIG. 1 shows a configuration diagram of an embodiment of a communication network system to which a failure diagnosis method of the present invention is applied. In the figure, ECUs (Electronic Control Units) 11a to 11d are connected to a main communication line 10 which is a CAN (Controlling Area Network) bus, and a connector 13 and a gateway device 14 for connecting a fault diagnosis device are provided. It is connected.

ゲートウェイ装置14は上記メイン通信ライン10とCANバスであるサブ通信ライン20を接続している。サブ通信ライン20にはECU21a〜21fが接続されると共に、ゲートウェイ装置24が接続されている。ゲートウェイ装置24は上記サブ通信ライン20とCANバスであるサブ通信ライン30を接続している。サブ通信ライン30にはECU31a〜31fが接続されている。   The gateway device 14 connects the main communication line 10 and the sub communication line 20 that is a CAN bus. ECUs 21 a to 21 f are connected to the sub communication line 20, and a gateway device 24 is connected to the sub communication line 20. The gateway device 24 connects the sub communication line 20 to the sub communication line 30 that is a CAN bus. ECUs 31 a to 31 f are connected to the sub communication line 30.

ECU11a〜11d,21a〜21f,ECU31a〜31fは、例えばエンジン制御、ブレーキ制御、サスペンション制御、ステアリング制御、ナビゲーション、等の各種制御を行うもので車両各部に設けられている。各ECU11a〜11d,21a〜21f,ECU31a〜31fは自己診断機能を有しており、故障診断装置またはゲートウェイ装置14,24からの送信要求に応じて自己診断結果を要求元装置に応答して送信する。   The ECUs 11a to 11d, 21a to 21f, and ECUs 31a to 31f perform various controls such as engine control, brake control, suspension control, steering control, navigation, and the like, and are provided in various parts of the vehicle. Each of the ECUs 11a to 11d, 21a to 21f, and the ECUs 31a to 31f has a self-diagnosis function, and transmits a self-diagnosis result in response to a transmission request from the failure diagnosis device or the gateway devices 14 and 24 to the request source device. To do.

メイン通信ライン10,サブ通信ライン20,30それぞれは2本のワイヤCAN−H,CAN−L構成され、この2本のワイヤCAN−H,CAN−L間の抵抗値は例えば60Ωとされている。   Each of the main communication line 10 and the sub communication lines 20 and 30 includes two wires CAN-H and CAN-L, and a resistance value between the two wires CAN-H and CAN-L is set to 60Ω, for example. .

<故障診断装置の構成>
図2は、本発明の故障診断装置の一実施形態のブロック図を示す。同図中、故障診断装置は、テスタ部40Aと診断部40Bに分割されている。勿論、テスタ部40Aと診断部40Bを一体化しても良い。
<Configuration of fault diagnosis device>
FIG. 2 shows a block diagram of an embodiment of the fault diagnosis apparatus of the present invention. In the figure, the failure diagnosis apparatus is divided into a tester unit 40A and a diagnosis unit 40B. Of course, the tester unit 40A and the diagnostic unit 40B may be integrated.

テスタ部40Aは、接続端子41をコネクタ13に装着してメイン通信ライン10に接続されるか、または、サブ通信ライン20,30に接続されているECUのいずれかと取り替えてサブ通信ライン20,30に接続されて、メイン通信ライン10またはサブ通信ライン20,30のワイヤCAN−H,CAN−L間の抵抗値を測定する。   The tester unit 40A is connected to the main communication line 10 with the connection terminal 41 attached to the connector 13, or replaced with one of the ECUs connected to the sub communication lines 20 and 30. And the resistance value between the wires CAN-H and CAN-L of the main communication line 10 or the sub communication lines 20 and 30 is measured.

診断部40Bは、CPU部42と、記憶部43と、操作部44と、表示部45と、通信部46よりなり、これらは内部バス47で相互に接続されている。また、通信部46は接続端子48を有しており、接続端子48はコネクタ13に装着されてメイン通信ライン10に接続される。   The diagnosis unit 40B includes a CPU unit 42, a storage unit 43, an operation unit 44, a display unit 45, and a communication unit 46, which are connected to each other via an internal bus 47. The communication unit 46 has a connection terminal 48, and the connection terminal 48 is attached to the connector 13 and connected to the main communication line 10.

CPU部42は、通信部46を介してメイン通信ライン10に接続され、記憶部43に記憶されている診断プログラムを実行して通信ネットワークシステムの各ECUの自己診断結果を収集することで、通信ネットワークシステム全体の診断を行う。操作部44からは診断開始、診断項目選択等の操作が入力される。また、CPU部42は診断結果を表示部43に表示する。記憶部43は上記診断プログラムの他に、診断対象、および各ECUから収集した自己診断結果を記憶する。   The CPU unit 42 is connected to the main communication line 10 via the communication unit 46, and executes a diagnostic program stored in the storage unit 43 to collect self-diagnosis results of each ECU of the communication network system. Diagnose the entire network system. Operations such as diagnosis start and diagnosis item selection are input from the operation unit 44. Further, the CPU unit 42 displays the diagnosis result on the display unit 43. The storage unit 43 stores the diagnosis target and the self-diagnosis results collected from each ECU, in addition to the diagnosis program.

<ゲートウェイ装置の構成>
図3は、ゲートウェイ装置14,24の一実施形態のブロック図を示す。同図中、ゲートウェイ装置は、CPU部52と、記憶部53と、通信部54,55よりなり、これらは内部バス56で相互に接続されている。また、通信部54,55は接続端子57,58を有しており、接続端子57,58は、ゲートウェイ装置14ではメイン通信ライン10,サブ通信ライン20に接続され、ゲートウェイ装置24ではサブ通信ライン20,30に接続される。
<Configuration of gateway device>
FIG. 3 shows a block diagram of an embodiment of the gateway devices 14 and 24. In the figure, the gateway device includes a CPU unit 52, a storage unit 53, and communication units 54 and 55, which are connected to each other via an internal bus 56. The communication units 54 and 55 have connection terminals 57 and 58, and the connection terminals 57 and 58 are connected to the main communication line 10 and the sub communication line 20 in the gateway device 14, and the sub communication line in the gateway device 24. 20 and 30.

CPU部52は、接続端子57,58によって通信部54,55に接続されたメイン通信ライン10とサブ通信ライン20間、または,サブ通信ライン20,30間の通信を制御する。   The CPU unit 52 controls communication between the main communication line 10 and the sub communication line 20 connected between the communication units 54 and 55 by the connection terminals 57 and 58 or between the sub communication lines 20 and 30.

記憶部53は通信制御プログラムおよび診断プログラムを記憶していると共に、各ECUから収集した自己診断結果を記憶する。   The storage unit 53 stores a communication control program and a diagnostic program, and stores self-diagnosis results collected from each ECU.

また、CPU部52は所定時間毎に下流の通信ラインに接続された各ECUに対して自己診断結果の送信要求をブロードキャストし、各ECUからの応答を受信して自己診断結果を収集する。なお、下流の通信ラインとは、ゲートウェイ装置14ではサブ通信ライン20であり、ゲートウェイ装置24ではサブ通信ライン30である。   Further, the CPU unit 52 broadcasts a self-diagnosis result transmission request to each ECU connected to the downstream communication line every predetermined time, receives a response from each ECU, and collects the self-diagnosis result. The downstream communication line is the sub communication line 20 in the gateway device 14 and the sub communication line 30 in the gateway device 24.

<故障診断装置が実行する処理>
図4および図5は、故障診断装置が実行する故障診断処理のフローチャートを示す。図4において、ステップS11でテスタ部40Aの接続端子41をコネクタ13に装着してメイン通信ライン10に接続して、ワイヤCAN−H,CAN−L間の抵抗値を測定する。
<Processing executed by the fault diagnosis device>
4 and 5 show a flowchart of the failure diagnosis process executed by the failure diagnosis apparatus. 4, in step S11, the connection terminal 41 of the tester unit 40A is attached to the connector 13 and connected to the main communication line 10, and the resistance value between the wires CAN-H and CAN-L is measured.

ステップS12で測定した抵抗値からメイン通信ライン10がオープン(抵抗値無限大)またはショート(抵抗値0Ω)であるか否かを判別する。メイン通信ライン10がオープンまたはショートの場合にはステップS13に進み、メイン通信ライン10の修理作業を行う。   It is determined from the resistance value measured in step S12 whether or not the main communication line 10 is open (resistance value is infinite) or short (resistance value 0Ω). If the main communication line 10 is open or shorted, the process proceeds to step S13, and the main communication line 10 is repaired.

メイン通信ライン10のワイヤCAN−H,CAN−L間の抵抗値が60Ωでメイン通信ライン10にオープンまたはショートがない場合、もしくはメイン通信ライン10の修理作業が終了した場合にはステップS14に進む。   When the resistance value between the wires CAN-H and CAN-L of the main communication line 10 is 60Ω and there is no open or short circuit in the main communication line 10, or when the repair work of the main communication line 10 is completed, the process proceeds to step S14. .

ステップS14では診断部40Bの接続端子48をコネクタ13に装着してメイン通信ライン10に接続し、診断部40Bからメイン通信ライン10に接続されているECU11a〜11dに対して自己診断結果の送信要求をブロードキャストし、ECU11a〜11dからの応答を順次受信して自己診断結果を収集する。図6に、自己診断結果の送信要求をブロードキャストで送信する様子を実線の矢印で示し、各ECUからの応答の様子を破線の矢印で示す。   In step S14, the connection terminal 48 of the diagnosis unit 40B is attached to the connector 13 and connected to the main communication line 10, and a transmission request for the self-diagnosis result is sent from the diagnosis unit 40B to the ECUs 11a to 11d connected to the main communication line 10. Is broadcast, responses from the ECUs 11a to 11d are sequentially received, and self-diagnosis results are collected. In FIG. 6, a state in which a transmission request for a self-diagnosis result is transmitted by broadcasting is indicated by a solid line arrow, and a response state from each ECU is indicated by a broken line arrow.

次に、ステップS15でメイン通信ライン10に接続されている全てのECU11a〜11dから自己診断結果を収集できたか否かを判別し、1つでも自己診断結果を収集できていないECUがあればステップS16に進み、無応答のECUの点検と修理作業、および無応答のECUとコネクタ13間のメイン通信ライン10の点検と修理作業を行う。   Next, it is determined whether or not the self-diagnosis results can be collected from all the ECUs 11a to 11d connected to the main communication line 10 in step S15, and if there is any ECU that cannot collect any self-diagnosis results, step S15 is performed. Proceeding to S16, the inspection and repair work of the unresponsive ECU and the main communication line 10 between the non-response ECU and the connector 13 are checked and repaired.

全てのECU11a〜11dから自己診断結果を収集できた場合、または、ステップS16での修理作業が終了した場合にはステップS17に進む。ステップS17では下流となるサブ通信ラインが接続されているか否かを判別し、下流となるサブ通信ラインがなければこの処理を終了する。   When the self-diagnosis results can be collected from all the ECUs 11a to 11d, or when the repair work in step S16 is completed, the process proceeds to step S17. In step S17, it is determined whether or not a downstream sub-communication line is connected. If there is no downstream sub-communication line, this process is terminated.

一方、下流のサブ通信ラインがあれば図5の処理を実行する。図1の構成では、メイン通信ライン10にゲートウェイ装置14を介して下流のサブ通信ライン20が接続されているため、ステップS17から図5のステップS21に進む。   On the other hand, if there is a downstream sub-communication line, the processing of FIG. 5 is executed. In the configuration of FIG. 1, since the downstream sub-communication line 20 is connected to the main communication line 10 via the gateway device 14, the process proceeds from step S17 to step S21 of FIG.

ステップS21では、下流側のゲートウェイ装置14(または24)をアクセスして下流のサブ通信ライン20(または30)に接続されているECU21a〜21f(または31a〜31f)の自己診断結果を読み出す。   In step S21, the gateway device 14 (or 24) on the downstream side is accessed, and the self-diagnosis results of the ECUs 21a to 21f (or 31a to 31f) connected to the downstream sub communication line 20 (or 30) are read.

ステップS22では、ゲートウェイ装置14(または24)をアクセスできたか否かを判別し、ゲートウェイ装置をアクセスできなかった場合はゲートウェイ装置14(または24)の故障とみなし、ステップS23に進んでゲートウェイ装置14(または24)の修理を行う。   In step S22, it is determined whether or not the gateway device 14 (or 24) can be accessed. If the gateway device cannot be accessed, the gateway device 14 (or 24) is regarded as a failure, and the process proceeds to step S23 to proceed to the gateway device 14. Repair (or 24).

ゲートウェイ装置をアクセスできた場合、または、ステップS23でゲートウェイ装置を修理した場合には、ステップS24で下流のサブ通信ライン20(または30)に接続されているECU21a〜21f(または31a〜31f)の自己診断結果を読み出せたか否かを判別する。   If the gateway device can be accessed or if the gateway device is repaired in step S23, the ECUs 21a to 21f (or 31a to 31f) connected to the downstream sub communication line 20 (or 30) in step S24. It is determined whether or not the self-diagnosis result can be read.

自己診断結果を読み出せなかった場合は、ステップS25で下流のサブ通信ライン20(または30)に接続されているECU21a〜21f(または31a〜31f)のいずれかを取り外し、取り外した位置にテスタ部40Aの接続端子41をコネクタ13に装着してサブ通信ライン20(または30)に接続して、ワイヤCAN−H,CAN−L間の抵抗値を測定する。   If the self-diagnosis result could not be read, the ECU 21a to 21f (or 31a to 31f) connected to the downstream sub-communication line 20 (or 30) is removed in step S25, and the tester unit is located at the removed position. The connection terminal 41 of 40A is attached to the connector 13 and connected to the sub communication line 20 (or 30), and the resistance value between the wires CAN-H and CAN-L is measured.

ステップS26で測定した抵抗値からサブ通信ライン20(または30)がオープン(抵抗値無限大)またはショート(抵抗値0Ω)であるか否かを判別する。サブ通信ライン20(または30)がオープンまたはショートの場合にはステップS27に進み、サブ通信ライン20(または30)の修理作業を行う。オープンまたはショートではない場合にはステップS28に進み、ゲートウェイ装置14(または24)の修理を行う。   It is determined from the resistance value measured in step S26 whether the sub communication line 20 (or 30) is open (resistance value is infinite) or short (resistance value 0Ω). If the sub-communication line 20 (or 30) is open or shorted, the process proceeds to step S27, and the sub-communication line 20 (or 30) is repaired. If it is not open or short-circuited, the process proceeds to step S28, and the gateway device 14 (or 24) is repaired.

ステップS24で自己診断結果を読み出せた場合、または、ステップS27,S28を実行した場合には、ステップS29で下流のサブ通信ライン20(または30)に接続されている全てのECU21a〜21f(または31a〜31f)の自己診断結果を読み出せたか否かを判別し、1つでも自己診断結果を収集できていないECUがあればステップS30に進み、収集できていないECUの点検と修理作業、および収集できていないECUとゲートウェイ装置14(または24)間のサブ通信ライン20(または30)の点検と修理作業を行う。   If the self-diagnosis result can be read out in step S24, or if steps S27 and S28 are executed, all ECUs 21a to 21f connected to the downstream sub-communication line 20 (or 30) in step S29 (or 31a to 31f), it is determined whether or not the self-diagnosis result has been read out, and if there is any ECU that has not collected the self-diagnosis result, the process proceeds to step S30. The sub-communication line 20 (or 30) between the uncollected ECU and the gateway device 14 (or 24) is inspected and repaired.

全ての21a〜21f(または31a〜31f)から自己診断結果を収集できた場合、または、ステップS30での修理作業が終了した場合にはステップS31に進む。ステップS31では下流となるサブ通信ライン30が接続されているか否かを判別し、下流となるサブ通信ライン30がなければこの処理を終了する。一方、下流のサブ通信ライン30があれば図5の処理をステップS21から再度実行する。   When the self-diagnosis results can be collected from all 21a to 21f (or 31a to 31f), or when the repair work in step S30 is completed, the process proceeds to step S31. In step S31, it is determined whether or not the downstream sub communication line 30 is connected. If there is no downstream sub communication line 30, this process is terminated. On the other hand, if there is a downstream sub-communication line 30, the process of FIG. 5 is executed again from step S21.

<CANプロトコルのデータフレーム>
診断部40Bと、ECU11a〜11dまたはゲートウェイ装置14,24間で送受されるCANプロトコルのデータフレームのフォーマットを図7に示す。同図中、データフレームは、SOF(Start Of Frame)フィールド、ID(IDentifier)フィールド、Controlフィールド、Dataフィールド、CRC(Cyclic Redundancy Check)フィールド、ACK(ACKnowledge)フィールド、EOF(End Of Frame)フィールドからなる。
<Data frame of CAN protocol>
FIG. 7 shows a format of a CAN protocol data frame transmitted and received between the diagnosis unit 40B and the ECUs 11a to 11d or the gateway devices 14 and 24. In the figure, a data frame includes an SOF (Start Of Frame) field, an ID (IDentifier) field, a Control field, a Data field, a CRC (Cyclic Redundancy Check) field, an ACK (ACKnowledge) field, and an EOF (End Of Frame) field. Become.

ここで、IDフィールドは調停用フィールドを兼ねており、同時に2つ以上のECUが送信を開始したときに、IDフィールドを1ビット単位で比較し、ドミナント(優先的)を長く出し続けたECUが送信権を獲得する。Dataフィールドに要求、応答に相当する値が定義され、応答の場合には自己診断結果が載せて送信される。   Here, the ID field also serves as an arbitration field. When two or more ECUs start transmission at the same time, the ID field is compared in units of 1 bit, and the ECU that has continued to output dominant (priority) for a long time is used. Acquire the transmission right. Values corresponding to request and response are defined in the Data field, and in the case of a response, a self-diagnosis result is loaded and transmitted.

本発明においては、まず、テスタ部40Aでメイン通信ライン10のオープンまたはショートの故障を診断し、メイン通信ライン10に故障がない場合に診断部40Bでメイン通信ライン10に接続されているECU11a〜11dの故障を診断する。   In the present invention, first, an open or short failure of the main communication line 10 is diagnosed by the tester unit 40A, and when there is no failure in the main communication line 10, the ECUs 11a to 11a connected to the main communication line 10 by the diagnosis unit 40B. Diagnose the failure of 11d.

ECU11a〜11dに故障がない場合はゲートウェイ装置14でサブ通信ライン20に接続されているECU21a〜21fの故障を診断部40Bで診断し、ECU21a〜21fに故障がない場合にサブ通信ライン30に接続されているECU31a〜31fの故障を診断部40Bで診断する。   When there is no failure in the ECUs 11a to 11d, the diagnosis unit 40B diagnoses the failure of the ECUs 21a to 21f connected to the sub communication line 20 by the gateway device 14, and the ECU 21a to 21f is connected to the sub communication line 30 when there is no failure. The diagnosis unit 40B diagnoses a failure of the ECUs 31a to 31f.

このように、通信ライン単位で診断を行うために、1回に診断するECUの数が少なく、故障部位を特定するための組み合わせが少なく解析が簡単となる。   As described above, since diagnosis is performed in communication line units, the number of ECUs to be diagnosed at one time is small, and there are few combinations for specifying a faulty part, so that analysis is simple.

また、故障診断装置はテスタ部40Aと診断部40Bを持つため、ゲートウェイ装置24,34の故障とサブ通信ライン20,30の故障を切り分けることができ、さらに、このサブ通信ライン20,30に接続されたECU21a〜21f,31a〜31fの故障を切り分けることができる。   Further, since the failure diagnosis apparatus has the tester unit 40A and the diagnosis unit 40B, the failure of the gateway devices 24 and 34 and the failure of the sub-communication lines 20 and 30 can be separated, and further connected to the sub-communication lines 20 and 30. The failure of the ECUs 21a to 21f and 31a to 31f thus made can be identified.

なお、テスタ部40Aが請求項記載の第1診断手段に相当し、診断部40Bが第2診断手段に相当する。   Note that the tester unit 40A corresponds to the first diagnosis unit described in the claims, and the diagnosis unit 40B corresponds to the second diagnosis unit.

本発明の故障診断方法が適用される通信ネットワークシステムの一実施形態の構成図である。1 is a configuration diagram of an embodiment of a communication network system to which a failure diagnosis method of the present invention is applied. 本発明の故障診断装置の一実施形態のブロック図である。It is a block diagram of one embodiment of a failure diagnosis device of the present invention. ゲートウェイ装置の一実施形態のブロック図である。It is a block diagram of one Embodiment of a gateway apparatus. 故障診断装置が実行する故障診断処理のフローチャートである。It is a flowchart of the failure diagnosis process which a failure diagnosis apparatus performs. 故障診断装置が実行する故障診断処理のフローチャートである。It is a flowchart of the failure diagnosis process which a failure diagnosis apparatus performs. 自己診断結果の送信要求と応答の様子を示す図である。It is a figure which shows the mode of the transmission request and response of a self-diagnosis result. CANプロトコルのデータフレームのフォーマットである。It is a data frame format of the CAN protocol.

符号の説明Explanation of symbols

10 メイン通信ライン
11a〜11d,21a〜21f,31a〜31f ECU(電子制御装置)
13 コネクタ
14,24 ゲートウェイ装置
20,30 サブ通信ライン
40A テスタ部
40B 診断部
41,48 接続端子
42,52 CPU部
43,53 記憶部
44 操作部
45 表示部
46,54,55 通信部

10 main communication lines 11a to 11d, 21a to 21f, 31a to 31f ECU (electronic control unit)
13 Connector 14, 24 Gateway device 20, 30 Sub communication line 40A Tester unit 40B Diagnosis unit 41, 48 Connection terminal 42, 52 CPU unit 43, 53 Storage unit 44 Operation unit 45 Display unit 46, 54, 55 Communication unit

Claims (3)

自己診断機能を持つ複数の電子制御装置をメインおよびサブの通信ラインで接続した通信ネットワークシステムの故障診断方法において、
故障診断装置をメイン通信ラインに接続して前記メイン通信ラインのオープンまたはショートの故障を診断し、
前記メイン通信ラインに故障がない場合に、前記メイン通信ラインに接続されている複数の電子制御装置それぞれに自己診断結果を前記故障診断装置に送信させて、前記メイン通信ラインに接続されている複数の電子制御装置それぞれの故障を診断し、
前記メイン通信ラインに接続されている複数の電子制御装置に故障がない場合に、サブ通信ラインを接続するゲートウェイ装置から前記サブ通信ラインに接続されている複数の電子制御装置それぞれの自己診断結果を前記故障診断装置に送信させて、前記サブ通信ラインに接続されている複数の電子制御装置それぞれの故障を診断することを特徴とする故障診断方法。
In a failure diagnosis method for a communication network system in which a plurality of electronic control devices having a self-diagnosis function are connected via main and sub communication lines,
Connect a failure diagnosis device to the main communication line to diagnose an open or short failure of the main communication line,
When there is no failure in the main communication line, a plurality of electronic control devices connected to the main communication line are caused to transmit a self-diagnosis result to the failure diagnosis device, and are connected to the main communication line. Diagnose the failure of each electronic control unit
When there is no failure in the plurality of electronic control devices connected to the main communication line, the self-diagnosis result of each of the plurality of electronic control devices connected to the sub communication line is obtained from the gateway device connecting the sub communication line. A failure diagnosing method, characterized in that a failure is diagnosed in each of a plurality of electronic control devices connected to the sub communication line by being transmitted to the failure diagnosing device.
請求項1記載の故障診断方法において、
前記サブ通信ラインに接続されている複数の電子制御装置それぞれの自己診断結果が送信されないとき、故障診断装置を前記サブ通信ラインに接続して前記サブ通信ラインのオープンまたはショートの故障を診断することを特徴とする故障診断方法。
The failure diagnosis method according to claim 1,
When a self-diagnosis result of each of the plurality of electronic control devices connected to the sub-communication line is not transmitted, a failure diagnosis device is connected to the sub-communication line to diagnose an open or short-circuit failure of the sub-communication line A failure diagnosis method characterized by the above.
自己診断機能を持つ複数の電子制御装置をメインおよびサブの通信ラインで接続した通信ネットワークシステムの故障診断装置において、
前記メインおよびサブの通信ラインに接続して前記メインおよびサブの通信ラインのオープンまたはショートの故障を診断する第1診断手段と、
メイン通信ラインに接続されている複数の電子制御装置それぞれに自己診断結果を送信させて、前記メイン通信ラインに接続されている複数の電子制御装置それぞれの故障を診断し、サブ通信ラインを接続するゲートウェイ装置から前記サブ通信ラインに接続されている複数の電子制御装置それぞれの自己診断結果を送信させて、前記サブ通信ラインに接続されている複数の電子制御装置それぞれの故障を診断する第2診断手段を
有することを特徴とする故障診断装置。
In a failure diagnosis device for a communication network system in which a plurality of electronic control devices having a self-diagnosis function are connected via main and sub communication lines,
A first diagnostic means for connecting to the main and sub communication lines and diagnosing an open or short failure of the main and sub communication lines;
Each of the plurality of electronic control devices connected to the main communication line is caused to transmit a self-diagnosis result, the failure of each of the plurality of electronic control devices connected to the main communication line is diagnosed, and the sub communication line is connected. A second diagnosis for diagnosing a failure of each of the plurality of electronic control devices connected to the sub communication line by transmitting a self-diagnosis result of each of the plurality of electronic control devices connected to the sub communication line from the gateway device A fault diagnosis apparatus comprising means.
JP2006091733A 2006-03-29 2006-03-29 Failure diagnostic method and failure diagnostic device Pending JP2007265222A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2006091733A JP2007265222A (en) 2006-03-29 2006-03-29 Failure diagnostic method and failure diagnostic device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2006091733A JP2007265222A (en) 2006-03-29 2006-03-29 Failure diagnostic method and failure diagnostic device

Publications (1)

Publication Number Publication Date
JP2007265222A true JP2007265222A (en) 2007-10-11

Family

ID=38638122

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2006091733A Pending JP2007265222A (en) 2006-03-29 2006-03-29 Failure diagnostic method and failure diagnostic device

Country Status (1)

Country Link
JP (1) JP2007265222A (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2014113860A (en) * 2012-12-06 2014-06-26 Toyota Motor Corp Relay device, and on-vehicle system

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH1032886A (en) * 1996-07-17 1998-02-03 Harness Sogo Gijutsu Kenkyusho:Kk Intra-vehicle communication controller
JP2002118581A (en) * 2000-10-10 2002-04-19 Honda Motor Co Ltd Multiplex transmitter for vehicle
JP2002158668A (en) * 2000-11-17 2002-05-31 Denso Corp Abnormality detector of network system for vehicle
JP2002243591A (en) * 2001-02-22 2002-08-28 Mitsubishi Electric Corp Failure diagnostic device for use in vehicle
JP2004252963A (en) * 2003-01-31 2004-09-09 Denso Corp Method for diagnosing fault of communication network for vehicle

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH1032886A (en) * 1996-07-17 1998-02-03 Harness Sogo Gijutsu Kenkyusho:Kk Intra-vehicle communication controller
JP2002118581A (en) * 2000-10-10 2002-04-19 Honda Motor Co Ltd Multiplex transmitter for vehicle
JP2002158668A (en) * 2000-11-17 2002-05-31 Denso Corp Abnormality detector of network system for vehicle
JP2002243591A (en) * 2001-02-22 2002-08-28 Mitsubishi Electric Corp Failure diagnostic device for use in vehicle
JP2004252963A (en) * 2003-01-31 2004-09-09 Denso Corp Method for diagnosing fault of communication network for vehicle

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2014113860A (en) * 2012-12-06 2014-06-26 Toyota Motor Corp Relay device, and on-vehicle system

Similar Documents

Publication Publication Date Title
US9160620B2 (en) Integrated fault diagnosis and prognosis for in-vehicle communications
CN110868302B (en) Network interface device and method for operating a network interface device
TW544559B (en) Failure diagnosis apparatus and failure diagnosis method of vehicular electronic control system
CN108833170B (en) Network-level self-adaptive CAN bus fault diagnosis method
KR101209069B1 (en) Debuggging Apparatus For CAN Communication Diagnosis Device
JP4345502B2 (en) Fault diagnosis method for vehicle communication network
US10613963B2 (en) Intelligent packet analyzer circuits, systems, and methods
JP2002091549A (en) Device and method for diagnosing fault for vehicle electronic control system
JP2007028411A (en) Network diagnosis apparatus and method
JP2007265222A (en) Failure diagnostic method and failure diagnostic device
JP2009035237A (en) Failure diagnosis device, and failure diagnosis method
US7362214B2 (en) Branching device for transmission line and monitoring apparatus using the same
CN108983751A (en) Diagnose the method and server of connector abnormality processing
JP3189918B2 (en) Wire harness inspection device
CN115185252A (en) Remote diagnosis method and device based on automobile fault lamp
EP3252719A1 (en) Method for diagnosing faults in a vehicle, and corresponding system
JP7081462B2 (en) Vehicle electronic control device and diagnostic system
JP2007274115A (en) Branch unit of transmission line and monitor device employing it
US6367028B1 (en) Self diagnosing communications bus and method of operating same
JPH10132885A (en) Wire harness inspection device
JP2002091545A (en) Device for diagnosing fault in electronic control system for vehicle
US20230339485A1 (en) Onboard datalink voltage monitoring for improved diagnostics
JP2020083139A (en) Vehicle electronic control device and diagnostic system
JP2005315235A (en) Inspection device for on-vehicle failure diagnosis system
US11386725B2 (en) Vehicle diagnostic apparatus

Legal Events

Date Code Title Description
A621 Written request for application examination

Free format text: JAPANESE INTERMEDIATE CODE: A621

Effective date: 20090204

A977 Report on retrieval

Free format text: JAPANESE INTERMEDIATE CODE: A971007

Effective date: 20100908

A131 Notification of reasons for refusal

Free format text: JAPANESE INTERMEDIATE CODE: A131

Effective date: 20100914

A521 Written amendment

Free format text: JAPANESE INTERMEDIATE CODE: A523

Effective date: 20101028

A131 Notification of reasons for refusal

Free format text: JAPANESE INTERMEDIATE CODE: A131

Effective date: 20110308

A521 Written amendment

Free format text: JAPANESE INTERMEDIATE CODE: A523

Effective date: 20110419

A02 Decision of refusal

Free format text: JAPANESE INTERMEDIATE CODE: A02

Effective date: 20111004