JP5230557B2 - Vehicle failure determination device, vehicle failure determination device design program - Google Patents

Vehicle failure determination device, vehicle failure determination device design program Download PDF

Info

Publication number
JP5230557B2
JP5230557B2 JP2009180898A JP2009180898A JP5230557B2 JP 5230557 B2 JP5230557 B2 JP 5230557B2 JP 2009180898 A JP2009180898 A JP 2009180898A JP 2009180898 A JP2009180898 A JP 2009180898A JP 5230557 B2 JP5230557 B2 JP 5230557B2
Authority
JP
Japan
Prior art keywords
diagnosis
failure
program
correlation
vehicle
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
JP2009180898A
Other languages
Japanese (ja)
Other versions
JP2011031774A (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.)
Hitachi Astemo Ltd
Original Assignee
Hitachi Automotive Systems 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 Hitachi Automotive Systems Ltd filed Critical Hitachi Automotive Systems Ltd
Priority to JP2009180898A priority Critical patent/JP5230557B2/en
Publication of JP2011031774A publication Critical patent/JP2011031774A/en
Application granted granted Critical
Publication of JP5230557B2 publication Critical patent/JP5230557B2/en
Expired - Fee Related legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Landscapes

  • Test And Diagnosis Of Digital Computers (AREA)

Description

本発明は、車両の故障を判定する装置、およびその装置を設計するプログラムに関するものである。   The present invention relates to an apparatus for determining a vehicle failure and a program for designing the apparatus.

近年、車両に搭載される制御機能は増加傾向にあり、これに伴い制御に用いるセンサやアクチュエータの種類が増加している。また、診断内容の細分化に対する要求がある。これらの結果として、故障発生状況を診断すべき対象が増加してきている。   In recent years, control functions installed in vehicles have been increasing, and along with this, the types of sensors and actuators used for control have increased. There is also a need for subdivision of diagnostic content. As a result, the number of objects whose failure occurrence status should be diagnosed has increased.

故障検出対象の増加によるプログラム開発工数の削減および故障診断プログラムの再利用性を向上させる手法として、下記特許文献1に記載の技術が提案されている。この技術における故障検出プログラムは、オブジェクト指向技術を用いて開発されており、故障検出オブジェクト、故障情報保存オブジェクト、故障情報管理オブジェクトを備える。同技術では、故障検出オブジェクトと故障情報保存オブジェクトの間の対応関係を故障情報管理オブジェクトに持たせ、オブジェクトの独立性を向上させている。   As a technique for reducing the number of program development man-hours by increasing the number of failure detection targets and improving the reusability of the failure diagnosis program, a technique described in Patent Document 1 below has been proposed. The failure detection program in this technology is developed using an object-oriented technology, and includes a failure detection object, a failure information storage object, and a failure information management object. In this technique, the failure information management object has a correspondence relationship between the failure detection object and the failure information storage object, thereby improving the independence of the object.

一方、ある診断対象の診断結果を基にさらに別の診断や制御を行っている場合、異常を検出した診断対象を未処理のまま放置していると、誤診断あるいは異常値の原因となる。そこで、診断対象の異常に起因して誤検出が発生する可能性のある他の診断対象について、その診断対象を診断する検出プログラムを実行させないようにする技術が、下記特許文献2に記載されている。   On the other hand, when another diagnosis or control is performed based on the diagnosis result of a certain diagnosis object, if the diagnosis object in which an abnormality is detected is left unprocessed, a false diagnosis or an abnormal value may be caused. Therefore, a technique for preventing a detection program for diagnosing a diagnostic object from being executed on another diagnostic object that may cause a false detection due to an abnormality of the diagnostic object is described in Patent Document 2 below. Yes.

特開2002−14839号公報JP 2002-14839 A 特開2006−264540号公報JP 2006-264540 A

故障診断プログラムを開発する際には、診断項目を対象車両の仕様に合わせて選択する必要がある。また、誤診断を防止するための上記のような診断禁止処理や、各機能部をフェールセーフ状態へ切換えるか否かを判断する処理は、複数の機能部の故障状態を参照する必要があるため、対象車両の機能部の構成などが変わると、同様に当該車両の仕様に合わせて変更する必要がある。   When developing a failure diagnosis program, it is necessary to select diagnosis items according to the specifications of the target vehicle. In addition, the diagnosis prohibition process as described above for preventing misdiagnosis and the process for determining whether or not to switch each function unit to the fail-safe state needs to refer to the failure states of a plurality of function units. If the configuration of the functional unit of the target vehicle is changed, it is necessary to change according to the specification of the vehicle.

したがって、故障検出プログラム(特許文献1では各オブジェクトに相当)の独立性や再利用性を高めたとしても、各故障検出プログラムが連携する部分に関しては、各車両の仕様に合わせて変更する必要がある。すなわち、各故障検出処理のインターフェースに相当する部分は、完全に再利用等することが難しい。   Therefore, even if the independence and reusability of the failure detection program (corresponding to each object in Patent Document 1) is increased, the portion where each failure detection program cooperates needs to be changed according to the specifications of each vehicle. is there. That is, it is difficult to completely reuse a portion corresponding to each failure detection processing interface.

また、誤診断を防止するための上記のような診断禁止処理や、各機能部をフェールセーフ状態へ切り換えるか否かを判断する処理を行う際には、各機能部の故障発生情報を参照する必要があるが、これらの故障発生情報を故障検出プログラムの制御条件として用いている場合には、同様に各車両の仕様に合わせて制御条件を変更する必要がある。   In addition, when performing the above-described diagnosis prohibition process for preventing misdiagnosis and the process of determining whether or not to switch each function unit to the fail-safe state, the failure occurrence information of each function unit is referred to. Although it is necessary, when such failure occurrence information is used as the control condition of the failure detection program, it is necessary to change the control condition according to the specification of each vehicle.

以上のように、故障検出プログラムの独立性や再利用性を高めても、プログラム間で連携する部分などに関しては、各車両の仕様に合わせて個別に開発する必要がある。そのため、派生的に故障検出プログラムの種類が増加し、再利用性が低下するのみならず、各車両と故障検出プログラムの対応関係を管理するなどの管理工数も増加する。したがって、結果的に故障検出プログラムの開発工数、デバッグ工数、管理工数などが膨大になってしまう。   As described above, even if the independence and reusability of the failure detection program is improved, the parts linked between the programs need to be developed individually according to the specifications of each vehicle. For this reason, the types of failure detection programs are derivatively increased, and not only the reusability is lowered, but also the man-hours for managing the correspondence relationship between each vehicle and the failure detection program are increased. As a result, the development man-hours, debugging man-hours, management man-hours, etc. of the failure detection program become enormous.

本発明は、上記のような課題を解決するためになされたものであり、各車両の仕様に柔軟に対応することのできる車両故障判定装置、およびその車両故障判定装置を設計するプログラムを提供することを目的とする。   The present invention has been made to solve the above-described problems, and provides a vehicle failure determination device that can flexibly cope with the specifications of each vehicle and a program for designing the vehicle failure determination device. For the purpose.

本発明に係る車両故障判定装置では、各故障診断プログラム、その故障診断プログラムを実行する際に用いられる制御データ、および各故障診断プログラムの診断結果データの対応順序を、故障診断プログラムとは別に独立して定義する。   In the vehicle failure determination device according to the present invention, the correspondence order of each failure diagnosis program, the control data used when executing the failure diagnosis program, and the diagnosis result data of each failure diagnosis program is independent of the failure diagnosis program. And define.

本発明に係る車両故障判定装置では、故障診断プログラム、制御データ、診断結果データの対応関係が、故障診断プログラム本体とは別に定義されているので、これらを容易かつ柔軟に入れ替えることができる。これにより、故障診断対象の増減、対象車両の仕様の差異などに容易に対応することができる。   In the vehicle failure determination device according to the present invention, since the correspondence relationship between the failure diagnosis program, the control data, and the diagnosis result data is defined separately from the failure diagnosis program main body, these can be easily and flexibly replaced. As a result, it is possible to easily cope with an increase / decrease in failure diagnosis targets, a difference in specifications of the target vehicle, and the like.

実施の形態1に係るエンジンコントロールユニット200の機能ブロック図である。2 is a functional block diagram of an engine control unit 200 according to Embodiment 1. FIG. 実施の形態1に係る車両故障判定装置の機能構成を模式的に示すブロック図である。3 is a block diagram schematically showing a functional configuration of the vehicle failure determination device according to Embodiment 1. FIG. エンジンの噴射量を制御するための故障診断項目が車両毎に異なる様子を示す図である。It is a figure which shows a mode that the failure diagnosis item for controlling the injection quantity of an engine differs for every vehicle. 図3で説明したようなシステム構成の相違による故障検出対象項目の相違に対して、車両故障診断装置の開発手法をより効率的に発展させた例を示す。An example in which the development method of the vehicle fault diagnosis apparatus is developed more efficiently with respect to the difference in failure detection target items due to the difference in system configuration as described in FIG. 図3〜図4で説明した手法を実現する具体的手段を説明する図である。It is a figure explaining the specific means which implement | achieves the method demonstrated in FIGS. 実施の形態2に係る車両故障診断装置の機能構成を模式的に示すブロック図である。FIG. 5 is a block diagram schematically showing a functional configuration of a vehicle failure diagnosis apparatus according to a second embodiment. 故障診断プログラムと他の故障診断プログラムの診断結果の相関関係を説明する図である。It is a figure explaining the correlation of the diagnostic result of a failure diagnostic program and another failure diagnostic program. 『診断相関表』の具体例を示す図である。It is a figure which shows the specific example of a "diagnosis correlation table". 図8で説明した手法を実現するための具体的手段を説明する図である。It is a figure explaining the concrete means for implement | achieving the method demonstrated in FIG. 図9(B)に示すリストを、ソフトウェアプログラムが処理し易い形式で表現しなおした例を示す図である。FIG. 10 is a diagram showing an example in which the list shown in FIG. 9B is re-expressed in a format that can be easily processed by a software program. 実施の形態3に係る車両故障診断装置の機能構成を模式的に示すブロック図である。FIG. 10 is a block diagram schematically showing a functional configuration of a vehicle failure diagnosis apparatus according to a third embodiment. 故障診断プログラムの実行可否とフェールセーフ状態の相関関係を説明する図である。It is a figure explaining the correlation of the feasibility of a failure diagnosis program, and a fail safe state. 『フェールセーフ(F/S)相関表』をより具体化したものを示す図である。It is a figure which shows what actualized the "fail safe (F / S) correlation table" more. 『フェールセーフ(F/S)相関表』をより具体化したものを示す図である。It is a figure which shows what actualized the "fail safe (F / S) correlation table" more. 診断結果統括処理部3000の動作のうち、OKフラグを受け取った場合のフローを示す図である。It is a figure which shows the flow at the time of receiving an OK flag among operation | movement of the diagnostic result integrated process part 3000. FIG. 診断結果統括処理部3000の動作のうち、NGフラグを受け取った場合のフローを示す図である。It is a figure which shows the flow at the time of receiving NG flag among operation | movement of the diagnostic result integrated process part 3000. FIG. 診断結果統括処理部3000の動作のうち、車両故障診断装置の始動時または終了時などに実行されるフローを示す図である。It is a figure which shows the flow performed at the time of starting or completion | finish of a vehicle failure diagnostic apparatus among the operation | movement of the diagnostic result integrated process part 3000. FIG. 図15のステップS1405等において診断相関判定部5000が実行する処理フローである。16 is a processing flow executed by the diagnostic correlation determination unit 5000 in step S1405 of FIG. 図15のステップS1405等においてフェールセーフ相関判定部7000が実行する処理フローである。FIG. 16 is a processing flow executed by the failsafe correlation determination unit 7000 in step S1405 of FIG. 故障診断プログラムの1例として、吸気管圧力センサ機能診断プログラム1003の動作フローを説明する図である。It is a figure explaining the operation | movement flow of the intake pipe pressure sensor function diagnostic program 1003 as an example of a failure diagnostic program.

<実施の形態1>
図1は、本発明の実施の形態1に係るエンジンコントロールユニット200の機能ブロック図である。エンジンコントロールユニット200は、車両のエンジンの動作を制御する装置である。
<Embodiment 1>
FIG. 1 is a functional block diagram of an engine control unit 200 according to Embodiment 1 of the present invention. The engine control unit 200 is a device that controls the operation of the engine of the vehicle.

エンジンコントロールユニット200は、エンジン制御に必要なセンサ類、例えばクランク角センサ101、カム角センサ102、吸気管圧力センサ120、吸気温度センサ121、エンジン水温センサ122、大気圧センサ123、スロットルセンサ124、空燃比センサ125などを備える。また、CPU(Central Processing Unit)201、出力回路220、モニタ回路230を備える。   The engine control unit 200 includes sensors necessary for engine control, such as a crank angle sensor 101, a cam angle sensor 102, an intake pipe pressure sensor 120, an intake air temperature sensor 121, an engine water temperature sensor 122, an atmospheric pressure sensor 123, a throttle sensor 124, An air-fuel ratio sensor 125 and the like are provided. Further, a CPU (Central Processing Unit) 201, an output circuit 220, and a monitor circuit 230 are provided.

クランク角センサ101、カム角センサ102は、エンジン回転数と位相を検出する。圧力センサ120は、吸気管吸入圧力を計測する。 吸気温度センサ121は、内燃機関の運転状態を検出するための手段である。エンジン水温センサ122は、内燃機関の冷却水(クーラント)温度を検出する。大気圧センサ123は、大気圧を検出する。スロットルセンサ124は、スロットル弁開度を検出する。空燃比センサ125は、排気の空燃比を検出する。   The crank angle sensor 101 and the cam angle sensor 102 detect the engine speed and phase. The pressure sensor 120 measures the intake pipe suction pressure. The intake air temperature sensor 121 is a means for detecting the operating state of the internal combustion engine. The engine water temperature sensor 122 detects the coolant temperature of the internal combustion engine. The atmospheric pressure sensor 123 detects atmospheric pressure. The throttle sensor 124 detects the throttle valve opening. The air-fuel ratio sensor 125 detects the air-fuel ratio of the exhaust.

エンジンコントロールユニット200内の入力処理回路210は、上記各センサ類が出力する電気的情報を信号処理し、CPU201に出力する。CPU201へ入力される信号は、A/D変換器203に入力されるアナログ信号と、High/Lowレベルの2値信号として入力されるその他の信号とに分かれる。   The input processing circuit 210 in the engine control unit 200 performs signal processing on the electrical information output from the sensors and outputs the signal to the CPU 201. The signal input to the CPU 201 is divided into an analog signal input to the A / D converter 203 and other signals input as high / low level binary signals.

CPU201は、ROM202に格納されているプログラムが規定する演算処理を実行し、この演算結果に基づきエンジン制御に必要な各種アクチュエータの制御信号を出力し、出力回路220を介してこれらを制御する。   The CPU 201 executes arithmetic processing defined by a program stored in the ROM 202, outputs control signals for various actuators necessary for engine control based on the calculation result, and controls these through the output circuit 220.

例えば、CPU201は、吸気管圧力センサ120の入力から計測される質量流量、クランク角センサ101から計測されるエンジン回転数、エンジン水温センサ122から検出される水温を含む各補正量、空燃比センサ125によって検出される空燃比状態に応じた補正量を付加した上で燃料噴射量を演算する。CPU201は、上記演算に基づき、最終的にエンジンの各インジェクタ111に駆動パルス幅を出力する。   For example, the CPU 201 corrects each of the correction amounts including the mass flow rate measured from the input of the intake pipe pressure sensor 120, the engine speed measured from the crank angle sensor 101, the water temperature detected from the engine water temperature sensor 122, and the air-fuel ratio sensor 125. The fuel injection amount is calculated after adding a correction amount corresponding to the air-fuel ratio state detected by the above. Based on the above calculation, the CPU 201 finally outputs a drive pulse width to each injector 111 of the engine.

同様にCPU201は、エンジンの燃焼に必要な点火コイル112への通電タイミングを制御する点火信号、スロットル弁開度を制御する電制スロットル114への信号、空燃比センサヒータ115への通電を制御する空燃比センサヒータ信号、可変吸気バルブ113のタイミングを制御する信号などを出力する。   Similarly, the CPU 201 controls the ignition signal for controlling the energization timing to the ignition coil 112 necessary for engine combustion, the signal to the electric throttle 114 for controlling the throttle valve opening degree, and the energization to the air-fuel ratio sensor heater 115. An air-fuel ratio sensor heater signal, a signal for controlling the timing of the variable intake valve 113, and the like are output.

入力センサ信号、および出力アクチュエータ信号は、最低限必要なものと、高性能、高機能化によって部品が付加されるものとがあるため、エンジンのシステム構成によって、これらの要否が変わることは明白である。   The input sensor signal and the output actuator signal are the minimum required, and some parts are added due to high performance and high functionality, so it is clear that these necessity changes depending on the engine system configuration It is.

CPU201は、上記機能の他に、本発明に係る車両故障判定装置としての機能を有している。CPU201は、ROM202が格納している故障診断プログラムを実行することにより、センサ類などからの入力信号のレベルや機能的な動作状態に基づき、各センサの検出値が異常であるか否かを判定する。またCPU201は、CPU201自身が出力する上述の制御信号と、出力回路220に付加されている信号モニタ機能、または直接モニタ回路230を介して取得した出力回路220の出力信号を再度CPU201に取り込む。CPU201は、これらの情報を比較して、各信号のレベルや機能的な動作状態に基づき、各アクチュエータが異常であるか否かを判定する。CPU201は、これらの判定結果をRAM(Random Access Memory)204や不揮発性のRAMであるEEPROM(Electrically Erasable and Programmable Read Only Memory)205に保存する。   In addition to the above functions, the CPU 201 has a function as a vehicle failure determination device according to the present invention. The CPU 201 executes a failure diagnosis program stored in the ROM 202 to determine whether or not the detection value of each sensor is abnormal based on the level of the input signal from the sensors and the functional operation state. To do. Further, the CPU 201 takes in the above-described control signal output by the CPU 201 itself, the signal monitoring function added to the output circuit 220, or the output signal of the output circuit 220 acquired directly through the monitor circuit 230 into the CPU 201 again. The CPU 201 compares these pieces of information and determines whether or not each actuator is abnormal based on the level of each signal and the functional operation state. The CPU 201 stores these determination results in a RAM (Random Access Memory) 204 or an EEPROM (Electrically Erasable and Programmable Read Only Memory) 205 which is a nonvolatile RAM.

以下の説明において、各プログラムが規定する動作を説明する際には、記載の便宜上、各プログラム本体を動作主体として記載するが、実際の動作主体はCPU201などの演算装置であることを付言しておく。   In the following description, when explaining the operations defined by each program, for convenience of description, each program body is described as an operation subject, but it is added that the actual operation subject is an arithmetic device such as the CPU 201. deep.

図2は、本実施の形態1に係る車両故障判定装置の機能構成を模式的に示すブロック図である。車両故障診断装置は、故障診断部1000、診断制御用データ記憶部2000、診断結果統括処理部3000、診断結果情報記憶部4000を備える。   FIG. 2 is a block diagram schematically showing a functional configuration of the vehicle failure determination device according to the first embodiment. The vehicle failure diagnosis apparatus includes a failure diagnosis unit 1000, a diagnosis control data storage unit 2000, a diagnosis result overall processing unit 3000, and a diagnosis result information storage unit 4000.

