JP4747683B2 - On-vehicle electronic control system, fault diagnosis method thereof, and on-vehicle electronic control device - Google Patents

On-vehicle electronic control system, fault diagnosis method thereof, and on-vehicle electronic control device Download PDF

Info

Publication number
JP4747683B2
JP4747683B2 JP2005160245A JP2005160245A JP4747683B2 JP 4747683 B2 JP4747683 B2 JP 4747683B2 JP 2005160245 A JP2005160245 A JP 2005160245A JP 2005160245 A JP2005160245 A JP 2005160245A JP 4747683 B2 JP4747683 B2 JP 4747683B2
Authority
JP
Japan
Prior art keywords
diagnosis result
electronic control
abnormality
vehicle electronic
abnormality diagnosis
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Expired - Fee Related
Application number
JP2005160245A
Other languages
Japanese (ja)
Other versions
JP2006335150A (en
Inventor
史郎 辻岡
隆 斎藤
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Nissan Motor Co Ltd
Original Assignee
Nissan Motor Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Nissan Motor Co Ltd filed Critical Nissan Motor Co Ltd
Priority to JP2005160245A priority Critical patent/JP4747683B2/en
Publication of JP2006335150A publication Critical patent/JP2006335150A/en
Application granted granted Critical
Publication of JP4747683B2 publication Critical patent/JP4747683B2/en
Expired - Fee Related legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Landscapes

  • Vehicle Cleaning, Maintenance, Repair, Refitting, And Outriggers (AREA)

Description

本発明は、複数の車載電子制御装置間でデータを送受信して協調動作を行う車載電子制御システム及びその故障診断方法、並びに車載電子制御装置に関する。   The present invention relates to an on-vehicle electronic control system that performs cooperative operation by transmitting and receiving data between a plurality of on-vehicle electronic control devices, a failure diagnosis method thereof, and an on-vehicle electronic control device.

車両に搭載される各種電装品は、各種センサによって検出される車両の状態やドライバからの操作入力等に応じて、ECU(Electronic Control Unit)と呼ばれる電子制御装置によって電気的に動作制御されている。各種電装品の動作を制御するECUは、一般に、自己の状態を監視する機能(自己診断機能)を有しており、何らかの異常を検出した場合には、その異常を表すコードデータなどを異常診断結果として記憶している。そして、その異常が車両の故障として現れると、整備士が所定の診断機をECUに接続して当該ECUが記憶している異常診断結果を読み出し、故障の原因を解析するようにしている。   Various electrical components mounted on the vehicle are electrically controlled by an electronic control unit called an ECU (Electronic Control Unit) according to the state of the vehicle detected by various sensors, operation input from the driver, and the like. . The ECU that controls the operation of various electrical components generally has a function to monitor its own state (self-diagnosis function), and if any abnormality is detected, the code data representing the abnormality is diagnosed abnormally. Remember as a result. When the abnormality appears as a vehicle failure, a mechanic connects a predetermined diagnostic machine to the ECU, reads out the abnormality diagnosis result stored in the ECU, and analyzes the cause of the failure.

ところで、近年では、複数のECUを多重通信ネットワークに接続し、ECU間で互いに情報を交換しあい且つ互いに協調して1つの機能を実現する分散型・協調型の車載電子制御システムが構築されている。このような分散型・協調型の車載電子制御システムにおいては、あるECUの潜在的問題により、他のECUまでもが異常状態に至ることがある。   By the way, in recent years, a distributed and cooperative in-vehicle electronic control system has been constructed that connects a plurality of ECUs to a multiplex communication network, exchanges information with each other, and cooperates with each other to realize one function. . In such a distributed / cooperative in-vehicle electronic control system, due to a potential problem of a certain ECU, even other ECUs may reach an abnormal state.

具体的な例として、例えば、車輪速センサの検出値を読み込む第1のECUと、第1のECUから車輪速データを受信して、受信した車輪速データに基づいて車速データを算出する第2のECUと、第2のECUから車速データを受信して、受信した車速データに基づいて所定の処理を行う第3のECUとによる協調動作について考える。この場合、車輪速センサに故障が発生して車輪速センサの検出値が異常な値となると、第1のECUが当該車輪速センサの異常を示す異常診断結果を記憶し、第2のECUが車輪速データの異常を示す異常診断結果を記憶し、第3のECUが車速データの異常を示す異常診断結果を記憶することになる。このように、分散型・協調型の車載電子制御システムにおいては、異常を検出した各ECUが当該ECUに直接的に関連する異常診断結果のみを記憶することになる。   As a specific example, for example, a first ECU that reads a detection value of a wheel speed sensor, a second ECU that receives wheel speed data from the first ECU, and calculates vehicle speed data based on the received wheel speed data. Consider the cooperative operation of the ECU and the third ECU that receives vehicle speed data from the second ECU and performs predetermined processing based on the received vehicle speed data. In this case, when a failure occurs in the wheel speed sensor and the detected value of the wheel speed sensor becomes an abnormal value, the first ECU stores an abnormality diagnosis result indicating an abnormality of the wheel speed sensor, and the second ECU The abnormality diagnosis result indicating the abnormality of the wheel speed data is stored, and the third ECU stores the abnormality diagnosis result indicating the abnormality of the vehicle speed data. Thus, in the distributed / cooperative in-vehicle electronic control system, each ECU that detects an abnormality stores only the abnormality diagnosis result directly related to the ECU.

このように、従来の一般的な車載電子制御システムでは、異常を検出した各ECUが当該ECUに直接的に関連する異常診断結果のみを記憶するようにしているため、複数のECUによる協調動作に異常が生じたときに、異常を検出したECUの異常診断結果を読み出しても、他のECUに潜在している真の原因を見つけだすことが困難な場合が多く、熟練した整備士であっても、最終的に故障原因を特定するまでに多大な時間を要し、負担が大きいという問題がある。   As described above, in the conventional general vehicle-mounted electronic control system, each ECU that detects an abnormality stores only an abnormality diagnosis result directly related to the ECU. Even when an abnormality occurs, it is often difficult to find the true cause that is latent in other ECUs even if the abnormality diagnosis result of the ECU that detected the abnormality is read out, even for a skilled mechanic There is a problem that it takes a lot of time to finally identify the cause of the failure and the burden is large.

このような整備士の負担を軽減し、故障解析の作業性を向上させるために、例えば特許文献1に記載された技術が提案されている。この特許文献1には、複数のECUの協調動作によって1つの機能を実現している車載電子制御システムの故障診断に使用する診断機として、当該車載電子制御システム全体の機能連鎖や故障検出に至る因果関係に関する情報を予め記憶しているものを用い、所定の判定ロジックにしたがって、各ECUから読み出した異常診断結果に基づいて自動的に故障原因を特定する技術が開示されている。
特開平3−32967号公報
In order to reduce the burden on such a mechanic and improve the workability of failure analysis, for example, a technique described in Patent Document 1 has been proposed. In Patent Document 1, as a diagnostic machine used for fault diagnosis of an on-vehicle electronic control system that realizes one function by cooperative operation of a plurality of ECUs, it leads to a functional chain and fault detection of the entire on-vehicle electronic control system. There has been disclosed a technique for automatically identifying a cause of a failure based on an abnormality diagnosis result read from each ECU in accordance with a predetermined determination logic using information stored in advance on causal information.
JP-A-3-32967

しかしながら、上述した特許文献1に記載された技術では、ある機能を実現するための各ECUによる協調動作について全て把握した上で診断機の判定ロジックを作成する必要があり、判定ロジックの作成が極めて困難であるという問題があった。特に、この特許文献1に記載された技術においては、システム構成が異なる車両毎に判定ロジックを作成する必要があることから、情報量が膨大となり、判定ロジック自体に欠陥が発生しやすくなるという問題があった。また、この特許文献1に記載された技術においては、同一車両であっても機能が追加される度に、機能連鎖の順序や組み合わせが変化することから、これに対応して判定ロジックを修正する必要があり、効率の悪化を招来するという問題があった。   However, in the technique described in Patent Document 1 described above, it is necessary to create a determination logic for a diagnostic machine after grasping all the cooperative operations by each ECU for realizing a certain function. There was a problem that it was difficult. In particular, in the technique described in Patent Document 1, since it is necessary to create a determination logic for each vehicle having a different system configuration, the amount of information becomes enormous and defects in the determination logic itself are likely to occur. was there. Further, in the technique described in Patent Document 1, since the order and combination of the function chain change every time a function is added even in the same vehicle, the determination logic is corrected accordingly. There was a problem that it was necessary and caused deterioration of efficiency.

本発明は、以上のような従来の実情に鑑みて創案されたものであって、複数のECU間でデータを送受信して協調動作を行う際に、1つのECUの異常によって連鎖的に他のECUが異常を検出する場合であっても、複雑な判定ロジックを用いることなく、容易且つ適切に故障原因を特定することができる車載電子制御システム及びその故障診断方法、並びに車載電子制御装置を提供することを目的としている。   The present invention was devised in view of the conventional situation as described above, and when performing cooperative operation by transmitting / receiving data between a plurality of ECUs, other ECUs are linked in sequence due to an abnormality of one ECU. Provided is an in-vehicle electronic control system, a failure diagnosis method thereof, and an in-vehicle electronic control device that can easily and appropriately specify the cause of a failure without using complicated determination logic even when the ECU detects an abnormality. The purpose is to do.

本発明は、協調動作を行う複数の車載電子制御装置に、以下のような処理を実行させることにより、上述した課題を解決する。すなわち、本発明では、複数の車載電子制御装置のそれぞれが、自己診断の結果として得られた異常診断結果を記憶し、当該異常診断結果を読み出すための第1の診断結果読み出しコマンドを外部から受信したときに、当該異常診断結果に他の車載電子制御装置からの入力異常が含まれていれば、当該他の車載電子制御装置が記憶している異常診断結果を読み出すための第2の診断結果読み出しコマンドを当該他の車載電子制御装置に対して送信する。そして、当該他の車載電子制御装置から前記第2の診断結果読み出しコマンドの応答として得た異常診断結果を、前記第1の診断結果読み出しコマンドの応答として、当該第1の診断結果読み出しコマンドの送信元へと送信する。これにより、本発明においては、複数の車載電子制御装置で互いに関連性のある異常診断結果について、故障の原因となっている異常を示す異常診断結果まで辿って、その異常診断結果が診断結果読み出しコマンドの送信元へと送信されることになる。   The present invention solves the above-described problems by causing a plurality of in-vehicle electronic control devices that perform cooperative operations to execute the following processing. In other words, in the present invention, each of the plurality of in-vehicle electronic control devices stores an abnormality diagnosis result obtained as a result of self-diagnosis, and receives a first diagnosis result read command for reading out the abnormality diagnosis result from the outside. If the abnormality diagnosis result includes an input abnormality from another in-vehicle electronic control device, the second diagnosis result for reading out the abnormality diagnosis result stored in the other in-vehicle electronic control device A read command is transmitted to the other on-vehicle electronic control device. Then, the abnormality diagnosis result obtained as a response to the second diagnosis result read command from the other in-vehicle electronic control device is transmitted as the response to the first diagnosis result read command. Send to the original. Thus, in the present invention, the abnormality diagnosis results that are related to each other by the plurality of on-vehicle electronic control devices are traced to the abnormality diagnosis result indicating the abnormality that is the cause of the failure, and the abnormality diagnosis result is read out as the diagnosis result. It will be sent to the command source.

本発明によれば、1つの車載電子制御装置の異常によって連鎖的に他の車載電子制御装置が異常を検出する場合であっても、複雑な判定ロジックを用いることなく、容易且つ適切に故障原因を特定することができる。   According to the present invention, even when another on-vehicle electronic control device detects an abnormality in a chain due to an abnormality of one on-vehicle electronic control device, the cause of the failure can be easily and appropriately used without using a complicated determination logic. Can be specified.

以下、本発明を適用した車載電子制御システムの具体的な実施形態について、図面を参照しながら詳細に説明する。   Hereinafter, specific embodiments of an on-vehicle electronic control system to which the present invention is applied will be described in detail with reference to the drawings.

この車載電子制御システムは、図1に示すように、車載電子制御装置としての複数のECUが所定のネットワークバス100で相互に接続され、これらECU間でネットワークバス100を介してデータを送受信して協調動作を行うことが可能なネットワーク型の制御システムとして構成される。なお、本実施形態では、簡単のために3つのECU10A,10B,10Cがネットワークバス100に接続され、これら3つのECU10A,10B,10Cの間で協調動作を行う場合を例に挙げて説明するが、当然のことながらECUの数はこの例に限定されるものではない。   As shown in FIG. 1, the in-vehicle electronic control system includes a plurality of ECUs as in-vehicle electronic control devices connected to each other via a predetermined network bus 100, and transmits and receives data between the ECUs via the network bus 100. It is configured as a network type control system capable of performing cooperative operation. In the present embodiment, for simplicity, three ECUs 10A, 10B, and 10C are connected to the network bus 100, and a case where a cooperative operation is performed between the three ECUs 10A, 10B, and 10C will be described as an example. Of course, the number of ECUs is not limited to this example.

また、この車載電子制御システムでは、各ECU10A,10B,10Cのそれぞれに対して、当該車載電子制御システムの故障診断を行うための診断機210が、専用ハーネス200を介して接続可能とされている。診断機210は、ECU10A,10B,10Cに対して、後述する異常診断結果を読み出すための診断結果読み出しコマンドを送信し、その応答として得られる異常診断結果を表示するものであり、例えば車両整備工場における整備士によって操作されるものである。なお、本実施形態では、この診断機210を専用ハーネス200を介して各ECU10A,10B,10Cに接続するようにしているが、診断機210をネットワークバス100を介して各ECU10A,10B,10Cに接続することも可能であり、この場合、専用ハーネス200を不要とすることもできる。   Further, in this in-vehicle electronic control system, a diagnostic machine 210 for performing a failure diagnosis of the in-vehicle electronic control system can be connected to each of the ECUs 10A, 10B, and 10C via a dedicated harness 200. . The diagnosis device 210 transmits a diagnosis result read command for reading out an abnormality diagnosis result, which will be described later, to the ECUs 10A, 10B, and 10C, and displays the abnormality diagnosis result obtained as a response. To be operated by a mechanic. In this embodiment, the diagnostic device 210 is connected to each ECU 10A, 10B, 10C via the dedicated harness 200. However, the diagnostic device 210 is connected to each ECU 10A, 10B, 10C via the network bus 100. It is also possible to connect, and in this case, the dedicated harness 200 can be dispensed with.

車載電子制御システムを構成する各ECU10A,10B,10Cは、それぞれ、各ECUに求められる制御機能を実行する機能実行部20A,20B,20Cと、機能実行部20A,20B,20Cでの制御状態についての自己診断を行う診断制御部30A,30B,30Cとを備える。ここで、自己診断とは、自己の制御状態を監視して、異常があればそれを検出する動作をいう。   The ECUs 10A, 10B, and 10C constituting the in-vehicle electronic control system are respectively controlled by the function execution units 20A, 20B, and 20C that execute control functions required for the ECUs and the control states in the function execution units 20A, 20B, and 20C. Diagnostic control units 30A, 30B, and 30C. Here, the self-diagnosis refers to an operation of monitoring the self control state and detecting any abnormality.

各ECU10A,10B,10Cの機能実行部20A,20B,20Cは、それぞれ、各機能毎の機能制御部21A,22A,・・・23A,21B,22B,・・・23B,21C,22C,・・・23Cを有する。これら機能制御部21A,22A,・・・23A,21B,22B,・・・23B,21C,22C,・・・23Cは、外部からの入力以外に演算に必要なパラメータなどを予め記憶しており、これら外部入力や記憶したパラメータなどを用いて所定の演算処理を行って、各機能を実現する。本実施形態では、ECU10Aの機能制御部22Aにセンサ41が接続され、ECU10Aの機能制御部23Aにセンサ42及びアクチュエータ43が接続され、ECU10Cの機能制御部23Cにセンサ44が接続されているものとして説明する。なお、これらの各機能制御部21A,22A,・・・23A,21B,22B,・・・23B,21C,22C,・・・23Cは、ハードウェア又はソフトウェアのいずれによっても構成可能である。   The function execution units 20A, 20B, 20C of the ECUs 10A, 10B, 10C are respectively function control units 21A, 22A, ... 23A, 21B, 22B, ... 23B, 21C, 22C, ... for each function.・ Has 23C These function control units 21A, 22A, ... 23A, 21B, 22B, ... 23B, 21C, 22C, ... 23C store parameters necessary for calculation in addition to inputs from the outside. Each function is realized by performing predetermined arithmetic processing using these external inputs and stored parameters. In the present embodiment, the sensor 41 is connected to the function control unit 22A of the ECU 10A, the sensor 42 and the actuator 43 are connected to the function control unit 23A of the ECU 10A, and the sensor 44 is connected to the function control unit 23C of the ECU 10C. explain. Each of these function control units 21A, 22A,... 23A, 21B, 22B,... 23B, 21C, 22C, ... 23C can be configured by either hardware or software.

各ECU10A,10B,10Cの診断制御部30A,30B,30C(以下、これらを特に区別しないときは診断制御部30と総称する。)は、それぞれ、図2に示すように、各ECUの状態を監視する異常監視部31と、異常監視部31によって異常が検出されたときにその異常を表すコードデータ(以下、異常コードという。)を異常診断結果として記憶する不揮発性メモリからなる異常診断結果記憶部32と、外部の通信アプリケーションプログラムとの間での異常診断結果の送受信を制御する診断通信制御部33と、異常診断結果の内容に対応した処理内容が記載された不揮発性メモリからなる動作指示テーブル34と、自己診断に関連する処理を統括的に制御する制御ロジック部35とを有する。   Diagnosis control units 30A, 30B, and 30C of ECUs 10A, 10B, and 10C (hereinafter collectively referred to as diagnosis control unit 30 when they are not particularly distinguished) respectively indicate the state of each ECU as shown in FIG. An abnormality monitoring result storage comprising an abnormality monitoring unit 31 to be monitored and a non-volatile memory for storing, as an abnormality diagnosis result, code data (hereinafter referred to as an abnormality code) representing the abnormality when the abnormality monitoring unit 31 detects an abnormality. Operation instruction comprising a diagnostic communication control unit 33 for controlling transmission / reception of abnormality diagnosis results between the unit 32 and an external communication application program, and a nonvolatile memory in which processing contents corresponding to the contents of the abnormality diagnosis results are described It has a table 34 and a control logic unit 35 that comprehensively controls processing related to self-diagnosis.

以上のような本発明を適用した車載電子制御システムにおいて、ECU10Aに接続されたアクチュエータ43の動作制御は、例えば以下のように行われる。   In the on-vehicle electronic control system to which the present invention is applied as described above, the operation control of the actuator 43 connected to the ECU 10A is performed as follows, for example.

まず、ECU10Cにおける機能制御部23Cが、図3に示すように、センサ44の出力信号D1を入力すると、ネットワークバス100を介して、そのセンサ値を示す出力信号D2をECU10Bに供給する。このとき、ECU10Cは、診断制御部30Cにおける異常監視部31によって信号の入出力の状態を監視し、異常を検出した場合には、対応する異常コードを異常診断結果記憶部32に記憶する。   First, as shown in FIG. 3, when the function control unit 23C in the ECU 10C inputs the output signal D1 of the sensor 44, the output signal D2 indicating the sensor value is supplied to the ECU 10B via the network bus 100. At this time, the ECU 10C monitors the signal input / output state by the abnormality monitoring unit 31 in the diagnosis control unit 30C, and stores the corresponding abnormality code in the abnormality diagnosis result storage unit 32 when an abnormality is detected.

続いて、ECU10Bにおける機能制御部23Bは、ネットワークバス100を介して出力信号D2を入力すると、当該機能制御部23Bが内部に記憶しているパラメータを用いて当該出力信号D2に対して所定のセンサ値補正演算を行い、演算結果である補正センサ値を示す出力信号D3を、ネットワークバス100を介してECU10Aに供給する。このとき、ECU10Bは、診断制御部30Bにおける異常監視部31によって信号の入出力の状態を監視し、異常を検出した場合には、対応する異常コードを異常診断結果記憶部32に記憶する。   Subsequently, when the function control unit 23B in the ECU 10B receives the output signal D2 via the network bus 100, a predetermined sensor is used for the output signal D2 using parameters stored in the function control unit 23B. A value correction calculation is performed, and an output signal D3 indicating a correction sensor value as a calculation result is supplied to the ECU 10A via the network bus 100. At this time, the ECU 10B monitors the input / output state of the signal by the abnormality monitoring unit 31 in the diagnosis control unit 30B, and stores the corresponding abnormality code in the abnormality diagnosis result storage unit 32 when an abnormality is detected.

また、ECU10Aにおける機能制御部22Aは、センサ41の出力信号D4を入力して所定の演算を行うとともに、機能制御部23Aに当該出力信号D4を出力信号D5として供給する。機能制御部23Aは、ネットワークバス100を介して出力信号D3を入力し、センサ42の出力信号D6及び機能制御部22Aから供給された出力信号D5に基づいて、アクチュエータ43の制御パラメータを演算し、出力信号D7として当該アクチュエータ43に供給することにより、当該アクチュエータ43の動作を制御する。また、機能制御部23Aは、アクチュエータ43の出力信号D8を入力する。このとき、ECU10Aは、診断制御部30Aにおける異常監視部31によって信号の入出力の状態を監視し、異常を検出した場合には、対応する異常コードを異常診断結果記憶部32に記憶する。   Further, the function control unit 22A in the ECU 10A inputs the output signal D4 of the sensor 41, performs a predetermined calculation, and supplies the output signal D4 as the output signal D5 to the function control unit 23A. The function control unit 23A inputs the output signal D3 via the network bus 100, calculates the control parameter of the actuator 43 based on the output signal D6 of the sensor 42 and the output signal D5 supplied from the function control unit 22A, By supplying the output signal D7 to the actuator 43, the operation of the actuator 43 is controlled. In addition, the function control unit 23A inputs the output signal D8 of the actuator 43. At this time, the ECU 10A monitors the signal input / output state by the abnormality monitoring unit 31 in the diagnosis control unit 30A, and stores the corresponding abnormality code in the abnormality diagnosis result storage unit 32 when an abnormality is detected.

このように、本発明を適用した車載電子制御システムにおいては、ECU10A,10B,10Cに跨った協調動作を行うことにより、アクチュエータ43を動作制御する。   As described above, in the in-vehicle electronic control system to which the present invention is applied, the operation of the actuator 43 is controlled by performing a cooperative operation across the ECUs 10A, 10B, and 10C.

ここで、センサ44に何らかの故障が発生して、センサ44からの出力信号D1として異常値が出力された場合には、ECU10Cにおける機能制御部23Cは、出力信号D2として異常値を出力することになる。この場合、ECU10Cは、異常監視部31によりセンサ44の出力信号D1の異常を検出し、当該センサ44の異常を示す異常コードを異常診断結果記憶部32に記憶する。   Here, when some failure occurs in the sensor 44 and an abnormal value is output as the output signal D1 from the sensor 44, the function control unit 23C in the ECU 10C outputs the abnormal value as the output signal D2. Become. In this case, the ECU 10 </ b> C detects the abnormality of the output signal D <b> 1 of the sensor 44 by the abnormality monitoring unit 31 and stores an abnormality code indicating the abnormality of the sensor 44 in the abnormality diagnosis result storage unit 32.

また、ECU10Bにおける機能制御部23Bは、ECU10Cから異常値である出力信号D2が入力されることに応じて、センサ値補正演算によって異常値を算出し、出力信号D3として異常値を出力することになる。この場合、ECU10Bは、異常監視部31により出力信号D2の入力異常とセンサ値補正演算異常とを検出し、これら出力信号D2の入力異常を示す異常コードとセンサ値補正演算異常を示す異常コードとを異常診断結果記憶部32に記憶する。   Further, the function control unit 23B in the ECU 10B calculates an abnormal value by a sensor value correction calculation in response to the output signal D2 being an abnormal value from the ECU 10C, and outputs the abnormal value as the output signal D3. Become. In this case, the ECU 10B detects the input abnormality of the output signal D2 and the sensor value correction calculation abnormality by the abnormality monitoring unit 31, and the abnormality code indicating the input abnormality of the output signal D2 and the abnormality code indicating the sensor value correction calculation abnormality. Is stored in the abnormality diagnosis result storage unit 32.

また、ECU10Aにおける機能制御部23Aは、ECU10Bから異常値である出力信号D3(D5)が入力されることに応じて、アクチュエータ43の制御パラメータとして異常値を算出し、出力信号D7として異常値を出力して、アクチュエータ43を異常制御することになる。この場合、ECU10Aは、異常監視部31により出力信号D3の入力異常とアクチュエータ43の制御パラメータ演算異常と当該アクチュエータ43の制御異常とを検出し、これら出力信号D3の入力異常を示す異常コードと、アクチュエータ43の制御パラメータ演算異常を示す異常コードと、当該アクチュエータ43の制御異常を示す異常コードとを異常診断結果記憶部32に記憶する。   Further, the function control unit 23A in the ECU 10A calculates an abnormal value as a control parameter of the actuator 43 in response to the output signal D3 (D5) being an abnormal value from the ECU 10B, and outputs the abnormal value as the output signal D7. The actuator 43 is output and abnormal control of the actuator 43 is performed. In this case, the ECU 10A detects the input abnormality of the output signal D3, the control parameter calculation abnormality of the actuator 43, and the control abnormality of the actuator 43 by the abnormality monitoring unit 31, and an abnormality code indicating the input abnormality of the output signal D3, An abnormality code indicating a control parameter calculation abnormality of the actuator 43 and an abnormality code indicating a control abnormality of the actuator 43 are stored in the abnormality diagnosis result storage unit 32.

ECU10Aからの出力信号D7の異常によりアクチュエータ43の動作に異常が生じると、このアクチュエータ43の異常動作が車両挙動の異常として現れ、ユーザが故障の発生を認識することになる。そして、故障の発生を認識したユーザが車両を車両整備工場に持ち込むと、車両整備工場の整備士が、診断機210を車載電子制御システムに接続して、故障診断を行う。すなわち、車両整備工場の整備士は、診断機210を車両電子制御システムに接続して異常診断結果の読み出し操作を行うことにより、専用ハーネス200上に、異常診断結果を読み出すための診断結果読み出しコマンドと読み出し対象のECUを識別するコードとを付加したデータを送信する。そして、この診断結果読み出しコマンドへの応答として、読み出し対象のECUから診断機210へと異常診断結果が送信されると、診断機210の診断結果表示画面にその異常診断結果の内容を表示して、故障発生箇所の解析を行う。   If an abnormality occurs in the operation of the actuator 43 due to an abnormality in the output signal D7 from the ECU 10A, the abnormal operation of the actuator 43 appears as an abnormality in the vehicle behavior, and the user recognizes the occurrence of the failure. When the user who has recognized the occurrence of the failure brings the vehicle into the vehicle maintenance factory, a mechanic at the vehicle maintenance factory connects the diagnostic device 210 to the in-vehicle electronic control system to perform failure diagnosis. That is, a mechanic at the vehicle maintenance shop connects the diagnostic device 210 to the vehicle electronic control system and performs an operation for reading out the abnormality diagnosis result, thereby reading out a diagnosis result reading command for reading out the abnormality diagnosis result on the dedicated harness 200. And data to which a code for identifying the ECU to be read is added. Then, when an abnormality diagnosis result is transmitted from the ECU to be read to the diagnosis device 210 as a response to the diagnosis result read command, the contents of the abnormality diagnosis result are displayed on the diagnosis result display screen of the diagnosis device 210. Analyze the location of failure.

ここで、従来の一般的な車載電子制御システムにおいては、各ECUが記憶する異常診断結果は当該ECUに直接的に関連する異常コードのみであり、各ECUは、診断機210からの診断結果読み出しコマンドを受信したときに、当該ECUに直接的に関連する異常コードのみを診断機210に送信していた。すなわち、上述した例で説明すると、整備士が診断機210を操作して、ECU10Aを読み出し対象として診断結果読み出しコマンドを送信すると、ECU10Aがその診断結果読み出しコマンドへの応答として、異常診断結果記憶部32に記憶されている異常診断結果、具体的には、例えば出力信号D3の入力異常を示す異常コードと、アクチュエータ43の制御パラメータ演算異常を示す異常コードと、当該アクチュエータ43の制御異常を示す異常コードとを診断機210に送信する。その結果、診断機210の診断結果表示画面には、ECU10Aに直接的に関連する異常のみが表示されることになる。   Here, in the conventional general in-vehicle electronic control system, the abnormality diagnosis result stored in each ECU is only the abnormality code directly related to the ECU, and each ECU reads out the diagnosis result from the diagnostic device 210. When the command was received, only the abnormal code directly related to the ECU was transmitted to the diagnostic machine 210. That is, in the above-described example, when the mechanic operates the diagnosis device 210 and transmits a diagnosis result read command with the ECU 10A as a read target, the ECU 10A responds to the diagnosis result read command as an abnormality diagnosis result storage unit. 32, for example, an abnormality code indicating an input abnormality of the output signal D3, an abnormality code indicating a control parameter calculation abnormality of the actuator 43, and an abnormality indicating a control abnormality of the actuator 43, for example. The code is transmitted to the diagnostic machine 210. As a result, only the abnormality directly related to the ECU 10A is displayed on the diagnosis result display screen of the diagnostic machine 210.

このため、診断機210の診断結果表示画面に表示された情報を参照しても、故障発生箇所を即座に特定することが困難な場合が多く、整備士は、故障の原因を予測しながら他のECUからの異常診断結果の読み出し操作などを繰り返し行って、診断機210に次々と表示される情報を総合的に判断して故障の真の原因を見つけ出す必要があり、最終的に故障原因を特定するまでに多大な時間を要し、整備士の負担が大きくなるという問題があった。   For this reason, even when referring to the information displayed on the diagnostic result display screen of the diagnostic machine 210, it is often difficult to immediately identify the location where the failure has occurred. It is necessary to repeat the operation of reading out the abnormality diagnosis result from the ECU, and to comprehensively judge the information displayed one after another on the diagnostic machine 210 to find the true cause of the failure. It took a lot of time to identify, and there was a problem that the burden on the mechanic became large.

これに対して、本発明を適用した車載電子制御システムにおいては、各ECUに以下のような処理を実行させることで、故障原因の特定を容易且つ適切に行えるようにして、上述した従来の一般的な車載電子制御システムにおける問題点を解消するようにしている。なお、以下ではECU10Aでの処理を例に挙げて説明するが、本発明を適用した車載電子制御システムにおいては、他のECU10B,10Cにおいても同様の処理が行われる。   On the other hand, in the in-vehicle electronic control system to which the present invention is applied, the cause of the failure can be easily and appropriately specified by causing each ECU to execute the following processing, so that The problem in a conventional on-vehicle electronic control system is solved. In the following, the processing in the ECU 10A will be described as an example, but in the in-vehicle electronic control system to which the present invention is applied, the same processing is performed in the other ECUs 10B and 10C.

本発明を適用した車載電子制御システムにおいて、ECU10Aは、図4に示すように、診断制御部30Aにおける異常監視部31により、当該ECU10Aに対する入力、機能制御部21A,22A,・・・23Aの内部演算結果、及びアクチュエータ43の制御状態を監視しており、これら監視対象のうちいずれかの異常を検出した場合には、異常診断結果として、対応する異常コードを異常診断結果記憶部32に記憶する。   In the in-vehicle electronic control system to which the present invention is applied, as shown in FIG. 4, the ECU 10 </ b> A has an abnormality monitoring unit 31 in the diagnostic control unit 30 </ b> A that inputs to the ECU 10 </ b> A, the function control units 21 </ b> A, 22 </ b> A,. The calculation result and the control state of the actuator 43 are monitored, and when any abnormality is detected among these monitoring targets, the corresponding abnormality code is stored in the abnormality diagnosis result storage unit 32 as the abnormality diagnosis result. .

また、診断通信制御部33は、診断機210や他のECUから診断結果読み出しコマンドC1を受信すると、この診断結果読み出しコマンドC1を制御ロジック部35に通知する。これに応じて、制御ロジック部35は、異常診断結果記憶部32に異常診断結果として何らかの異常コードが記憶されているか否かの照会を行い、異常コードが記憶されていない場合には、診断通信制御部33に「異常なし」を示す結果送信コマンドを発行する。そして、診断通信制御部33は、異常診断結果読み出しコマンドC1に対する応答として、「異常なし」を示す診断結果情報を送信する。一方、制御ロジック部35は、異常診断結果記憶部32に異常診断結果として何らかの異常コードが記憶されている場合には、動作指示テーブル34を参照し、この異常コードの内容に対応する処理内容として動作指示テーブル34に記載されている内容に応じて、処理を切り替える。   Further, when receiving the diagnostic result read command C1 from the diagnostic machine 210 or another ECU, the diagnostic communication control unit 33 notifies the control logic unit 35 of the diagnostic result read command C1. In response to this, the control logic unit 35 inquires whether or not any abnormality code is stored as the abnormality diagnosis result in the abnormality diagnosis result storage unit 32. If no abnormality code is stored, the diagnosis communication is performed. A result transmission command indicating “no abnormality” is issued to the control unit 33. Then, the diagnostic communication control unit 33 transmits diagnostic result information indicating “no abnormality” as a response to the abnormality diagnostic result read command C1. On the other hand, when any abnormality code is stored as an abnormality diagnosis result in the abnormality diagnosis result storage unit 32, the control logic unit 35 refers to the operation instruction table 34 as processing contents corresponding to the content of the abnormality code. The process is switched according to the contents described in the operation instruction table 34.

すなわち、制御ロジック部35は、異常診断結果記憶部32に記憶されている異常コードが、ECU10Bから供給された出力信号D3の異常を示す異常コードである場合には、ECU10Bの異常診断結果を取得すべく、ECU10Bに対して診断結果読み出しコマンドC2を発行するように診断通信制御部33に要求する。これに応じて、診断通信制御部33は、ECU10Bに対して診断結果読み出しコマンドC2を発行し、この異常診断結果読み出しコマンドC2に対するECU10Bからの応答を待つ。そして、異常診断結果読み出しコマンドC2に対する応答として、ECU10Bから当該ECU10Bが記憶している異常コードが送信された場合には、診断結果読み出しコマンドC1に対する応答として、ECU10Bから送信された異常コードを診断結果読み出しコマンドC1の送信元である診断機210や他のECUに対して送信する。また、診断通信制御部33は、診断結果読み出しコマンドC2に対するECU10Bからの応答がない場合には、診断結果読み出しコマンドC1に対する応答として、ECU10Bからの入力異常を示す異常コードを診断結果読み出しコマンドC1の送信元である診断機210や他のECUに対して送信する。   That is, when the abnormality code stored in the abnormality diagnosis result storage unit 32 is an abnormality code indicating an abnormality in the output signal D3 supplied from the ECU 10B, the control logic unit 35 acquires the abnormality diagnosis result of the ECU 10B. Accordingly, the diagnostic communication control unit 33 is requested to issue a diagnostic result read command C2 to the ECU 10B. In response to this, the diagnostic communication control unit 33 issues a diagnostic result read command C2 to the ECU 10B, and waits for a response from the ECU 10B to the abnormality diagnostic result read command C2. When the abnormality code stored in the ECU 10B is transmitted from the ECU 10B as a response to the abnormality diagnosis result read command C2, the abnormality code transmitted from the ECU 10B is used as the diagnosis result as a response to the diagnosis result read command C1. It transmits to the diagnostic machine 210 and other ECUs that are the transmission source of the read command C1. Further, when there is no response from the ECU 10B to the diagnostic result read command C2, the diagnostic communication control unit 33 outputs an abnormal code indicating an input abnormality from the ECU 10B as a response to the diagnostic result read command C1. It transmits with respect to the diagnostic machine 210 which is a transmission origin, and other ECU.

また、制御ロジック部35は、異常診断結果記憶部32に記憶されている異常コードが当該ECU10Aの異常に対応するものである場合には、異常診断結果記憶部32に記憶されている異常コードを診断結果読み出しコマンドC1の送信元である診断機210や他のECUに送信するように診断通信制御部33に要求する。これに応じて、診断通信制御部33は、診断結果読み出しコマンドC1に対する応答として、異常診断結果記憶部32に記憶されている異常コードを診断結果読み出しコマンドC1の送信元である診断機210や他のECUに対して送信する。   Further, when the abnormality code stored in the abnormality diagnosis result storage unit 32 corresponds to the abnormality of the ECU 10A, the control logic unit 35 stores the abnormality code stored in the abnormality diagnosis result storage unit 32. The diagnostic communication control unit 33 is requested to transmit the diagnostic result read command C1 to the diagnostic machine 210 or other ECU that is the transmission source. In response to this, the diagnostic communication control unit 33 responds to the diagnostic result read command C1 by using the diagnostic machine 210 that is the transmission source of the diagnostic result read command C1 or the like as the response to the diagnostic result read command C1. To the ECU.

図5は、本発明を適用した車載電子制御システムにおいて、診断結果読み出しコマンドを受信した際に各ECUで実行される一連の処理の流れを示すフローチャートである。   FIG. 5 is a flowchart showing a flow of a series of processes executed by each ECU when a diagnostic result read command is received in the in-vehicle electronic control system to which the present invention is applied.

本発明を適用した車載電子制御システムの各ECUは、まず、ステップS1において、診断機210や他のECUから診断結果読み出しコマンドC1を受信すると、ステップS2において、異常診断結果記憶部32に異常診断結果として記憶されている異常コードを読み出す処理を行う。ここで、ECUは、ステップS3において、異常診断結果記憶部32に異常診断結果としての異常コードが記憶されていないと判断した場合には、ステップS4において、ステップS1で受信した診断結果読み出しコマンドC1に対する応答として、「異常なし」を示す診断結果情報を、診断結果読み出しコマンドC1の送信元である診断機210や他のECUに対して送信する。一方、ECUは、異常診断結果記憶部32に何らかの異常コードが記憶されていると判断した場合には、ステップS5において、動作指示テーブル34を参照して、その異常コードの内容を判断する。   First, each ECU of the on-vehicle electronic control system to which the present invention is applied receives a diagnostic result read command C1 from the diagnostic machine 210 or another ECU in step S1, and then diagnoses an abnormality in the abnormality diagnostic result storage unit 32 in step S2. A process of reading out the abnormal code stored as a result is performed. If the ECU determines in step S3 that an abnormality code as an abnormality diagnosis result is not stored in the abnormality diagnosis result storage unit 32, the diagnosis result read command C1 received in step S1 in step S4. As a response to the above, diagnostic result information indicating “no abnormality” is transmitted to the diagnostic machine 210 and other ECUs that are the transmission source of the diagnostic result read command C1. On the other hand, when the ECU determines that any abnormality code is stored in the abnormality diagnosis result storage unit 32, the ECU refers to the operation instruction table 34 to determine the content of the abnormality code in step S5.

ここで、ECUは、ステップS6において、異常コードの内容が他のECUからの入力異常を示すものでないと判断した場合、すなわち、異常コードの内容が自己の異常を示すものであると判断した場合には、ステップS7において、ステップS1で受信した診断結果読み出しコマンドC1に対する応答として、この異常診断結果記憶部32に記憶されている異常コードを、診断結果読み出しコマンドC1の送信元である診断機210や他のECUに対して送信する。一方、ECUは、異常コードの内容が他のECUからの入力異常を示すものであると判断した場合には、ステップS8において、当該他のECUに対して診断結果読み出しコマンドC2を送信する。   Here, if the ECU determines in step S6 that the content of the abnormal code does not indicate an input abnormality from another ECU, that is, if the content of the abnormal code indicates that it is abnormal. In step S7, as a response to the diagnosis result read command C1 received in step S1, the abnormality code stored in the abnormality diagnosis result storage unit 32 is used as the diagnosis machine 210 that is the transmission source of the diagnosis result read command C1. And transmitted to other ECUs. On the other hand, when the ECU determines that the content of the abnormality code indicates an input abnormality from another ECU, the ECU transmits a diagnostic result read command C2 to the other ECU in step S8.

そして、ECUは、ステップS9において、診断結果読み出しコマンドC2に対する応答として、当該他のECUから当該他のECUが記憶している異常コードの送信があったか否かを判断し、当該他のECUから異常コードの送信があれば、ステップS10において、ステップS1で受信した診断結果読み出しコマンドC1に対する応答として、当該他のECUから受信した異常コードを、診断結果読み出しコマンドC1の送信元である診断機210や他のECUに対して送信する。一方、所定時間経過しても診断結果読み出しコマンドC2に対する応答がない場合(ステップS11で否定判定の場合)には、ECUは、他のECUからのデータを入力する入力部に故障が発生していると判断し、ステップS12において、ステップS1で受信した診断結果読み出しコマンドC1に対する応答として、入力部の故障を示す異常コードを、診断結果読み出しコマンドC1の送信元である診断機210や他のECUに対して送信する。   In step S9, the ECU determines whether or not an abnormality code stored in the other ECU has been transmitted from the other ECU as a response to the diagnosis result read command C2, and the abnormality is detected from the other ECU. If there is a code transmission, in step S10, as a response to the diagnostic result read command C1 received in step S1, the abnormal code received from the other ECU is used as the diagnostic machine 210 that is the transmission source of the diagnostic result read command C1. It transmits to other ECU. On the other hand, if there is no response to the diagnostic result read command C2 even after a predetermined time has elapsed (in the case of negative determination in step S11), the ECU has failed in an input unit that inputs data from another ECU. In step S12, as a response to the diagnostic result read command C1 received in step S1, an abnormal code indicating a failure of the input unit is used as a diagnostic machine 210 or other ECU that is the transmission source of the diagnostic result read command C1. Send to.

本発明を適用した車載電子制御システムにおいては、当該車載電子制御システムを構成する各ECU10A,10B,10Cにおいて以上のような処理が実行されることによって、これらECU10A,10B,10Cに跨った協調動作によって実現される機能に何らかの故障が発生したときに、その故障原因を容易且つ適切に特定することが可能となる。   In the on-vehicle electronic control system to which the present invention is applied, the ECU 10A, 10B, 10C constituting the on-vehicle electronic control system performs the above-described processing, and thus the cooperative operation over the ECUs 10A, 10B, 10C. When any failure occurs in the function realized by the above, it becomes possible to easily and appropriately specify the cause of the failure.

すなわち、本発明を適用した車載電子制御システムにおいては、例えば図6に示すように、ECU10Cに接続されたセンサ44の故障によってECU10Aに接続されたアクチュエータ43の動作に異常が生じたときに、ECU10Aに診断機210が接続されて、診断機210からECU10Aに対して診断結果読み出しコマンドを送信すると、ECU10Aの診断制御部30Aが、当該ECU10Aの異常診断結果としてECU10Bからの出力信号D3の異常を示す異常コードが記憶されていることを受けて、ECU10Bに対して診断結果読み出しコマンドを送信する。   That is, in the in-vehicle electronic control system to which the present invention is applied, for example, as shown in FIG. 6, when an abnormality occurs in the operation of the actuator 43 connected to the ECU 10A due to a failure of the sensor 44 connected to the ECU 10C, the ECU 10A When the diagnosis device 210 is connected to the ECU 10A and the diagnosis result read command is transmitted from the diagnosis device 210 to the ECU 10A, the diagnosis control unit 30A of the ECU 10A indicates an abnormality of the output signal D3 from the ECU 10B as the abnormality diagnosis result of the ECU 10A. In response to the storage of the abnormal code, a diagnostic result read command is transmitted to the ECU 10B.

ECU10AからECU10Bに対して診断結果読み出しコマンドが送信されると、ECU10Bの診断制御部30Bが、当該ECU10Bの異常診断結果としてECU10Cからの出力信号D2の異常を示す異常コードが記憶されていることを受けて、ECU10Cに対して診断結果読み出しコマンドを送信する。   When a diagnostic result read command is transmitted from the ECU 10A to the ECU 10B, the diagnostic control unit 30B of the ECU 10B stores an abnormality code indicating an abnormality of the output signal D2 from the ECU 10C as an abnormality diagnosis result of the ECU 10B. In response, a diagnostic result read command is transmitted to the ECU 10C.

ECU10BからECU10Cに対して診断結果読み出しコマンドが送信されると、ECU10Cの診断制御部30Cが、当該ECU10Cの異常診断結果としてセンサ44の故障を示す異常コードが記憶されていることを受けて、ECU10Bからの診断結果読み出しコマンドに対する応答として、センサ44の故障を示す異常コードをECU10Bに送信する。   When a diagnostic result read command is transmitted from the ECU 10B to the ECU 10C, the diagnostic control unit 30C of the ECU 10C receives the fact that an abnormality code indicating a failure of the sensor 44 is stored as an abnormality diagnosis result of the ECU 10C. As a response to the diagnostic result read command from, an abnormal code indicating a failure of the sensor 44 is transmitted to the ECU 10B.

ECU10CからECU10Bに対してセンサ44の故障を示す異常コードが送信されると、ECU10Bの診断制御部30Bが、ECU10Aからの診断結果読み出しコマンドに対する応答として、このECU10Cから受信したセンサ44の故障を示す異常コードをECU10Aに送信する。   When an abnormal code indicating failure of the sensor 44 is transmitted from the ECU 10C to the ECU 10B, the diagnosis control unit 30B of the ECU 10B indicates the failure of the sensor 44 received from the ECU 10C as a response to the diagnosis result read command from the ECU 10A. The abnormal code is transmitted to the ECU 10A.

ECU10BからECU10Aに対してセンサ44の故障を示す異常コードが送信されると、ECU10Aの診断制御部30Aが、診断機210からの診断結果読み出しコマンドに対する応答として、このECU10Bから受信したセンサ44の故障を示す異常コードを診断機210に送信する。これにより、診断機210は、ECU10Cに接続されているセンサ44の故障を検出することでき、診断結果表示画面にその旨を表示することができる。   When an abnormal code indicating failure of the sensor 44 is transmitted from the ECU 10B to the ECU 10A, the failure of the sensor 44 received from the ECU 10B by the diagnosis control unit 30A of the ECU 10A as a response to the diagnosis result read command from the diagnostic machine 210 Is transmitted to the diagnosis device 210. Thereby, the diagnostic machine 210 can detect a failure of the sensor 44 connected to the ECU 10C, and can display that fact on the diagnostic result display screen.

このように、本発明を適用した車載電子制御システムにおいては、複数のECUによる協調動作を行うときに、上流側に位置するECUの異常に起因して、下流側に位置する全てのECUに異常が検出される場合には、下流側に位置するECUから順次、自己よりも一段上流側に位置するECUに対して診断結果読み出しコマンドを送信して異常の原因を問い合わせ、最終的な異常原因が生じているECUから順次、自己よりも一段下流側に位置するECUに対して応答していくことにより、診断機210に異常原因を知らせることができる。したがって、本発明を適用した車載電子制御システムにおいては、最下流側に位置するECUに診断機210を接続して診断結果読み出しコマンドを送信するのみで、真の故障原因となっている上流側に位置するECUの異常を把握することが可能となる。   As described above, in the in-vehicle electronic control system to which the present invention is applied, when the cooperative operation by a plurality of ECUs is performed, all the ECUs located downstream are abnormal due to the abnormality of the ECU located upstream. Is detected, the diagnosis result read command is sent to the ECU located one step upstream from the ECU located downstream, and the cause of the abnormality is inquired. The cause of the abnormality can be notified to the diagnosis device 210 by responding sequentially to the ECU located one step downstream from the ECU that has occurred. Therefore, in the on-vehicle electronic control system to which the present invention is applied, it is only necessary to connect the diagnostic device 210 to the ECU located on the most downstream side and send a diagnostic result read command to the upstream side that is the true cause of the failure. It is possible to grasp the abnormality of the ECU that is positioned.

以上詳細に説明したように、本発明を適用した車載電子制御システムにおいては、複数のECU10A,10B,10Cのそれぞれが、自己診断して得られた異常診断結果を異常診断結果記憶部32に記憶し、この異常診断結果を読み出すための診断結果読み出しコマンドを外部から受信したときに、異常診断結果記憶部32に記憶している異常診断結果に他のECUからの入力異常を示す情報が含まれているか否かを確認するようにしている。そして、異常診断結果記憶部32に記憶している異常診断結果に他のECUからの入力異常を示す情報が含まれている場合には、当該他のECUが記憶している異常診断結果を読み出すための異常診断結果読み出しコマンドを当該他のECUに対して送信し、当該他のECUから得た診断結果を、異常診断結果読み出しコマンドの応答として、当該異常診断結果読み出しコマンドの送信元へと送信するようにしている。   As described above in detail, in the in-vehicle electronic control system to which the present invention is applied, each of the plurality of ECUs 10A, 10B, 10C stores the abnormality diagnosis result obtained by self-diagnosis in the abnormality diagnosis result storage unit 32. When the diagnosis result read command for reading the abnormality diagnosis result is received from the outside, the abnormality diagnosis result stored in the abnormality diagnosis result storage unit 32 includes information indicating an input abnormality from another ECU. I try to check whether or not. When the abnormality diagnosis result stored in the abnormality diagnosis result storage unit 32 includes information indicating an input abnormality from another ECU, the abnormality diagnosis result stored in the other ECU is read out. An abnormality diagnosis result read command is transmitted to the other ECU, and a diagnosis result obtained from the other ECU is transmitted to the transmission source of the abnormality diagnosis result read command as a response to the abnormality diagnosis result read command. Like to do.

これにより、本発明を適用した車載電子制御システムによれば、複数のECUで互いに関連性のある異常診断結果について、故障の原因となっている異常を示す異常診断結果まで辿って、その異常診断結果を診断結果読み出しコマンドの送信元へと送信することができ、1つのECUの異常によって連鎖的に他のECUが異常を検出する場合であっても、複雑な判定ロジックを用いることなく、容易且つ適切に故障原因を特定することができる。   Thus, according to the on-vehicle electronic control system to which the present invention is applied, the abnormality diagnosis results that are related to each other by the plurality of ECUs are traced to the abnormality diagnosis result that indicates the abnormality that is causing the failure, and the abnormality diagnosis is performed. The result can be transmitted to the transmission source of the diagnostic result read command, and even if another ECU detects an abnormality in a chain due to an abnormality of one ECU, it is easy without using complicated determination logic. And the cause of failure can be specified appropriately.

また、この車載電子制御システムにおいては、複数のECU10A,10B,10Cにおける制御ロジック部35が、診断通信制御部33によって診断結果読み出しコマンドが受信されたときに、異常診断結果としての異常コードの内容とそれに対応した処理内容が記載された動作指示テーブル34を参照して、異常診断結果記憶部32に記憶されている異常コードの内容に応じて処理を切り替えるようにしている。   Further, in this in-vehicle electronic control system, the control logic unit 35 in the plurality of ECUs 10A, 10B, and 10C includes the contents of the abnormality code as the abnormality diagnosis result when the diagnosis communication control unit 33 receives the diagnosis result read command. And the operation instruction table 34 in which the processing contents corresponding thereto are described, the processing is switched according to the content of the abnormality code stored in the abnormality diagnosis result storage unit 32.

具体的には、各ECU10A,10B,10Cの制御ロジック部35は、異常診断結果記憶部32に記憶されている異常コードが他のECUからの入力異常を示す異常コードである場合には、当該他のECUに対して異常診断結果読み出しコマンドを発行するように診断通信制御部33に要求する。また、制御ロジック部35は、異常診断結果記憶部32に記憶されている異常コードが当該ECUの異常に対応するものである場合には、当該異常コードを異常診断結果読み出しコマンドの送信元へと送信するように、診断通信制御部33に要求する。   Specifically, when the abnormality code stored in the abnormality diagnosis result storage unit 32 is an abnormality code indicating an input abnormality from another ECU, the control logic unit 35 of each ECU 10A, 10B, 10C The diagnosis communication control unit 33 is requested to issue an abnormality diagnosis result read command to another ECU. When the abnormality code stored in the abnormality diagnosis result storage unit 32 corresponds to the abnormality of the ECU, the control logic unit 35 sends the abnormality code to the transmission source of the abnormality diagnosis result read command. It requests the diagnostic communication control unit 33 to transmit.

このように、本発明を適用した車載電子制御システムにおいては、異常診断結果記憶部32に記憶されている異常コードの内容に応じて処理を切り替えるという極めて単純な判定ロジックで、各ECU10A,10B,10Cにおける制御ロジック部35を構成すればよく、車載電子制御システム全体の複雑な判定ロジックを用いることなく、故障原因を容易且つ適切に特定することができる。   As described above, in the on-vehicle electronic control system to which the present invention is applied, each ECU 10A, 10B, and the ECU 10A, 10B, with a very simple determination logic that switches processing according to the content of the abnormality code stored in the abnormality diagnosis result storage unit 32. What is necessary is just to comprise the control logic part 35 in 10C, and a failure cause can be specified easily and appropriately, without using the complicated determination logic of the whole vehicle-mounted electronic control system.

なお、以上説明した車載電子制御システムは本発明の一適用例であり、本発明が以上の例に限定されるものではなく、本発明に係る技術的思想を逸脱しない範囲であれば、具体的なハードウェア構成や各ECUでの処理の細部などにおいて種々の変更が可能であることは勿論である。例えば、上述した車載電子制御システムにおいては、各ECU10A,10B,10Cを1つのネットワークバス100で接続し、各ECU10A,10B,10C間のデータ送受信をこのネットワークバス100を介して行うようにしているが、各ECU10A,10B,10C間をそれぞれ個別の専用ハーネスで接続し、各ECU10A,10B,10C間のデータ送受信をこれら専用ハーネスを用いて行うようにしてもよい。また、上述した車載電子制御システムにおいては、各ECU10A,10B,10Cが診断結果読み出しコマンドに対する応答として、異常コードそのものを診断結果読み出しコマンドの送信元に送信するようにしているが、異常コードに対応した具体的な異常の内容を診断結果読み出しコマンドに対する応答として送信するようにしてもよい。   The on-vehicle electronic control system described above is an application example of the present invention, and the present invention is not limited to the above example, and may be concrete as long as it does not depart from the technical idea of the present invention. It goes without saying that various changes can be made in the hardware configuration and details of processing in each ECU. For example, in the above-described on-vehicle electronic control system, each ECU 10A, 10B, 10C is connected by one network bus 100, and data transmission / reception between each ECU 10A, 10B, 10C is performed via this network bus 100. However, the ECUs 10A, 10B, and 10C may be connected by individual dedicated harnesses, and data transmission and reception between the ECUs 10A, 10B, and 10C may be performed using these dedicated harnesses. Further, in the above-described on-vehicle electronic control system, each of the ECUs 10A, 10B, and 10C transmits the abnormal code itself to the transmission source of the diagnostic result read command as a response to the diagnostic result read command. The specific content of the abnormality may be transmitted as a response to the diagnostic result read command.

本発明を適用した車載電子制御システムの概略構成を示すブロック図である。It is a block diagram which shows schematic structure of the vehicle-mounted electronic control system to which this invention is applied. 本発明を適用した車載電子制御システムにおける各ECUの診断制御部の構成を示すブロック図である。It is a block diagram which shows the structure of the diagnostic control part of each ECU in the vehicle-mounted electronic control system to which this invention is applied. 本発明を適用した車載電子制御システムにおいて、アクチュエータの動作制御時に流れる信号について説明するための図である。It is a figure for demonstrating the signal which flows at the time of the operation control of an actuator in the vehicle-mounted electronic control system to which this invention is applied. 本発明を適用した車載電子制御システムにおいて、ECU10Aの診断制御部が実行する処理について説明するための図である。It is a figure for demonstrating the process which the diagnostic control part of ECU10A performs in the vehicle-mounted electronic control system to which this invention is applied. 本発明を適用した車載電子制御システムにおいて、各ECUが診断結果読み出しコマンドを受信した際に実行する一連の処理の流れを示すフローチャートである。5 is a flowchart showing a flow of a series of processes executed when each ECU receives a diagnostic result read command in the in-vehicle electronic control system to which the present invention is applied. 本発明を適用した車載電子制御システムにおいて、複数のECUに跨った協調動作によって実現される機能の故障原因を特定する様子を説明するための図である。It is a figure for demonstrating a mode that the failure cause of the function implement | achieved by the cooperative operation | movement over several ECUs is specified in the vehicle-mounted electronic control system to which this invention is applied.

符号の説明Explanation of symbols

10A,10B,10C ECU
20A,20B,20C 機能実行部
30A,30B,30C 診断制御部
31 異常監視部
32 異常診断結果記憶部
33 診断通信制御部
34 動作指示テーブル
35 制御ロジック部
41,42,44 センサ
43 アクチュエータ
100 ネットワークバス
200 専用ハーネス
210 診断機
10A, 10B, 10C ECU
20A, 20B, 20C Function execution unit 30A, 30B, 30C Diagnosis control unit 31 Abnormality monitoring unit 32 Abnormality diagnosis result storage unit 33 Diagnostic communication control unit 34 Operation instruction table 35 Control logic unit 41, 42, 44 Sensor 43 Actuator 100 Network bus 200 Dedicated harness 210 Diagnostic machine

Claims (7)

複数の車載電子制御装置間でデータを送受信して協調動作を行う車載電子制御システムにおいて、
前記複数の車載電子制御装置が、それぞれ、自己診断の結果として得られた異常診断結果を記憶し、当該異常診断結果を読み出すための第1の診断結果読み出しコマンドを外部から受信したときに、当該異常診断結果に他の車載電子制御装置からの入力異常が含まれている場合には、当該他の車載電子制御装置が記憶している異常診断結果を読み出すための第2の診断結果読み出しコマンドを当該他の車載電子制御装置に対して送信し、当該他の車載電子制御装置から前記第2の診断結果読み出しコマンドの応答として得た異常診断結果を、前記第1の診断結果読み出しコマンドの応答として、当該第1の診断結果読み出しコマンドの送信元へと送信することを特徴とする車載電子制御システム。
In an in-vehicle electronic control system that performs cooperative operation by transmitting and receiving data between multiple in-vehicle electronic control devices,
Each of the plurality of in-vehicle electronic control devices stores an abnormality diagnosis result obtained as a result of self-diagnosis, and when receiving a first diagnosis result read command for reading out the abnormality diagnosis result from the outside, When the abnormality diagnosis result includes an input abnormality from another vehicle-mounted electronic control device, a second diagnosis result read command for reading the abnormality diagnosis result stored in the other vehicle-mounted electronic control device is issued. An abnormality diagnosis result transmitted as a response to the second diagnostic result read command from the other on-vehicle electronic control device and transmitted to the other on-vehicle electronic control device as a response to the first diagnostic result read command An on-vehicle electronic control system, wherein the first diagnostic result read command is transmitted to a transmission source.
前記複数の車載電子制御装置は、それぞれ、
自己診断の結果として得られた異常診断結果を記憶する異常診断結果記憶手段と、
前記異常診断結果記憶手段に記憶されている異常診断結果の送受信を制御する診断通信制御手段と、
前記異常診断結果の内容に対応した処理内容が記載されたテーブル手段と、
前記自己診断に関連する処理を統括的に制御する制御ロジック手段とを備え、
前記制御ロジック手段は、前記診断通信制御手段によって前記第1の診断結果読み出しコマンドが受信されたときに、前記テーブル手段を参照し、前記異常診断結果記憶手段に記憶されている異常診断結果の内容に応じて処理を切り替えることを特徴とする請求項1に記載の車載電子制御システム。
Each of the plurality of in-vehicle electronic control devices is
An abnormality diagnosis result storage means for storing an abnormality diagnosis result obtained as a result of self-diagnosis;
Diagnostic communication control means for controlling transmission and reception of abnormality diagnosis results stored in the abnormality diagnosis result storage means;
Table means in which processing contents corresponding to the contents of the abnormality diagnosis result are described;
Control logic means for comprehensively controlling processing related to the self-diagnosis,
The control logic means refers to the table means when the first diagnosis result read command is received by the diagnosis communication control means, and the contents of the abnormality diagnosis result stored in the abnormality diagnosis result storage means The in-vehicle electronic control system according to claim 1, wherein the process is switched according to the operation.
前記制御ロジック手段は、前記異常診断結果記憶手段に記憶されている異常診断結果に他の車載電子制御装置からの入力異常が含まれている場合には、当該他の車載電子制御装置に対して前記第2の異常診断結果読み出しコマンドを発行するように前記診断通信制御手段に要求し、前記診断通信制御手段によって前記第2の診断結果読み出しコマンドの応答として前記他の車載電子制御装置から送信された異常診断結果が受診されたときに、前記第1の診断結果読み出しコマンドの応答として、当該他の車載電子制御装置から送信された異常診断結果を、前記第1の診断結果読み出しコマンドの送信元へと送信するように前記診断通信制御手段に要求することを特徴とする請求項2に記載の車載電子制御システム。   When the abnormality diagnosis result stored in the abnormality diagnosis result storage means includes an input abnormality from another in-vehicle electronic control device, the control logic means is responsive to the other in-vehicle electronic control device. The diagnosis communication control means is requested to issue the second abnormality diagnosis result read command, and is transmitted from the other in-vehicle electronic control device as a response to the second diagnosis result read command by the diagnosis communication control means. When the abnormality diagnosis result is received, the abnormality diagnosis result transmitted from the other in-vehicle electronic control device is used as the response of the first diagnosis result read command, and the transmission source of the first diagnosis result read command The in-vehicle electronic control system according to claim 2, wherein the diagnostic communication control unit is requested to transmit to the vehicle. 前記制御ロジック手段は、前記異常診断結果記憶手段に記憶されている異常診断結果が当該車載電子制御装置の異常に対応するもののみである場合には、前記第1の診断結果読み出しコマンドの応答として、当該異常診断結果を前記第1の診断結果読み出しコマンドの送信元へと送信するように前記診断通信制御手段に要求することを特徴とする請求項2に記載の車載電子制御システム。   When the abnormality diagnosis result stored in the abnormality diagnosis result storage means is only corresponding to the abnormality of the in-vehicle electronic control device, the control logic means responds to the first diagnosis result read command. The in-vehicle electronic control system according to claim 2, wherein the diagnosis communication control means is requested to transmit the abnormality diagnosis result to a transmission source of the first diagnosis result read command. 複数の車載電子制御装置間でデータを送受信して協調動作を行う車載電子制御システムの故障診断方法において、
前記複数の車載電子制御装置がそれぞれ自己診断して得られた異常診断結果を記憶する工程と、
前記複数の車載電子制御装置のうち一の車載電子制御装置が、前記異常診断結果を読み出すための第1の診断結果読み出しコマンドを外部から受信する工程と、
前記一の車載電子制御装置が記憶している異常診断結果に他の車載電子制御装置からの入力異常を示す情報が含まれている場合に、当該他の車載電子制御装置が記憶している異常診断結果を読み出すための第2の診断結果読み出しコマンドを当該一の車載電子制御装置から当該他の車載電子制御装置に対して送信する工程と、
前記一の車載電子制御装置が、前記他の車載電子制御装置から前記第2の診断結果読み出しコマンドの応答として得た診断結果を、前記第1の診断結果読み出しコマンドの応答として、当該第1の診断結果読み出しコマンドの送信元へと送信する工程とを有することを特徴とする車載電子制御システムの故障診断方法。
In the on-vehicle electronic control system failure diagnosis method for performing cooperative operation by transmitting and receiving data between a plurality of on-vehicle electronic control devices,
Storing the abnormality diagnosis results obtained by the self-diagnosis of each of the plurality of in-vehicle electronic control devices;
A step of receiving, from the outside, a first diagnostic result read command for one of the plurality of in-vehicle electronic control devices to read out the abnormality diagnosis result;
When the abnormality diagnosis result stored in the one in-vehicle electronic control device includes information indicating an input abnormality from another in-vehicle electronic control device, the abnormality stored in the other in-vehicle electronic control device Transmitting a second diagnostic result read command for reading a diagnostic result from the one in-vehicle electronic control device to the other in-vehicle electronic control device;
The first in-vehicle electronic control device uses the diagnosis result obtained as a response to the second diagnosis result read command from the other in-vehicle electronic control device as the response to the first diagnosis result read command. A failure diagnosis method for an in-vehicle electronic control system, comprising: a step of transmitting a diagnosis result read command to a transmission source.
他の車載電子制御装置との間でデータを送受信して協調動作を行う車載電子制御装置において、
自己診断の結果として得られた異常診断結果を記憶する異常診断結果記憶手段と、
前記異常診断結果記憶手段に記憶されている異常診断結果の送受信を制御する診断通信制御手段と、
前記異常診断結果の内容に対応した処理内容が記載されたテーブル手段と、
前記自己診断に関連する処理を統括的に制御する制御ロジック手段とを備え、
前記制御ロジック手段は、前記診断通信制御手段によって、前記異常診断結果記憶手段に記憶された異常診断結果を読み出すための外部からの第1の診断結果読み出しコマンドが受信されたときに、前記テーブル手段を参照し、前記異常診断結果記憶手段に記憶されている異常診断結果の内容に応じて処理を切り替えるとともに、前記異常診断結果記憶手段に記憶されている異常診断結果に他の車載電子制御装置からの入力異常が含まれている場合には、当該他の車載電子制御装置に対して当該他の車載電子制御装置が記憶している異常診断結果を読み出すための第2の異常診断結果読み出しコマンドを発行するように前記診断通信制御手段に要求し、前記診断通信制御手段によって前記第2の診断結果読み出しコマンドの応答として前記他の車載電子制御装置から送信された異常診断結果が受診されたときに、前記第1の診断結果読み出しコマンドの応答として、当該他の車載電子制御装置から送信された異常診断結果を、前記第1の診断結果読み出しコマンドの送信元へと送信するように前記診断通信制御手段に要求することを特徴とする車載電子制御装置。
In an in-vehicle electronic control device that performs a cooperative operation by transmitting and receiving data to and from other in-vehicle electronic control devices,
An abnormality diagnosis result storage means for storing an abnormality diagnosis result obtained as a result of self-diagnosis;
Diagnostic communication control means for controlling transmission and reception of abnormality diagnosis results stored in the abnormality diagnosis result storage means;
Table means in which processing contents corresponding to the contents of the abnormality diagnosis result are described;
Control logic means for comprehensively controlling processing related to the self-diagnosis,
The control logic means, when the diagnostic communication control means receives a first diagnostic result read command from the outside for reading the abnormality diagnosis result stored in the abnormality diagnosis result storage means, the table means The process is switched according to the content of the abnormality diagnosis result stored in the abnormality diagnosis result storage means, and the abnormality diagnosis result stored in the abnormality diagnosis result storage means is transferred from another in-vehicle electronic control device. If the input abnormality is included, the second abnormality diagnosis result read command for reading the abnormality diagnosis result stored in the other vehicle-mounted electronic control device is sent to the other vehicle-mounted electronic control device. The diagnostic communication control unit is requested to issue, and the other as a response to the second diagnostic result read command by the diagnostic communication control unit When the abnormality diagnosis result transmitted from the in-vehicle electronic control device is received, the abnormality diagnosis result transmitted from the other in-vehicle electronic control device is used as a response to the first diagnosis result read command. An in-vehicle electronic control device which requests the diagnostic communication control means to transmit to a transmission source of a diagnostic result read command.
前記制御ロジック手段は、前記異常診断結果記憶手段に記憶されている異常診断結果が当該車載電子制御装置の異常に対応するもののみである場合には、前記第1の診断結果読み出しコマンドの応答として、当該異常診断結果を前記第1の診断結果読み出しコマンドの送信元へと送信するように前記診断通信制御手段に要求することを特徴とする請求項6に記載の車載電子制御装置。   When the abnormality diagnosis result stored in the abnormality diagnosis result storage means is only corresponding to the abnormality of the in-vehicle electronic control device, the control logic means responds to the first diagnosis result read command. The in-vehicle electronic control device according to claim 6, wherein the diagnosis communication control means is requested to transmit the abnormality diagnosis result to a transmission source of the first diagnosis result read command.
JP2005160245A 2005-05-31 2005-05-31 On-vehicle electronic control system, fault diagnosis method thereof, and on-vehicle electronic control device Expired - Fee Related JP4747683B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2005160245A JP4747683B2 (en) 2005-05-31 2005-05-31 On-vehicle electronic control system, fault diagnosis method thereof, and on-vehicle electronic control device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2005160245A JP4747683B2 (en) 2005-05-31 2005-05-31 On-vehicle electronic control system, fault diagnosis method thereof, and on-vehicle electronic control device

Publications (2)

Publication Number Publication Date
JP2006335150A JP2006335150A (en) 2006-12-14
JP4747683B2 true JP4747683B2 (en) 2011-08-17

Family

ID=37556070

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2005160245A Expired - Fee Related JP4747683B2 (en) 2005-05-31 2005-05-31 On-vehicle electronic control system, fault diagnosis method thereof, and on-vehicle electronic control device

Country Status (1)

Country Link
JP (1) JP4747683B2 (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20210375077A1 (en) * 2018-10-04 2021-12-02 Honda Motor Co., Ltd. Fault diagnosis device

Families Citing this family (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP5347997B2 (en) 2010-02-04 2013-11-20 株式会社デンソー Information collection device for fault diagnosis

Family Cites Families (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2781190B2 (en) * 1989-01-30 1998-07-30 マツダ株式会社 Vehicle failure diagnosis device
JPH07123482A (en) * 1993-10-21 1995-05-12 Kansei Corp Lan system for vehicle
JP2000145533A (en) * 1998-11-09 2000-05-26 Nissan Motor Co Ltd Electronic control device for vehicle
JP4267173B2 (en) * 2000-05-01 2009-05-27 トヨタ自動車株式会社 Abnormality diagnosis system
JP2002193070A (en) * 2000-12-26 2002-07-10 Fujitsu Ten Ltd Ecu
JP2004349961A (en) * 2003-05-21 2004-12-09 Denso Corp Repeating device and program

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20210375077A1 (en) * 2018-10-04 2021-12-02 Honda Motor Co., Ltd. Fault diagnosis device

Also Published As

Publication number Publication date
JP2006335150A (en) 2006-12-14

Similar Documents

Publication Publication Date Title
CN109804355B (en) Software updating device, software updating method, and software updating system
CN108376111B (en) Information processing apparatus, information processing method, and computer-readable storage medium
JP6118043B2 (en) Display device
JP2008199253A (en) Abnormality diagnosis system and diagnostic information management device
JP2008052315A (en) Field bus communication diagnostic apparatus and field bus communication diagnostic method
JP4747683B2 (en) On-vehicle electronic control system, fault diagnosis method thereof, and on-vehicle electronic control device
JP2007028411A (en) Network diagnosis apparatus and method
JP5582748B2 (en) Electronic control device for vehicle
JP2009213092A (en) Abnormity location identifying apparatus, its control program, and abnormity location identifying system
JP2008265618A (en) On-vehicle electronic control device
JP2003172199A (en) Program rewriting system for vehicular electronic control unit
WO2020110446A1 (en) Vehicle malfunction prediction system, monitoring device, vehicle malfunction prediction method, and vehicle malfunction prediction program
JP2007038816A (en) Network system and managing method thereof
JP4328969B2 (en) Diagnosis method of control device
JP4061489B2 (en) Communication speed control method for fieldbus system
WO2020246095A1 (en) Control system, programmable logic controller, and information processing method
JP5726100B2 (en) Control logic management device
JP5575086B2 (en) Electronic control unit
KR101354698B1 (en) Method for operating of electronic control apparatus for vehicle
JP2012083608A (en) Display mechanism monitoring device
JPH05201294A (en) Failure diagnosis for vehicle
JP2012126230A (en) Program rewriting system of electronic control unit
JP2014019185A (en) Vehicle information management system
US11226603B2 (en) Automation system for process automation and a corresponding method
JP2019087118A (en) On-vehicle control device

Legal Events

Date Code Title Description
A621 Written request for application examination

Free format text: JAPANESE INTERMEDIATE CODE: A621

Effective date: 20080326

A977 Report on retrieval

Free format text: JAPANESE INTERMEDIATE CODE: A971007

Effective date: 20101227

A131 Notification of reasons for refusal

Free format text: JAPANESE INTERMEDIATE CODE: A131

Effective date: 20110111

A521 Written amendment

Free format text: JAPANESE INTERMEDIATE CODE: A523

Effective date: 20110222

A01 Written decision to grant a patent or to grant a registration (utility model)

Free format text: JAPANESE INTERMEDIATE CODE: A01

Effective date: 20110419

A61 First payment of annual fees (during grant procedure)

Free format text: JAPANESE INTERMEDIATE CODE: A61

Effective date: 20110502

R150 Certificate of patent or registration of utility model

Free format text: JAPANESE INTERMEDIATE CODE: R150

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

Free format text: PAYMENT UNTIL: 20140527

Year of fee payment: 3

LAPS Cancellation because of no payment of annual fees