故障診断部1000は、故障診断を行う各対象に対応する、1ないし複数の個別の故障診断プログラムを実行する。ここでは、N個の故障診断プログラム1001〜100Nが存在しているものとする。故障診断部1000は、診断結果を診断結果統括処理部3000に引き渡す。   The failure diagnosis unit 1000 executes one or a plurality of individual failure diagnosis programs corresponding to each target for failure diagnosis. Here, it is assumed that N failure diagnosis programs 1001 to 100N exist. The failure diagnosis unit 1000 passes the diagnosis result to the diagnosis result overall processing unit 3000.

診断制御用データ記憶部2000は、故障診断プログラムの動作を制御するための制御データを格納する。この制御データは、データ形式で構成してもよいし、故障診断プログラムと連携して動作するプログラムとして構成してもよい。故障診断プログラムと上記制御データの関連については、後に改めて説明する。診断制御用データ記憶部2000は、本発明における『診断制御部』に相当する。   The diagnosis control data storage unit 2000 stores control data for controlling the operation of the failure diagnosis program. This control data may be configured in a data format, or may be configured as a program that operates in cooperation with a failure diagnosis program. The relationship between the failure diagnosis program and the control data will be described later. The diagnosis control data storage unit 2000 corresponds to the “diagnosis control unit” in the present invention.

診断結果統括処理部3000は、故障診断部1000のそれぞれの診断結果を受け取って、必要な処理を施した上で診断結果情報記憶部4000に格納する。   The diagnosis result overall processing unit 3000 receives each diagnosis result of the failure diagnosis unit 1000, performs necessary processing, and stores it in the diagnosis result information storage unit 4000.

診断結果情報記憶部4000は、故障診断部1000の診断結果を格納する。図2に示す例では、診断対象が現在故障中であるか否かを示す『現在故障』フラグの他に、『ランプON要求』、『運転内診断完了』、『運転内故障』、『仮NG状態』、『故障判定中』などのフラグを診断結果と併せて格納する例を示した。上述の各フラグは、ビット列などの形式で表すことができる。   The diagnosis result information storage unit 4000 stores the diagnosis result of the failure diagnosis unit 1000. In the example shown in FIG. 2, in addition to the “current failure” flag indicating whether or not the diagnosis target is currently in failure, “lamp ON request”, “in-operation diagnosis complete”, “in-operation failure”, “provisional” An example is shown in which flags such as “NG state” and “failure determination in progress” are stored together with the diagnosis result. Each flag described above can be expressed in a format such as a bit string.

車両故障診断装置を構成する各記憶部は、RAM204などの記憶装置を用いて構成することができる。その他の各機能部は、これらの機能を実現する回路デバイスなどのハードウェアを用いて構成することもできるし、CPU201などの演算装置とその動作を規定するソフトウェアを用いて構成することもできる。   Each storage unit constituting the vehicle fault diagnosis device can be configured using a storage device such as the RAM 204. Each of the other functional units can be configured using hardware such as a circuit device that realizes these functions, or can be configured using an arithmetic device such as the CPU 201 and software that defines the operation thereof.

ランプ出力50は、車室内のメータインパネ上に設置される警告灯(チェック・エンジン・ランプ)への出力に相当するものである。車両のユーザーに故障を認識させるために、例えば、上述の診断結果情報記憶部4000に格納する『ランプON要求』フラグを基に、何れかの診断対象の『ランプON要求』がセットさせている場合に、ランプをON(点灯)するように制御する。   The lamp output 50 corresponds to an output to a warning light (check engine lamp) installed on the meter instrument panel in the passenger compartment. In order to make the vehicle user recognize the failure, for example, based on the “lamp ON request” flag stored in the above-described diagnosis result information storage unit 4000, any “lamp ON request” to be diagnosed is set. In this case, the lamp is controlled to be turned on (lighted).

ここで、故障診断プログラム1001〜100Nについて補足しておく。
故障診断プログラム1001〜100Nは、それぞれの診断対象の診断を実行し、その診断結果情報を出力する。図2では、記載の都合上、各故障診断プログラム1001〜100Nは機能ブロックとして記載したが、実際にはROM202などの記憶装置内に各故障診断プログラムを格納しておき、CPU201がこれを読み出して実行する。
Here, the failure diagnosis programs 1001 to 100N will be supplemented.
The failure diagnosis programs 1001 to 100N execute diagnosis of each diagnosis target and output the diagnosis result information. In FIG. 2, each failure diagnosis program 1001 to 100N is described as a functional block for convenience of description, but actually, each failure diagnosis program is stored in a storage device such as the ROM 202, and the CPU 201 reads it. Run.

必ずしも、1つの診断対象または1つの診断結果情報に対して1つの故障診断プログラムが対応するわけではなく、1つの故障診断プログラムで複数の診断対象を診断してもよいし、同様に1つの故障診断プログラムが複数の診断結果情報を出力してもよい。このように、故障診断プログラムと診断結果情報は相互に関連し合っており、さらには車両の仕様が異なると診断対象も異なるので、両社の対応関係は複雑である。   One failure diagnosis program does not necessarily correspond to one diagnosis object or one diagnosis result information. A plurality of diagnosis objects may be diagnosed by one failure diagnosis program, and one failure is similarly detected. The diagnosis program may output a plurality of pieces of diagnosis result information. As described above, the failure diagnosis program and the diagnosis result information are related to each other, and further, since the diagnosis target is different if the vehicle specifications are different, the correspondence between the two companies is complicated.

そこで、本実施の形態1に係る車両故障診断装置では、故障診断プログラム1001〜100Nが出力する診断結果と、診断結果情報記憶部4000が格納する診断結果情報との対応関係を、診断制御用データ記憶部2000が格納する制御データによって定義する。制御データの例は後述の図5で改めて説明するが、具体的な実装方法としては、例えば両者の対応関係を配列などで順番に定義するとよい。   Therefore, in the vehicle failure diagnosis apparatus according to the first embodiment, the correspondence between the diagnosis results output from the failure diagnosis programs 1001 to 100N and the diagnosis result information stored in the diagnosis result information storage unit 4000 is represented as data for diagnosis control. It is defined by control data stored in the storage unit 2000. An example of the control data will be described later with reference to FIG. 5, which will be described later. As a specific mounting method, for example, the correspondence between the two may be defined in order by an array or the like.

本発明に係る車両故障診断装置は、CPU201などの演算装置とRAM204などの記憶装置を用いて、車両制御を行うソフトウェアとして構成してもよいし、各機能部を別途備える独立した装置として構成してもよい。   The vehicle failure diagnosis apparatus according to the present invention may be configured as software for performing vehicle control using an arithmetic device such as the CPU 201 and a storage device such as the RAM 204, or may be configured as an independent device separately including each functional unit. May be.

以上、本実施の形態1に係る車両故障診断装置の構成について説明した。次に、車両の仕様が変更されることにともなって故障診断プログラムの診断対象を変更することの困難性について説明する。   The configuration of the vehicle failure diagnosis apparatus according to the first embodiment has been described above. Next, the difficulty of changing the diagnosis target of the failure diagnosis program as the vehicle specifications are changed will be described.

図3は、エンジンの噴射量を制御するための故障診断項目が車両毎に異なる様子を示す図である。図3(A)は、吸気管圧力センサを主としてエンジンの噴射量を制御する車両の故障診断項目を示す。図3(B)は、エアフローセンサを主としてエンジンの噴射量を制御する車両の故障診断項目を示す。図3(B)では、車両の高機能化により、可変吸気バルブデバイスや吸気管長切換え機構等を搭載していることに加え、エンジンの気筒数も4気筒から6気筒に変更されている。記載の都合上、図3では診断項目の一部のみ図示しているが、実際の故障検出対象は数十から数百項目にも達する場合がある。   FIG. 3 is a diagram illustrating a state in which failure diagnosis items for controlling the injection amount of the engine are different for each vehicle. FIG. 3A shows vehicle failure diagnosis items in which the intake pipe pressure sensor is mainly used to control the injection amount of the engine. FIG. 3B shows vehicle failure diagnosis items in which the air flow sensor is mainly used to control the injection amount of the engine. In FIG. 3 (B), the number of cylinders of the engine is changed from 4 cylinders to 6 cylinders in addition to mounting a variable intake valve device, an intake pipe length switching mechanism, and the like due to the higher functionality of the vehicle. For convenience of description, FIG. 3 shows only a part of the diagnostic items, but the actual failure detection target may reach several tens to several hundred items.

図3(A)に示すシステム構成(システムA)の下で故障診断プログラムを既に開発済みである状況を想定する。車両のエンジン周辺の仕様を、図3(A)に示すシステム構成から図3(B)に示すシステム構成に変更しようとする場合には、故障診断プログラムの診断対象も変更する必要がある。図3に示す例では、故障診断を行うための主センサが、吸気管圧力センサからエアフローセンサに変わる。そのため、故障診断項目の削除および追加、例えば可変吸気バルブや吸気管長切換え用デバイスを故障診断項目に追加、失火診断の対応気筒数を故障診断項目に追加、などの作業が発生することになる。   Assume that a failure diagnosis program has already been developed under the system configuration (system A) shown in FIG. When the specification around the engine of the vehicle is to be changed from the system configuration shown in FIG. 3A to the system configuration shown in FIG. 3B, it is also necessary to change the diagnosis target of the failure diagnosis program. In the example shown in FIG. 3, the main sensor for performing the failure diagnosis is changed from the intake pipe pressure sensor to the air flow sensor. For this reason, operations such as deletion and addition of failure diagnosis items, such as adding a variable intake valve and an intake pipe length switching device to the failure diagnosis items, and adding the number of corresponding cylinders for misfire diagnosis to the failure diagnosis items, etc. occur.

以上説明したように、車両の仕様が変わると、故障診断対象の削除や追加、すなわち、個々の故障診断プログラム(例えば1001〜100Nのいずれか)を削除したり追加したりする変更工数がかかるのは明白である。また、車両故障診断装置に搭載する故障診断プログラムの組み合わせと各車両の仕様を対応させるための管理工数も増加することになるので、結果的には個々の仕様に応じて故障診断プログラムの変更、確認(デバッグ)などを行うための開発工数と、これらを管理する管理工数が膨大となってしまう。   As described above, when the vehicle specifications change, it takes time to change or delete a fault diagnosis target, that is, to delete or add individual fault diagnosis programs (for example, any one of 1001 to 100N). Is obvious. In addition, since the number of man-hours for managing the combination of fault diagnosis programs installed in the vehicle fault diagnosis device and the specifications of each vehicle will increase, as a result, the change of the fault diagnosis program according to the individual specifications, The development man-hours for confirmation (debugging) and the like, and the management man-hours for managing them become enormous.

そこで、本実施の形態1では、各故障診断プログラム、後述の制御データ、各故障診断プログラムの診断結果データを対応付ける手段を、故障診断プログラムとは別に独立して設けることとした。これにより、故障診断プログラム本体を変更することなく、対応する故障診断プログラムを追加したり不要な故障診断プログラムを削除したりするのみですむので、確認(デバッグ)工数と管理工数を大幅に低減することができる。   Therefore, in the first embodiment, means for associating each failure diagnosis program, control data described later, and diagnosis result data of each failure diagnosis program is provided independently of the failure diagnosis program. As a result, it is only necessary to add a corresponding failure diagnosis program or delete an unnecessary failure diagnosis program without changing the main body of the failure diagnosis program, greatly reducing the number of confirmation (debugging) man-hours and management man-hours. be able to.

図4は、図3で説明したようなシステム構成の相違による故障検出対象項目の相違に対して、車両故障診断装置の開発手法をより効率的に発展させた例を示す。図4の各項目について以下に説明する。   FIG. 4 shows an example in which the development method of the vehicle fault diagnosis apparatus is more efficiently developed with respect to the difference in failure detection target items due to the difference in system configuration as described in FIG. Each item in FIG. 4 will be described below.

図4(A)は、エンジン制御を行うために必要な故障診断項目として存在し得る全ての故障診断項目を記載した総診断項目リストである。同リストには、エンジン制御に関する故障診断項目として、考え得るセンサやデバイスが全て列挙されている。「診断項目」列の値は診断項目の名称または内容を示し、「総番号」列の値はその通番を示す。実際の項目数は、数百項目にのぼる場合がある。   FIG. 4A is a total diagnosis item list in which all failure diagnosis items that may exist as failure diagnosis items necessary for performing engine control are described. The list includes all possible sensors and devices as failure diagnosis items related to engine control. The value in the “diagnostic item” column indicates the name or content of the diagnostic item, and the value in the “total number” column indicates the serial number. The actual number of items may reach several hundred items.

図4(A)の「選択項目」列の値は、各車両仕様に対していずれの診断項目が選択されるかを示す。例えば図3(A)のシステム構成(システムA)に対応しようとする場合、設計者は同システムの故障診断対象となる「選択項目」欄に“1”を設定する。   The value in the “selection item” column in FIG. 4A indicates which diagnosis item is selected for each vehicle specification. For example, when trying to correspond to the system configuration (system A) of FIG. 3A, the designer sets “1” in the “selection item” column to be a fault diagnosis target of the system.

図4(B)は、図4(A)の「選択項目」列内の「A」欄で示したような設定とし、この欄に“1”が設定してあるものだけを抽出して再配列したものである。再配列するときに、「配列番地」列の値を0から改めて割り付けている。   In FIG. 4B, the settings shown in the “A” column in the “Selected Item” column of FIG. 4A are set, and only those having “1” set in this column are extracted and re-executed. It is an arrangement. At the time of rearrangement, the value of the “array address” column is newly assigned from 0.

以上のようにして抽出された故障診断対象は、図3(A)の“システムA“と等価となる。このように、あらかじめ設定しておいた総診断項目リストから、対象とする車両に必要な故障診断項目のみを選択することにより、必要な故障診断項目のみを抽出して配列番地に割り付けることができる。   The failure diagnosis target extracted as described above is equivalent to “System A” in FIG. In this way, by selecting only the necessary failure diagnosis items for the target vehicle from the preset total diagnosis item list, only the necessary failure diagnosis items can be extracted and assigned to the array addresses. .

図5は、図3〜図4で説明した手法を実現するための具体的手段を説明する図である。図5(A)は総診断項目リスト、図5(B)は図5(A)から必要な故障診断項目のみを抽出したリスト、図5(C)は図5(B)に示すリストをプログラムに実装可能な形式で表現した状態を示す図である。   FIG. 5 is a diagram illustrating specific means for realizing the technique described in FIGS. 5A is a total diagnosis item list, FIG. 5B is a list in which only necessary failure diagnosis items are extracted from FIG. 5A, and FIG. 5C is a list shown in FIG. 5B. It is a figure which shows the state expressed in the format which can be mounted in.

図5(A)に示す総診断項目リストには、図4(A)で説明した「選択項目」列と「総番号」列(記載の都合上、図5では「選択」「Total No」とした)が設けられている。設計者は、当該車両の故障診断を行うために必要な診断項目の「選択項目」列に“1”を設定する。   In the total diagnosis item list shown in FIG. 5A, the “selection item” column and the “total number” column described in FIG. 4A (for the convenience of description, “selection” “Total No” in FIG. Is provided). The designer sets “1” in the “selected item” column of the diagnostic items necessary for performing the fault diagnosis of the vehicle.

図5(B)は、図5(A)から「選択項目」列に“1”が設定してあるものだけを抽出して再配列し、配列番地を0から割り付けることにより、図5(A)を圧縮したものである。図5(B)の左部に、抽出結果および配列番地を例示した。   In FIG. 5B, only those having “1” set in the “selection item” column are extracted and rearranged from FIG. 5A, and the array addresses are assigned from 0, so that FIG. ) Is compressed. The extraction result and the array address are illustrated on the left side of FIG.

図5(B)ではさらに、各故障診断項目と各故障診断プログラムの対応関係や、各故障診断プログラム内で実行される処理の繰り返し回数などの制御用データを、抽出した故障診断項目と併せて記述した。各項目について説明する。   Further, in FIG. 5B, control data such as the correspondence between each failure diagnosis item and each failure diagnosis program and the number of repetitions of processing executed in each failure diagnosis program are combined with the extracted failure diagnosis items. Described. Each item will be described.

(項目1)許可フラグ名、RAM名
許可フラグ名、RAM名は、各診断項目と故障診断プログラムを対応付けるとともに、各故障診断プログラムが内部的に使用する値などをそれぞれの故障診断プログラムと対応付ける役割を有する。
(Item 1) Permission Flag Name, RAM Name The permission flag name, RAM name associates each diagnosis item with a failure diagnosis program, and also associates values used internally by each failure diagnosis program with each failure diagnosis program. Have

(項目2)制御用データ
制御用データは、各故障診断プログラムが内部的に使用する制御パラメータである。ここでは、Pコード等のDTC(ダイアグノーシス・トラブル・コード)、コード消去回数、ランプを点灯する判定回数、ランプ点灯許可(SW)を例示した。これらのパラメータは、各故障診断プログラムの動作に影響を与える。例えば回数パラメータの値が変更されると、故障診断プログラム内部のある処理の繰り返し回数が変更される、といったものである。
(Item 2) Control data The control data is a control parameter used internally by each failure diagnosis program. Here, a DTC (diagnostic trouble code) such as a P code, the number of code erasures, the number of determinations for lighting the lamp, and lamp lighting permission (SW) are illustrated. These parameters affect the operation of each fault diagnosis program. For example, when the value of the number parameter is changed, the number of repetitions of a certain process in the failure diagnosis program is changed.

(項目2:補足)
ここでいう制御用データは、図2で説明した診断制御用データ記憶部2000が格納している各データ(2001、2002など)に相当する。例えば、制御データ2001は吸気管圧力センサの電圧High故障についての制御データ、制御データ2002は電圧Low故障についての制御データ、などである。なお、上記許可フラグ名やRAM名などのパラメータも、制御用データに含めてもよい。
(Item 2: Supplement)
The control data here corresponds to each data (2001, 2002, etc.) stored in the diagnostic control data storage unit 2000 described in FIG. For example, the control data 2001 is control data for a voltage high failure of the intake pipe pressure sensor, the control data 2002 is control data for a voltage low failure, and the like. Note that parameters such as the permission flag name and the RAM name may be included in the control data.

このように、各故障診断プログラムと各パラメータ等を対応付け、配列形式でその対応関係を定義しておくことにより、故障診断プログラムおよびパラメータともに、必要な情報のみを抽出し、配列上の順番によってそれぞれを対応付けることができる。   In this way, by associating each failure diagnosis program with each parameter, etc., and defining the corresponding relationship in an array format, only the necessary information is extracted for both the failure diagnosis program and parameters, and depending on the order in the array Each can be associated.

図5(C)は、図5(B)に示すリストを、プログラム言語の形式で表現し直した例を示す図である。ここではC言語類似の例を示したが、表現方法は故障診断プログラムなどを実装するプログラム言語に合わせて適宜変更してもよい。   FIG. 5C is a diagram showing an example in which the list shown in FIG. 5B is re-expressed in a programming language format. Here, an example similar to the C language is shown, but the expression method may be appropriately changed according to a program language in which a failure diagnosis program or the like is mounted.

図5(C)では、図5(B)に示すリストを、(A−1):配列定義リスト、(A−2):フラグインタフェース定義リスト、(A−3):変数定義リスト、(A−4):ROMデータリストとして改めて記述した例を示した。このように、図5(B)のリストをプログラム言語の仕様に合わせてリスト化することにより、プログラムへそのまま実装することができるので、開発効率を向上させることができる。   5C, the list shown in FIG. 5B is represented by (A-1): array definition list, (A-2): flag interface definition list, (A-3): variable definition list, (A -4): The example described anew as a ROM data list is shown. In this way, by listing the list of FIG. 5B in accordance with the specification of the program language, it can be directly implemented in the program, so that development efficiency can be improved.

各故障診断プログラムは、診断結果を診断結果統括処理部3000に出力する。診断結果統括処理部3000は、診断結果情報記憶部4000に、各診断結果情報を配列状に格納する。各診断結果情報の配列番号は、(A−1):配列定義リストが定義する配列順序にしたがって定められる。これにより、故障診断プログラム、制御データ、診断結果情報が配列番号によって順番に対応付けられることになる。   Each failure diagnosis program outputs a diagnosis result to the diagnosis result overall processing unit 3000. The diagnosis result overall processing unit 3000 stores each diagnosis result information in an array in the diagnosis result information storage unit 4000. The sequence number of each diagnosis result information is determined according to the sequence order defined by (A-1): sequence definition list. As a result, the failure diagnosis program, the control data, and the diagnosis result information are sequentially associated by the array number.

なお、図5(A)〜図5(B)、さらには図5(B)〜図5(C)に至る工程は、設計者などが人手で行うと作業負担が大きく効率的でない。そこで、本実施の形態1では、これらの工程を自動的に実行する設計支援プログラム(本実施の形態1に係る車両故障判定装置設計プログラムに相当)を用いることとする。以下に、各設計支援プログラムの役割を説明する。   5A to 5B, and further to FIG. 5B to FIG. 5C, when a designer or the like performs manually, the work load is large and is not efficient. Therefore, in the first embodiment, a design support program (corresponding to the vehicle failure determination device design program according to the first embodiment) that automatically executes these steps is used. The role of each design support program is explained below.

(設計支援プログラムα1)データ定義情報圧縮
設計支援プログラムα1は、CPU201によって実行される。設計支援プログラムα1は、図5(A)に示す総診断項目リストから、「選択項目」列に“1”がセットされている項目のみを抽出し、図5(B)に示すリストを出力する。また、各故障診断プログラムが用いる制御データを別途取得し、図5(B)に示すように配列上に対応付ける。各故障診断プログラムに対応する制御データは、例えば設計支援プログラムα1を実行するコンピュータ上にあらかじめ保存しておいてもよいし、設計者が入力してもよいが、効率の観点からはあらかじめ準備したものを読み込むほうが好ましい。
(Design Support Program α1) Data Definition Information Compression The design support program α1 is executed by the CPU 201. The design support program α1 extracts only items for which “1” is set in the “selected item” column from the total diagnosis item list shown in FIG. 5A, and outputs the list shown in FIG. . Further, control data used by each failure diagnosis program is separately acquired and associated with the array as shown in FIG. Control data corresponding to each failure diagnosis program may be stored in advance on a computer that executes the design support program α1, for example, or may be input by the designer, but prepared in advance from the viewpoint of efficiency. It is better to read things.

(設計支援プログラムα2)リスト生成
設計支援プログラムα2は、CPU201によって実行される。設計支援プログラムα2は、図5(B)に示すリストから、図5(C)に示すプログラム言語形式のリストを生成する。どのような形式でリストを出力するかは、設計支援プログラムα2内部で定めてもよいし、例えば設計支援プログラムα2を実行するコンピュータ上にあらかじめそのルールを保存しておいてもよい。
(Design Support Program α2) List Generation The design support program α2 is executed by the CPU 201. The design support program α2 generates a list in the program language format shown in FIG. 5C from the list shown in FIG. The format in which the list is output may be determined within the design support program α2, or the rules may be stored in advance on a computer that executes the design support program α2, for example.

(設計支援プログラム:補足)
各設計支援プログラムは、上記α1、α2のように2種類に分けてもよいし、単一のプログラムで両者の処理を実行するようにしてもよい。また、上記各設計支援プログラムに相当するプログラムを車両故障診断装置内部に構成してもよい。ただし、車両故障診断装置のプログラムサイズを最小化する観点からは、設計支援プログラムを外部プログラムとして構成しておき、車両故障診断装置内部に組み込むプログラムのサイズを少なくするほうが好ましい。
(Design support program: supplement)
Each design support program may be divided into two types, such as α1 and α2, or both processes may be executed by a single program. In addition, a program corresponding to each of the design support programs may be configured inside the vehicle failure diagnosis apparatus. However, from the viewpoint of minimizing the program size of the vehicle failure diagnosis apparatus, it is preferable to configure the design support program as an external program and reduce the size of the program incorporated in the vehicle failure diagnosis apparatus.

以上のように、本実施の形態1に係る車両故障診断装置では、各故障診断プログラム、各故障診断プログラムの制御データ、各故障診断プログラムの診断結果情報を、配列番号によって対応付け、診断結果情報記憶部4000に格納する。これにより、それぞれの対応関係を容易に入れ替えることができるので、車両の仕様変更などに柔軟に対応することができる。また、故障診断プログラム本体を変更する必要がないので、開発工数や管理工数を削減することができる。   As described above, in the vehicle failure diagnosis apparatus according to the first embodiment, each failure diagnosis program, the control data of each failure diagnosis program, and the diagnosis result information of each failure diagnosis program are associated with each other by the array number, and the diagnosis result information Store in the storage unit 4000. Thereby, since each correspondence can be changed easily, it can respond flexibly to the specification change etc. of a vehicle. In addition, since it is not necessary to change the main body of the failure diagnosis program, the development man-hours and management man-hours can be reduced.

また、本実施の形態1に係る車両故障判定装置設計プログラム(設計支援プログラムα1、α2)は、故障診断項目となり得る総診断項目リストから、当該車両の故障診断に必要な項目のみを抽出し、当該車両用の診断項目リストを生成する。これにより、設計者は必要な診断項目を選択するのみで、車両故障診断装置を任意の車両の仕様に対応させることができるので、開発工数を大幅に削減することができる。   Further, the vehicle failure determination device design program (design support programs α1, α2) according to the first embodiment extracts only items necessary for failure diagnosis of the vehicle from the total diagnosis item list that can be failure diagnosis items. A diagnostic item list for the vehicle is generated. As a result, the designer can select the necessary diagnostic items, and the vehicle failure diagnosis apparatus can be adapted to the specifications of an arbitrary vehicle. Therefore, the number of development steps can be greatly reduced.

また、本実施の形態1に係る車両故障判定装置設計プログラム(特に設計支援プログラムα2)は、当該車両用の診断項目リストをプログラム言語の形式で生成する。これにより、同リストをプログラム内に容易に組み込むことができるので、車両故障診断装置の機能を損なうことなく、ROM202の消費容量を抑制することができる。   Further, the vehicle failure determination device design program (particularly the design support program α2) according to the first embodiment generates a diagnosis item list for the vehicle in the form of a program language. As a result, the list can be easily incorporated into the program, so that the consumed capacity of the ROM 202 can be suppressed without impairing the function of the vehicle failure diagnosis apparatus.

<実施の形態2>
実施の形態1では、車両の仕様に応じて故障診断プログラムや制御データの組み合わせを容易に入れ替えることのできる車両故障診断装置およびその設計プログラムについて説明した。本発明の実施の形態2では、実施の形態1で説明した構成に加え、故障診断プログラム相互の相関関係に対応することのできる構成を新たに導入する。その他の構成は概ね実施の形態1と同様であるため、以下では差異点を中心に説明する。
<Embodiment 2>
In the first embodiment, a vehicle failure diagnosis apparatus and a design program thereof that can easily replace a combination of a failure diagnosis program and control data according to vehicle specifications have been described. In the second embodiment of the present invention, in addition to the configuration described in the first embodiment, a configuration that can deal with the correlation between fault diagnosis programs is newly introduced. Since the other configuration is generally the same as that of the first embodiment, the following description will focus on the differences.

図6は、本実施の形態2に係る車両故障診断装置の機能構成を模式的に示すブロック図である。本実施の形態2に係る車両故障診断装置は、実施の形態1の図2で説明した構成に加え、新たに診断相関判定部5000、フェールセーフ状態判定部6000を備える。   FIG. 6 is a block diagram schematically showing a functional configuration of the vehicle failure diagnosis apparatus according to the second embodiment. The vehicle failure diagnosis apparatus according to the second embodiment includes a diagnostic correlation determination unit 5000 and a fail-safe state determination unit 6000 in addition to the configuration described in FIG. 2 of the first embodiment.

診断相関判定部5000は、診断結果情報記憶部4000が格納している情報に基づき各故障診断プログラムの実行許可または実行停止を指示する。また、各故障診断プログラムの実行許可または実行停止を指示するために必要な事項を定義する診断相関定義リスト5001を有する。診断相関判定部5000は、各故障診断プログラムの実行許可または実行停止の指示を、診断結果情報記憶部4000に格納する。格納先は、各故障診断プログラムの診断結果情報と対応付けるようにする。図6では、各診断結果情報の一部に一体化して格納した例を示したが、必ずしも各診断結果情報と一体化しなくともよい。   The diagnostic correlation determination unit 5000 instructs the execution permission or the execution stop of each failure diagnosis program based on the information stored in the diagnosis result information storage unit 4000. In addition, a diagnostic correlation definition list 5001 that defines items necessary to instruct execution permission or execution stop of each failure diagnosis program is provided. The diagnosis correlation determination unit 5000 stores an instruction to permit or stop execution of each failure diagnosis program in the diagnosis result information storage unit 4000. The storage destination is associated with the diagnosis result information of each failure diagnosis program. Although FIG. 6 shows an example in which each diagnosis result information is integrated and stored, it is not necessarily required to be integrated with each diagnosis result information.

フェールセーフ状態判定部6000は、故障診断プログラムの診断結果が以下のような値となっているとき、その故障診断プログラムの故障診断対象がフェールセーフ状態にあると判定する。
(フェールセーフ状態その1)故障診断結果が制御範囲外となっている場合
(フェールセーフ状態その2)故障診断結果が通常制御状態ではない値となっている場合、例えば初期値や固定値である場合
The fail safe state determination unit 6000 determines that the failure diagnosis target of the failure diagnosis program is in the fail safe state when the diagnosis result of the failure diagnosis program has the following values.
(Fail-safe state 1) When the failure diagnosis result is outside the control range (Fail-safe state 2) When the failure diagnosis result is a value other than the normal control state, for example, an initial value or a fixed value Case

以上、本実施の形態2に係る車両故障診断装置の構成について説明した。次に、故障診断プログラムの診断結果が相互に関連することについて説明する。   Heretofore, the configuration of the vehicle failure diagnosis apparatus according to the second embodiment has been described. Next, the fact that the diagnosis results of the failure diagnosis program are related to each other will be described.

図7は、故障診断プログラムと他の故障診断プログラムの診断結果の相関関係を説明する図である。ここでは、ROM202内に格納されている吸気管圧力センサ機能診断プログラム1003を例に取り上げる。   FIG. 7 is a diagram for explaining the correlation between the diagnosis results of the failure diagnosis program and other failure diagnosis programs. Here, an intake pipe pressure sensor function diagnosis program 1003 stored in the ROM 202 is taken as an example.

図7(A)は、従来の吸気管圧力センサ機能診断プログラム1003の一般的な構成を示す図である。同プログラムの主な構成要素としては、故障診断を実行するための各種条件を含めた診断実行条件部と、診断に必要なパラメータを演算する部分と、これらを用いて故障を判定する部分とに分かれる。演算処理結果は、OK、NG判定フラグと、判定成立フラグとして出力される。   FIG. 7A is a diagram showing a general configuration of a conventional intake pipe pressure sensor function diagnostic program 1003. The main components of the program are a diagnosis execution condition part including various conditions for executing failure diagnosis, a part for calculating parameters necessary for diagnosis, and a part for determining a failure using these parts. Divided. The calculation processing result is output as an OK / NG determination flag and a determination establishment flag.

吸気管圧力センサ機能診断プログラム1003の中で、車両のシステム仕様に影響を受けるのは、診断実行条件部である。   In the intake pipe pressure sensor function diagnosis program 1003, the diagnosis execution condition section is affected by the system specifications of the vehicle.

例えば、誤判定を防止するため、可変吸気バルブデバイスを搭載するシステムでは、可変吸気バルブが未故障状態でなければならないという制約がある。可変吸気バルブが故障している場合、吸気管圧力センサが検出する圧力と、判定用パラメータとして他のセンサ情報を基に比較値として演算される擬似圧力値との間に乖離が発生する。そのため、吸気管圧力センサ機能診断プログラム1003の診断実行条件部は、『可変吸気バルブが故障しているか否か』を表す情報と、『フェールセーフ状態実行中であるか否か』を表す情報とを参照する必要がある。これらは、可変吸気バルブの故障状態情報(『現在故障』フラグ)、および可変吸気バルブのフェールセーフ状態情報(『フェールセーフ状態』フラグ)を参照することにより得られる。   For example, in order to prevent erroneous determination, there is a restriction that a variable intake valve must be in an unfailed state in a system equipped with a variable intake valve device. When the variable intake valve is malfunctioning, a divergence occurs between the pressure detected by the intake pipe pressure sensor and the pseudo pressure value calculated as a comparison value based on other sensor information as a determination parameter. Therefore, the diagnosis execution condition part of the intake pipe pressure sensor function diagnosis program 1003 includes information indicating “whether or not the variable intake valve has failed”, information indicating whether or not the fail-safe state is being executed, and Need to refer to. These can be obtained by referring to the failure state information of the variable intake valve ("current failure" flag) and the fail safe state information of the variable intake valve ("fail safe state" flag).

なお、実際の吸気管圧力センサ機能診断プログラム1003では、可変吸気バルブの故障状態以外にも、例えば水温センサや大気圧センサなどの故障状態を参照しなければならない場合もあることを付言しておく。   Note that in the actual intake pipe pressure sensor function diagnostic program 1003, it may be necessary to refer to a failure state of, for example, a water temperature sensor or an atmospheric pressure sensor in addition to the failure state of the variable intake valve. .

一方、可変吸気バルブを搭載していないシステムにおける吸気管圧力センサ機能診断プログラム1003では、可変吸気バルブの故障状態情報などを参照する必要がない。この場合には、可変吸気バルブの故障状態情報、および可変吸気バルブのフェールセーフ状態情報を取得する必要はないことになる。   On the other hand, in the intake pipe pressure sensor function diagnosis program 1003 in a system not equipped with a variable intake valve, it is not necessary to refer to the failure state information of the variable intake valve. In this case, it is not necessary to acquire failure state information of the variable intake valve and fail safe state information of the variable intake valve.

上記のように、可変吸気バルブデバイスが有るか否かによって、吸気管圧力センサ機能診断プログラム1003を修正変更する必要がある。他のシステム構成要素が変るとさらに変更するべき項目が増加し、プログラムの変更、開発、検証、および管理工数が、システムが変る毎に増大する。そのため、開発効率の低下、費用の増大などが発生してコスト面で不利であるのみならず、管理ミスによるアンマッチなどが発生し、品質の低下を招く恐れがある。   As described above, it is necessary to modify and change the intake pipe pressure sensor function diagnosis program 1003 depending on whether or not there is a variable intake valve device. As other system components change, more items need to be changed, and program changes, development, verification, and management man-hours increase each time the system changes. For this reason, not only is there a disadvantage in terms of cost due to a decrease in development efficiency and an increase in cost, but an unmatch due to a management error may occur, leading to a decrease in quality.

図7(B)は、本実施の形態2における吸気管圧力センサ機能診断プログラム1003の構成を示す図である。本実施の形態2では、上述のようなシステム構成の差異に起因して、吸気管圧力センサ機能診断プログラム1003が参照すべき情報を変更しなければならないことに対応するため、参照すべき情報をプログラム本体から切り離した。   FIG. 7B is a diagram showing a configuration of the intake pipe pressure sensor function diagnostic program 1003 in the second embodiment. In the second embodiment, in order to cope with the fact that the information to be referred to by the intake pipe pressure sensor function diagnosis program 1003 has to be changed due to the difference in the system configuration as described above, the information to be referred to is changed. Disconnected from the program itself.

本実施の形態2において、吸気管圧力センサ機能診断プログラム1003は、『診断許可要求フラグ』の値を取得し、その値に基づき可変吸気バルブの故障診断を実行してよいか否かを判断する。『診断許可要求フラグ』の値は、後述の診断相関判定部5000によって診断結果情報記憶部4000に格納される。   In the second embodiment, the intake pipe pressure sensor function diagnosis program 1003 acquires the value of the “diagnosis permission request flag” and determines whether or not to perform failure diagnosis of the variable intake valve based on the value. . The value of the “diagnosis permission request flag” is stored in the diagnosis result information storage unit 4000 by a diagnosis correlation determination unit 5000 described later.

図7(B)の例では、『可変吸気バルブが故障しているか否か』を表す情報と、『可変吸気バルブがフェールセーフ機能を実行中であるか否か』を表す情報とを吸気管圧力センサ機能診断プログラム1003から切り離し、『診断許可要求フラグ』を介して間接的にこれらの情報を参照するようにした。これにより、吸気管圧力センサ機能診断プログラム1003の独立性を高めることができる。   In the example of FIG. 7B, information indicating whether or not the variable intake valve has failed and information indicating whether or not the variable intake valve is performing a fail-safe function are included in the intake pipe. The information is disconnected from the pressure sensor function diagnosis program 1003 and indirectly referred to through the “diagnosis permission request flag”. Thereby, the independence of the intake pipe pressure sensor function diagnosis program 1003 can be enhanced.

例えば、システム構成が変わって可変吸気バルブが存在しないようになった場合でも、『診断許可要求フラグ』の初期値を「診断を許可する」旨の値(本実施形態では1)としておけば、診断実行条件部を作成し直す必要はない。   For example, even if the system configuration changes and the variable intake valve does not exist, if the initial value of the “diagnosis permission request flag” is set to a value (1 in the present embodiment) indicating that “diagnosis is permitted”, There is no need to recreate the diagnosis execution condition section.

また、システム構成が変更され、参照すべき故障状態情報やフェールセーフ状態情報を変更しなければならない場合でも、『診断許可要求フラグ』の値を参照して診断実行可否を判断するというロジックそのものは変更する必要はない。参照すべき故障状態情報やフェールセーフ状態情報を変更するには、吸気管圧力センサ機能診断プログラム1003が参照する『診断許可要求フラグ』の値をセットする診断相関判定部5000のみを変更すればよい。   In addition, even when the system configuration is changed and failure state information or failsafe state information to be referred to must be changed, the logic itself that determines whether or not diagnosis can be executed by referring to the value of the “diagnosis permission request flag” is There is no need to change. In order to change the failure state information and failsafe state information to be referred to, only the diagnostic correlation determination unit 5000 that sets the value of the “diagnosis permission request flag” referred to by the intake pipe pressure sensor function diagnostic program 1003 needs to be changed. .

以上説明したように、本実施の形態2では、各故障診断プログラムが診断実行可否を判断するために参照する他の故障診断プログラムの診断結果やフェールセーフ状態と、当該故障診断プログラムとの間のインタフェースのみを、各故障診断プログラムに定義しておく。これにより、システム仕様(車両仕様)が変更になっても、故障診断プログラム自体を変更する必要がないので、開発工数、検証工数、および管理工数を大幅に削減することができる。なお、ここでは吸気管圧力センサ機能診断プログラム1003を例に取り上げたが、他の故障診断プログラムについても同様である。   As described above, in the second embodiment, the diagnosis results and fail-safe states of other failure diagnosis programs referred to by each failure diagnosis program for determining whether or not diagnosis can be executed are between the failure diagnosis program and the failure diagnosis program. Only the interface is defined in each fault diagnosis program. Thereby, even if the system specifications (vehicle specifications) are changed, it is not necessary to change the failure diagnosis program itself, so that the development man-hours, verification man-hours, and management man-hours can be greatly reduced. Here, the intake pipe pressure sensor function diagnosis program 1003 is taken as an example, but the same applies to other failure diagnosis programs.

以上、本実施の形態2における故障診断プログラムと他の故障診断プログラムの診断結果の相関関係について説明した。次に、本実施の形態2における診断相関の考え方、および診断相関判定部5000の具体的な実装手法について、図8〜図9を用いて説明する。   The correlation between the diagnosis results of the failure diagnosis program and the other failure diagnosis programs in the second embodiment has been described above. Next, the concept of diagnostic correlation and the specific implementation method of the diagnostic correlation determination unit 5000 in the second embodiment will be described with reference to FIGS.

図8は、『診断相関表』の具体例を示す図である。『診断相関表』は、縦軸と横軸に故障診断項目を並べた表である。横軸は診断結果情報(正常/故障)を意味している。横軸に示す診断項目が故障である場合、その故障によって誤検出を招く可能性のある縦軸の故障診断項目に●がついている。すなわち、横方向に見た場合、横方向で●がついた診断結果が故障と検出されていれば、当該故障診断の実行を禁止しなければならない。   FIG. 8 is a diagram showing a specific example of the “diagnosis correlation table”. The “diagnosis correlation table” is a table in which failure diagnosis items are arranged on the vertical axis and the horizontal axis. The horizontal axis represents diagnostic result information (normal / failure). When the diagnosis item shown on the horizontal axis is a failure, the failure diagnosis item on the vertical axis, which may cause a false detection due to the failure, is marked with ●. That is, when viewed in the horizontal direction, if a diagnosis result marked with ● in the horizontal direction is detected as a failure, the execution of the failure diagnosis must be prohibited.

例えば、水温センサが電気的に故障している場合は、水温センサの機能診断(8−a)を行う故障診断プログラムは実行不可能であるので、「水温センサHi側診断」「水温診断Lo側診断」の値を●とした。また、同故障診断プログラムは、水温センサの機能診断(8−a)を実行する際に、機能的な故障を判定するための条件として、吸気管圧力(MAP)センサ、吸気温センサ、回転数情報を得るクランク角センサなどを参照している。そのため、これらが故障状態であると判定している場合は、同故障診断プログラムの実行を停止しなければならない。そこで、これらに関係する値を●とした。   For example, when the water temperature sensor has an electrical failure, the failure diagnosis program for performing the function diagnosis (8-a) of the water temperature sensor cannot be executed. Therefore, the “water temperature sensor Hi side diagnosis”, “water temperature diagnosis Lo side” The value of “diagnosis” was set as ●. In addition, the failure diagnosis program executes an intake pipe pressure (MAP) sensor, an intake temperature sensor, a rotation speed as conditions for determining a functional failure when executing the function diagnosis (8-a) of the water temperature sensor. A crank angle sensor for obtaining information is referred to. For this reason, if it is determined that these are in a failure state, the execution of the failure diagnosis program must be stopped. Therefore, the values related to these are marked with ●.

ある1つのシステムにおいては、上述のような故障診断プログラム同士の相関関係は固定されるが、異なるシステムへ対応する場合には、診断項目が変わると、故障検出対象や参照すべき故障状態情報などを、そのシステムの仕様に合わせて変更する必要がある。   In one system, the correlation between fault diagnosis programs as described above is fixed. However, when dealing with different systems, if the diagnostic item changes, the fault detection target, fault status information to be referenced, etc. Must be changed according to the specifications of the system.

そこで、本実施の形態2では、考え得るセンサやデバイスなどの故障診断項目を全て列挙して、図8のように縦軸と横軸に並べ、全故障診断項目相互の相関関係を図8と同様に定義することを考える。この表を『総診断相関表』と呼ぶことにする。『総診断相関表』のうち対象システム(故障診断対象車両)に関連する故障診断項目のみを抽出することにより、各故障診断プログラムの相関関係のうち必要なもののみを取り出すことができる。あらかじめ全故障診断項目相互の相関関係を定義しておけば、抜けが生じる心配はない。   Therefore, in the second embodiment, all possible fault diagnosis items such as sensors and devices are listed and arranged on the vertical axis and the horizontal axis as shown in FIG. 8, and the correlation between all fault diagnosis items is shown in FIG. Consider defining the same. This table will be referred to as a “total diagnosis correlation table”. By extracting only the fault diagnosis items related to the target system (fault diagnosis target vehicle) from the “total diagnosis correlation table”, only necessary ones of the correlations of the respective fault diagnosis programs can be extracted. If the correlation between all fault diagnosis items is defined in advance, there is no fear of missing.

以上、本実施の形態2における診断相関の考え方について説明した。次に、診断相関判定部5000の具体的な実装手法について説明する。   Heretofore, the concept of diagnostic correlation in the second embodiment has been described. Next, a specific mounting method of the diagnostic correlation determination unit 5000 will be described.

各故障診断プログラムは、上述の通り『診断許可要求フラグ』の値を参照するように実装される。この『診断許可要求フラグ』の値は、診断結果情報記憶部4000のいずれかの領域に格納されている。『診断許可要求フラグ』の値は、各故障診断プログラムからは独立してセットされるので、各故障診断プログラムは、『診断許可要求フラグ』の具体的な格納場所(例えば格納先番地など)がどこであるかを、別途把握しておかなければならない。そこで本実施の形態2では、各故障診断プログラムと『診断許可要求フラグ』の相関関係を、後述の診断相関定義リスト5001で定義し、実施の形態1で説明した配列順序を用いて参照できるようにした。   Each failure diagnosis program is implemented so as to refer to the value of the “diagnosis permission request flag” as described above. The value of this “diagnosis permission request flag” is stored in any area of the diagnosis result information storage unit 4000. Since the value of the “diagnosis permission request flag” is set independently from each failure diagnosis program, each failure diagnosis program has a specific storage location (for example, storage destination address) of the “diagnosis permission request flag”. You must keep track of where it is. Therefore, in the second embodiment, the correlation between each failure diagnosis program and the “diagnosis permission request flag” is defined in a diagnostic correlation definition list 5001 described later, and can be referred to using the arrangement order described in the first embodiment. I made it.

図9は、図8で説明した手法を実現するための具体的手段を説明する図である。図9(A)は総診断相関表、図9(B)は図9(A)から必要な故障診断項目のみを抽出したリストを示す図である。   FIG. 9 is a diagram illustrating specific means for realizing the technique described in FIG. FIG. 9A is a total diagnosis correlation table, and FIG. 9B is a diagram showing a list in which only necessary failure diagnosis items are extracted from FIG. 9A.

なお、図9において、図7で説明した『診断許可要求フラグ』は、『診断NGフラグ』と『フェールセーフ(F/S)状態フラグ』に分けて記載されている。これは、各故障診断項目の故障診断結果は各故障診断プログラムが出力し、フェールセーフ状態にあるか否かの判断結果はフェールセーフ状態判定部6000が出力するからである。診断相関判定部5000は、両者のフラグを用いて、図8で説明した『診断許可要求フラグ』を診断結果情報記憶部4000に書き込む。   In FIG. 9, the “diagnosis permission request flag” described in FIG. 7 is divided into “diagnosis NG flag” and “fail-safe (F / S) state flag”. This is because the failure diagnosis result of each failure diagnosis item is output by each failure diagnosis program, and the determination result of whether or not in the fail safe state is output by the fail safe state determination unit 6000. The diagnosis correlation determination unit 5000 writes the “diagnosis permission request flag” described in FIG. 8 in the diagnosis result information storage unit 4000 using both flags.

図9(A)では、図8で説明した総診断相関表をより具体化した例を示した。同図において、縦軸には全故障診断項目、「選択項目」列が配置されている。横軸には、縦軸と同じ項目に加え、以下の項目が配置されている。   FIG. 9A shows an example in which the total diagnosis correlation table described in FIG. In the figure, the vertical axis shows all failure diagnosis items and a “selection item” column. In addition to the same items as the vertical axis, the following items are arranged on the horizontal axis.

(横軸項目その1)『診断NGフラグ』の配置場所
『診断NGフラグ』は、診断結果統括処理部3000が各故障診断プログラムの故障診断結果を診断結果情報記憶部4000に格納することにより作成される。本フラグは、図6における診断結果情報4001、4002等のうち左から2番目の『現在故障』フラグに相当する。本フラグの格納場所は、図9の(1)RAM名と(2)フラグ名により特定される。フラグ名については、後述の図10で例を挙げて説明する。
(Horizontal axis item 1) Location of “diagnostic NG flag” The “diagnostic NG flag” is created when the diagnostic result overall processing unit 3000 stores the fault diagnostic result of each fault diagnostic program in the diagnostic result information storage unit 4000. Is done. This flag corresponds to the second “current failure” flag from the left in the diagnosis result information 4001, 4002, etc. in FIG. The storage location of this flag is specified by (1) RAM name and (2) flag name in FIG. The flag name will be described with reference to FIG.

(横軸項目その2)『F/S状態フラグ』の配置場所
『F/S状態フラグ』は、フェールセーフ状態判定部6000が各故障診断プログラムの診断結果に基づき、RAM204などの適当な領域に格納する。図6では、F/S状態フラグ6001〜600Nとして記載した。本フラグの格納場所は、図9の(3)F/S状態のRAM名、フラグ名により特定される。
(Horizontal axis item 2) Location of “F / S status flag” The “F / S status flag” is stored in an appropriate area such as the RAM 204 by the fail-safe status determination unit 6000 based on the diagnosis result of each fault diagnosis program. Store. In FIG. 6, the F / S state flags 6001 to 600N are described. The storage location of this flag is specified by the RAM name and flag name in (3) F / S state of FIG.

(横軸項目その3)最終列を示すフラグ
最終列には、横軸が最終であることを示す情報である0xFFが全ての項目に定義してある。これは、ループ処理の終了判定を行うための情報として使用するものである。必ずしも0xFFでなくとも、プログラムが識別できる情報であれば値は任意でよい。また、あらかじめ総診断項目数を得られるのであれば、本項目はなくてもよい。
(Horizontal axis item 3) Flag indicating final column In the final column, 0xFF, which is information indicating that the horizontal axis is final, is defined for all items. This is used as information for determining the end of loop processing. Even if it is not necessarily 0xFF, any value can be used as long as the information can be identified by the program. Further, this item may be omitted if the total number of diagnosis items can be obtained in advance.

図8では、各故障診断プログラムの診断結果の相関関係は、記号●を用いて表したが、図9ではこれをより細分化し、「1」から「3」までの数値を割付けることにした。数値「1」は『現在故障』、数値「2」は『運転内故障』、数値「3」は『故障成立中』の診断状態を表す。総診断相関表の各セルに設定する値により、単に診断結果がOK/NGという2値のみならず、複数の診断結果を相互に関連付けることができる。ただし、各故障診断対象がフェールセーフ状態にあるか否かは、数値「0」「1」のみを用いることとした。   In FIG. 8, the correlation between the diagnosis results of each failure diagnosis program is represented by using the symbol ●, but in FIG. 9, this is further subdivided and assigned numerical values from “1” to “3”. . A numerical value “1” represents a “current failure”, a numerical value “2” represents a “failure in operation”, and a numerical value “3” represents a diagnostic state “failure established”. Depending on the value set in each cell of the total diagnosis correlation table, the diagnosis result is not only the binary value of OK / NG, but a plurality of diagnosis results can be associated with each other. However, only numerical values “0” and “1” are used to determine whether or not each failure diagnosis target is in a fail-safe state.

図9において、総診断項目数を403としているが、これに限られるものではなく、例えば将来的に診断対象項目が増えた場合は、それぞれ縦横方向に診断項目を追加していけばよい。   In FIG. 9, the total number of diagnosis items is 403, but is not limited to this. For example, if the number of items to be diagnosed increases in the future, the diagnosis items may be added vertically and horizontally.

図9(B)は、図9(A)から「選択項目」列に“1”が設定してあるものだけを抽出して再配列し、配列番地を0から割り付けることにより、図9(A)を圧縮したものである。   In FIG. 9B, only those in which “1” is set in the “selection item” column are extracted and rearranged from FIG. 9A, and the array addresses are assigned from 0, so that FIG. ) Is compressed.

図10は、図9(B)に示すリストを、ソフトウェアプログラムが処理し易い形式で表現しなおした例を示す図である。図10は、図9(B)の続きであるため、図10上では(C)と記載した。図10では、図9(B)に示すリストを、(B−1):診断相関定義リスト5001として再構成した例を示した。図10に示す診断相関定義リスト5001では、図9(B)に示すリストに基づき、診断項目名、診断項目数数、参照するべきフラグ名、およびフラグの値を格納するRAM名が、配列状に順番にリスト化されている。   FIG. 10 is a diagram illustrating an example in which the list illustrated in FIG. 9B is re-expressed in a format that can be easily processed by the software program. Since FIG. 10 is a continuation of FIG. 9B, it is indicated as (C) in FIG. FIG. 10 shows an example in which the list shown in FIG. 9B is reconfigured as (B-1): diagnostic correlation definition list 5001. In the diagnostic correlation definition list 5001 shown in FIG. 10, based on the list shown in FIG. 9B, the diagnostic item name, the number of diagnostic items, the flag name to be referred to, and the RAM name storing the flag value are arranged in an array form. Are listed in order.

配列番号0〜4に相当する故障診断項目では、参照すべき他の故障診断状態がなく、故障診断を禁止すべき状況が発生しないので、項目名、最終であることを示す0xFF、項目数:1がセットされている。   In the failure diagnosis items corresponding to the array numbers 0 to 4, there is no other failure diagnosis state to be referred to, and there is no situation in which failure diagnosis should be prohibited. Therefore, the item name, 0xFF indicating the final, number of items: 1 is set.

配列の5番目(a)は、図9(B)における(a)に相当する。同診断項目が参照すべき情報は、図9(B)の(a)を横軸方向に見ると分かる。横軸方向に数値「1」から「3」が設定されている項目は、0xFFを含めて10項目である。したがって、参照情報数:10となる。   The fifth (a) of the array corresponds to (a) in FIG. 9 (B). Information to be referred to by the diagnosis item can be understood by looking at (a) in FIG. 9B in the horizontal axis direction. There are 10 items with numerical values “1” to “3” set in the horizontal axis direction, including 0xFF. Therefore, the number of reference information is 10.

フラグ名は、総診断相関表の数値「1」に対応するものがF1、数値「3」に対応するものがF3、などとなるように設定しておく。数値そのものを用いないのは、各診断状態を表す数値が後に変更されたような場合でも、プログラムの変更範囲を最小限に留めるためである。例えば、『現在故障』を表す数値が「1」から「11」に変更になった場合などが考えられる。数値そのものに代えてフラグ名を用いるようにしておけば、上記のように数値が変更になっても、数値とフラグ名の対応関係のみ書き換えればよいので、プログラム本体は変更する必要がない。   The flag names are set so that the value corresponding to the numerical value “1” of the total diagnosis correlation table is F1, the value corresponding to the numerical value “3” is F3, and the like. The reason why the numerical value itself is not used is to keep the program change range to a minimum even when the numerical value representing each diagnosis state is changed later. For example, a case where the numerical value indicating “current failure” is changed from “1” to “11” can be considered. If the flag name is used instead of the numerical value itself, even if the numerical value is changed as described above, it is only necessary to rewrite the correspondence between the numerical value and the flag name, so that the program body does not need to be changed.

図10に示すリストにより、各故障診断プログラムを実行することができるか否かは、最終的には1つの『診断許可要求フラグ』に集約することができる。また、図10のようにリスト化しておけば、車両故障診断装置の診断機能を構成するプログラムへそのまま実装することができる。   Based on the list shown in FIG. 10, whether or not each failure diagnosis program can be executed can be finally collected in one “diagnosis permission request flag”. In addition, if the list is made as shown in FIG. 10, it can be installed as it is in a program constituting the diagnosis function of the vehicle failure diagnosis apparatus.

なお、図9(A)〜図9(B)、さらには図10に至る工程は、設計者などが人手で行うと作業負担が大きく効率的でない。そこで、本実施の形態2では、これらの工程を自動的に実行する設計支援プログラム(本実施の形態2に係る車両故障判定装置設計プログラムに相当)を用いることとする。以下に、各設計支援プログラムの役割を説明する。   9A to 9B and FIG. 10 are not efficient when a designer or the like manually performs the process. Therefore, in the second embodiment, a design support program (corresponding to the vehicle failure determination device design program according to the second embodiment) that automatically executes these steps is used. The role of each design support program is explained below.

(設計支援プログラムβ1)総診断相関表圧縮
設計支援プログラムβ1は、CPU201によって実行される。設計支援プログラムβ1は、図9(A)に示す総診断相関表から、「選択項目」列に“1”がセットされている項目のみを抽出し、図9(B)に示すリストを出力する。また、図9の横軸に示す各項目の値を別途取得し、配列上に対応付ける。図9の横軸に示す各値は、例えば設計支援プログラムβ1を実行するコンピュータ上にあらかじめ保存しておいてもよいし、設計者が入力してもよいが、効率の観点からはあらかじめ準備したものを読み込むほうが好ましい。
(Design Support Program β1) Total Diagnosis Correlation Table Compression The design support program β1 is executed by the CPU 201. The design support program β1 extracts only the items for which “1” is set in the “selected item” column from the total diagnosis correlation table shown in FIG. 9A, and outputs the list shown in FIG. 9B. . Moreover, the value of each item shown on the horizontal axis of FIG. 9 is separately acquired and associated with the array. Each value shown on the horizontal axis in FIG. 9 may be stored in advance on a computer that executes the design support program β1, for example, or may be input by the designer, but prepared in advance from the viewpoint of efficiency. It is better to read things.

(設計支援プログラムβ2)リスト生成
設計支援プログラムβ2は、CPU201によって実行される。設計支援プログラムβ2は、図9(B)に示すリストから、図10に示すリストを生成する。どのような形式でリストを出力するかは、設計支援プログラムβ2内部で定めてもよいし、例えば設計支援プログラムβ2を実行するコンピュータ上にあらかじめそのルールを保存しておいてもよい。
(Design Support Program β2) List Generation The design support program β2 is executed by the CPU 201. The design support program β2 generates the list shown in FIG. 10 from the list shown in FIG. The format in which the list is output may be determined within the design support program β2, or the rules may be stored in advance on a computer that executes the design support program β2, for example.

(設計支援プログラム:補足その1)
各設計支援プログラムは、上記β1、β2のように2種類に分けてもよいし、単一のプログラムで両者の処理を実行するようにしてもよい。また、上記各設計支援プログラムに相当するプログラムを車両故障診断装置内部に構成してもよい。さらには、実施の形態1で説明した設計支援プログラムα1、α2と、本実施の形態2における設計支援プログラムβ1、β2を、一体化して構成してもよい。
(Design support program: Supplement 1)
Each design support program may be divided into two types such as β1 and β2, or both processes may be executed by a single program. In addition, a program corresponding to each of the design support programs may be configured inside the vehicle failure diagnosis apparatus. Furthermore, the design support programs α1 and α2 described in the first embodiment and the design support programs β1 and β2 in the second embodiment may be integrated.

(設計支援プログラム:補足その2)
本実施の形態2において、設計支援プログラムをβ1とβ2に分けた理由を補足しておく。図9(A)に示す総診断相関表から、図9(B)に示す圧縮した診断相関表を作成した後、設計作業の過程で、システム構成が変更になる可能性がある。この場合、図9(A)から改めて作業を行ってもよいが、圧縮した診断相関表を直接編集した方が効率的である場合も考えられる。例えば、一部の表セルの数値のみを「1」から「2」に変更する、といった場合である。そこで、本実施の形態2では、図9(A)〜図10に至る過程を2段階に分けるとともに、設計支援プログラムの機能もこれに対応させて2種類に分け、途中で編集作業を介入させることができるようにした。これにより、総診断相関表から一括的に診断相関定義リスト5001を作成する処理と、圧縮された診断相関表を個別に編集する作業とを両立させることができるので、開発工数を大幅に効率化することができる。
(Design support program: Supplement 2)
The reason why the design support program is divided into β1 and β2 in the second embodiment will be supplemented. After creating the compressed diagnostic correlation table shown in FIG. 9B from the total diagnostic correlation table shown in FIG. 9A, the system configuration may be changed in the course of the design work. In this case, the work may be performed again from FIG. 9A, but it may be more efficient to directly edit the compressed diagnostic correlation table. For example, only the numerical values of some table cells are changed from “1” to “2”. Therefore, in the second embodiment, the process from FIG. 9A to FIG. 10 is divided into two stages, and the function of the design support program is also divided into two types corresponding to this, and the editing work is intervened in the middle. I was able to do that. As a result, the process of creating the diagnostic correlation definition list 5001 collectively from the total diagnostic correlation table and the work of individually editing the compressed diagnostic correlation table can be made compatible, greatly increasing the development man-hours. can do.

以上、本実施の形態2に係る車両故障診断装置とその設計支援プログラムについて説明した。なお、1つの故障診断プログラムで複数の診断結果情報を出力するケースでは、診断相関判定部5000が出力する各故障診断プログラムの実行許可指示や実行停止指示が同じ情報を基になされるようにしておくことが望ましい。具体的には、入力センサの電圧レベルが異常に高い、低いという状態を1つの故障診断プログラムで検出し、診断結果情報を、電圧レベルが高い、低いで分割する場合などがこれにあてはまる。   Heretofore, the vehicle failure diagnosis apparatus and its design support program according to the second embodiment have been described. In the case where a plurality of pieces of diagnosis result information are output by one failure diagnosis program, the execution permission instruction and the execution stop instruction of each failure diagnosis program output by the diagnosis correlation determination unit 5000 are made based on the same information. It is desirable to keep it. Specifically, this may be the case when the state where the voltage level of the input sensor is abnormally high or low is detected by a single failure diagnosis program and the diagnosis result information is divided into high or low voltage levels.

以上のように、本実施の形態2において、診断相関判定部5000は、各故障診断プログラムの診断結果、または各故障診断対象がフェールセーフ状態にあるか否かの少なくともいずれかを用いて、故障診断の実行可否を判定する。これにより、故障診断項目が相互に関係する場合に、その相関関係を故障診断に反映することができる。   As described above, in the second embodiment, the diagnosis correlation determination unit 5000 uses the diagnosis result of each failure diagnosis program or at least one of whether or not each failure diagnosis target is in a fail-safe state, Determines whether diagnosis can be executed. Thereby, when the failure diagnosis items are related to each other, the correlation can be reflected in the failure diagnosis.

また、本実施の形態2によれば、診断相関判定部5000は、上記相関関係を定義する診断相関定義リスト5001を備え、これに基づき各故障診断プログラムの実行開始や実行停止を指示する。これにより、各故障診断プログラムの診断実行条件部を他の故障診断プログラムから切り離し、独立性を高めることができる。   According to the second embodiment, the diagnostic correlation determination unit 5000 includes the diagnostic correlation definition list 5001 that defines the correlation, and instructs the start and stop of execution of each fault diagnosis program based on the diagnostic correlation definition list 5001. Thereby, the diagnosis execution condition part of each failure diagnosis program can be separated from other failure diagnosis programs, and the independence can be enhanced.

また、本実施の形態2によれば、診断相関定義リスト5001は、複数種類の診断結果を数値「1」〜「3」によって表し、各診断結果と他の故障診断プログラムの実行可否の相関関係を定義する。これにより、各診断プログラム相互の相関関係をより詳細に定義することができる。さらには、例えば『現在故障情報』を選択している場合は、運転中に故障状態が復帰した際に、直ぐにフェールセーフからの復帰が可能となる。また、『運転内故障情報』を選択している場合は、故障が復帰しても、運転中はフェールセーフを継続する機能選択が可能となる。また、『故障成立中情報』を選択している場合は、運転が停止、再開された場合にも、故障状態が復帰したと判定されない限りはフェールセーフを継続することができる。このように、特にフェールセーフ機能の起動を解除する条件を、フェールセーフ機能の復帰条件によって選択することが可能となる。   Further, according to the second embodiment, the diagnosis correlation definition list 5001 represents a plurality of types of diagnosis results by numerical values “1” to “3”, and the correlation between each diagnosis result and whether or not another failure diagnosis program can be executed. Define Thereby, the correlation between the respective diagnostic programs can be defined in more detail. Furthermore, for example, when “current failure information” is selected, when the failure state is recovered during operation, it is possible to immediately return from fail-safe. When “in-operation failure information” is selected, it is possible to select a function that continues fail-safe during operation even if the failure is recovered. Further, when “failure establishment information” is selected, even when the operation is stopped and restarted, the fail safe can be continued unless it is determined that the failure state has been restored. In this way, it is possible to select a condition for canceling the activation of the fail-safe function, in particular, according to the return condition of the fail-safe function.

また、本実施の形態2によれば、『診断許可要求フラグ』は各故障診断プログラムおよびその故障診断結果情報と同じ配列番号を用いて診断結果情報記憶部4000に格納されるので、これらの対応関係を容易に把握することができる。   Further, according to the second embodiment, the “diagnosis permission request flag” is stored in the diagnosis result information storage unit 4000 using the same array number as each failure diagnosis program and its failure diagnosis result information. The relationship can be easily grasped.

また、本実施の形態2に係る車両故障判定装置設計プログラム(設計支援プログラムβ1、β2)は、総診断相関表から、当該車両の故障診断に必要な項目のみを抽出し、当該車両用の診断相関定義リスト5001を生成する。これにより、設計者は必要な診断項目を選択するのみで、車両故障診断装置を任意の車両の仕様に対応させることができるので、開発工数を大幅に削減することができる。   Further, the vehicle failure determination device design program (design support programs β1, β2) according to the second embodiment extracts only the items necessary for failure diagnosis of the vehicle from the total diagnosis correlation table, and performs diagnosis for the vehicle. A correlation definition list 5001 is generated. As a result, the designer can select the necessary diagnostic items, and the vehicle failure diagnosis apparatus can be adapted to the specifications of an arbitrary vehicle. Therefore, the number of development steps can be greatly reduced.

<実施の形態3>
実施の形態2では、故障診断プログラム相互の相関関係に対応することのできる構成を説明した。本発明の実施の形態3では、故障診断プログラムの診断結果とフェールセーフ状態に移行してよいか否かとの相関関係に対応することのできる構成を説明する。その他の構成は概ね実施の形態1〜2いずれかと同様であるため、以下では差異点を中心に説明する。なお、以下では説明の便宜上、実施の形態2で説明した構成に加えて新たに上記構成を導入する例を示すが、実施の形態1で説明した構成に加え、上記構成を導入することもできる。本実施の形態3と実施の形態1を組み合わせる場合には、本実施の形態3で新たに説明する構成に加え、フェールセーフ状態判定部6000またはこれに相当する機能部が必要である。
<Embodiment 3>
In the second embodiment, the configuration capable of dealing with the correlation between the fault diagnosis programs has been described. In the third embodiment of the present invention, a configuration capable of dealing with the correlation between the diagnosis result of the failure diagnosis program and whether or not to shift to the fail-safe state will be described. Since the other configuration is substantially the same as that of any one of the first and second embodiments, the following description will focus on the differences. In the following, for convenience of explanation, an example in which the above configuration is newly introduced in addition to the configuration described in Embodiment 2 will be described. However, in addition to the configuration described in Embodiment 1, the above configuration can also be introduced. . When combining Embodiment 3 and Embodiment 1, in addition to the configuration newly described in Embodiment 3, fail-safe state determination unit 6000 or a functional unit corresponding thereto is required.

図11は、本実施の形態3に係る車両故障診断装置の機能構成を模式的に示すブロック図である。本実施の形態3に係る車両故障診断装置は、実施の形態2の図6で説明した構成に加え、新たにフェールセーフ相関判定部7000、フェールセーフ起動情報記憶部8000を備える。   FIG. 11 is a block diagram schematically showing a functional configuration of the vehicle failure diagnosis apparatus according to the third embodiment. The vehicle failure diagnosis apparatus according to the third embodiment is additionally provided with a fail-safe correlation determination unit 7000 and a fail-safe activation information storage unit 8000 in addition to the configuration described in FIG. 6 of the second embodiment.

フェールセーフ相関判定部7000は、フェールセーフ状態判定部6000が格納している、各故障診断対象がフェールセーフ状態にあるか否かを表すフラグ(F/S状態フラグ6001など)に基づき、車両が備える各フェールセーフ機能の実行許可と実行停止を指示する。また、各フェールセーフ機能の実行許可または実行停止を指示するために必要な事項を定義するフェールセーフ相関定義リスト7001を有する。フェールセーフ相関判定部7000は、各フェールセーフ機能の実行許可または実行停止の指示を、フェールセーフ起動情報記憶部8000に格納する。格納先は、配列上の順番を用いて、各故障診断プログラムの診断結果情報と対応付けるようにする。   The fail-safe correlation determination unit 7000 is based on a flag (F / S state flag 6001 or the like) indicating whether each failure diagnosis target is in a fail-safe state, which is stored in the fail-safe state determination unit 6000. Instructs the execution permission and execution stop of each fail-safe function provided. In addition, it has a fail-safe correlation definition list 7001 for defining matters necessary for instructing execution permission or execution stop of each fail-safe function. The failsafe correlation determination unit 7000 stores an instruction to permit or stop execution of each failsafe function in the failsafe activation information storage unit 8000. The storage destination is associated with the diagnosis result information of each failure diagnosis program using the order on the array.

フェールセーフ起動情報記憶部8000は、フェールセーフ相関判定部7000の判定結果を格納する。格納形式は、各故障診断プログラム、その診断結果情報などと同じ配列番号で、配列形式とする。   The fail safe activation information storage unit 8000 stores the determination result of the fail safe correlation determination unit 7000. The storage format is an array format with the same array number as each failure diagnosis program and its diagnosis result information.

以上、本実施の形態3に係る車両故障診断装置の構成について説明した。次に、故障診断プログラムの実行可否と、各診断対象項目がフェールセーフ状態であるか否かとが、相互に関連することについて説明する。   The configuration of the vehicle fault diagnosis apparatus according to the third embodiment has been described above. Next, it will be described that whether or not the failure diagnosis program can be executed and whether or not each diagnosis target item is in a fail-safe state are related to each other.

図12は、故障診断プログラムの実行可否とフェールセーフ状態の相関関係を説明する図である。ここでは、ROM202内に格納されている空燃比制御プログラム1004を例に取り上げる。空燃比制御プログラム1004は、故障診断プログラムとは別に構成された、エンジン制御を行うためのプログラムである。   FIG. 12 is a diagram for explaining the correlation between the feasibility of the failure diagnosis program and the fail-safe state. Here, the air-fuel ratio control program 1004 stored in the ROM 202 is taken as an example. The air-fuel ratio control program 1004 is a program for performing engine control, which is configured separately from the failure diagnosis program.

図12(A)は、従来の空燃比制御プログラム1004の構成を示す図である。空燃比制御プログラム1004が空燃比補正量を正しく演算するためには、空燃比制御に影響するセンサ、例えば吸気管圧力センサ、空燃比センサが故障していない状態でなければならない。そのため、空燃比制御プログラム1004はこれらの診断結果情報を参照する必要がある。これらが故障中であると判定している場合には、空燃比制御プログラム1004は、空燃比補正量を初期値に戻すフェールセーフ状態に移行する。   FIG. 12A is a diagram showing a configuration of a conventional air-fuel ratio control program 1004. In order for the air-fuel ratio control program 1004 to correctly calculate the air-fuel ratio correction amount, sensors that affect the air-fuel ratio control, such as the intake pipe pressure sensor and the air-fuel ratio sensor, must be in a state that does not fail. Therefore, the air-fuel ratio control program 1004 needs to refer to these diagnosis result information. If it is determined that these are malfunctioning, the air-fuel ratio control program 1004 shifts to a fail-safe state in which the air-fuel ratio correction amount is returned to the initial value.

また、通信により取得した外部指令などに基づき、通常制御状態ではない状態、例えば燃料噴射量を固定噴射状態などにしている場合には、制御を実行すると、異常な空燃比補正量を出力してしまう可能性がある。このような状況下では、空燃比制御プログラム1004は空燃比補正量の演算をやめる必要があるので、上記と同様に空燃比補正量を初期値に戻すフェールセーフ状態に移行する。   In addition, based on an external command acquired through communication, etc., when the control is executed in a state that is not a normal control state, for example, when the fuel injection amount is set to a fixed injection state, an abnormal air-fuel ratio correction amount is output. There is a possibility. Under such circumstances, the air-fuel ratio control program 1004 needs to stop the calculation of the air-fuel ratio correction amount, and therefore, similarly to the above, shifts to a fail-safe state in which the air-fuel ratio correction amount is returned to the initial value.

実施の形態2で説明した、故障診断プログラム同士の相関関係と同様に、エンジンなどの車両構成要素を制御するプログラムにおいても、診断結果情報を参照してフェールセーフを実行する場合には、システム構成の変更に影響を受ける。例えば、システム構成が変更になり、空燃比の演算に用いる主センサが、吸気管圧力センサからエアフローセンサに変った場合を考える。このとき、制御プログラム内においてこれら診断結果情報を個別に参照している場合、プログラムを変更する必要があるため、開発効率が低下する。   Similarly to the correlation between the failure diagnosis programs described in the second embodiment, even in the program for controlling vehicle components such as the engine, when failsafe is executed with reference to the diagnosis result information, the system configuration Affected by changes. For example, consider a case where the system configuration is changed and the main sensor used for calculating the air-fuel ratio is changed from an intake pipe pressure sensor to an air flow sensor. At this time, when the diagnosis result information is individually referred to in the control program, the program needs to be changed, so that the development efficiency is lowered.

さらには、フェールセーフ状態に移行するか否かを判定する際に、ある特定の診断項目がフェールセーフ状態であってはならないという制約がある場合には、診断結果情報に加えてフェールセーフ状態フラグ6001なども参照する必要がある。   Furthermore, when determining whether or not to shift to the fail-safe state, if there is a restriction that a specific diagnosis item should not be in the fail-safe state, a fail-safe state flag is added to the diagnosis result information. It is also necessary to refer to 6001 and the like.

そこで、本実施の形態3では、空燃比制御プログラム1004が参照する診断結果情報やフェールセーフ状態フラグなどの情報を、『フェールセーフ起動要求フラグ』として1つのフラグにまとめることとした。このフラグは、図11の8001〜800Nに相当するものである。   Therefore, in the third embodiment, information such as the diagnosis result information and the fail safe state flag referred to by the air-fuel ratio control program 1004 is collected as one “fail safe start request flag”. This flag corresponds to 8001 to 800N in FIG.

図12(B)は、本実施の形態3における空燃比制御プログラム1004の構成を示す図である。『フェールセーフ起動要求フラグ』を導入することにより、制御プログラムの独立性を向上できる。   FIG. 12B is a diagram showing the configuration of the air-fuel ratio control program 1004 in the third embodiment. The independence of the control program can be improved by introducing the “fail safe start request flag”.

例えば、システム構成が変わった場合でも、『フェールセーフ起動要求フラグ』の初期値を「起動を禁止する」旨の値(本実施形態では0)としておけば、実行条件部を作成し直す必要はない。   For example, even if the system configuration changes, if the initial value of the “fail safe start request flag” is set to a value indicating “prohibit start” (0 in this embodiment), it is not necessary to recreate the execution condition section Absent.

また、システム構成が変更され、参照すべき診断結果情報やフェールセーフ状態情報を変更しなければならない場合でも、『フェールセーフ起動要求フラグ』の値を参照してフェールセーフ機能実行可否を判断するというロジックそのものは変更する必要はない。参照すべき診断結果情報やフェールセーフ状態情報を変更するには空燃比制御プログラム1004が参照する『フェールセーフ起動要求フラグ』の値をセットするフェールセーフ相関判定部7000のみを変更すればよい。なお、ここでは空燃比制御プログラム1004を例に取り上げたが、他の制御プログラムについても同様である。   In addition, even if the system configuration is changed and the diagnostic result information and failsafe status information to be referred to must be changed, it is determined whether or not the failsafe function can be executed by referring to the value of the “failsafe start request flag”. The logic itself does not need to be changed. In order to change the diagnosis result information and fail-safe state information to be referred to, only the fail-safe correlation determination unit 7000 that sets the value of the “fail-safe start request flag” referred to by the air-fuel ratio control program 1004 needs to be changed. Although the air-fuel ratio control program 1004 is taken as an example here, the same applies to other control programs.

以上、本実施の形態3における故障診断プログラムとフェールセーフ機能の相関関係について説明した。次に、本実施の形態3におけるフェールセーフ相関の考え方、およびフェールセーフ相関判定部7000の具体的な実装手法について説明する。   The correlation between the failure diagnosis program and the failsafe function in the third embodiment has been described above. Next, the concept of fail-safe correlation in the third embodiment and a specific mounting method of the fail-safe correlation determination unit 7000 will be described.

本実施の形態3では、実施の形態2で説明した総診断相関表と同様の手法を用いる。すなわち、図8における縦軸を診断項目に代えてフェールセーフ機能として構成した『フェールセーフ(F/S)相関表』を用いる。同表では、フェールセーフ機能毎に、診断結果情報を1つのフラグ情報にまとめて扱う。   In the third embodiment, the same method as that of the total diagnosis correlation table described in the second embodiment is used. In other words, a “fail-safe (F / S) correlation table” is used in which the vertical axis in FIG. In the table, the diagnosis result information is handled as one flag information for each fail-safe function.

図13〜図14は、上記『フェールセーフ(F/S)相関表』をより具体化したものを示す図である。図13(A)は『F/S総相関表』、図13(B)は『圧縮したF/S相関表』、図14(C)はフェールセーフ相関定義リスト7001を示す。   FIG. 13 to FIG. 14 are diagrams showing a more specific example of the “fail-safe (F / S) correlation table”. 13A shows the “F / S total correlation table”, FIG. 13B shows the “compressed F / S correlation table”, and FIG. 14C shows the fail-safe correlation definition list 7001.

フェールセーフ相関表の考え方は、診断相関表と同様である。図9で説明した診断相関表の縦軸をF/S機能項目に置換え、そのフラグとRAM名の情報を配列的に並べると、F/S相関表が得られる。圧縮したF/S相関表についても同様である。図13(B)からさらに、F/S機能項目毎に配列順にリスト化し、(C−1):フェールセーフ相関定義リスト7001を得ることができる。   The concept of the fail-safe correlation table is the same as that of the diagnostic correlation table. The F / S correlation table is obtained by replacing the vertical axis of the diagnostic correlation table described in FIG. 9 with the F / S function item and arranging the flag and RAM name information in an array. The same applies to the compressed F / S correlation table. Further, from FIG. 13B, the F / S function items are listed in the order of arrangement, and (C-1): fail-safe correlation definition list 7001 can be obtained.

図13中の(b)に示すF/S3項目を例に、具体例を説明する。同項目を基準として数値1から3が設定されているセルを横軸方向に検索し、RAM名、NGフラグの値を抽出すると、0xFFを含め3項目が検索される。この場合、参照情報数:3となる。数値は図9〜図10と同様にフラグ名で置き換え、図14(C)に示したようにリスト化する。   A specific example will be described by taking the F / S3 item shown in FIG. 13B as an example. When cells with numerical values 1 to 3 are set in the horizontal axis direction based on the same item and the RAM name and the value of the NG flag are extracted, three items including 0xFF are searched. In this case, the number of reference information is 3. The numerical values are replaced with flag names as in FIGS. 9 to 10 and are listed as shown in FIG.

本実施形態3では、診断項目に比べてF/S機能の数が少ないことから、実施の形態1〜2で説明したように、F/S項目のうち「選択項目」列の値が1であるもののみを抽出するという過程を省略した。ただし、F/S項目数が多大となるようであれば、実施形態1〜2と同様にF/S機能項目も選択するようにし、再配列したフラグおよびRAM名と、これを参照する各制御プログラム側とのインタフェース定義を、これに加えて作成するようにしてもよい。   In the third embodiment, since the number of F / S functions is smaller than that of the diagnostic items, the value of the “selected item” column is 1 among the F / S items as described in the first and second embodiments. The process of extracting only certain things was omitted. However, if the number of F / S items becomes large, the F / S function items are also selected in the same manner as in the first and second embodiments, the rearranged flags and RAM names, and the controls that refer to them. In addition to this, an interface definition with the program side may be created.

なお、図13(A)〜図14(C)に至る工程は、設計者などが人手で行うと作業負担が大きく効率的でない。そこで、本実施の形態3では、これらの工程を自動的に実行する設計支援プログラム(本実施の形態3に係る車両故障判定装置設計プログラムに相当)を用いることとする。以下に、各設計支援プログラムの役割を説明する。   Note that the steps from FIG. 13A to FIG. 14C are not efficient when a designer or the like manually performs the process. Therefore, in the third embodiment, a design support program (corresponding to the vehicle failure determination device design program according to the third embodiment) that automatically executes these steps is used. The role of each design support program is explained below.

(設計支援プログラムγ1)フェールセーフ断相関表圧縮
設計支援プログラムγ1は、CPU201によって実行される。設計支援プログラムγ1は、図13(A)に示すF/S総相関表から、横軸の「選択項目」列に“1”がセットされている項目のみを抽出し、図13(B)に示すリストを出力する。また、図13の横軸に示す各項目の値を別途取得し、配列上に対応付ける。図13の横軸に示す各値は、例えば設計支援プログラムγ1を実行するコンピュータ上にあらかじめ保存しておいてもよいし、設計者が入力してもよいが、効率の観点からはあらかじめ準備したものを読み込むほうが好ましい。
(Design Support Program γ1) Fail-Safe Breaking Correlation Table Compression The design support program γ1 is executed by the CPU 201. The design support program γ1 extracts only items for which “1” is set in the “selected item” column on the horizontal axis from the F / S total correlation table shown in FIG. Output the list shown. Moreover, the value of each item shown on the horizontal axis of FIG. 13 is acquired separately and associated with the array. Each value shown on the horizontal axis in FIG. 13 may be stored in advance on a computer that executes the design support program γ1, for example, or may be input by the designer, but prepared in advance from the viewpoint of efficiency. It is better to read things.

(設計支援プログラムγ2)リスト生成
設計支援プログラムγ2は、CPU201によって実行される。設計支援プログラムγ2は、図13(B)に示すリストから、図14(C)に示すリストを生成する。どのような形式でリストを出力するかは、設計支援プログラムγ2内部で定めてもよいし、例えば設計支援プログラムγ2を実行するコンピュータ上にあらかじめそのルールを保存しておいてもよい。
(Design Support Program γ2) List Generation The design support program γ2 is executed by the CPU 201. The design support program γ2 generates a list shown in FIG. 14C from the list shown in FIG. The format in which the list is output may be determined within the design support program γ2, or the rules may be stored in advance on a computer that executes the design support program γ2, for example.

(設計支援プログラム:補足その1)
各設計支援プログラムは、上記γ1、γ2のように2種類に分けてもよいし、単一のプログラムで両者の処理を実行するようにしてもよい。また、上記各設計支援プログラムに相当するプログラムを車両故障診断装置内部に構成してもよい。さらには、実施の形態1〜2で説明した設計支援プログラムα1、α2、β1、β2のいずれか1ないし複数と一体化して構成してもよい。
(Design support program: Supplement 1)
Each design support program may be divided into two types such as γ1 and γ2, or both processes may be executed by a single program. In addition, a program corresponding to each of the design support programs may be configured inside the vehicle failure diagnosis apparatus. Furthermore, the design support programs α1, α2, β1, and β2 described in the first and second embodiments may be integrated with one or more of them.

(設計支援プログラム:補足その2)
本実施の形態3において、設計支援プログラムをγ1とγ2に分けた理由は、実施の形態2における設計支援プログラムβ1、β2を分けた理由と同様である。
(Design support program: Supplement 2)
In the third embodiment, the reason for dividing the design support program into γ1 and γ2 is the same as the reason for dividing the design support programs β1 and β2 in the second embodiment.

以上、本実施の形態3に係る車両故障診断装置および車両故障診断装置設計プログラムについて説明した。   Heretofore, the vehicle failure diagnosis apparatus and the vehicle failure diagnosis apparatus design program according to Embodiment 3 have been described.

以上のように、本実施の形態3において、フェールセーフ相関判定部7000は、各故障診断プログラムの診断結果、または各故障診断対象がフェールセーフ状態にあるか否かの少なくともいずれかを用いて、フェールセーフ機能の実行可否を判定する。これにより、フェールセーフ機能項目が相互に関係する場合に、その相関関係をフェールセーフ機能の起動・停止制御に反映することができる。   As described above, in the third embodiment, the fail safe correlation determination unit 7000 uses the diagnosis result of each failure diagnosis program or at least one of whether each failure diagnosis target is in a fail safe state, Determines whether or not the failsafe function can be executed. Thereby, when fail-safe function items are related to each other, the correlation can be reflected in the start / stop control of the fail-safe function.

また、本実施の形態3によれば、フェールセーフ相関判定部7000は、上記相関関係を定義するフェールセーフ相関定義リスト7001を備え、これに基づき各フェールセーフ機能の実行開始や実行停止を指示する。これにより、各フェールセーフ機能の実行条件部を他の制御プログラムから切り離し、独立性を高めることができる。   Further, according to the third embodiment, the fail-safe correlation determination unit 7000 includes the fail-safe correlation definition list 7001 that defines the correlation, and instructs to start or stop the execution of each fail-safe function based on the fail-safe correlation definition list 7001. . Thereby, the execution condition part of each fail-safe function can be separated from other control programs, and independence can be enhanced.

また、本実施の形態3によれば、フェールセーフ相関定義リスト7001は、複数種類の診断結果を数値「1」〜「3」によって表し、各診断結果とフェールセーフ機能の実行可否の相関関係を定義する。これにより、各フェールセーフ機能相互の相関関係をより詳細に定義することができる。   Further, according to the third embodiment, the fail-safe correlation definition list 7001 represents a plurality of types of diagnosis results by numerical values “1” to “3”, and indicates the correlation between each diagnosis result and the feasibility of the fail-safe function. Define. Thereby, the correlation between the fail-safe functions can be defined in more detail.

また、本実施の形態3によれば、『フェールセーフ起動要求フラグ』は各故障診断プログラムおよびその故障診断結果情報と同じ配列番号を用いてフェールセーフ起動情報記憶部8000に格納されるので、これらの対応関係を容易に把握することができる。   Further, according to the third embodiment, the “fail-safe activation request flag” is stored in the fail-safe activation information storage unit 8000 using the same array number as each failure diagnosis program and its failure diagnosis result information. Can be easily grasped.

また、本実施の形態3に係る車両故障判定装置設計プログラム(設計支援プログラムγ1、γ2)は、総フェールセーフ相関表から、当該車両の故障診断に必要な項目のみを抽出し、当該車両用のフェールセーフ相関定義リスト7001を生成する。これにより、設計者は必要な診断項目を選択するのみで、車両故障診断装置を任意の車両の仕様に対応させることができるので、開発工数を大幅に削減することができる。   Further, the vehicle failure determination device design program (design support programs γ1, γ2) according to the third embodiment extracts only the items necessary for failure diagnosis of the vehicle from the total fail-safe correlation table, and A fail-safe correlation definition list 7001 is generated. As a result, the designer can select the necessary diagnostic items, and the vehicle failure diagnosis apparatus can be adapted to the specifications of an arbitrary vehicle. Therefore, the number of development steps can be greatly reduced.

<実施の形態4>
本発明の実施の形態4では、実施の形態1〜3で説明した各機能部および各設計支援プログラムの動作フローについて説明する。なお、以下の説明において、説明の便宜上各プログラムが動作主体であるものとして記載する場合があるが、実際の動作主体は各プログラムを実行するCPU201などの演算装置である。
<Embodiment 4>
In the fourth embodiment of the present invention, the operation flow of each functional unit and each design support program described in the first to third embodiments will be described. In the following description, for convenience of explanation, each program may be described as being an operation subject, but the actual operation subject is an arithmetic device such as the CPU 201 that executes each program.

図15は、診断結果統括処理部3000の動作のうち、OKフラグを受け取った場合のフローを示す図である。以下、図15の各ステップについて説明する。   FIG. 15 is a diagram illustrating a flow when the OK flag is received among the operations of the diagnosis result overall processing unit 3000. Hereinafter, each step of FIG. 15 will be described.

(図15:ステップS1401)
各故障診断プログラムは、診断結果として、OK/NGフラグなどを出力する。診断結果統括処理部3000がその出力を受け取った時点で、本ステップが開始される。受け取った出力がOKフラグであればステップS1402へ進み、それ以外であれば本動作フローを終了する。
(FIG. 15: Step S1401)
Each failure diagnosis program outputs an OK / NG flag or the like as a diagnosis result. This step is started when the diagnosis result overall processing unit 3000 receives the output. If the received output is an OK flag, the process proceeds to step S1402, and if not, the operation flow ends.

(図15:ステップS1402)
診断結果統括処理部3000は、ステップS1401で受け取った診断項目に対応する配列番地の情報を、受け取った出力に付加する。診断結果統括処理部3000は、図5などで説明した『診断名』列で定義された情報から、当該診断項目に対応する配列番地を得ることができる。
(FIG. 15: Step S1402)
The diagnosis result overall processing unit 3000 adds the array address information corresponding to the diagnosis item received in step S1401 to the received output. The diagnosis result overall processing unit 3000 can obtain the array address corresponding to the diagnosis item from the information defined in the “diagnosis name” column described in FIG.

(図15:ステップS1403)
診断結果統括処理部3000は、運転内診断完了フラグを、診断結果情報記憶部4000の当該診断項目に対応する配列上のビットに書き込む。運転内診断完了フラグは、OK/NGフラグが当該診断項目について既に出力されたこと、すなわち診断が完了した旨を表すフラグである。
(FIG. 15: Step S1403)
The diagnosis result overall processing unit 3000 writes the in-operation diagnosis completion flag in a bit on the array corresponding to the diagnosis item in the diagnosis result information storage unit 4000. The in-drive diagnosis completion flag is a flag indicating that the OK / NG flag has already been output for the diagnosis item, that is, the diagnosis has been completed.

(図15:ステップS1404)
診断結果統括処理部3000は、診断結果情報記憶部4000の当該診断項目に対応する配列上の『現在故障』フラグをクリアする。このフラグは、対応する診断対象が故障中であるか否かを表すフラグである。
(FIG. 15: Step S1404)
The diagnosis result overall processing unit 3000 clears the “current failure” flag on the array corresponding to the diagnosis item in the diagnosis result information storage unit 4000. This flag is a flag indicating whether or not the corresponding diagnosis target is in failure.

(図15:ステップS1405)
診断相関判定部5000は、当該故障診断プログラムの実行可否を指示するビットを、診断結果情報記憶部4000の対応する配列上の『診断許可』フラグに書き込む。また、フェールセーフ相関判定部7000は、『フェールセーフ起動要求』フラグをフェールセーフ起動情報記憶部8000に書き込む。診断結果統括処理部3000は、以上の処理が終了した後、本動作フローを終了する。
(FIG. 15: Step S1405)
The diagnostic correlation determination unit 5000 writes a bit instructing whether or not the failure diagnostic program can be executed to the “diagnosis permission” flag on the corresponding array of the diagnostic result information storage unit 4000. Further, the fail safe correlation determination unit 7000 writes a “fail safe start request” flag in the fail safe start information storage unit 8000. The diagnostic result overall processing unit 3000 ends the operation flow after the above processing ends.

以上のように、診断結果情報記憶部4000が格納している配列内の各ビット(フラグ)の名称および位置を、同じ名称で定義することによって、プログラム処理上は配列名だけを変えれば同じ処理として扱えるので、診断結果統括処理部3000は独立した処理とすることができる。これにより、診断結果統括処理部3000は各故障診断プログラム等の影響を受けにくくなり、独立性が高まる。   As described above, by defining the name and position of each bit (flag) in the array stored in the diagnosis result information storage unit 4000 with the same name, the same processing can be performed if only the array name is changed in program processing. Therefore, the diagnosis result overall processing unit 3000 can be an independent process. As a result, the diagnosis result overall processing unit 3000 is less affected by each failure diagnosis program and the like, and the independence is enhanced.

図16は、診断結果統括処理部3000の動作のうち、NGフラグを受け取った場合のフローを示す図である。以下、図16の各ステップについて説明する。   FIG. 16 is a diagram showing a flow when the NG flag is received among the operations of the diagnosis result overall processing unit 3000. Hereinafter, each step of FIG. 16 will be described.

(図16:ステップS1501)
診断結果統括処理部3000は、各故障診断プログラムから受け取った出力がNGフラグであればステップS1502へ進み、それ以外であれば本動作フローを終了する。
(FIG. 16: Step S1501)
The diagnosis result overall processing unit 3000 proceeds to step S1502 if the output received from each failure diagnosis program is an NG flag, and ends the operation flow otherwise.

(図16:ステップS1502〜S1503)
本ステップは、図15のステップS1402〜S1403と同様である。
(FIG. 16: Steps S1502 to S1503)
This step is the same as steps S1402 to S1403 in FIG.

(図16:ステップS1504)
診断結果統括処理部3000は、診断結果情報記憶部4000の当該診断項目に対応する配列上に『現在故障』フラグをセットする。
(FIG. 16: Step S1504)
The diagnosis result overall processing unit 3000 sets a “current failure” flag on the array corresponding to the diagnosis item in the diagnosis result information storage unit 4000.

(図16:ステップS1505)
診断結果統括処理部3000は、ランプ用のカウンタをカウントアップする。
(FIG. 16: Step S1505)
The diagnosis result overall processing unit 3000 counts up a lamp counter.

(図16:ステップS1506)
診断結果統括処理部3000は、診断制御用データ記憶部2000に格納されている制御データのうち当該診断項目に対応する配列番地のものを取得する。診断結果統括処理部3000は、ランプ用のカウンタが同制御データの判定回数欄で定義されている数値に達したか否かを判断する。達していればステップS1507へ進み、達していなければS1510へスキップする。上述の判断は、ランプを点灯するためのNG検出回数を任意に設定できることを示しており、判定回数欄で定義することで、各国の法規制あるいは、カーメーカ毎の要求に対する汎用性を向上している。
(FIG. 16: Step S1506)
The diagnosis result overall processing unit 3000 obtains the control data stored in the diagnostic control data storage unit 2000 and having the array address corresponding to the diagnosis item. The diagnosis result overall processing unit 3000 determines whether or not the lamp counter has reached a numerical value defined in the determination number field of the control data. If it has reached, the process proceeds to step S1507, and if not, the process skips to S1510. The above-mentioned judgment shows that the number of NG detections for lighting the lamp can be arbitrarily set. By defining in the judgment number column, the versatility with respect to the laws and regulations of each country or the request for each car manufacturer is improved. Yes.

(図16:ステップS1507)
診断結果統括処理部3000は、診断結果情報記憶部4000の当該診断項目に対応する配列上に『ランプON要求』フラグをセットする。
(FIG. 16: Step S1507)
The diagnosis result overall processing unit 3000 sets a “lamp ON request” flag on the array corresponding to the diagnosis item in the diagnosis result information storage unit 4000.

(図16:ステップS1508)
診断結果統括処理部3000は、診断結果情報記憶部4000の当該診断項目に対応する配列上に、Pコード等のDTC(ダイアグノーシス・トラブル・コード)の情報をセットする。
(FIG. 16: Step S1508)
The diagnosis result overall processing unit 3000 sets DTC (diagnostic trouble code) information such as a P code on the array corresponding to the diagnosis item in the diagnosis result information storage unit 4000.

(図16:ステップS1509)
診断結果統括処理部3000は、DTCをクリアするための回数をセットする。
(FIG. 16: Step S1509)
The diagnosis result overall processing unit 3000 sets the number of times for clearing the DTC.

(図16:ステップS1510)
本ステップは、図15のステップS1405と同様である。
(FIG. 16: Step S1510)
This step is the same as step S1405 in FIG.

図17は、診断結果統括処理部3000の動作のうち、車両故障診断装置の始動時または終了時などに実行されるフローを示す図である。以下、図17の各ステップについて説明する。   FIG. 17 is a diagram illustrating a flow executed at the time of starting or ending the vehicle failure diagnosis apparatus, among the operations of the diagnosis result overall processing unit 3000. Hereinafter, each step of FIG. 17 will be described.

(図17:ステップS1601)
診断結果統括処理部3000は、配列番地を0から順番にセットする。本ステップを再度実行するときは、配列番地を1つずつ増やす。本ステップは、診断項目のカウンタを1つずつ順次増やす役割を有する。
(FIG. 17: Step S1601)
The diagnosis result overall processing unit 3000 sets the array addresses in order from 0. When this step is executed again, the array address is incremented by one. This step has the role of sequentially increasing the diagnostic item counter one by one.

(図17:ステップS1602)
診断結果統括処理部3000は、運転内で故障診断が完了し、かつ故障がなかったかどうかを判定する。これは、診断結果情報記憶部4000の当該診断項目に対応する配列上の『運転内診断完了』フラグと『運転内故障』フラグを参照することにより判定できる。運転内で故障診断が完了し、かつ故障がなければ、ステップS1603へ進む。いずれかの条件を満たさなければステップS1609へ進む。
(FIG. 17: Step S1602)
The diagnosis result overall processing unit 3000 determines whether or not the failure diagnosis has been completed in the operation and no failure has occurred. This can be determined by referring to the “diagnosis within operation” flag and the “failure within operation” flag on the array corresponding to the diagnosis item in the diagnosis result information storage unit 4000. If failure diagnosis is completed within the operation and there is no failure, the process proceeds to step S1603. If any condition is not satisfied, the process proceeds to step S1609.

(図17:ステップS1603)
本ステップは、図15のステップS1404と同様である。
(FIG. 17: Step S1603)
This step is the same as step S1404 in FIG.

(図17:ステップS1604)
診断結果統括処理部3000は、ランプの消灯用回数とDTCの消去用回数をカウントする。
(FIG. 17: Step S1604)
The diagnosis result overall processing unit 3000 counts the number of times the lamp is turned off and the number of times the DTC is erased.

(図17:ステップS1605)
ステップS1604でカウントした回数がランプ消灯回数に達している場合はステップS1606に進み、そうでなければステップS1609に進む。
(FIG. 17: Step S1605)
If the number counted in step S1604 has reached the number of times the lamp is extinguished, the process proceeds to step S1606, and if not, the process proceeds to step S1609.

(図17:ステップS1606)
診断結果統括処理部3000は、診断結果情報記憶部4000の当該診断項目に対応する配列上における『ランプON要求』フラグをクリアする。
(FIG. 17: Step S1606)
The diagnosis result overall processing unit 3000 clears the “lamp ON request” flag on the array corresponding to the diagnosis item in the diagnosis result information storage unit 4000.

(図17:ステップS1607)
ステップS1604でカウントした回数がDTCクリア回数に達している場合はステップS1608に進み、そうでなければステップS1609に進む。
(FIG. 17: Step S1607)
If the number counted in step S1604 has reached the DTC clear count, the process proceeds to step S1608; otherwise, the process proceeds to step S1609.

(図17:ステップS1608)
診断結果統括処理部3000は、DTC関連情報をクリアする。
(FIG. 17: Step S1608)
The diagnosis result overall processing unit 3000 clears the DTC related information.

(図17:ステップS1609)
診断結果統括処理部3000は、全ての配列番地について以上の処理を終了したか否かを判定する。終了していなければステップS1601に戻って同様の処理を次の配列番地について実行し、終了していればステップS1610へ進む。
(FIG. 17: Step S1609)
The diagnosis result overall processing unit 3000 determines whether or not the above processing has been completed for all the array addresses. If not completed, the process returns to step S1601 and the same processing is executed for the next array address. If completed, the process proceeds to step S1610.

(図17:ステップS1610)
本ステップは、図15のステップS1405と同様である。
(FIG. 17: Step S1610)
This step is the same as step S1405 in FIG.

図18は、図15のステップS1405等において診断相関判定部5000が実行する処理フローである。以下、図18の各ステップについて説明する。   FIG. 18 is a processing flow executed by the diagnostic correlation determination unit 5000 in step S1405 of FIG. Hereinafter, each step of FIG. 18 will be described.

(図18:ステップS1701)
診断相関判定部5000は、配列番地を0から順番にセットする。本ステップを再度実行するときは、配列番地を1つずつ増やす。本ステップは、診断項目のカウンタを1つずつ順次増やす役割を有する。
(FIG. 18: Step S1701)
The diagnostic correlation determination unit 5000 sets the array addresses in order from 0. When this step is executed again, the array address is incremented by one. This step has the role of sequentially increasing the diagnostic item counter one by one.

(図18:ステップS1702)
診断相関判定部5000は、診断相関定義リスト5001のうちステップS1701でセットした配列番地の内容を取得する。診断相関判定部5000は、同配列番地の内容が定義する各フラグの値を取得する。
(FIG. 18: Step S1702)
The diagnostic correlation determination unit 5000 acquires the contents of the array address set in step S1701 in the diagnostic correlation definition list 5001. The diagnostic correlation determination unit 5000 acquires the value of each flag defined by the content of the same array address.

(図18:ステップS1703)
ステップS1702で取得した全てのフラグの値が0であればステップS1704へ進み、0でない値があればステップS1705へ進む。
(FIG. 18: Step S1703)
If the values of all the flags acquired in step S1702 are 0, the process proceeds to step S1704, and if any value is not 0, the process proceeds to step S1705.

(図18:ステップS1704)
診断相関判定部5000は、故障している診断対象がない、またはフェールセーフ状態の診断対象がないと判断し、診断結果情報記憶部4000の当該配列番地に対応する配列上における『診断許可』フラグをセットする。これは、当該診断項目の診断を許可することに相当する。
(FIG. 18: Step S1704)
The diagnosis correlation determination unit 5000 determines that there is no failure diagnosis target or no fail-safe diagnosis target, and the “diagnosis permission” flag on the array corresponding to the array address in the diagnosis result information storage unit 4000 Set. This corresponds to permitting diagnosis of the diagnosis item.

(図18:ステップS1705)
診断相関判定部5000は、診断結果情報記憶部4000の当該配列番地に対応する配列上における『診断許可』フラグをクリアする。これは、当該診断項目の診断を禁止することに相当する。
(FIG. 18: Step S1705)
The diagnosis correlation determination unit 5000 clears the “diagnosis permission” flag on the array corresponding to the array address in the diagnosis result information storage unit 4000. This corresponds to prohibiting diagnosis of the diagnosis item.

(図18:ステップS1706)
診断相関判定部5000は、全ての配列番地について以上の処理を終了したか否かを判定する。終了していなければステップS1701に戻って同様の処理を次の配列番地について実行し、終了していれば本動作フローを終了する。
(FIG. 18: Step S1706)
The diagnostic correlation determination unit 5000 determines whether or not the above processing has been completed for all the array addresses. If not completed, the process returns to step S1701 and the same processing is executed for the next array address. If completed, the operation flow is terminated.

図19は、図15のステップS1405等においてフェールセーフ相関判定部7000が実行する処理フローである。以下、図19の各ステップについて説明する。   FIG. 19 is a processing flow executed by the failsafe correlation determination unit 7000 in step S1405 of FIG. Hereinafter, each step of FIG. 19 will be described.

(図19:ステップS1801)
フェールセーフ相関判定部7000は、配列番地を0から順番にセットする。本ステップを再度実行するときは、配列番地を1つずつ増やす。本ステップは、診断項目のカウンタを1つずつ順次増やす役割を有する。
(FIG. 19: Step S1801)
The fail safe correlation determination unit 7000 sets the array addresses in order from 0. When this step is executed again, the array address is incremented by one. This step has the role of sequentially increasing the diagnostic item counter one by one.

(図19:ステップS1802)
フェールセーフ相関判定部7000は、フェールセーフ相関定義リスト7001のうちステップS1801でセットした配列番地の内容を取得する。フェールセーフ相関判定部7000は、同配列番地の内容が定義する各フラグの値を取得する。
(FIG. 19: Step S1802)
The failsafe correlation determination unit 7000 acquires the contents of the array address set in step S1801 in the failsafe correlation definition list 7001. The fail-safe correlation determination unit 7000 acquires the value of each flag defined by the contents of the same array address.

(図19:ステップS1803)
ステップS1802で取得した全てのフラグの値が0であればステップS1804へ進み、0でない値があればステップS1805へ進む。
(FIG. 19: Step S1803)
If all the flag values acquired in step S1802 are 0, the process proceeds to step S1804, and if any value is not 0, the process proceeds to step S1805.

(図19:ステップS1804)
フェールセーフ相関判定部7000は、故障している診断対象がない、またはフェールセーフ状態の診断対象がないと判断し、フェールセーフ起動情報記憶部8000の当該配列番地に対応する配列上における『起動要求』フラグをセットする。これは、当該フェールセーフ機能の実行を許可することに相当する。
(FIG. 19: Step S1804)
The fail-safe correlation determination unit 7000 determines that there is no failure diagnosis target or that there is no failure-safe diagnosis target, and “start-up request” on the array corresponding to the array address in the fail-safe start-up information storage unit 8000. Set flag. This corresponds to permitting execution of the failsafe function.

(図19:ステップS1805)
フェールセーフ相関判定部7000は、フェールセーフ起動情報記憶部8000の当該配列番地に対応する配列上における『起動要求』フラグをクリアする。これは、当該フェールセーフ機能の実行を禁止することに相当する。
(FIG. 19: Step S1805)
Fail-safe correlation determination unit 7000 clears the “activation request” flag on the array corresponding to the array address in fail-safe activation information storage unit 8000. This corresponds to prohibiting the execution of the failsafe function.

(図19:ステップS1806)
フェールセーフ相関判定部7000は、全ての配列番地について以上の処理を終了したか否かを判定する。終了していなければステップS1801に戻って同様の処理を次の配列番地について実行し、終了していれば本動作フローを終了する。
(FIG. 19: Step S1806)
Fail-safe correlation determination section 7000 determines whether or not the above processing has been completed for all array addresses. If not completed, the process returns to step S1801 and the same processing is executed for the next array address. If completed, the operation flow is terminated.

図20は、本発明における故障診断プログラムの1例として、吸気管圧力センサ機能診断プログラム1003の動作フローを説明する図である。以下、図20の各ステップについて説明する。   FIG. 20 is a diagram for explaining the operation flow of the intake pipe pressure sensor function diagnosis program 1003 as an example of the failure diagnosis program in the present invention. Hereinafter, each step of FIG. 20 will be described.

(図20:ステップS1900)
本動作フローは、所定の時間間隔毎(例えば40ms)に実行される。
(FIG. 20: Step S1900)
This operation flow is executed at predetermined time intervals (for example, 40 ms).

(図20:ステップS1901)
吸気管圧力センサ機能診断プログラム1003は、診断結果情報記憶部4000のうち吸気管圧力センサ機能診断プログラム1003の診断項目に対応する配列番号の配列値を取得する。吸気管圧力センサ機能診断プログラム1003は、取得した配列値のうち『診断許可要求』フラグの値をチェックする。同フラグに『診断許可』の旨がセットされていればステップS1902へ進み、セットされていなければ本動作フローを終了する。
(FIG. 20: Step S1901)
The intake pipe pressure sensor function diagnosis program 1003 acquires the array value of the array number corresponding to the diagnosis item of the intake pipe pressure sensor function diagnosis program 1003 in the diagnosis result information storage unit 4000. The intake pipe pressure sensor function diagnosis program 1003 checks the value of the “diagnosis permission request” flag among the acquired array values. If “diagnosis permitted” is set in the flag, the process proceeds to step S1902, and if it is not set, the operation flow ends.

(図20:ステップS1902)
吸気管圧力センサ機能診断プログラム1003は、判定に適した運転条件であるかをチェックする。条件不成立であれば本動作フローを終了する。条件成立の時は、ステップS1903へ進む。
(FIG. 20: Step S1902)
The intake pipe pressure sensor function diagnosis program 1003 checks whether the operating conditions are suitable for determination. If the condition is not satisfied, the operation flow ends. When the condition is satisfied, the process proceeds to step S1903.

(図20:ステップS1903)
吸気管圧力センサ機能診断プログラム1003は、吸気管圧力センサ値を取り込む。
(FIG. 20: Step S1903)
The intake pipe pressure sensor function diagnosis program 1003 takes in the intake pipe pressure sensor value.

(図20:ステップS1904)
フェールセーフ状態判定部6000(または吸気管圧力センサ機能診断プログラム1003)は、ステップS1903で取り込んだセンサ出力値から、当該診断対象がフェールセーフ状態にあるか否かを判定する。フェールセーフ状態であればステップS1905へ進み、フェールセーフ状態でなければステップS1906へ進む。
(FIG. 20: Step S1904)
The fail safe state determination unit 6000 (or the intake pipe pressure sensor function diagnosis program 1003) determines whether or not the diagnosis target is in the fail safe state from the sensor output value captured in step S1903. If it is in the fail safe state, the process proceeds to step S1905, and if it is not in the fail safe state, the process proceeds to step S1906.

(図20:ステップS1905)
フェールセーフ状態判定部6000(または吸気管圧力センサ機能診断プログラム1003)は、吸気管圧力センサ機能診断プログラム1003の診断項目に対応するF/S状態フラグをセットする。本ステップにおいて、F/S状態フラグは必ずしも1つのみである必要はなく、制御目的に応じた複数のF/S状態フラグの値をセットするようにしてもよい。F/S状態フラグの使用目的は、F/S相関表における横軸のF/S状態フラグを作成することであるので、故障診断プログラムの実行許可/実行禁止、あるいは各フェールセーフ機能の起動/停止に関わる目的毎に、フラグを適宜分けて設定すればよい。次のステップS1906においても同様である。
(FIG. 20: Step S1905)
Fail-safe state determination unit 6000 (or intake pipe pressure sensor function diagnosis program 1003) sets an F / S state flag corresponding to a diagnosis item of intake pipe pressure sensor function diagnosis program 1003. In this step, the number of F / S state flags is not necessarily one, and a plurality of F / S state flag values may be set according to the control purpose. Since the purpose of using the F / S state flag is to create the F / S state flag on the horizontal axis in the F / S correlation table, the execution / prohibition of execution of the fault diagnosis program or the activation / deactivation of each fail-safe function / What is necessary is just to set a flag suitably for every objective regarding a stop. The same applies to the next step S1906.

(図20:ステップS1906)
フェールセーフ状態判定部6000(または吸気管圧力センサ機能診断プログラム1003)は、吸気管圧力センサ機能診断プログラム1003の診断項目に対応するF/S状態フラグをクリアする。
(FIG. 20: Step S1906)
Fail-safe state determination unit 6000 (or intake pipe pressure sensor function diagnosis program 1003) clears the F / S state flag corresponding to the diagnosis item of intake pipe pressure sensor function diagnosis program 1003.

(図20:ステップS1907)
吸気管圧力センサ機能診断プログラム1003は、ステップS1903で取得したセンサ出力値が故障判定用の所定範囲内にあるか否かをチェックする。範囲内であればステップS1908へ進み、範囲内でなければステップS1909へ進む。
(FIG. 20: Step S1907)
The intake pipe pressure sensor function diagnosis program 1003 checks whether or not the sensor output value acquired in step S1903 is within a predetermined range for failure determination. If it is within the range, the process proceeds to step S1908, and if it is not within the range, the process proceeds to step S1909.

(図20:ステップS1908)
吸気管圧力センサ機能診断プログラム1003は、OK判定用の継続時間を計測する。継続時間が所定の時間に達しない場合は本動作フローを終了し、達していればステップS1910へ進む。
(FIG. 20: Step S1908)
The intake pipe pressure sensor function diagnosis program 1003 measures the duration for OK determination. If the duration does not reach the predetermined time, the operation flow is terminated, and if it has reached, the process proceeds to step S1910.

(図20:ステップS1909)
吸気管圧力センサ機能診断プログラム1003は、NG判定用の継続時間を計測する。継続時間が所定の時間に達しない場合は本動作フローを終了し、達していればステップS1911へ進む。
(FIG. 20: Step S1909)
The intake pipe pressure sensor function diagnosis program 1003 measures the duration for NG determination. If the continuation time does not reach the predetermined time, the operation flow is terminated, and if it has reached, the process proceeds to step S1911.

(図20:ステップS1910)
吸気管圧力センサ機能診断プログラム1003は、診断結果情報記憶部4000のうち吸気管圧力センサ機能診断プログラム1003の診断項目に対応する配列番号の『現在故障』フラグをセットする。
(FIG. 20: Step S1910)
The intake pipe pressure sensor function diagnosis program 1003 sets the “current failure” flag of the array element number corresponding to the diagnosis item of the intake pipe pressure sensor function diagnosis program 1003 in the diagnosis result information storage unit 4000.

(図20:ステップS1911)
吸気管圧力センサ機能診断プログラム1003は、診断結果情報記憶部4000のうち吸気管圧力センサ機能診断プログラム1003の診断項目に対応する配列番号の『現在故障』フラグをクリアする。
(FIG. 20: Step S1911)
The intake pipe pressure sensor function diagnosis program 1003 clears the “current failure” flag of the array number corresponding to the diagnosis item of the intake pipe pressure sensor function diagnosis program 1003 in the diagnosis result information storage unit 4000.

(図20:ステップS1912)
吸気管圧力センサ機能診断プログラム1003は、判定成立フラグをセットする。
(FIG. 20: Step S1912)
The intake pipe pressure sensor function diagnosis program 1003 sets a determination establishment flag.

以上のように、診断相関判定部5000およびフェールセーフ相関判定部7000は、全ての配列番地に定義された診断項目について順次ループ処理を実行する。そのため、項目数が多いと、検索および演算するための負荷が重くなる。   As described above, the diagnostic correlation determination unit 5000 and the failsafe correlation determination unit 7000 sequentially execute loop processing for the diagnostic items defined at all the array addresses. Therefore, if the number of items is large, the load for searching and calculating becomes heavy.

そこで本発明では、故障診断プログラムがOK/NGフラグを出力するタイミングと、始動時または停止時の処理において上記各フローを実行することとし、複数項目についての処理タイミングが重なる状況をできるだけ避けるようにしている。ただし、処理能力の速いCPUを用いて上記処理を実行するのであれば、実用上の問題はない。   Therefore, in the present invention, the above-described flows are executed in the timing at which the failure diagnosis program outputs the OK / NG flag and the processing at the time of start or stop, and the situation where the processing timings of a plurality of items overlap is avoided as much as possible. ing. However, there is no practical problem as long as the above processing is executed using a CPU having a high processing capacity.

また、演算負荷を低減するその他の手法として、診断項目全ての配列を処理するのではなく、診断相関定義リスト5001やフェールセーフ相関定義リスト7001を生成する際に、抽出する項目を限定する手法も考えられる。すなわち、図10や図14(C)で説明した各定義リストでは、項目が存在していない配列要素についても配列要素として0xFFを記載し、項目そのものは残すようにしているが、これに代えて、項目が存在しない配列要素は最初から除去し、図9(B)や図13(B)で説明した相関表において、横軸の診断項目基準で、NG検出時に、縦軸方向を検索して、禁止するべき診断項目の『診断許可要求フラグ』や実行するべきフェールセーフ項目の『フェールセーフ起動要求フラグ』をセットするように定義リストを作成しておく、という手法である。   As another method for reducing the calculation load, there is a method for limiting the items to be extracted when generating the diagnostic correlation definition list 5001 and the failsafe correlation definition list 7001 instead of processing the array of all the diagnostic items. Conceivable. That is, in each definition list described in FIG. 10 and FIG. 14C, 0xFF is described as an array element for an array element that does not have an item, and the item itself is left. The array elements that do not have items are removed from the beginning, and in the correlation table described in FIGS. 9B and 13B, the vertical axis direction is searched when NG is detected based on the diagnostic item criteria on the horizontal axis. In this method, a definition list is created so as to set a “diagnosis permission request flag” for a diagnostic item to be prohibited and a “fail safe activation request flag” for a fail safe item to be executed.

しかし上記のように定義リストを構成すると、故障状態情報(『現在故障情報』、『運転内故障情報』、『故障成立中情報』のいずれか)に基づき診断実行可否やフェールセーフ機能の実行可否を制御するためには、1つの横軸の診断項目に対して3パターンの故障状態情報を予め設定しておく必要があり、これを用いて制御対象項目を作成しなければならない。   However, if the definition list is configured as described above, it is possible to execute diagnosis or failsafe function based on failure status information (“current failure information”, “in-operation failure information”, or “failure establishment information”). In order to control this, it is necessary to preset three patterns of failure status information for one horizontal axis diagnostic item, and the control target item must be created using this.

そうすると、故障診断プログラムおよび定義リストが複雑化する。また、各制御対象項目のフラグなどの格納場所(すなわち項目名とこれに対応する配列番地を示す対応保存場所)の定義情報をそれぞれ記憶部に格納しておかなければならないため、プログラム処理上の効率がよくない。また、さらに関連付けに用いる定義情報が増えることになるので、項目数が数百個となるような場合には、相関表などを圧縮する処理には向いていない。   This complicates the failure diagnosis program and the definition list. Also, since the definition information of the storage location (that is, the corresponding storage location indicating the item name and the corresponding array address) such as the flag of each control target item must be stored in the storage unit, Inefficient. Further, since the definition information used for the association is increased, when the number of items is several hundred, it is not suitable for the process of compressing the correlation table or the like.

以上、本実施の形態4では、実施の形態1〜3で説明した各機能部および各設計支援プログラムの動作フローについて説明した。   As described above, in the fourth embodiment, the operation flow of each functional unit and each design support program described in the first to third embodiments has been described.

本発明に係る車両故障診断装置設計プログラムは、例えばJava(登録商標)言語や、表計算ソフトのマクロ原語などを用いて開発するソフトウェアプログラムとして実装することができる。   The vehicle fault diagnosis apparatus design program according to the present invention can be implemented as a software program developed using, for example, a Java (registered trademark) language or a macro original language of spreadsheet software.

101:クランク角センサ、102:カム角センサ、120:吸気管圧力センサ、121:吸気温度センサ、122:エンジン水温センサ、123:大気圧センサ、124:スロットルセンサ、125:空燃比センサ、200:エンジンコントロールユニット、201:CPU、202:ROM、203:A/D変換器、204:RAM、210:入力処理回路、220:出力回路、230:モニタ回路、1000:故障診断部、2000:診断制御用データ記憶部、3000:診断結果統括処理部、4000:診断結果情報記憶部、5000:診断相関判定部、5001:診断相関定義リスト、6000:フェールセーフ状態判定部、7000:フェールセーフ相関判定部、7001:フェールセーフ相関定義リスト、8000:フェールセーフ起動情報記憶部。   101: Crank angle sensor, 102: Cam angle sensor, 120: Intake pipe pressure sensor, 121: Intake pipe temperature sensor, 122: Engine water temperature sensor, 123: Atmospheric pressure sensor, 124: Throttle sensor, 125: Air-fuel ratio sensor, 200: Engine control unit, 201: CPU, 202: ROM, 203: A / D converter, 204: RAM, 210: input processing circuit, 220: output circuit, 230: monitor circuit, 1000: fault diagnosis unit, 2000: diagnostic control Data storage unit, 3000: diagnostic result overall processing unit, 4000: diagnostic result information storage unit, 5000: diagnostic correlation determination unit, 5001: diagnostic correlation definition list, 6000: fail safe state determination unit, 7000: fail safe correlation determination unit 7001: Fail-safe correlation definition list, 8000: Fail -Safe start-up information storage unit.

Claims (7)

車両の故障を判定する装置であって、
前記車両の故障診断項目について故障診断を行う1以上の故障診断プログラムを実行して故障診断を行う故障診断部と
前記故障診断プログラムの診断結果に基づき他の前記故障診断プログラムの実行許可または実行停止を指示する診断相関判定部と、
を備え
前記診断相関判定部は、
前記故障診断プログラムの診断結果と他の前記診断プログラムの実行許可または実行停止の相関関係を定義する診断相関定義リストを備え、
前記診断相関定義リストは、
前記故障診断項目の複数種類の故障状態と他の前記診断プログラムの実行許可または実行停止の相関関係を定義しており、
前記診断相関判定部は、
前記故障診断プログラムの診断結果、前記故障状態、および前記診断相関定義リストを照合して前記故障診断プログラムの実行許可または実行停止を指示する
ことを特徴とする車両故障判定装置。
An apparatus for determining a vehicle failure,
A fault diagnosis unit that executes fault diagnosis by executing one or more fault diagnosis programs that perform fault diagnosis on the vehicle fault diagnosis items ;
A diagnostic correlation determination unit that instructs execution permission or stop of execution of the other failure diagnosis program based on a diagnosis result of the failure diagnosis program;
Equipped with a,
The diagnostic correlation determination unit
A diagnostic correlation definition list that defines a correlation between a diagnostic result of the fault diagnostic program and execution permission or execution stop of the other diagnostic program;
The diagnostic correlation definition list is:
Defining a correlation between a plurality of types of failure states of the failure diagnosis item and execution permission or execution stop of the other diagnostic programs;
The diagnostic correlation determination unit
A vehicle failure determination device , wherein the diagnosis result of the failure diagnosis program, the failure state, and the diagnosis correlation definition list are collated to instruct execution permission or stop execution of the failure diagnosis program .
前記車両故障判定装置は、
各前記故障診断プログラム、その故障診断プログラムを実行する際に用いられる制御データ、および各前記故障診断プログラムの診断結果データの対応順序を定義する診断制御部を備え、
前記診断相関判定部は、
前記診断制御部が定義する前記対応順序と同じ対応順序で、前記故障診断プログラムの診断結果と他の前記故障診断プログラムの実行許可または実行停止の指示を相互に対応付ける
ことを特徴とする請求項記載の車両故障判定装置。
The vehicle failure determination device is
A diagnostic control unit that defines a correspondence order of each failure diagnosis program, control data used when executing the failure diagnosis program, and diagnosis result data of each failure diagnosis program;
The diagnostic correlation determination unit
In the same corresponding order as the corresponding order in which the diagnosis controller is defined, according to claim 1, characterized in that associating a diagnostic result and an instruction execution permission or execution stop of the other of said failure diagnosis program of the fault diagnosis program mutually The vehicle failure determination device described.
車両の故障を判定する装置であって、
前記車両の故障診断項目について故障診断を行う1以上の故障診断プログラムを実行して故障診断を行う故障診断部と、
前記故障診断プログラムの診断結果に基づき他の前記故障診断プログラムの実行許可または実行停止を指示する診断相関判定部と、
前記故障診断プログラムの診断結果に基づき前記車両が備えるフェールセーフ機能の実行許可または実行停止を指示するフェールセーフ相関判定部と、
を備え、
前記フェールセーフ相関判定部は、
前記故障診断プログラムの診断結果と前記車両が備えるフェールセーフ機能の実行許可または実行停止の相関関係を定義するフェールセーフ相関定義リストを備え、
前記フェールセーフ相関定義リストは、
前記故障診断項目の複数種類の故障状態と他の前記フェールセーフ機能の実行許可または実行停止の相関関係を定義しており、
前記フェールセーフ相関判定部は、
前記故障診断プログラムの診断結果、前記故障状態、および前記フェールセーフ相関定義リストを照合して前記フェールセーフ機能の実行許可または実行停止を指示する
ことを特徴とする両故障判定装置。
An apparatus for determining a vehicle failure,
A fault diagnosis unit that executes fault diagnosis by executing one or more fault diagnosis programs that perform fault diagnosis on the vehicle fault diagnosis items;
A diagnostic correlation determination unit that instructs execution permission or stop of execution of the other failure diagnosis program based on a diagnosis result of the failure diagnosis program;
A fail-safe correlation determination unit for instructing execution permission or stop of the fail-safe function of the vehicle based on a diagnosis result of the failure diagnosis program ;
With
The failsafe correlation determination unit
A fail-safe correlation definition list that defines the correlation between the diagnosis result of the failure diagnosis program and the execution permission or execution stop of the fail-safe function included in the vehicle;
The failsafe correlation definition list is:
Defines the correlation between the failure types of the failure diagnosis items and the execution permission or execution stop of the other failsafe function,
The failsafe correlation determination unit
The failure diagnosis program analysis of results, the fault condition, and the fail-safe correlation definition list matching to the fail-safe function of the execution permission or execution stop instruction car both failure determination system, characterized by.
前記車両故障判定装置は、
各前記故障診断プログラム、その故障診断プログラムを実行する際に用いられる制御データ、および各前記故障診断プログラムの診断結果データの対応順序を定義する診断制御部を備え、
前記フェールセーフ相関判定部は、
前記診断制御部が定義する前記対応順序と同じ対応順序で、前記車両が備えるフェールセーフ機能の実行許可または実行停止の指示を相互に対応付ける
ことを特徴とする請求項記載の車両故障判定装置。
The vehicle failure determination device is
A diagnostic control unit that defines a correspondence order of each failure diagnosis program, control data used when executing the failure diagnosis program, and diagnosis result data of each failure diagnosis program;
The failsafe correlation determination unit
The vehicle failure determination device according to claim 3 , wherein instructions for permitting or stopping execution of the failsafe function included in the vehicle are associated with each other in the same order as the order of correspondence defined by the diagnosis control unit.
車両の故障を判定する装置を設計するための処理をコンピュータに実行させるプログラムであって、
前記コンピュータに、
前記車両の故障診断項目となり得る全ての項目を記述した総診断項目リストを読み込むステップと、
前記総診断項目リストが記述している前記故障診断項目のうち前記車両に対応する故障診断項目を抽出して当該車両の故障診断項目リストを生成するステップと、
前記故障診断項目の診断結果と他の前記故障診断項目の故障診断を行うか否かの相関関係を、前記車両の故障診断項目となり得る全ての項目について定義する総診断相関定義リストを読み込むステップと、
前記総診断相関定義リストが定義している前記相関関係のうち前記車両に対応する故障診断項目に係るものを抽出して当該車両の診断相関定義リストを生成するステップと、
を実行させ
前記総診断相関定義リストは、
前記故障診断項目の複数種類の故障状態と他の前記故障診断項目の故障診断を行うか否かの相関関係を定義している
ことを特徴とする車両故障判定装置設計プログラム。
A program for causing a computer to execute a process for designing a device for determining a vehicle failure,
In the computer,
Reading a total diagnostic item list describing all items that can be fault diagnostic items of the vehicle;
Extracting a failure diagnosis item corresponding to the vehicle from the failure diagnosis items described in the total diagnosis item list to generate a failure diagnosis item list of the vehicle;
Reading a total diagnosis correlation definition list that defines the correlation between the diagnosis result of the failure diagnosis item and whether or not to perform the failure diagnosis of the other failure diagnosis items for all items that can be the failure diagnosis items of the vehicle; ,
Extracting a correlation related to a failure diagnosis item corresponding to the vehicle from the correlation defined by the total diagnosis correlation definition list to generate a diagnosis correlation definition list of the vehicle;
Was executed,
The total diagnostic correlation definition list is:
A vehicle failure determination device design program defining a correlation between whether or not to perform failure diagnosis of a plurality of types of failure diagnosis items and failure diagnosis of other failure diagnosis items .
前記コンピュータに、
前記故障診断項目の診断結果と前記車両が備えるフェールセーフ機能を実行するか否かの相関関係を、前記車両の故障診断項目となり得る全ての項目および前記車両のフェールセーフ機能となり得る全ての機能について定義する総フェールセーフ相関定義リストを読み込むステップと、
前記総フェールセーフ相関定義リストが定義している前記相関関係のうち前記車両に対応する故障診断項目および前記車両のフェールセーフ機能に係るものを抽出して当該車両のフェールセーフ相関定義リストを生成するステップと、
を実行させることを特徴とする請求項記載の車両故障判定装置設計プログラム。
In the computer,
Correlation between the diagnosis result of the failure diagnosis item and whether or not to execute the fail-safe function of the vehicle, all items that can be the failure diagnosis item of the vehicle and all functions that can be the fail-safe function of the vehicle Loading a total failsafe correlation definition list to be defined;
Of the correlations defined in the total fail-safe correlation definition list, the failure diagnosis items corresponding to the vehicle and those relating to the fail-safe function of the vehicle are extracted to generate the fail-safe correlation definition list of the vehicle Steps,
The vehicle failure determination device design program according to claim 5, wherein:
前記総フェールセーフ相関定義リストは、
前記故障診断項目の複数種類の故障状態と前記フェールセーフ機能を実行するか否かの相関関係を定義している
ことを特徴とする請求項記載の車両故障判定装置設計プログラム。
The total failsafe correlation definition list is:
The vehicle failure determination device design program according to claim 6 , wherein a correlation between a plurality of types of failure states of the failure diagnosis items and whether or not to execute the fail-safe function is defined.
JP2009180898A 2009-08-03 2009-08-03 Vehicle failure determination device, vehicle failure determination device design program Expired - Fee Related JP5230557B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2009180898A JP5230557B2 (en) 2009-08-03 2009-08-03 Vehicle failure determination device, vehicle failure determination device design program

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2009180898A JP5230557B2 (en) 2009-08-03 2009-08-03 Vehicle failure determination device, vehicle failure determination device design program

Publications (2)

Publication Number Publication Date
JP2011031774A JP2011031774A (en) 2011-02-17
JP5230557B2 true JP5230557B2 (en) 2013-07-10

Family

ID=43761283

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2009180898A Expired - Fee Related JP5230557B2 (en) 2009-08-03 2009-08-03 Vehicle failure determination device, vehicle failure determination device design program

Country Status (1)

Country Link
JP (1) JP5230557B2 (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2017114241A (en) * 2015-12-22 2017-06-29 日立オートモティブシステムズ株式会社 Vehicle failure diagnostic device

Families Citing this family (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP6766612B2 (en) * 2016-11-24 2020-10-14 トヨタ自動車株式会社 In-vehicle fault diagnosis device
DE102016225081A1 (en) * 2016-12-15 2018-06-21 Robert Bosch Gmbh Apparatus and method for determining the pinpoint capability of possible errors of one or more components
CN116438521A (en) * 2020-11-24 2023-07-14 三菱电机株式会社 Vehicle-mounted control system

Family Cites Families (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP3752022B2 (en) * 1995-08-25 2006-03-08 株式会社デンソー Electronic control unit with fault diagnosis function
JPH09219747A (en) * 1996-02-13 1997-08-19 Fujitsu Ltd Fault information analysis system
JP3659017B2 (en) * 1998-09-18 2005-06-15 株式会社デンソー Vehicle control device with self-diagnosis device

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2017114241A (en) * 2015-12-22 2017-06-29 日立オートモティブシステムズ株式会社 Vehicle failure diagnostic device

Also Published As

Publication number Publication date
JP2011031774A (en) 2011-02-17

Similar Documents

Publication Publication Date Title
US8306783B2 (en) Method for determining faulty components in a system
JP5230557B2 (en) Vehicle failure determination device, vehicle failure determination device design program
CN101523038B (en) Method and device for monitoring a functionality of an engine controller of an internal combustion engine
JP2002202001A (en) Vehicular control device provided with self-diagnostic function, and recording medium
JP4496205B2 (en) Control microcomputer verification device and in-vehicle control device
JP2002178854A (en) Vehicle control device with information providing function, and recording medium
JP2021124910A (en) Electronic control unit
CN107924355A (en) Electronic control unit and electronic control method
US7130768B2 (en) Method and device for fault diagnosis in control systems in an internal combustion engine in a motor vehicle
JP5641233B2 (en) Vehicle data acquisition system and vehicle data acquisition method
US6553289B2 (en) Control apparatus having object-oriented self-diagnosis program
US20130158844A1 (en) Method for operating a control unit
Sharvia et al. Integrated application of compositional and behavioural safety analysis
JP2013077048A (en) Computer equipped with self-diagnosis function, software creation method, and software creation device
JP2009151420A (en) Software operation monitoring device and program
US10249107B2 (en) Fault management method for a vehicle engine control system
KR20050094821A (en) Diagnostic method for an electronic systems unit
JP2005301615A (en) Electronic control apparatus equipped with soak timer
CN110672330B (en) Method for setting IUMPR, storage device, controller and vehicle
JP6499958B2 (en) Vehicle fault diagnosis device
KR20160066603A (en) Hi-pressure fuel pump pressure sensor fault diagnosis method of the gdi engine
JP2008520874A (en) How to operate a functional module management system
Boulanger Experiences from a model-based methodology for embedded electronic software in automobile
JP2002132533A (en) Control apparatus for vehicle having self-diagnostic feature and record medium
CN113423946A (en) Injector failure diagnosis device and injector failure diagnosis method

Legal Events

Date Code Title Description
A621 Written request for application examination

Free format text: JAPANESE INTERMEDIATE CODE: A621

Effective date: 20110602

A977 Report on retrieval

Free format text: JAPANESE INTERMEDIATE CODE: A971007

Effective date: 20121012

A131 Notification of reasons for refusal

Free format text: JAPANESE INTERMEDIATE CODE: A131

Effective date: 20121016

A521 Request for written amendment filed

Free format text: JAPANESE INTERMEDIATE CODE: A523

Effective date: 20121217

TRDD Decision of grant or rejection written
A01 Written decision to grant a patent or to grant a registration (utility model)

Free format text: JAPANESE INTERMEDIATE CODE: A01

Effective date: 20130312

A61 First payment of annual fees (during grant procedure)

Free format text: JAPANESE INTERMEDIATE CODE: A61

Effective date: 20130319

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

Free format text: PAYMENT UNTIL: 20160329

Year of fee payment: 3

R150 Certificate of patent or registration of utility model

Ref document number: 5230557

Country of ref document: JP

Free format text: JAPANESE INTERMEDIATE CODE: R150

Free format text: JAPANESE INTERMEDIATE CODE: R150

S533 Written request for registration of change of name

Free format text: JAPANESE INTERMEDIATE CODE: R313533

R350 Written notification of registration of transfer

Free format text: JAPANESE INTERMEDIATE CODE: R350

LAPS Cancellation because of no payment of annual fees