JP2016014558A - Inspection system for automobile electronic control unit - Google Patents

Inspection system for automobile electronic control unit Download PDF

Info

Publication number
JP2016014558A
JP2016014558A JP2014135954A JP2014135954A JP2016014558A JP 2016014558 A JP2016014558 A JP 2016014558A JP 2014135954 A JP2014135954 A JP 2014135954A JP 2014135954 A JP2014135954 A JP 2014135954A JP 2016014558 A JP2016014558 A JP 2016014558A
Authority
JP
Japan
Prior art keywords
diagnostic tool
ecu
diagnostic
display
display unit
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Granted
Application number
JP2014135954A
Other languages
Japanese (ja)
Other versions
JP6297937B2 (en
Inventor
友典 田中
Tomonori Tanaka
友典 田中
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 JP2014135954A priority Critical patent/JP6297937B2/en
Publication of JP2016014558A publication Critical patent/JP2016014558A/en
Application granted granted Critical
Publication of JP6297937B2 publication Critical patent/JP6297937B2/en
Expired - Fee Related legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Abstract

PROBLEM TO BE SOLVED: To provide an inspection system capable of inspecting an automobile electronic control unit efficiently with high accuracy while using a general-purpose diagnostic tool.SOLUTION: An inspection system for an automobile electronic control unit according to the present invention includes a general-purpose diagnostic tool for performing communication with the automobile electronic control unit to be inspected, a machinery device (robot arm) for manipulating the manipulation part of the diagnostic tool, an image-capturing device (camera) for image-capturing the display part of the diagnostic tool, and an HILS system. The inspection system controls the machinery device, manipulates the manipulation part of the diagnostic tool, and has prescribed information displayed on the display part of the diagnostic tool, and thereby collating the content of this display screen and the reference content of display.

Description

本発明は、診断ツールを用いて自動車用電子制御ユニットの検査を行う検査システムに関する。   The present invention relates to an inspection system for inspecting an automobile electronic control unit using a diagnostic tool.

特許文献1には、電子制御ユニットの本来の制御対象である実機が、規定の運転パターンに沿って動作する際に、アクチュエータ駆動信号を受けて生成するセンサ信号と同等の信号を、擬似センサ信号として生成するシミュレータと、電子制御ユニットに前記擬似センサ信号を供給し、また、電子制御ユニットから発せられるアクチュエータの駆動信号を受信するよう構成された、電子制御ユニットの検査装置が開示されている。   Patent Document 1 discloses a pseudo sensor signal that is equivalent to a sensor signal generated by receiving an actuator drive signal when an actual machine that is an original control target of an electronic control unit operates in accordance with a specified operation pattern. And an electronic control unit inspection device configured to supply the pseudo sensor signal to the electronic control unit and receive an actuator drive signal emitted from the electronic control unit.

特開2008−261793号公報JP 2008-261793 A

ところで、GST(General Scan Tool)などの手動操作される汎用の診断ツール(携帯型診断装置)を電子制御ユニットに接続し、作業者が診断ツールを操作しつつ操作結果を診断ツールの画面で確認しながら電子制御ユニットの検査を行う場合、診断ツールの故障、診断ツールと電子制御ユニットとの間の通信不良、診断ツールの操作部の操作ミスなどの要因によって検査精度が低下する。   By the way, a general-purpose diagnostic tool (portable diagnostic device) such as GST (General Scan Tool) that is manually operated is connected to the electronic control unit, and the operator confirms the operation result on the diagnostic tool screen while operating the diagnostic tool. However, when the inspection of the electronic control unit is performed, the inspection accuracy is reduced due to factors such as a failure of the diagnostic tool, a communication failure between the diagnostic tool and the electronic control unit, and an operation error of the operation unit of the diagnostic tool.

従って、診断ツールを手動操作する検査作業において高い検査精度を維持しようとすると、上記のような不具合要因の有無を検証しつつ検査処理を進める必要がある。このため、作業手順の複雑化や同じ操作の繰り返しが生じ、作業者の熟練が必要になったり、検査時間が長くなったりすることがあった。   Therefore, in order to maintain high inspection accuracy in the inspection operation for manually operating the diagnostic tool, it is necessary to proceed with the inspection process while verifying the presence or absence of the above-described defect factors. For this reason, the work procedure is complicated and the same operation is repeated, so that the skill of the worker is required and the inspection time is sometimes increased.

そこで、本発明は、汎用の診断ツールを用いつつ自動車用電子制御ユニットの検査を高効率かつ高精度に行える、検査システムを提供することを目的とする。   Therefore, an object of the present invention is to provide an inspection system that can perform inspection of an automobile electronic control unit with high efficiency and high accuracy while using a general-purpose diagnostic tool.

そのため、本願発明に係る自動車用電子制御ユニットの検査システムは、表示部及び操作部を備え、検査対象の自動車用電子制御ユニットとの間で通信を行う診断ツールと、前記診断ツールの操作部を操作する機械装置と、前記操作部の基準操作内容及び前記表示部の基準表示内容を記憶する手段と、前記基準操作内容に基づき前記機械装置を制御する手段と、前記診断ツールの表示部を撮影する撮影装置と、前記基準表示内容と前記撮影装置が撮影した前記表示部の画像から求めた表示内容とを照合する手段と、を含むようにした。   Therefore, an inspection system for an automotive electronic control unit according to the present invention includes a display unit and an operation unit, and includes a diagnostic tool that communicates with an electronic control unit for an automobile to be inspected, and an operation unit for the diagnostic tool. Photographing a mechanical device to be operated, means for storing reference operation contents of the operation unit and reference display contents of the display unit, means for controlling the machine device based on the reference operation contents, and a display unit of the diagnostic tool And a means for collating the reference display content with the display content obtained from the image of the display section taken by the imaging device.

上記発明によると、診断ツールの操作部の操作及び表示部の表示内容の整合性判断を自動化でき、汎用の診断ツールを用いつつ自動車用電子制御ユニットの検査を高効率かつ高精度に行えるようになる。   According to the above invention, the operation of the operation part of the diagnostic tool and the consistency judgment of the display content of the display part can be automated, and the inspection of the electronic control unit for automobile can be performed with high efficiency and high accuracy while using a general-purpose diagnostic tool. Become.

本発明の一実施形態に係る検査システムの構成例を示すブロック図である。It is a block diagram showing an example of composition of an inspection system concerning one embodiment of the present invention. 本発明の一実施形態に係る診断ツールの外観を例示する図である。It is a figure which illustrates the appearance of the diagnostic tool concerning one embodiment of the present invention. 本発明の一実施形態に係る検査システムにおける情報の流れを例示するブロック図である。It is a block diagram which illustrates the flow of information in the inspection system concerning one embodiment of the present invention. 本発明の実施形態の検査システムの動作例(第1の動作例)を示すフローチャートである。It is a flowchart which shows the operation example (1st operation example) of the test | inspection system of embodiment of this invention. 前記第1の動作例における照合処理を例示するフローチャートである。It is a flowchart which illustrates the collation process in the said 1st operation example. 前記第1の動作例における照合処理を例示するフローチャートである。It is a flowchart which illustrates the collation process in the said 1st operation example. 前記第1の動作例における照合処理を例示するフローチャートである。It is a flowchart which illustrates the collation process in the said 1st operation example. 前記第1の動作例における照合処理を例示するフローチャートである。It is a flowchart which illustrates the collation process in the said 1st operation example. 本発明の一実施形態に係る検査システムの動作例(第2の動作例)を示すフローチャートである。It is a flowchart which shows the operation example (2nd operation example) of the test | inspection system which concerns on one Embodiment of this invention. 前記第2の動作例における照合処理を例示するフローチャートである。It is a flowchart which illustrates the collation process in the said 2nd operation example. 前記第2の動作例における照合処理を例示するフローチャートである。It is a flowchart which illustrates the collation process in the said 2nd operation example. 前記第2の動作例における照合処理を例示するフローチャートである。It is a flowchart which illustrates the collation process in the said 2nd operation example. 本発明の一実施形態に係る検査システムの動作例(第3の動作例)を示すフローチャートである。It is a flowchart which shows the operation example (3rd operation example) of the test | inspection system which concerns on one Embodiment of this invention. 前記第3の動作例における照合処理を例示するフローチャートである。It is a flowchart which illustrates the collation process in the said 3rd operation example. 前記第3の動作例における照合処理を例示するフローチャートである。It is a flowchart which illustrates the collation process in the said 3rd operation example. 本発明の一実施形態に係る検査システムの動作例(第4の動作例)を示すフローチャートである。It is a flowchart which shows the operation example (4th operation example) of the test | inspection system which concerns on one Embodiment of this invention. 前記第4の動作例における照合処理を例示するフローチャートである。It is a flowchart which illustrates the collation process in the said 4th operation example.

以下に本発明の実施の形態を説明する。
図1は、本発明に係る検査システムの一例を示す構成ブロック図である。
図1の検査システム1は、自動車(車両)に搭載されるエンジン(内燃機関)を制御する電子制御ユニット(ECU:Electronic Control Unit)2を単体で検査するためのシステムである。ECU2は、マイクロコンピュータ、通信回路などを含み、車両に搭載される状態で、各種の入力信号に基づき、エンジンを運転するための各種のアクチュエータの駆動信号を演算して出力する装置である。
Embodiments of the present invention will be described below.
FIG. 1 is a configuration block diagram showing an example of an inspection system according to the present invention.
An inspection system 1 in FIG. 1 is a system for inspecting an electronic control unit (ECU) 2 that controls an engine (internal combustion engine) mounted on an automobile (vehicle) alone. The ECU 2 includes a microcomputer, a communication circuit, and the like, and is a device that calculates and outputs drive signals for various actuators for operating the engine based on various input signals when mounted on the vehicle.

検査システム1は、HILS(Hardware In the Loop Simulation)システム10、汎用の診断ツール20、診断ツール20を撮影するためのカメラ(撮影装置)30、診断ツール20を自動操作するためのロボットアーム(機械装置)40を含んで構成される。
診断ツール20、カメラ30及びロボットアーム40は、図示省略したフレームに一体的に取り付けられる。
The inspection system 1 includes a HILS (Hardware In the Loop Simulation) system 10, a general-purpose diagnostic tool 20, a camera (imaging device) 30 for photographing the diagnostic tool 20, and a robot arm (machine) for automatically operating the diagnostic tool 20 Device) 40.
The diagnostic tool 20, the camera 30, and the robot arm 40 are integrally attached to a frame not shown.

HILSシステム10は、着脱可能なハーネス51を介して診断対象のECU2と接続され、ECU2の制御対象であるエンジンと同様にECU2との間で信号の授受を行ってシミュレーションを実施するシステムである。
HILSシステム10は、HILS用パーソナルコンピュータ(PC)11を含んで構成される。
The HILS system 10 is a system that is connected to the ECU 2 to be diagnosed via a detachable harness 51 and performs a simulation by exchanging signals with the ECU 2 in the same manner as the engine that is the control target of the ECU 2.
The HILS system 10 includes a HILS personal computer (PC) 11.

PC11は、演算装置、制御装置、記憶装置、入出力装置、表示装置などを備える。PC11には、HILSによるシミュレーションを実現するためのHILS用ソフトウェアや検査用ソフトウェアなどが実装され、更に、データベースDBが備えられている。
HILS用ソフトウェアには、模擬する運転条件(モード走行)をHILSシステム10に指示するためのソフトウェアなどが含まれ、検査用ソフトウェアには、カメラ30やロボットアーム40の作動を制御するソフトウェアなどが含まれる。
また、HILSシステム10には、モデルシミュレータ12としてのドライバーモデル12aとエンジンモデル12bとが実装されている。
The PC 11 includes an arithmetic device, a control device, a storage device, an input / output device, a display device, and the like. The PC 11 is equipped with HILS software and inspection software for realizing simulation by HILS, and further includes a database DB.
The HILS software includes software for instructing the HILS system 10 of operating conditions (mode travel) to be simulated, and the inspection software includes software for controlling the operation of the camera 30 and the robot arm 40. It is.
The HILS system 10 includes a driver model 12a and an engine model 12b as a model simulator 12.

ドライバーモデル12aは、自動車の運転手による運転操作を模擬するためのモデルであり、例えば、所定の運転パターンに適合するアクセル開度などの情報をエンジンモデル12に出力する。
エンジンモデル12bは、エンジンの機能を模擬するためのモデルであり、ドライバーモデル12aから送信されるアクセル開度などの情報や、ECU2から出力されるアクチュエータ駆動信号などに基づいて、実際のエンジンや各種アクチュエータの動きを模擬し、実際のエンジンで生成される各種のセンサ信号と同様の模擬センサ信号を生成する。
そして、エンジンモデル12bが生成した模擬センサ信号は、ハーネス51を介してECU2に送信される。
The driver model 12a is a model for simulating a driving operation by a driver of an automobile, and outputs information such as an accelerator opening degree that matches a predetermined driving pattern to the engine model 12, for example.
The engine model 12b is a model for simulating the function of the engine. Based on information such as an accelerator opening degree transmitted from the driver model 12a, an actuator drive signal output from the ECU 2, and the like, The actuator motion is simulated to generate simulated sensor signals similar to the various sensor signals generated by the actual engine.
The simulated sensor signal generated by the engine model 12b is transmitted to the ECU 2 via the harness 51.

ECU2は、エンジンモデル12bから送信された模擬センサ信号をエンジン制御用ソフトウェアに基づき演算処理してアクチュエータ制御信号を生成し、係るアクチュエータ駆動信号をエンジンモデル12bに送信する。
模擬センサ信号は、例えば、吸入空気流量の測定信号や空燃比の測定信号などであり、ECU2は、これらの模擬センサ信号に基づいて燃料噴射量(燃料噴射パルス幅)を演算し、燃料噴射量に応じた噴射パルス信号を燃料噴射弁(アクチュエータ)の駆動信号として出力する。
The ECU 2 performs an arithmetic process on the simulated sensor signal transmitted from the engine model 12b based on engine control software to generate an actuator control signal, and transmits the actuator drive signal to the engine model 12b.
The simulated sensor signal is, for example, an intake air flow rate measurement signal, an air-fuel ratio measurement signal, or the like. The ECU 2 calculates a fuel injection amount (fuel injection pulse width) based on these simulated sensor signals, and the fuel injection amount. An injection pulse signal corresponding to the output is output as a drive signal for the fuel injection valve (actuator).

また、ECU2には診断用ソフトウェアが実装され、センサやアクチュエータの故障診断、更に、エンジン制御機能の自己診断などを実施する。
なお、データベースDBを管理するサーバコンピュータを別途設け、係るサーバコンピュータとPC11とをネットワークで接続し、PC11がネットワークを介してデータベースDBにアクセスする構成とすることができる。
Further, diagnostic software is installed in the ECU 2 to perform failure diagnosis of sensors and actuators, and further self-diagnosis of the engine control function.
A server computer that manages the database DB may be separately provided, and the server computer and the PC 11 may be connected via a network, and the PC 11 may access the database DB via the network.

診断ツール20は、GST(General Scan Tool)などの手動操作される汎用の診断ツールであり、図2に例示したように、液晶などからなる表示部20aと、テンキー、方向キー、ファンクションキーなどの各種押しボタンを含む操作部20bとを備えている。
なお、診断ツール20は、表示部20aと操作部20bとを兼ねるタッチパネルを備えた装置とすることができ、診断ツール20の操作部20bは押しボタンに限定されない。
The diagnostic tool 20 is a general-purpose diagnostic tool that is manually operated, such as GST (General Scan Tool). As illustrated in FIG. 2, the display unit 20a made of liquid crystal, ten keys, direction keys, function keys, etc. And an operation unit 20b including various push buttons.
The diagnostic tool 20 can be a device including a touch panel that serves as both the display unit 20a and the operation unit 20b, and the operation unit 20b of the diagnostic tool 20 is not limited to a push button.

ロボットアーム40は、診断ツール20の操作部20bを構成する各種の押しボタンを、手動操作される場合と同様に押し下げ操作する機能を備えた機械装置であり、PC11の操作指令に応じて所定の押しボタンを押し下げ操作する。
つまり、検査システム1では、作業者が診断ツール20の操作部20bを手動操作する代わりに、PC11によって駆動制御されるロボットアーム40が診断ツール20の操作部20bを自動的に操作し、診断ツール20の操作(換言すれば、診断ツール20を用いたECU2の検査処理)が自動化されるよう構成されている。
The robot arm 40 is a mechanical device having a function of pressing down various push buttons constituting the operation unit 20b of the diagnostic tool 20 in the same manner as when manually operated, and is predetermined according to an operation command of the PC 11. Press down the push button.
That is, in the inspection system 1, instead of the operator manually operating the operation unit 20 b of the diagnostic tool 20, the robot arm 40 driven and controlled by the PC 11 automatically operates the operation unit 20 b of the diagnostic tool 20. The operation 20 (in other words, the inspection process of the ECU 2 using the diagnostic tool 20) is automated.

診断ツール20とECU2とは、着脱可能なハーネス52によって接続され、ハーネス52の途中に設けたHILSシステム10の通信監視部13は、診断ツール20とECU2との間で通信ログを取得する。そして、通信監視部13は、取得した通信ログをPC11に送信する。
なお、診断ツール20とECU2との間では、例えばController Area Network(CAN)などのデータ転送規格に基づいて通信が行われる。
The diagnostic tool 20 and the ECU 2 are connected by a detachable harness 52, and the communication monitoring unit 13 of the HILS system 10 provided in the middle of the harness 52 acquires a communication log between the diagnostic tool 20 and the ECU 2. Then, the communication monitoring unit 13 transmits the acquired communication log to the PC 11.
Note that communication is performed between the diagnostic tool 20 and the ECU 2 based on a data transfer standard such as Controller Area Network (CAN).

カメラ30は、診断ツール20の表示部20a、及び、操作部20b(換言すれば、ロボットアーム40の押下操作部)をPC11からの指令に応じて撮影し、撮影した画像の信号をPC11に送信する。
そして、PC11は、カメラ30が撮影した診断ツール20の操作部20b(ロボットアーム40)の画像を解析することにより、ロボットアーム40による操作部20bの操作が正常に(指令通りに)行われているか否かを検証する機能をソフトウェアとして備えている。
The camera 30 captures the display unit 20a and the operation unit 20b (in other words, the operation unit for pressing the robot arm 40) of the diagnostic tool 20 in accordance with a command from the PC 11, and transmits a signal of the captured image to the PC 11. To do.
Then, the PC 11 analyzes the image of the operation unit 20b (robot arm 40) of the diagnostic tool 20 photographed by the camera 30, so that the operation of the operation unit 20b by the robot arm 40 is normally performed (as instructed). The software has a function to verify whether or not it exists.

また、PC11は、カメラ30が撮影した診断ツール20の表示部20aの画像を解析して、表示部20aの表示内容が正常であるか否かを検証する機能をソフトウェアとして備えている。
更に、PC11は、通信監視部13が取得した通信ログの情報が正常であるか否かを検証する機能をソフトウェアとして備えている。
Further, the PC 11 has a function of analyzing the image of the display unit 20a of the diagnostic tool 20 taken by the camera 30 and verifying whether the display content of the display unit 20a is normal as software.
Further, the PC 11 has a function of verifying whether or not the communication log information acquired by the communication monitoring unit 13 is normal as software.

診断ツール20の基準操作内容(ボタンの操作手順)、表示部20aの基準表示内容(正常な表示内容)、更に、診断ツール20とECU2との間での基準通信情報(正常な通信情報)などは、予めデータベースDBに格納されている。
そして、PC11は、データベースDBから読み出した情報に基づき、診断ツール20の操作部20bの自動操作制御や表示部20aの表示内容の照合処理などを含む検査処理を実施し、検査過程において得られた各種のデータ(画像情報や通信ログなど)をデータベースDBに格納する。
Reference operation content (button operation procedure) of the diagnostic tool 20, reference display content (normal display content) of the display unit 20a, reference communication information (normal communication information) between the diagnostic tool 20 and the ECU 2, and the like Are stored in the database DB in advance.
Then, the PC 11 performs inspection processing including automatic operation control of the operation unit 20b of the diagnostic tool 20 and collation processing of display contents of the display unit 20a based on information read from the database DB, and is obtained in the inspection process. Various data (image information, communication log, etc.) are stored in the database DB.

なお、診断ツール20の表示部20aを撮影するカメラと、診断ツール20の操作部20b(ロボットアーム40の押し下げ操作部)を撮影するカメラとを個別に設けることができる。また、1つのカメラのアングルを変更して、表示部20aの撮影と操作部20bの撮影とのいずれか一方を選択的に実施する構成とすることができる。
また、ロボットアーム40は、例えば、診断ツール20の操作部20bを構成する複数の押しボタンそれぞれに押下操作機構を配した機械装置や、単数又は複数の押下操作機構を有すると共に押し下げ操作するボタンの位置にまで押下操作機構を移動させる機構を有した機械装置とすることができる。
In addition, the camera which image | photographs the display part 20a of the diagnostic tool 20, and the camera which image | photographs the operation part 20b (pressing operation part of the robot arm 40) of the diagnostic tool 20 can be provided separately. In addition, it is possible to change the angle of one camera and selectively perform one of the photographing of the display unit 20a and the photographing of the operation unit 20b.
The robot arm 40 includes, for example, a mechanical device in which a plurality of push buttons constituting the operation unit 20b of the diagnostic tool 20 are provided with a push operation mechanism, or a button that has one or a plurality of push operation mechanisms and performs a push-down operation. A mechanical device having a mechanism for moving the pressing operation mechanism to the position can be provided.

図3は、検査システム1におけるデータの流れを概略的に示す図である。
PC11(運転条件指示部)は、ECU2の模擬動作におけるエンジンの運転条件(車両の走行モード)をドライバーモデル12aに指示する。
ドライバーモデル12aは、指示された運転条件に対応するアクセル開度の情報などをエンジンモデル12bに出力する。
FIG. 3 is a diagram schematically showing the flow of data in the inspection system 1.
The PC 11 (operating condition instructing unit) instructs the driver model 12a about the engine operating condition (vehicle driving mode) in the simulated operation of the ECU 2.
The driver model 12a outputs information on the accelerator opening corresponding to the instructed driving condition to the engine model 12b.

エンジンモデル12bは、ドライバーモデル12aが出力するアクセル開度でエンジンが運転されるときに、エンジンの運転状態を検出する各種センサが出力する電気信号(模擬センサ信号)を演算し、係る電気信号をECU2に出力する。
エンジンモデル12bが出力する電気信号を入力するECU2は、実際にセンサ出力を入力する場合と同様に、エンジンモデル12bが出力する電気信号に基づいて、燃料噴射弁などのアクチュエータの駆動制御信号の演算や故障診断などを実施する。
The engine model 12b calculates electric signals (simulated sensor signals) output from various sensors that detect the operating state of the engine when the engine is operated at the accelerator opening output by the driver model 12a, and the electric signals are calculated. It outputs to ECU2.
The ECU 2 that receives the electrical signal output from the engine model 12b calculates the drive control signal of an actuator such as a fuel injection valve based on the electrical signal output from the engine model 12b, as in the case of actually inputting the sensor output. And trouble diagnosis.

一方、PC11(ロボットアーム制御部)は、ハードディスクなどの記憶装置上のデータベースDBに記憶されている基準操作内容(診断ツール20の操作手順)に従って、診断ツール(GST)20の操作部20bを自動操作するための操作指令(制御信号)をロボットアーム40に順次出力する。
ロボットアーム40は、診断ツール20の操作部20bを構成する複数の押しボタンのうち、PC11から送られる操作指令(押し下げ指令)に対応する押しボタンを押し下げ操作する。
On the other hand, the PC 11 (robot arm control unit) automatically operates the operation unit 20b of the diagnostic tool (GST) 20 according to the reference operation content (operation procedure of the diagnostic tool 20) stored in the database DB on the storage device such as a hard disk. Operation commands (control signals) for operation are sequentially output to the robot arm 40.
The robot arm 40 pushes down a push button corresponding to an operation command (press-down command) sent from the PC 11 among the plurality of push buttons constituting the operation unit 20b of the diagnostic tool 20.

診断ツール20は、ロボットアーム40によって操作部20bが操作されると、押し下げ操作されたボタンに応じた所定の動作、例えば、ECU2へのコマンド送信や表示部20aの表示内容の切り替えなどを実施する。
ECU2は、診断ツール20から送られたコマンドに応じた応答情報(故障診断結果の信号やエンジン運転条件の信号など)を診断ツール20に送信する。
診断ツール20とECU2との間での通信内容は、HILSシステム10の通信監視部13により記録され、係る通信ログ(通信内容、送受信データ、CANデータ)はPC11に送られる。
When the operation unit 20b is operated by the robot arm 40, the diagnostic tool 20 performs a predetermined operation corresponding to the pressed button, for example, command transmission to the ECU 2 or switching of display contents of the display unit 20a. .
The ECU 2 transmits response information (such as a failure diagnosis result signal and an engine operating condition signal) corresponding to the command sent from the diagnostic tool 20 to the diagnostic tool 20.
The communication content between the diagnostic tool 20 and the ECU 2 is recorded by the communication monitoring unit 13 of the HILS system 10, and the communication log (communication content, transmission / reception data, CAN data) is sent to the PC 11.

また、PC11(カメラ制御部)は、検査手順(診断ツール20の操作手順)に基づき予め決められたタイミングで、撮影動作を指令する信号をカメラ30に出力し、カメラ30は、撮影指令に応じて診断ツール20(及びロボットアーム40)を撮影し、撮影した画像の信号をPC11に撮影情報として送信する。
ここで、カメラ30からPC11に送られる撮影情報には、表示部20aの画像(表示内容を映した画像)及び操作部20bの画像(ロボットアーム40によるボタンの押し下げ動作を映した画像)が含まれる。
The PC 11 (camera control unit) outputs a signal for instructing an imaging operation to the camera 30 at a timing determined in advance based on the inspection procedure (operation procedure of the diagnostic tool 20). The camera 30 responds to the imaging command. The diagnostic tool 20 (and the robot arm 40) is photographed, and a signal of the photographed image is transmitted to the PC 11 as photographing information.
Here, the shooting information sent from the camera 30 to the PC 11 includes an image on the display unit 20a (an image showing the display content) and an image on the operation unit 20b (an image showing a button press operation by the robot arm 40). It is.

上記検査システム1は、ロボットアーム40の動作状態、診断ツール20の動作状態、更に、診断ツール20とECU2との間での通信状態などを自動検証しつつ、ECU2の検査処理を行うよう構成される。
以下では、検査システム1における検証処理を詳細に説明する。
The inspection system 1 is configured to perform the inspection process of the ECU 2 while automatically verifying the operation state of the robot arm 40, the operation state of the diagnostic tool 20, and the communication state between the diagnostic tool 20 and the ECU 2. The
Hereinafter, the verification process in the inspection system 1 will be described in detail.

図4のフローチャートに示すルーチンは、検査システム1の動作状態及び通信状態の検証処理の一例を示す。
ステップS110で、PC11(運転条件指示部)は、検査対象であるECU2によるエンジンの制御動作を模擬的に実施させるときの運転条件(走行パターン、モード走行)をデータベースDBから読み出し、読み出した運転条件の信号をドライバーモデル12aに出力する。これにより、エンジンモデル12bからECU2に向けて電気信号(模擬センサ信号)が出力されるようになり、ECU2での模擬制御動作が実行される。
The routine shown in the flowchart of FIG. 4 shows an example of the verification process of the operation state and communication state of the inspection system 1.
In step S110, the PC 11 (operation condition instructing unit) reads out the operation condition (travel pattern, mode travel) when the engine control operation by the ECU 2 to be inspected is simulated, from the database DB, and the read operation condition. Is output to the driver model 12a. As a result, an electric signal (simulated sensor signal) is output from the engine model 12b to the ECU 2, and a simulated control operation in the ECU 2 is executed.

次のステップS120で、PC11(ロボットアーム制御部)は、予め決められている診断ツール20の操作内容(押し下げ操作ボタン)の情報をデータベースDBから読み出し、読み出した情報に従ってロボットアーム40を制御する。
ロボットアーム40は、ステップS130にて、操作部20bを構成するボタンのうちの押し下げ指令がなされたボタンを指令された順に従って押し下げ操作する。
In the next step S120, the PC 11 (robot arm control unit) reads information on the predetermined operation content (push-down operation button) of the diagnostic tool 20 from the database DB, and controls the robot arm 40 according to the read information.
In step S130, the robot arm 40 performs a push-down operation in accordance with the commanded order of the buttons for which the push-down command has been made among the buttons constituting the operation unit 20b.

診断ツール20は、操作部20bがロボットアーム40によって自動操作されると、ステップS140にて、押し下げ操作されたボタンに応じて予め決められている所定のコマンドをECU2に送信する。
HILSシステム10の通信監視部13は、診断ツール20とECU2との間での通信を監視していて、ステップS150にて、診断ツール20からECU2に送信されたコマンドを通信ログとして記録し、取得した通信ログをPC11に転送する。
When the operation unit 20b is automatically operated by the robot arm 40, the diagnostic tool 20 transmits a predetermined command that is predetermined according to the pressed button to the ECU 2 in step S140.
The communication monitoring unit 13 of the HILS system 10 monitors communication between the diagnostic tool 20 and the ECU 2, and records and acquires a command transmitted from the diagnostic tool 20 to the ECU 2 as a communication log in step S150. The communication log is transferred to the PC 11.

次いで、PC11(カメラ制御部)は、ステップS160にて、カメラ30に撮影要求(撮影画像の送信指令)を出力する。
そして、PC11(カメラ制御部)は、ステップS170にて、カメラ30から送信された画像を取り込んで保存する。PC11が保存する画像は、ロボットアーム40が実際に押し下げ操作した診断ツール20のボタンをPC11が判別することができる画像、及び、診断ツール20の表示部20aの表示内容をPC11が判別できる画像である。
なお、ステップS170にてPC11が保存する画像は、操作部20bのボタン操作状態と表示部20aの表示内容との双方が映された1つの画像データ、又は、操作部20bのボタン操作状態を表す画像データと表示部20aの表示内容を表す画像データとの2つの画像データとすることができる。
Next, the PC 11 (camera control unit) outputs a shooting request (shooted image transmission command) to the camera 30 in step S160.
Then, the PC 11 (camera control unit) captures and stores the image transmitted from the camera 30 in step S170. The image stored by the PC 11 is an image that allows the PC 11 to determine the button of the diagnostic tool 20 that the robot arm 40 has actually pushed down, and an image that allows the PC 11 to determine the display content of the display unit 20 a of the diagnostic tool 20. is there.
Note that the image saved by the PC 11 in step S170 represents one image data in which both the button operation state of the operation unit 20b and the display content of the display unit 20a are displayed, or the button operation state of the operation unit 20b. Two pieces of image data, that is, image data and image data representing the display content of the display unit 20a can be used.

PC11は、ステップS180にて、カメラ30で撮影された画像を解析してロボットアーム40が実際に押し下げ操作したボタンを検出し、押し下げ操作を指示したボタン(目標ボタン操作、基準操作内容)と、実際にロボットアーム40が押し下げ操作したボタン(実操作内容)とを照合する処理、つまり、指示に一致するボタン操作が実施されたか否かを検証する処理を実施する。
ここで、ステップS180の処理内容の一例を、図5のフローチャートに従って説明する。
In step S180, the PC 11 analyzes an image captured by the camera 30, detects a button that the robot arm 40 actually performs a push-down operation, and instructs a push-down operation (target button operation, reference operation content); A process of verifying with the button (actual operation content) actually pressed down by the robot arm 40, that is, a process of verifying whether or not a button operation corresponding to the instruction has been performed is performed.
Here, an example of the processing content of step S180 will be described with reference to the flowchart of FIG.

ステップS181で、PC11は、押し下げ操作を指示したボタンと、カメラ30の撮影画像に基づき検出したロボットアーム40が実際に押し下げ操作したボタンとを照合する。
そして、PC11が押し下げ操作を指示したボタンと、ロボットアーム40が実際に押し下げ操作したボタンとが一致する場合(指示したボタン操作の全てが指示通りに実施された場合)、PC11はステップS182に進む。
In step S181, the PC 11 collates the button instructed to be pressed down with the button actually pressed down by the robot arm 40 detected based on the captured image of the camera 30.
If the button that the PC 11 has instructed to press down matches the button that the robot arm 40 has actually pressed down (when all of the instructed button operations have been performed as instructed), the PC 11 proceeds to step S182. .

ステップS182で、PC11は、ロボットアーム40の制御及びロボットアーム40の動作(診断ツール20の操作部20bの自動操作)が正常に行われる状態であることを示すデータ(ボタン自動操作の正常判定信号)を記録する。
一方、PC11が押し下げ操作を指示したボタンと、ロボットアーム40が実際に押し下げ操作したボタンとが一致しない場合(指示したボタン操作のうち少なくとも一部が指示通りに実施されなかった場合)、PC11は、ステップS183に進む。
ステップS183で、PC11は、ロボットアーム40の制御とロボットアーム40の動作との少なくとも一方が異常で、診断ツール20の操作部20bの自動操作が正常に行われない状態であることを示すデータ(ボタン自動操作の異常判定信号)を記録する。
In step S182, the PC 11 controls the robot arm 40 and the data indicating that the operation of the robot arm 40 (automatic operation of the operation unit 20b of the diagnostic tool 20) is normally performed (normal determination signal for button automatic operation). ).
On the other hand, when the button that the PC 11 has instructed to press down does not match the button that the robot arm 40 has actually pressed down (when at least part of the instructed button operation is not performed as instructed), the PC 11 The process proceeds to step S183.
In step S183, the PC 11 has data indicating that at least one of the control of the robot arm 40 and the operation of the robot arm 40 is abnormal and the automatic operation of the operation unit 20b of the diagnostic tool 20 is not normally performed ( Record button automatic operation error determination signal).

このように、診断ツール20のボタンの自動操作が正常に行われる状態であるか否かを判定し、その判定結果を記録することで、指示とは異なるボタン操作が行われる検査システム1の異常状態でECU2の異常の有無が特定されてしまうことを抑制でき、自動検査処理の信頼性を維持できると共に、ボタン操作の異常情報に基づき検査システム1のメンテナンス作業(ロボットアーム40の調整作業など)を容易に行える。
なお、上記のステップS180での照合処理の結果及び後述する各種の照合処理の結果は、PC11の表示装置などに表示され、作業者が検査システム1の異常の有無を確認できるように構成される。
As described above, it is determined whether or not the automatic operation of the button of the diagnostic tool 20 is normally performed, and by recording the determination result, the abnormality of the inspection system 1 in which the button operation different from the instruction is performed. It is possible to suppress the presence or absence of abnormality of the ECU 2 in the state, maintain the reliability of the automatic inspection process, and perform maintenance work of the inspection system 1 (such as adjustment work of the robot arm 40) based on abnormality information of button operation Can be easily performed.
Note that the result of the collation process in step S180 and the results of various collation processes described below are displayed on the display device of the PC 11, and the operator can check whether there is an abnormality in the inspection system 1. .

PC11は、次いでステップS190にて、実際にロボットアーム40が押し下げ操作したボタンに対応する目標の通信ログ(基準コマンド、目標コマンド)と、通信監視部13が実際に取得した通信ログ(実際に診断ツール20からECU2に送信されたコマンド)とを照合する処理、つまり、ボタン操作に見合うコマンドを診断ツール20が出力したか否かを検証する処理を実施する。
診断ツール20からECU2に送信されるコマンドは、例えば、モデルシミュレータ12からの電気信号(模擬センサ信号)に基づいてECU2が演算したエンジンや車両の運転状態を示すデータ(エンジン回転速度、車速、エンジン冷却水温度など)の転送指示などである。
Next, in step S190, the PC 11 sets the target communication log (reference command, target command) corresponding to the button actually pressed down by the robot arm 40 and the communication log actually acquired by the communication monitoring unit 13 (actual diagnosis). A process for verifying whether or not the diagnostic tool 20 has output a command commensurate with the button operation is performed.
The command transmitted from the diagnostic tool 20 to the ECU 2 is, for example, data indicating the engine or vehicle operating state calculated by the ECU 2 based on an electrical signal (simulated sensor signal) from the model simulator 12 (engine rotation speed, vehicle speed, engine For example, a cooling water temperature transfer instruction.

ここで、ステップS190の処理内容の一例を、図6のフローチャートに従って説明する。
ステップS191で、PC11は、ロボットアーム40が押し下げ操作したボタンに対応してデータベースDBに記録されている目標のコマンドと、通信監視部13がモニタしたコマンドとを照合する。
そして、目標のコマンドと実際に送信されたコマンドとが一致する場合、PC11は、ステップS192に進み、診断ツール20がロボットアーム40によるボタン操作に見合うコマンドを出力したことを示すデータ(診断ツール20の正常判定信号)を記録する。
Here, an example of the processing content of step S190 is demonstrated according to the flowchart of FIG.
In step S191, the PC 11 collates the target command recorded in the database DB corresponding to the button pressed by the robot arm 40 with the command monitored by the communication monitoring unit 13.
If the target command and the actually transmitted command match, the PC 11 proceeds to step S192, and data indicating that the diagnostic tool 20 has output a command suitable for the button operation by the robot arm 40 (diagnostic tool 20 Normality determination signal) is recorded.

一方、目標のコマンドと実際に送信されたコマンドとが一致しない場合、PC11は、ステップS193に進み、診断ツール20がロボットアーム40によるボタン操作に見合うコマンドを出力しない状態であることを示すデータ(診断ツール20の異常判定信号)を記録する。
係るコマンド出力機能の診断処理により、診断ツール20の異常状態でのECU2の異常の有無が特定されてしまうことを抑制でき、また、診断ツール20の異常情報に基づき診断ツール20の交換などの検査システム1のメンテナンス作業を容易に行える。
On the other hand, if the target command and the actually transmitted command do not match, the PC 11 proceeds to step S193, and data indicating that the diagnostic tool 20 does not output a command corresponding to the button operation by the robot arm 40 ( The abnormality determination signal of the diagnostic tool 20) is recorded.
It is possible to suppress the presence or absence of abnormality of the ECU 2 in the abnormal state of the diagnostic tool 20 by the diagnostic processing of the command output function, and to perform inspection such as replacement of the diagnostic tool 20 based on the abnormal information of the diagnostic tool 20 Maintenance work of the system 1 can be easily performed.

以上のようにして、PC11は、診断ツール20の操作部20bがロボットアーム40によって正常に操作されるか否か、更に、診断ツール11がロボットアーム40による操作に見合ったコマンドを出力するか否かを診断し、その結果を記録する。
そして、診断ツール20からのコマンド(転送指令)を受信したECU2は、ステップS200にてコマンドに対応する応答情報を演算し、演算した応答情報を診断ツール20に向けて送信する。
なお、コマンドが、例えば、ECU2が演算したエンジンや車両の運転状態を示すデータの転送指示であれば、ECU2が送信する応答情報は、エンジンや車両の運転状態を示すデータとなる。
As described above, the PC 11 determines whether the operation unit 20b of the diagnostic tool 20 is normally operated by the robot arm 40, and further, whether the diagnostic tool 11 outputs a command corresponding to the operation by the robot arm 40. Diagnose and record the results.
And ECU2 which received the command (transfer instruction | command) from the diagnostic tool 20 calculates the response information corresponding to a command in step S200, and transmits the calculated response information toward the diagnostic tool 20.
If the command is, for example, an instruction to transfer data indicating the engine or vehicle operating state calculated by the ECU 2, the response information transmitted by the ECU 2 is data indicating the engine or vehicle operating state.

HILSシステム10の通信監視部13は、診断ツール20とECU2との間での通信を監視していて、ステップS210にて、ECU2が診断ツール20に送信した応答情報を通信ログとして記録し、取得した通信ログをPC11に転送する。
通信監視部13から通信ログを受け取ったPC11は、ステップS220にて、ECU2が診断ツール20に実際に送信した応答情報(通信ログ)と、診断ツール20がECU2に送信したコマンド(通信ログ)及びそのときの模擬動作状態(エンジン運転条件)に対応して予めデータベースDBに記憶されている目標の応答情報(基準通信情報、基準応答情報)とを照合する処理、つまり、ECU2がコマンドに見合う応答情報を生成して出力する正常状態であるか否かを検証する処理を実施する。
The communication monitoring unit 13 of the HILS system 10 monitors communication between the diagnostic tool 20 and the ECU 2, and records and acquires the response information transmitted from the ECU 2 to the diagnostic tool 20 as a communication log in step S210. The communication log is transferred to the PC 11.
In step S220, the PC 11 that has received the communication log from the communication monitoring unit 13 transmits the response information (communication log) actually transmitted by the ECU 2 to the diagnostic tool 20, and the command (communication log) transmitted by the diagnostic tool 20 to the ECU 2. A process of collating target response information (reference communication information, reference response information) stored in advance in the database DB in correspondence with the simulated operation state (engine operating condition) at that time, that is, a response corresponding to the command by the ECU 2 A process for verifying whether the information is in a normal state in which information is generated and output is executed.

ここで、ステップS220の処理内容の一例を、図7のフローチャートに従って説明する。
ステップS221で、PC11は、ECU2が診断ツール20に実際に送信した応答情報と、診断ツール20がECU2に送信したコマンドに見合う目標の応答情報とを照合する。
Here, an example of the processing content of step S220 is demonstrated according to the flowchart of FIG.
In step S <b> 221, the PC 11 collates the response information actually transmitted from the ECU 2 to the diagnostic tool 20 with target response information corresponding to the command transmitted from the diagnostic tool 20 to the ECU 2.

そして、ECU2が診断ツール20に実際に送信した応答情報と、診断ツール20がECU2に送信したコマンドに見合う目標の応答情報とが一致する場合、PC11は、ステップS222に進み、ECU2が正常に動作する状態であることを示すデータ、つまり、ECU2がコマンドを正しく読み込みかつコマンドに見合う応答情報を正しく演算して出力する状態であることを示すデータ(ECU2の正常判定信号)を記録する。   If the response information actually transmitted from the ECU 2 to the diagnostic tool 20 matches the target response information corresponding to the command transmitted from the diagnostic tool 20 to the ECU 2, the PC 11 proceeds to step S222 and the ECU 2 operates normally. That is, data indicating that the ECU 2 is in a state of being ready, that is, data indicating that the ECU 2 is correctly reading the command and correctly calculating and outputting response information corresponding to the command (normal determination signal of the ECU 2) is recorded.

一方、ECU2が診断ツール20に実際に送信した応答情報と、診断ツール20がECU2に送信したコマンドに見合う目標の応答情報とが一致しない場合、PC11は、ステップS223に進み、ECU2の動作が異常であることを示すデータ、つまり、ECU2が、コマンドを正しく読み込まない状態とコマンドに基づく応答情報の演算処理に異常が発生している状態との少なくとも一方に該当していることを示すデータ(ECU2の異常判定信号)を記録する。   On the other hand, when the response information actually transmitted from the ECU 2 to the diagnostic tool 20 and the target response information corresponding to the command transmitted from the diagnostic tool 20 to the ECU 2 do not match, the PC 11 proceeds to step S223 and the operation of the ECU 2 is abnormal. That is, data indicating that the ECU 2 corresponds to at least one of a state in which the command is not read correctly and a state in which an abnormality has occurred in the calculation processing of response information based on the command (ECU 2 (Abnormal judgment signal).

このように、診断ツール20が出力するコマンドに対して期待される応答情報と、ECU2が実際に出力した応答情報とを照合することで、ECU2の動作の正常、異常を精度よく診断できる。
PC11(カメラ制御部)は、ECU2からの応答情報の通信ログが転送されたタイミングのステップS230にて、カメラ30に撮影要求を出力する。
PC11(カメラ制御部)は、次のステップS240にて、カメラ30から送信された画像を取り込んでデータベースDBに保存する。PC11が保存する画像は、診断ツール20の表示部20aの表示内容をPC11が読み取ることができる画像である。
In this way, by comparing the response information expected for the command output by the diagnostic tool 20 with the response information actually output by the ECU 2, it is possible to accurately diagnose whether the operation of the ECU 2 is normal or abnormal.
The PC 11 (camera control unit) outputs a photographing request to the camera 30 in step S230 at the timing when the communication log of the response information from the ECU 2 is transferred.
In the next step S240, the PC 11 (camera control unit) takes in the image transmitted from the camera 30 and stores it in the database DB. The image stored by the PC 11 is an image that allows the PC 11 to read the display content of the display unit 20 a of the diagnostic tool 20.

一方、ECU2からの応答情報を受け取った診断ツール20は、ステップS250にて、応答情報に基づき表示部20aの表示内容を更新する処理、つまり、ECU2からの応答情報を表示する画面に切り替える処理を行う。
そして、PC11(カメラ制御部)は、ステップS260にて、表示部20aの表示内容が切り替わると、カメラ30が撮影した表示部20aの画像、つまり、ECU2からの応答情報の表示画面を映した画像を取り込んで保存する。
なお、ステップS240及びステップS260にてPC11が保存する画像は、ボタン操作状態と表示部20aの表示内容との双方が映された1つの画像とすることができ、また、表示部20aのみを撮影した画像(トリミング画像を含む)とすることもできる。
On the other hand, the diagnostic tool 20 that has received the response information from the ECU 2 performs a process of updating the display content of the display unit 20a based on the response information, that is, a process of switching to a screen that displays the response information from the ECU 2 in step S250. Do.
Then, when the display content of the display unit 20a is switched in step S260, the PC 11 (camera control unit) displays an image of the display unit 20a taken by the camera 30, that is, an image showing a display screen of response information from the ECU 2. Import and save.
Note that the image stored in the PC 11 in step S240 and step S260 can be a single image in which both the button operation state and the display content of the display unit 20a are shown, and only the display unit 20a is photographed. It is also possible to obtain an image (including a trimmed image).

次いで、PC11は、ステップS270にて、診断ツール20の表示部20aに実際に表示された内容と、ECU2からの応答情報(通信ログ)に基づく目標の表示内容(基準表示内容)とを照合する処理を行う。つまり、PC11は、ステップS270にて、診断ツール20がECU2からの応答情報を表示部20aに正しく表示するか否か、換言すれば、診断ツール20の表示機能(動作)が正常であるか否かを検証する処理を実施する。
ここで、ステップS270の処理内容の一例を、図8のフローチャートに従って説明する。
Next, in step S270, the PC 11 collates the content actually displayed on the display unit 20a of the diagnostic tool 20 with the target display content (reference display content) based on the response information (communication log) from the ECU 2. Process. That is, in step S270, the PC 11 determines whether the diagnostic tool 20 correctly displays the response information from the ECU 2 on the display unit 20a, in other words, whether the display function (operation) of the diagnostic tool 20 is normal. A process for verifying this is implemented.
Here, an example of the processing content of step S270 is demonstrated according to the flowchart of FIG.

ステップS271で、PC11は、診断ツール20の表示部20aに実際に表示された内容と、ECU2からの応答情報(通信ログ)に基づく目標の表示内容とを照合する。
なお、PC11は、例えば、カメラ30が撮影した表示部20aの画像について文字認識処理を行って文字画像を文字コードに変換し、文字コードに基づきステップS271における表示内容の照合処理を実施することができる。
In step S271, the PC 11 collates the content actually displayed on the display unit 20a of the diagnostic tool 20 with the target display content based on the response information (communication log) from the ECU 2.
For example, the PC 11 may perform a character recognition process on the image of the display unit 20a captured by the camera 30 to convert the character image into a character code, and perform a display content matching process in step S271 based on the character code. it can.

そして、診断ツール20の表示部20aに表示された内容がECU2からの応答情報に基づく目標の表示内容に一致する場合、PC11は、ステップS272に進み、診断ツール20の表示部20aにおける表示内容が正しいことを示すデータ、つまり、診断ツール20の情報入力及び表示機能が正常であることを示すデータ(診断ツール20の正常判定信号)を記録する。   When the content displayed on the display unit 20a of the diagnostic tool 20 matches the target display content based on the response information from the ECU 2, the PC 11 proceeds to step S272, and the display content on the display unit 20a of the diagnostic tool 20 is Data indicating correctness, that is, data indicating that the information input and display functions of the diagnostic tool 20 are normal (normal determination signal of the diagnostic tool 20) is recorded.

一方、診断ツール20の表示部20aに表示された内容がECU2からの応答情報に基づく目標の表示内容に一致しない場合、PC11は、ステップS273に進み、診断ツール20の表示部20aにおける表示内容が間違っていることを示すデータ、つまり、診断ツール20の情報入力及び/又は表示機能に異常が生じていることを示すデータ(診断ツール20の異常判定信号)を記録する。
このように、診断ツール20が、ECU2から送信されている応答情報に見合う内容の表示を行わない異常を検出すれば、診断ツール20の異常状態でのECU2の異常の有無が特定されてしまうことを抑制でき、また、診断ツール20の異常情報に基づき診断ツール20の交換などの検査システム1のメンテナンス作業を容易に行える。
On the other hand, when the content displayed on the display unit 20a of the diagnostic tool 20 does not match the target display content based on the response information from the ECU 2, the PC 11 proceeds to step S273, and the display content on the display unit 20a of the diagnostic tool 20 is Data indicating that there is an error, that is, data indicating that an abnormality has occurred in the information input and / or display function of the diagnostic tool 20 (abnormality determination signal of the diagnostic tool 20) is recorded.
As described above, if the diagnostic tool 20 detects an abnormality that does not display the content corresponding to the response information transmitted from the ECU 2, the presence or absence of the abnormality of the ECU 2 in the abnormal state of the diagnostic tool 20 is specified. In addition, maintenance work of the inspection system 1 such as replacement of the diagnostic tool 20 can be easily performed based on abnormality information of the diagnostic tool 20.

その後、PC11は、ステップS180、ステップS190、ステップS220、ステップS270にて実施した照合処理の結果、つまり、ロボットアーム制御の正常/異常、診断ツール20の正常/異常、ECU2の正常/異常の判別結果を、ステップS280にてデータベースDBに保存する。
上記のようにして、PC11は、ロボットアーム40によって診断ツール20の操作部20bが正常に操作されるか否かを判定し、更に、診断ツール20のコマンド出力機能、コマンドに対するECU2の応答機能、診断ツール20における画面表示機能を検証し、その結果をデータベースDBに保存する。
Thereafter, the PC 11 discriminates the result of the collation processing performed in step S180, step S190, step S220, and step S270, that is, normal / abnormal robot arm control, normal / abnormal diagnostic tool 20, and normal / abnormal ECU2. The result is stored in the database DB in step S280.
As described above, the PC 11 determines whether or not the operation unit 20b of the diagnostic tool 20 is normally operated by the robot arm 40, and further includes a command output function of the diagnostic tool 20, a response function of the ECU 2 to the command, The screen display function in the diagnostic tool 20 is verified, and the result is stored in the database DB.

上記の検証処理によると、ロボットアーム40による診断ツール20の自動操作が正常に行われる状態であることを検証するので、診断ツール20の操作ミスによって検査エラーが発生することを抑制でき、検査処理を効率良く進めることが可能となる。
また、診断ツール20とECU2との間での通信を監視し、診断ツール20が操作部20bの操作に見合ったコマンドを送信し、ECU2がコマンドに見合った応答情報を返信するか否かを検証するので、診断ツール20とECU2との間での通信異常によって検査エラーが発生することを抑制できる。
According to the above verification processing, it is verified that the automatic operation of the diagnostic tool 20 by the robot arm 40 is normally performed. Therefore, it is possible to suppress the occurrence of an inspection error due to an operation error of the diagnostic tool 20, and the inspection processing. Can be carried out efficiently.
In addition, the communication between the diagnostic tool 20 and the ECU 2 is monitored, the diagnostic tool 20 transmits a command corresponding to the operation of the operation unit 20b, and verifies whether the ECU 2 returns response information corresponding to the command. Therefore, it is possible to suppress the occurrence of an inspection error due to a communication abnormality between the diagnostic tool 20 and the ECU 2.

更に、診断ツール20とECU2との間での通信を監視し、診断ツール20の表示部20aの表示内容が、ECU2からの応答情報に見合った内容であるか否かを検証することで、診断ツール20の異常によって検査エラーが発生することを抑制できる。
これらの作用効果に伴い、上記の検査システム1では、汎用の診断ツール20を用いつつECU2の検査を高効率かつ高精度に行える。
更に、診断ツール20及びロボットアーム40について故障の有無を判定し、また、診断ツール20とECU2との間での通信異常の有無を判定することで、検査システム1における故障の発生個所を特定でき、適切なメンテナンス作業を容易に行える。
Furthermore, the communication between the diagnostic tool 20 and the ECU 2 is monitored, and it is diagnosed by verifying whether or not the display content of the display unit 20a of the diagnostic tool 20 matches the response information from the ECU 2. The occurrence of an inspection error due to an abnormality of the tool 20 can be suppressed.
Along with these effects, the inspection system 1 can perform the inspection of the ECU 2 with high efficiency and high accuracy while using the general-purpose diagnostic tool 20.
Furthermore, by determining whether or not there is a failure in the diagnostic tool 20 and the robot arm 40, and determining whether or not there is a communication abnormality between the diagnostic tool 20 and the ECU 2, it is possible to identify the location where the failure occurs in the inspection system 1. Appropriate maintenance work can be easily performed.

図9のフローチャートに示すルーチンは、診断ツール20の誤表示の有無を検証する処理の一例を示す。
ステップS310で、PC11は、ECU2を模擬動作させるときのエンジン運転条件をデータベースDBから読み出してモデルシミュレータ12に与え、ECM2の模擬動作を開始させる。
The routine shown in the flowchart of FIG. 9 shows an example of processing for verifying the presence or absence of erroneous display of the diagnostic tool 20.
In step S310, the PC 11 reads out the engine operating conditions for simulating the ECU 2 from the database DB, gives them to the model simulator 12, and starts the simulating operation of the ECM 2.

次いで、PC11は、ステップS320にて、モデルシミュレータ12からECU2に出力される電気信号(模擬センサ信号)を異常(故障)状態とするための情報を、データベースDBから読み込み、モデルシミュレータ12にデータを設定する。これにより、ECU2は、所定の異常パターンの模擬センサ信号を入力する異常モードで模擬動作することになる。
そして、ECU2は、ステップS330で、モデルシミュレータ12が出力する電気信号(模擬センサ信号)に基づいて所定の診断用パラメータを演算し、当該診断用パラメータに基づき各種デバイス(各種のセンサ、アクチュエータ)の異常の有無を診断する処理(故障診断処理)を実施し、異常モードで模擬動作が行われることで、模擬動作の設定に応じた所定の異常状態を検出するようになる。
Next, in step S320, the PC 11 reads information for setting an electrical signal (simulated sensor signal) output from the model simulator 12 to the ECU 2 to an abnormal (failure) state from the database DB, and stores the data in the model simulator 12. Set. As a result, the ECU 2 performs a simulated operation in an abnormal mode in which a simulated sensor signal having a predetermined abnormal pattern is input.
In step S330, the ECU 2 calculates predetermined diagnostic parameters based on the electrical signal (simulated sensor signal) output from the model simulator 12, and based on the diagnostic parameters, various devices (various sensors, actuators) A process for diagnosing the presence or absence of an abnormality (failure diagnosis process) is performed, and a simulated operation is performed in the abnormal mode, whereby a predetermined abnormal state corresponding to the setting of the simulated operation is detected.

ステップS340で、HILSシステム10の通信監視部13は、診断ツール20とECU2との間で通信ログの取得(送受信データの記録)を開始する。
ステップS350で、PC11は、ECU2が異常状態を診断した箇所(デバイス、センサ)の数(異常診断数)を、診断ツール20の表示部20aに表示させるためのボタン操作の情報(基準操作内容)をデータベースDBから読み出し、読み出した操作情報に基づきロボットアーム40を制御する。
In step S340, the communication monitoring unit 13 of the HILS system 10 starts to acquire a communication log (record transmission / reception data) between the diagnostic tool 20 and the ECU 2.
In step S350, the PC 11 displays button operation information (reference operation content) for causing the display unit 20a of the diagnostic tool 20 to display the number of parts (devices and sensors) (the number of abnormality diagnosis) that the ECU 2 has diagnosed an abnormal condition. Is read from the database DB, and the robot arm 40 is controlled based on the read operation information.

PC11によるロボットアーム40の制御により、診断ツール20の操作部20bの所定ボタンが押し下げ操作され、診断ツール20は、ボタン操作に応じてECU2に異常診断数の通知を要求するコマンドを送信し、ECU2は、故障診断処理で異常を検出したデバイスの数の情報を、コマンドに対する応答情報として診断ツール20に送信する。そして、ECU2から異常診断数の情報を受信した診断ツール20は、表示部20aに異常診断数を表示する(表示部20aの表示を異常診断数の表示画面に切り替える)。   Under the control of the robot arm 40 by the PC 11, a predetermined button of the operation unit 20b of the diagnostic tool 20 is pushed down, and the diagnostic tool 20 transmits a command requesting the ECU 2 to notify the number of abnormality diagnosis in response to the button operation. Transmits information on the number of devices in which an abnormality is detected in the failure diagnosis processing to the diagnostic tool 20 as response information to the command. The diagnostic tool 20 that has received the information on the number of abnormality diagnosis from the ECU 2 displays the number of abnormality diagnosis on the display unit 20a (switches the display on the display unit 20a to a display screen for the number of abnormality diagnosis).

PC11は、診断ツール20の表示部20aの表示が異常診断数の表示画面に切り替わり、カメラ30によって撮影された表示部20aの画像が切り替わると、カメラ30が撮影した表示部20aの画像、つまり、異常診断数を表示する画面(第1診断結果画面)の画像を保存する。
次いで、ステップS360で、PC11は、診断ツール20の表示部20aにECU2による診断結果の一覧(第2診断結果画面)を表示させるためのボタン操作(基準操作情報)をデータベースDBから読み出し、読み出した操作情報に基づきロボットアーム40を制御する。つまり、PC11は、表示部20aの表示を診断結果の一覧表示画面に切り替えるためのボタン操作を、ロボットアーム40に実行させる。
When the display of the display unit 20a of the diagnostic tool 20 is switched to the display screen of the number of abnormality diagnosis and the image of the display unit 20a captured by the camera 30 is switched, the PC 11 displays the image of the display unit 20a captured by the camera 30, that is, An image of a screen (first diagnosis result screen) that displays the number of abnormality diagnoses is stored.
Next, in step S360, the PC 11 reads the button operation (reference operation information) for displaying a list of diagnosis results (second diagnosis result screen) by the ECU 2 on the display unit 20a of the diagnosis tool 20 from the database DB and reads the button operation. The robot arm 40 is controlled based on the operation information. That is, the PC 11 causes the robot arm 40 to perform a button operation for switching the display of the display unit 20a to the diagnosis result list display screen.

かかるロボットアーム40によるボタン操作により、診断ツール20は、ECU2に診断結果一覧の通知を要求するコマンドを送信し、ECU2は、コマンドに対する応答情報として故障診断の対象とした各デバイスについての異常/正常の診断結果の情報を診断ツール20に送信する。
ECU2から診断結果一覧の情報を取得した診断ツール20は、表示部20aの表示内容を、ECU2での診断結果の一覧を示す表示に切り替える。
By the button operation by the robot arm 40, the diagnostic tool 20 transmits a command requesting the ECU 2 to notify the diagnosis result list, and the ECU 2 performs abnormality / normality for each device that is the target of failure diagnosis as response information to the command. The information of the diagnostic result is transmitted to the diagnostic tool 20.
The diagnostic tool 20 that has acquired the diagnostic result list information from the ECU 2 switches the display content of the display unit 20a to a display showing a list of diagnostic results in the ECU 2.

PC11は、診断ツール20の表示部20aの表示が診断結果一覧の表示画面に切り替わり、カメラ30によって撮影された表示部20aの画像が切り替わると、カメラ30が撮影した表示部20aの画像、つまり、診断結果の一覧を表示する画面(第2診断結果画面)の画像を保存する。
なお、診断ツール20の表示部20aにおける診断結果一覧の表示画面は、例えば、ECU2が診断処理の対象としたセンサやアクチュエータの名称と、当該デバイスについての診断で正常判定したか異常判定したかを示す表示(OK/NGの区別)とを列記する画面である。
When the display of the display unit 20a of the diagnostic tool 20 is switched to the display screen of the diagnosis result list and the image of the display unit 20a captured by the camera 30 is switched, the PC 11 displays the image of the display unit 20a captured by the camera 30, that is, An image of a screen (second diagnostic result screen) that displays a list of diagnostic results is saved.
The display screen of the diagnosis result list on the display unit 20a of the diagnostic tool 20 shows, for example, the name of the sensor or actuator that the ECU 2 has been subjected to diagnostic processing, and whether the diagnosis has been performed normally or abnormally in the diagnosis of the device. It is a screen which lists the display (OK / NG distinction) to show.

ステップS370で、PC11は、診断ツール20の表示部20aの表示内容をECU2の診断処理における診断パラメータの表示(第3診断結果画面)に切り替えるためのボタン操作内容をデータベースDBから読み出し、読み出したボタン操作内容に従ってロボットアーム40の制御を実行する。
PC11によるロボットアーム40の制御により、診断ツール20の操作部20bが表示部20aの表示内容を診断パラメータの表示に切り替えるように操作される。そして、診断ツール20は、ボタン操作に応じて診断パラメータの通知を要求するコマンドを送信し、ECU2からの応答情報としての診断パラメータを取得し、取得した情報に基づき表示部20aの表示内容を診断パラメータの表示に切り替える。
In step S370, the PC 11 reads the button operation content for switching the display content of the display unit 20a of the diagnostic tool 20 to the display of the diagnosis parameter (third diagnosis result screen) in the diagnostic processing of the ECU 2, from the database DB, and the read button The robot arm 40 is controlled according to the operation content.
Under the control of the robot arm 40 by the PC 11, the operation unit 20b of the diagnostic tool 20 is operated so as to switch the display content of the display unit 20a to display of diagnostic parameters. Then, the diagnostic tool 20 transmits a command for requesting notification of a diagnostic parameter in response to a button operation, acquires a diagnostic parameter as response information from the ECU 2, and diagnoses the display content of the display unit 20a based on the acquired information. Switch to parameter display.

ECU2は、診断処理において、センサ出力電圧値、センサ出力から求めた吸入空気量やエンジン回転速度などの状態量を監視し、これら状態量の最大値、最小値、異常発生時の値などを診断パラメータとして保存する機能を備えている。
そして、診断ツール20から送信されたコマンドが診断パラメータの通知を要求するコマンドである場合、ECU2は、保存してある診断パラメータの情報を応答情報として診断ツール20に送信する。
In the diagnostic process, the ECU 2 monitors the sensor output voltage value, the state quantity such as the intake air amount and the engine rotation speed obtained from the sensor output, and diagnoses the maximum value, the minimum value, the value at the time of occurrence of an abnormality, etc. It has a function to save as parameters.
If the command transmitted from the diagnostic tool 20 is a command requesting notification of diagnostic parameters, the ECU 2 transmits the stored diagnostic parameter information to the diagnostic tool 20 as response information.

PC11は、診断ツール20の表示部20aの表示内容が診断パラメータの表示に切り替わると、カメラ30が撮影した表示部20aの画像、つまり、診断パラメータの表示画面(第3診断結果画面)の画像を保存する。
上記のように、診断ツール20は、操作部20bの操作に応じてECU2に向けてコマンドを送信することで、ECU2での診断処理結果に関わるデータをECU2から読み込み、ECU2での診断内容を概略から詳細まで段階的に切替えて表示する機能を有している。
When the display content of the display unit 20a of the diagnostic tool 20 is switched to display of diagnostic parameters, the PC 11 displays an image of the display unit 20a taken by the camera 30, that is, an image of a diagnostic parameter display screen (third diagnostic result screen). save.
As described above, the diagnostic tool 20 transmits a command to the ECU 2 in accordance with the operation of the operation unit 20b, thereby reading data related to the diagnostic processing result in the ECU 2 from the ECU 2, and outlines the diagnostic contents in the ECU 2. It has a function to switch and display from step to detail step by step.

そして、PC11は、診断ツール20の表示部20aにECU2での診断内容(診断結果画面)を順次表示させるために、ロボットアーム40を制御して診断ツール20の操作部20bを自動操作する。
一方、カメラ30は、各診断結果画面が表示される表示部20aを撮影し、PC11は、カメラ30が撮影した表示部20aの表示内容、つまり、各診断結果画面の画像を記録する。
Then, the PC 11 automatically operates the operation unit 20b of the diagnostic tool 20 by controlling the robot arm 40 in order to sequentially display the diagnosis contents (diagnosis result screen) in the ECU 2 on the display unit 20a of the diagnostic tool 20.
On the other hand, the camera 30 captures the display unit 20a on which each diagnosis result screen is displayed, and the PC 11 records the display content of the display unit 20a captured by the camera 30, that is, the image of each diagnosis result screen.

そして、ステップS380で、PC11は、診断ツール20の表示部20aを撮影した画像から解析される表示内容(各診断結果画面の表示内容)が正常であるか否かの判定を行う。
次のステップS390で、PC11は、カメラ30が撮影した画像(診断結果画面を撮影した画像)、通信ログ、ステップS380での判定結果などをデータベースDBに記録する。
In step S380, the PC 11 determines whether the display content (display content of each diagnosis result screen) analyzed from the image obtained by photographing the display unit 20a of the diagnostic tool 20 is normal.
In the next step S390, the PC 11 records the image captured by the camera 30 (image captured from the diagnosis result screen), the communication log, the determination result in step S380, and the like in the database DB.

図10のフローチャートは、図9のフローチャートのステップS380における判定処理の一例を示す。
ステップS410で、PC11は、ECU2の模擬動作において異常状態に設定したセンサやアクチュエータの数(目標異常診断数、基準異常診断数、電気信号のNG設定状態)と、診断ツール20の表示部20a(第1診断結果画面)に表示された異常診断数とを比較する。なお、PC11は、診断ツール20の表示部20aに表示された異常診断数を、第1診断結果画面を撮影した画像信号についての文字認識処理によって検出する。
The flowchart of FIG. 10 shows an example of the determination process in step S380 of the flowchart of FIG.
In step S410, the PC 11 determines the number of sensors and actuators set in the abnormal state in the simulated operation of the ECU 2 (the target abnormality diagnosis number, the reference abnormality diagnosis number, the electrical signal NG setting state), and the display unit 20a ( The number of abnormal diagnoses displayed on the first diagnosis result screen) is compared. Note that the PC 11 detects the number of abnormality diagnoses displayed on the display unit 20a of the diagnostic tool 20 by character recognition processing for an image signal obtained by photographing the first diagnosis result screen.

そして、診断ツール20の表示部20aに表示された異常診断数と、ECU2の模擬動作において設定した異常診断数とが一致する場合、PC11は、ステップS420にて、診断ツール20の異常診断数の表示が正常であることを判定して記録する。
一方、診断ツール20の表示部20aに表示された異常診断数と、ECU2の模擬動作において設定した異常数とが一致しない場合、PC11は、ステップS430にて、診断ツール20の異常診断数の表示が異常であることを判定して記録する。
If the number of abnormality diagnoses displayed on the display unit 20a of the diagnostic tool 20 matches the number of abnormality diagnoses set in the simulation operation of the ECU 2, the PC 11 determines the number of abnormality diagnoses of the diagnostic tool 20 in step S420. Determine that the display is normal and record.
On the other hand, if the number of abnormality diagnoses displayed on the display unit 20a of the diagnostic tool 20 does not match the number of abnormalities set in the simulation operation of the ECU 2, the PC 11 displays the number of abnormality diagnoses of the diagnostic tool 20 in step S430. Determine that is abnormal and record.

次いで、PC11は、ステップS440にて、ECU2の模擬動作における各デバイスの正常/異常の設定(電気信号のOK/NG状態、基準の診断結果一覧)と、診断ツール20の表示部20aに表示された診断結果の一覧とを比較する。なお、PC11は、診断ツール20の表示部20aに表示された診断結果の一覧を、第2診断結果画面を撮影した画像信号についての文字認識処理によって検出する。
そして、診断ツール20の表示部20aに表示された診断結果の一覧と、ECU2の模擬動作における各デバイスの正常/異常の設定とが一致する場合、PC11は、ステップS450にて、診断ツール20の診断結果一覧の表示が正常であることを判定して記録する。
Next, in step S440, the PC 11 displays normal / abnormal settings (OK / NG state of electric signal, reference diagnosis result list) of each device in the simulated operation of the ECU 2 and the display unit 20a of the diagnostic tool 20. Compare with the list of diagnostic results. The PC 11 detects a list of diagnostic results displayed on the display unit 20a of the diagnostic tool 20 by character recognition processing for an image signal obtained by photographing the second diagnostic result screen.
When the list of diagnosis results displayed on the display unit 20a of the diagnostic tool 20 matches the normal / abnormal setting of each device in the simulation operation of the ECU 2, the PC 11 determines whether the diagnostic tool 20 Determine that the display of the diagnosis result list is normal and record it.

ここで、診断結果一覧が一致するか否かの判定は、例えば、水温センサや酸素センサなどのデバイス(センサ)毎に、表示部20aに表示された正常/異常と、ECU2の模擬動作で設定した正常/異常とが一致するか否かを判定する処理である。例えば、ECU2の模擬動作における設定が、水温センサ:異常、酸素センサ:正常であるときに、表示部20aの表示が、水温センサ:異常、酸素センサ:正常であれば、診断結果一覧は一致することになる。
一方、診断ツール20の表示部20aに表示された診断結果の一覧と、ECU2の模擬動作における各デバイスの正常/異常の設定とが一致しない場合、PC11は、ステップS460にて、診断ツール20の診断結果一覧の表示が異常であることを判定して記録する。
Here, the determination of whether or not the diagnosis result lists match is set, for example, for each device (sensor) such as a water temperature sensor or an oxygen sensor based on normality / abnormality displayed on the display unit 20a and simulated operation of the ECU 2. This is a process of determining whether or not the normal / abnormal state matches. For example, if the settings in the simulated operation of the ECU 2 are the water temperature sensor: abnormal, the oxygen sensor: normal, and the display on the display unit 20a is the water temperature sensor: abnormal, the oxygen sensor: normal, the diagnosis result lists match. It will be.
On the other hand, if the list of diagnosis results displayed on the display unit 20a of the diagnostic tool 20 does not match the normal / abnormal setting of each device in the simulated operation of the ECU 2, the PC 11 determines whether the diagnostic tool 20 Determine that the display of the diagnostic result list is abnormal and record it.

次いで、PC11は、ステップS470にて、ECU2の模擬動作において設定した診断パラメータの情報(基準パラメータ情報)と、診断ツール20の表示部20aに表示された診断パラメータの情報とを比較する。なお、PC11は、診断ツール20の表示部20aに表示された診断パラメータを、第3診断結果画面を撮影した画像信号についての文字認識処理によって検出する。
そして、診断ツール20の表示部20aに表示された診断パラメータと、ECU2の模擬動作において設定した診断パラメータとが一致する場合、PC11は、ステップS480にて、診断ツール20の診断パラメータの表示が正常であることを判定して記録する。
Next, in step S470, the PC 11 compares the diagnostic parameter information (reference parameter information) set in the simulation operation of the ECU 2 with the diagnostic parameter information displayed on the display unit 20a of the diagnostic tool 20. Note that the PC 11 detects the diagnostic parameter displayed on the display unit 20a of the diagnostic tool 20 by character recognition processing on the image signal obtained by photographing the third diagnostic result screen.
If the diagnostic parameter displayed on the display unit 20a of the diagnostic tool 20 matches the diagnostic parameter set in the simulation operation of the ECU 2, the PC 11 displays the diagnostic parameter of the diagnostic tool 20 normally in step S480. It is determined and recorded.

一方、診断ツール20の表示部20aに表示された診断パラメータと、ECU2の模擬動作において設定した診断パラメータとが一致しない場合、PC11は、ステップS490にて、診断ツール20の診断パラメータの表示が異常であることを判定して記録する。
このように、PC11は、ECU2における診断結果の項目毎に、正常な診断結果が診断ツール20に表示されたか否かを検証し、係る判定結果を記録する。従って、例えば診断ツール20の表示機能の異常によってECU2での診断結果が誤って表示される場合に、PC11は、これを異常状態として検出することができ、診断ツール20の異常によって検査エラーが発生することを抑制できる。
On the other hand, if the diagnostic parameter displayed on the display unit 20a of the diagnostic tool 20 does not match the diagnostic parameter set in the simulation operation of the ECU 2, the PC 11 displays an abnormal diagnostic parameter display on the diagnostic tool 20 in step S490. It is determined and recorded.
As described above, the PC 11 verifies whether or not a normal diagnostic result is displayed on the diagnostic tool 20 for each item of the diagnostic result in the ECU 2 and records the determination result. Therefore, for example, when a diagnostic result in the ECU 2 is erroneously displayed due to an abnormality in the display function of the diagnostic tool 20, the PC 11 can detect this as an abnormal state, and an inspection error occurs due to an abnormality in the diagnostic tool 20. Can be suppressed.

ここで、診断ツール20の表示部20aに表示されたECU2の診断結果が、ECU2の模擬動作の設定に対応しない状態は、診断ツール20の異常によって発生する他、ECU2からの診断結果の送信データが間違っている場合、つまり、ECU2の異常によっても発生する。
そこで、図9のフローチャートのステップS380における判定処理の一例として、診断ツール20の異常とECU2の異常とを区別する処理の例を、図11及び図12のフローチャートに従って説明する。
Here, the state in which the diagnostic result of the ECU 2 displayed on the display unit 20a of the diagnostic tool 20 does not correspond to the setting of the simulated operation of the ECU 2 occurs due to an abnormality of the diagnostic tool 20, and transmission data of the diagnostic result from the ECU 2 Is also caused by an abnormality in the ECU 2.
Therefore, as an example of the determination process in step S380 in the flowchart of FIG. 9, an example of a process for distinguishing between the abnormality of the diagnostic tool 20 and the abnormality of the ECU 2 will be described with reference to the flowcharts of FIGS.

ステップS510で、PC11は、ECU2の模擬動作において異常状態に設定したセンサやアクチュエータなどのデバイスの数(設定異常診断数、基準異常診断数)と、診断ツール20の表示部20aに表示された異常診断数とを比較する。なお、PC11は、診断ツール20の表示部20aに表示された異常診断数を、第1診断結果画面を撮影した画像信号についての文字認識処理によって検出する。   In step S510, the PC 11 determines the number of devices such as sensors and actuators (set abnormality diagnosis number, reference abnormality diagnosis number) set to an abnormal state in the simulated operation of the ECU 2, and the abnormality displayed on the display unit 20a of the diagnostic tool 20. Compare the number of diagnoses. Note that the PC 11 detects the number of abnormality diagnoses displayed on the display unit 20a of the diagnostic tool 20 by character recognition processing for an image signal obtained by photographing the first diagnosis result screen.

そして、診断ツール20の表示部20aに表示された異常診断数と、ECU2の模擬動作において設定した異常診断数とが一致する場合、PC11は、ステップS520にて、診断ツール20の異常診断数の表示が正常であることを判定して記録する。
なお、診断ツール20の異常診断数の表示が正常であることは、ECU2における診断処理で各種デバイスの異常状態が正しく診断され、かつ、係るECU2での診断結果を診断ツール20が正しく表示している状態であることを示す。
If the number of abnormality diagnoses displayed on the display unit 20a of the diagnostic tool 20 matches the number of abnormality diagnoses set in the simulation operation of the ECU 2, the PC 11 determines the number of abnormality diagnoses of the diagnostic tool 20 in step S520. Determine that the display is normal and record.
Note that the display of the number of abnormality diagnoses of the diagnostic tool 20 is normal because the abnormal state of various devices is correctly diagnosed by the diagnostic processing in the ECU 2, and the diagnostic tool 20 correctly displays the diagnostic results in the ECU 2. It shows that it is in a state.

一方、診断ツール20の表示部20aに表示された異常診断数と、ECU2の模擬動作において設定した異常診断数とが一致しない場合、PC11は、ステップS530にて、ECU2の模擬動作において設定した異常診断数と、ECU2から診断ツール20に送信された異常診断数のデータ(通信ログのデータ)とが一致しているか否かを判定する。PC11は、ECU2から診断ツール20に送信された異常診断数のデータを、通信監視部13が取得した通信ログに基づき検出する。   On the other hand, if the number of abnormality diagnosis displayed on the display unit 20a of the diagnostic tool 20 does not match the number of abnormality diagnosis set in the simulation operation of the ECU 2, the PC 11 determines in step S530 that the abnormality set in the simulation operation of the ECU 2 It is determined whether or not the number of diagnoses matches the data of the number of abnormality diagnoses (communication log data) transmitted from the ECU 2 to the diagnostic tool 20. The PC 11 detects the data of the number of abnormality diagnoses transmitted from the ECU 2 to the diagnostic tool 20 based on the communication log acquired by the communication monitoring unit 13.

ここで、ECU2の模擬動作において設定した異常診断数(異常状態に設定したデバイス数)と、ECU2から診断ツール20に送信された異常診断数のデータとが一致する場合、模擬動作において異常状態に設定されたデバイスの異常をECU2は正しく診断し、その結果をそのまま診断ツール20に送信していることになる。
そこで、ECU2の模擬動作において設定した異常診断数と、ECU2から診断ツール20に送信された異常診断数のデータとが一致する場合、PC11は、ステップS540にて、診断ツール20の異常診断数の表示が異常であることを判定して記録する。
Here, when the number of abnormality diagnoses set in the simulated operation of the ECU 2 (the number of devices set in the abnormal state) matches the data of the number of abnormal diagnoses transmitted from the ECU 2 to the diagnostic tool 20, an abnormal state is entered in the simulated operation. The ECU 2 correctly diagnoses the abnormality of the set device, and the result is transmitted to the diagnostic tool 20 as it is.
Therefore, when the number of abnormality diagnoses set in the simulated operation of the ECU 2 matches the data of the number of abnormality diagnoses transmitted from the ECU 2 to the diagnostic tool 20, the PC 11 determines the number of abnormality diagnoses of the diagnostic tool 20 in step S540. Judge that the display is abnormal and record it.

一方、ECU2の模擬動作において設定した異常診断数と、ECU2から診断ツール20に送信された異常診断数のデータとが一致しない場合、ECU2からの異常診断数の送信データが間違っているために、診断ツール20の表示部20aに表示された異常診断数とECU2の模擬動作において設定した異常診断数とが一致していないことになる。
そこで、PC11は、ECU2の模擬動作において設定した異常診断数と、ECU2から診断ツール20に送信された異常診断数のデータとが一致しない場合、ステップS550にて、ECU2からの異常診断数の送信データの異常を判定して記録すると共に、ECU2から診断ツール20に送信された異常診断数のデータ、つまり、期待値とは異なる誤った異常診断数のデータを記録する。
On the other hand, when the abnormality diagnosis number set in the simulated operation of the ECU 2 and the abnormality diagnosis number data transmitted from the ECU 2 to the diagnostic tool 20 do not match, the transmission data of the abnormality diagnosis number from the ECU 2 is incorrect. The number of abnormality diagnoses displayed on the display unit 20a of the diagnostic tool 20 and the number of abnormality diagnoses set in the simulation operation of the ECU 2 do not match.
Therefore, if the abnormality diagnosis number set in the simulation operation of the ECU 2 does not match the abnormality diagnosis data transmitted from the ECU 2 to the diagnostic tool 20, the PC 11 transmits the abnormality diagnosis number from the ECU 2 in step S550. Data abnormality is determined and recorded, and data of the number of abnormality diagnoses transmitted from the ECU 2 to the diagnostic tool 20, that is, data of the number of abnormality diagnoses different from the expected value is recorded.

次いで、PC11は、ステップS560にて、ECU2の模擬動作における各デバイスの正常/異常の設定(基準の診断結果一覧)と、診断ツール20の表示部20aに表示された診断結果一覧とを比較する。なお、PC11は、診断ツール20の表示部20aに表示された診断結果の一覧を、第2診断結果画面を撮影した画像信号についての文字認識処理によって検出する。
そして、診断ツール20の表示部20aに表示された診断結果の一覧と、ECU2の模擬動作における各デバイスの正常/異常の設定とが一致する場合、PC11は、ステップS570にて、診断ツール20の診断結果一覧の表示が正常であることを判定して記録する。
Next, in step S560, the PC 11 compares the normal / abnormal setting (reference diagnosis result list) of each device in the simulated operation of the ECU 2 with the diagnosis result list displayed on the display unit 20a of the diagnostic tool 20. . The PC 11 detects a list of diagnostic results displayed on the display unit 20a of the diagnostic tool 20 by character recognition processing for an image signal obtained by photographing the second diagnostic result screen.
If the list of diagnosis results displayed on the display unit 20a of the diagnostic tool 20 matches the normal / abnormal setting of each device in the simulated operation of the ECU 2, the PC 11 determines whether the diagnostic tool 20 Determine that the display of the diagnosis result list is normal and record it.

一方、診断ツール20の表示部20aに表示された診断結果一覧と、ECU2の模擬動作における各デバイスの正常/異常の設定とが一致しない場合、PC11は、ステップS580にて、診断ツール20の診断結果一覧の表示が異常であることを判定して記録する。上記のステップS560−ステップS580での処理は、図10のフローチャートのステップS440−ステップS460での処理と同様である。   On the other hand, if the list of diagnosis results displayed on the display unit 20a of the diagnostic tool 20 does not match the normal / abnormal setting of each device in the simulated operation of the ECU 2, the PC 11 performs the diagnosis of the diagnostic tool 20 in step S580. Determine that the display of the result list is abnormal and record it. The processing in steps S560 to S580 is the same as the processing in steps S440 to S460 in the flowchart of FIG.

なお、診断ツール20の表示部20aに表示された診断結果一覧と、ECU2の模擬動作における各デバイスの正常/異常の設定とが一致しない場合、PC11は、ECU2から診断ツール20に送信された診断結果一覧の情報を通信ログから取得し、通信ログにおける診断結果一覧の情報と、ECU2の模擬動作における各デバイスの正常/異常の設定とを比較させることができる。
そして、PC11は、通信ログにおける診断結果一覧の情報とECU2の模擬動作における各デバイスの正常/異常の設定とが一致すれば診断ツール20の異常を判定し、通信ログにおける診断結果一覧の情報とECU2の模擬動作における各デバイスの正常/異常の設定とが一致しなければECU2の異常を判定することができる。
If the list of diagnosis results displayed on the display unit 20a of the diagnostic tool 20 and the normal / abnormal setting of each device in the simulated operation of the ECU 2 do not match, the PC 11 transmits the diagnosis transmitted from the ECU 2 to the diagnostic tool 20. Information on the result list can be acquired from the communication log, and information on the diagnosis result list in the communication log can be compared with the normal / abnormal setting of each device in the simulated operation of the ECU 2.
The PC 11 determines the abnormality of the diagnostic tool 20 if the information of the diagnosis result list in the communication log matches the normal / abnormal setting of each device in the simulation operation of the ECU 2, and the diagnosis result list information in the communication log If the normal / abnormal setting of each device in the simulated operation of the ECU 2 does not match, the abnormality of the ECU 2 can be determined.

次いで、PC11は、ステップS590にて、ECU2の模擬動作において設定した診断パラメータの情報(基準診断パラメータ、診断パラメータの種類)と、診断ツール20の表示部20aに表示された診断パラメータとを比較する。
ステップS590における照合は、例えば、診断パラメータとしてエンジン回転速度の最大値を演算するようにECU2の処理動作が設定されているときに、診断ツール20の表示部20aに診断パラメータとして、エンジン回転速度の最大値の情報が表示されたか否かを判定するものである。
なお、PC11は、診断ツール20の表示部20aに表示された診断パラメータを、第3診断結果画面を撮影した画像信号についての文字認識処理によって検出する。
Next, in step S590, the PC 11 compares the diagnostic parameter information (reference diagnostic parameters, types of diagnostic parameters) set in the simulation operation of the ECU 2 with the diagnostic parameters displayed on the display unit 20a of the diagnostic tool 20. .
In the collation in step S590, for example, when the processing operation of the ECU 2 is set so as to calculate the maximum value of the engine rotation speed as the diagnosis parameter, the engine rotation speed is set as the diagnosis parameter on the display unit 20a of the diagnosis tool 20. It is determined whether or not the maximum value information is displayed.
Note that the PC 11 detects the diagnostic parameter displayed on the display unit 20a of the diagnostic tool 20 by character recognition processing on the image signal obtained by photographing the third diagnostic result screen.

そして、診断ツール20の表示部20aに表示された診断パラメータと、模擬動作において設定した診断パラメータの情報とが一致する場合、PC11は、ステップS600にて、診断ツール20の表示部20aに表示された診断パラメータの値が、データベースDBから読み出した診断パラメータの期待値(目標値)に一致しているか否かを判定する。
例えば、診断パラメータとしてエンジン回転速度の最大値を演算する設定の場合、PC11は、ステップS590にてエンジン回転速度の最大値が診断パラメータとして診断ツール20の表示部20aに表示されたことを検出すると、ステップS600では、診断ツール20の表示部20aに表示されたエンジン回転速度の最大値が、ECU2の模擬動作における設定値に一致しているか否かを判定する。
If the diagnostic parameter displayed on the display unit 20a of the diagnostic tool 20 matches the information on the diagnostic parameter set in the simulation operation, the PC 11 is displayed on the display unit 20a of the diagnostic tool 20 in step S600. It is determined whether the diagnostic parameter value matches the expected value (target value) of the diagnostic parameter read from the database DB.
For example, in the case of setting to calculate the maximum value of the engine rotation speed as the diagnosis parameter, the PC 11 detects that the maximum value of the engine rotation speed is displayed as the diagnosis parameter on the display unit 20a of the diagnosis tool 20 in step S590. In step S600, it is determined whether or not the maximum value of the engine speed displayed on the display unit 20a of the diagnostic tool 20 matches the set value in the simulated operation of the ECU 2.

診断ツール20の表示部20aに表示された診断パラメータの値が期待値に一致する場合、PC11は、ステップS610にて、診断ツール20の診断パラメータの表示が正常であって、かつ、ECU2が演算した診断パラメータの値が正常であることを判定して記録する。
一方、診断ツール20の表示部20aに表示された診断パラメータの値が期待値に一致しない場合、PC11は、ステップS620にて、診断ツール20の診断パラメータ表示が正常であること、及び、ECU2における診断パラメータの演算結果が異常であることを記録し、更に、ECU2で演算されデータベースDBから読み出した期待値(目標値)と一致しなかった診断パラメータの値を記録する。
If the value of the diagnostic parameter displayed on the display unit 20a of the diagnostic tool 20 matches the expected value, the PC 11 displays that the diagnostic parameter of the diagnostic tool 20 is normal and the ECU 2 calculates in step S610. It is determined that the diagnostic parameter value is normal and recorded.
On the other hand, when the value of the diagnostic parameter displayed on the display unit 20a of the diagnostic tool 20 does not match the expected value, the PC 11 displays that the diagnostic parameter display of the diagnostic tool 20 is normal and the ECU 2 in step S620. The fact that the calculation result of the diagnostic parameter is abnormal is recorded, and further, the value of the diagnostic parameter that does not coincide with the expected value (target value) calculated by the ECU 2 and read from the database DB is recorded.

また、診断ツール20の表示部20aに表示された診断パラメータと、ECU2の模擬動作において演算対象として設定した診断パラメータ(設定診断パラメータ)とが一致しない場合、PC11は、ステップS630にて、ECU2の模擬動作において設定した診断パラメータと、ECU2から診断ツール20に向けて送信された診断パラメータの情報(通信ログにおける診断パラメータの情報)とを比較する。
ここで、ECU2の模擬動作において設定した診断パラメータと、通信ログにおける診断パラメータの情報とが一致する場合、ECU2からは診断パラメータの情報が正しく出力されているものの、診断ツール20の表示内容が誤っていることになる。
If the diagnostic parameter displayed on the display unit 20a of the diagnostic tool 20 and the diagnostic parameter (set diagnostic parameter) set as the calculation target in the simulated operation of the ECU 2 do not match, the PC 11 determines that the ECU 2 in step S630. The diagnostic parameter set in the simulated operation is compared with the diagnostic parameter information (diagnostic parameter information in the communication log) transmitted from the ECU 2 to the diagnostic tool 20.
Here, when the diagnostic parameter set in the simulation operation of the ECU 2 matches the diagnostic parameter information in the communication log, the diagnostic parameter information is correctly output from the ECU 2, but the display content of the diagnostic tool 20 is incorrect. Will be.

そこで、ECU2の模擬動作において設定した診断パラメータと、通信ログにおける診断パラメータの情報とが一致する場合、PC11は、ステップS640にて、ECU2の診断パラメータの送信が正常であること、及び、診断ツール20における診断パラメータの表示に異常があることを記録すると共に、診断ツール20に誤って表示された診断パラメータの情報を記録する。   Therefore, if the diagnostic parameter set in the simulated operation of the ECU 2 matches the diagnostic parameter information in the communication log, the PC 11 confirms that the transmission of the diagnostic parameter of the ECU 2 is normal and the diagnostic tool in step S640. 20, the fact that there is an abnormality in the display of the diagnostic parameter in 20 is recorded, and information of the diagnostic parameter that is erroneously displayed in the diagnostic tool 20 is recorded.

一方、ECU2の模擬動作において設定した診断パラメータと、通信ログにおける診断パラメータの情報とが一致しない場合、PC11は、ステップS650にて、ECU2の診断パラメータの送信が異常であること、及び、診断ツール20における診断パラメータの表示に異常があることを記録すると共に、診断ツール20に誤って表示された診断パラメータの情報を記録する。
上記のようにして、異常診断数、診断結果一覧、及び診断パラメータの3項目について、診断ツール20における表示内容やECU2からの送信データの判定を行うと、PC11は、ステップS660にて、異常診断数、診断結果の一覧、及び診断パラメータの全ての項目について正常状態を検出したか否かを判定する。
On the other hand, if the diagnostic parameter set in the simulation operation of the ECU 2 does not match the diagnostic parameter information in the communication log, the PC 11 determines that the transmission of the diagnostic parameter of the ECU 2 is abnormal and the diagnostic tool in step S650. 20, the fact that there is an abnormality in the display of the diagnostic parameter in 20 is recorded, and information of the diagnostic parameter that is erroneously displayed in the diagnostic tool 20 is recorded.
As described above, when the display contents in the diagnostic tool 20 and the transmission data from the ECU 2 are determined for the three items of abnormality diagnosis count, diagnosis result list, and diagnosis parameter, the PC 11 performs abnormality diagnosis in step S660. It is determined whether a normal state has been detected for all items of the number, the list of diagnosis results, and the diagnosis parameters.

そして、異常診断数、診断結果一覧、及び診断パラメータの全て項目について正常状態を検出した場合、PC11は、ステップS670にて、診断ツール20の表示部20aに表示された診断結果の内容が全て模擬動作の設定に見合った内容で、模擬動作の設定に一致しない情報(表示内容、通信データ)が無かったことを記録する。
異常診断数、診断結果一覧、及び診断パラメータの全てについて正常状態を検出した場合、PC11は、更にステップS680にて、診断ツール20及びECU2の正常動作状態を確定したこと(診断ツール20及びECU2の正常状態を検出したこと)を記録する。
If the normal state is detected for all items of the number of abnormality diagnosis, the list of diagnosis results, and the diagnosis parameters, the PC 11 simulates all the contents of the diagnosis results displayed on the display unit 20a of the diagnosis tool 20 in step S670. It is recorded that there is no information (display content, communication data) that matches the operation settings but does not match the simulated operation settings.
When the normal state is detected for all of the abnormality diagnosis numbers, the diagnosis result list, and the diagnostic parameters, the PC 11 further determines that the normal operation state of the diagnostic tool 20 and the ECU 2 is confirmed in step S680 (the diagnostic tool 20 and the ECU 2). Record that a normal state was detected).

一方、異常診断数、診断結果一覧、及び診断パラメータのうちの少なくとも1つで診断ツール20の表示内容又はECU2からの送信データの異常を検出した場合、PC11は、ステップS660からステップS690に進み、模擬動作の設定とは異なった表示内容、通信データを記録する。
更に、PC11は、ステップS700にて、異常診断数、診断結果一覧、及び診断パラメータのうちの少なくとも1つについて診断ツール20の表示内容の異常を検出する一方で、ECU2からの送信データの異常を検出しなかった場合に該当するか否かを判定する。
そして、ECU2からの診断結果の送信データに異常がなく、診断ツール20の表示内容に異常があった場合、PC11は、ステップS710にて、診断ツール20の異常状態の確定(診断ツール20の故障検出)を記録する。
On the other hand, when the display content of the diagnostic tool 20 or an abnormality in the transmission data from the ECU 2 is detected in at least one of the number of abnormality diagnosis, the diagnosis result list, and the diagnosis parameter, the PC 11 proceeds from step S660 to step S690, Record the display contents and communication data different from the simulated operation settings.
Further, in step S700, the PC 11 detects an abnormality in the display content of the diagnostic tool 20 for at least one of the number of abnormality diagnosis, the diagnosis result list, and the diagnosis parameter, while detecting an abnormality in the transmission data from the ECU 2. It is determined whether or not the case is not detected.
If there is no abnormality in the transmission data of the diagnostic result from the ECU 2 and there is an abnormality in the display contents of the diagnostic tool 20, the PC 11 determines the abnormal state of the diagnostic tool 20 (failure of the diagnostic tool 20) in step S710. Record).

一方、ECU2からの診断結果の送信データに異常があった場合、PC11は、ステップS720にて、診断ツール20の表示内容に異常がなく、ECU2からの診断結果の送信データに異常があった場合に該当するか否かを判定する。
そして、診断ツール20の表示内容に異常がなく、ECU2からの送信データに異常があった場合、PC11は、ステップS730にて、ECU2の異常状態の確定(ECU2の故障検出)を記録する。
On the other hand, if there is an abnormality in the transmission data of the diagnosis result from the ECU 2, the PC 11 has no abnormality in the display content of the diagnostic tool 20 and there is an abnormality in the transmission data of the diagnosis result from the ECU 2 in step S720. It is determined whether it corresponds to.
If there is no abnormality in the display contents of the diagnostic tool 20 and there is an abnormality in the transmission data from the ECU 2, the PC 11 records the determination of the abnormal state of the ECU 2 (detection of failure of the ECU 2) in step S730.

一方、ECU2からの診断結果の送信データに異常があり、かつ、診断ツール20の表示内容にも異常があった場合、PC11は、ステップS740にて、診断ツール20及びECU2の異常状態の確定(ECU2及び診断ツール20の故障検出)を記録する。
図11、図12のフローチャートに示した処理によると、診断ツール20の表示内容の異常を、診断ツール20の異常に因るものとECU2の異常に因るものとに区別でき、診断ツール20の異常による表示内容の異常に基づき、ECU2の異常が誤診断されることを抑制できる。
On the other hand, when there is an abnormality in the transmission data of the diagnosis result from the ECU 2 and there is also an abnormality in the display contents of the diagnostic tool 20, the PC 11 confirms the abnormal state of the diagnostic tool 20 and the ECU 2 (step S740). The failure detection of the ECU 2 and the diagnostic tool 20) is recorded.
11 and 12, the display contents abnormality of the diagnostic tool 20 can be distinguished from those caused by the abnormality of the diagnostic tool 20 and those caused by the abnormality of the ECU 2. It is possible to suppress erroneous diagnosis of the ECU 2 based on an abnormality in display content due to the abnormality.

ところで、ECU2は、運転条件によってECU2が診断ツール20からのコマンド送信に対し無応答になる場合があり、係るECU2の動作不良を診断し得る処理の一例を、図13のフローチャートに従って説明する。
ステップS810で、PC11は、ECU2を模擬動作させるときのエンジン運転条件(第1運転条件)をデータベースDBから読み出してモデルシミュレータ12(12a,12b)に与え、ECM2の模擬動作(シミュレーション)を開始させる。
By the way, the ECU 2 may become unresponsive to the command transmission from the diagnostic tool 20 depending on the driving conditions, and an example of processing that can diagnose the malfunction of the ECU 2 will be described with reference to the flowchart of FIG.
In step S810, the PC 11 reads out the engine operating condition (first operating condition) for simulating the ECU 2 from the database DB, gives it to the model simulator 12 (12a, 12b), and starts the simulated operation (simulation) of the ECM2. .

次いで、PC11は、ステップS820にて、ECU2における診断処理で正常状態が診断されることになる情報をデータベースDBから読み出してモデルシミュレータ12に設定することで、HILSシステム10がECU2に出力する電気信号(模擬センサ信号)を、正常状態(第1の正常状態)を模擬するパターンに設定する。これにより、ECU2は、第1の正常モードで模擬動作することになる。
そして、ECU2は、ステップS830で、所定の診断用パラメータを演算し、当該診断用パラメータに基づき所定のデバイスについて異常の有無を診断する処理を実施する。
Next, in step S820, the PC 11 reads information from the database DB that is to be diagnosed by the diagnosis process in the ECU 2 and sets the information in the model simulator 12, whereby the HILS system 10 outputs an electrical signal to the ECU 2. (Simulated sensor signal) is set to a pattern that simulates the normal state (first normal state). As a result, the ECU 2 performs a simulation operation in the first normal mode.
Then, in step S830, the ECU 2 calculates a predetermined diagnostic parameter and performs a process of diagnosing the presence / absence of abnormality of the predetermined device based on the diagnostic parameter.

次いで、ステップS840で、PC11は、診断ツール20の表示部20aにECU2による診断結果の一覧(第2診断結果画面)を表示させるための操作内容(基準操作情報)をデータベースDBから読み出し、読み出した操作情報に基づきロボットアーム40を制御することで、診断結果の一覧を診断ツール20の表示部20aに表示させるためのボタン操作をロボットアーム40に実行させる。
そして、診断ツール20は、ロボットアーム40によるボタン操作に応じて診断結果一覧の情報の通知を要求するコマンドをECU2に送信し、ECU2からの応答情報としての診断結果一覧の情報を取得し、取得した情報に基づき表示部20aの表示内容を診断結果一覧の表示に切り替える。
Next, in step S840, the PC 11 reads the operation content (reference operation information) for displaying a list of diagnosis results (second diagnosis result screen) by the ECU 2 on the display unit 20a of the diagnostic tool 20 from the database DB and reads the operation contents. By controlling the robot arm 40 based on the operation information, the robot arm 40 is caused to perform a button operation for displaying a list of diagnosis results on the display unit 20a of the diagnostic tool 20.
Then, the diagnostic tool 20 transmits a command for requesting notification of information on the diagnosis result list to the ECU 2 in response to a button operation by the robot arm 40, and acquires information on the diagnosis result list as response information from the ECU 2. Based on the information, the display content of the display unit 20a is switched to the display of the diagnosis result list.

PC11は、診断ツール20の表示部20aの表示内容が切り替わると、カメラ30が撮影した表示部20aの画像、つまり、診断結果の一覧表示(第2診断結果画面)の画面を撮影した画像信号を保存する。
更に、ステップS850で、PC11は、診断ツール20の表示部20aの表示内容をECU2の診断処理における診断パラメータの表示(第3診断結果画面)に切り替えるための操作内容をデータベースDBから読み出し、読み出した操作内容に従ってロボットアーム40の制御を実行する。
When the display content of the display unit 20a of the diagnostic tool 20 is switched, the PC 11 captures an image of the display unit 20a captured by the camera 30, that is, an image signal obtained by capturing a list of diagnostic results (second diagnostic result screen). save.
Further, in step S850, the PC 11 reads the operation content for switching the display content of the display unit 20a of the diagnostic tool 20 to the display of the diagnostic parameter (third diagnosis result screen) in the diagnostic processing of the ECU 2 from the database DB and reads the operation content. The robot arm 40 is controlled according to the operation content.

そして、診断ツール20は、ロボットアーム40によるボタン操作に応じて診断パラメータの通知を要求するコマンドをECU2に送信し、ECU2からの応答情報としての診断パラメータの情報を取得し、取得した情報に基づき表示部20aの表示内容を診断パラメータの表示に切り替える。
PC11は、診断ツール20の表示部20aの表示内容が診断パラメータの表示に切り替わると、カメラ30が撮影した表示部20aの画像、つまり、診断パラメータの表示画面(第3診断結果画面)を撮影した画像信号を保存する。
Then, the diagnostic tool 20 transmits a command requesting notification of a diagnostic parameter to the ECU 2 in response to a button operation by the robot arm 40, acquires diagnostic parameter information as response information from the ECU 2, and based on the acquired information The display content of the display unit 20a is switched to display of diagnostic parameters.
When the display content of the display unit 20a of the diagnostic tool 20 is switched to display of diagnostic parameters, the PC 11 captures an image of the display unit 20a captured by the camera 30, that is, a diagnostic parameter display screen (third diagnostic result screen). Save the image signal.

次に、PC11は、ステップS860にて、ECU2を模擬動作させるときのエンジン運転条件として、ステップS810で設定される運転条件(第1運転条件)とは異なる第2運転条件をデータベースDBから読み出し、更に、HILSシステム10がECU2に出力する電気信号(模擬センサ信号)を第2運転条件での正常パターン(第2の正常パターン)に設定する。
そして、ステップS870で、PC11は、ステップS840と同様に、診断結果の一覧を診断ツール20の表示部20aに表示させるための自動操作を行い、表示部20aに表示された診断結果一覧の画面を撮影した画像信号の記録を行う。
Next, in step S860, the PC 11 reads out from the database DB a second operating condition that is different from the operating condition (first operating condition) set in step S810 as the engine operating condition for causing the ECU 2 to perform a simulated operation. Furthermore, the electrical signal (simulated sensor signal) output from the HILS system 10 to the ECU 2 is set to a normal pattern (second normal pattern) under the second operating condition.
In step S870, similarly to step S840, the PC 11 performs an automatic operation for displaying a list of diagnosis results on the display unit 20a of the diagnostic tool 20, and displays the diagnosis result list screen displayed on the display unit 20a. Record the captured image signal.

次いで、ステップS880で、PC11は、ステップS850と同様に、診断パラメータを診断ツール20の表示部20aに表示させるための自動操作を行い、表示部20aに表示された診断パラメータ情報の画面を撮影した画像信号の記録を行う。
そして、PC11は、ステップS890にて診断ツール20の表示内容の照合を行った後、ステップS900にて照合結果をデータベースDBに格納する。
Next, in step S880, the PC 11 performs an automatic operation for displaying the diagnostic parameters on the display unit 20a of the diagnostic tool 20, and photographs the diagnostic parameter information screen displayed on the display unit 20a, as in step S850. Record the image signal.
The PC 11 collates the display contents of the diagnostic tool 20 in step S890, and then stores the collation result in the database DB in step S900.

図14及び図15のフローチャートは、ステップS890における診断ツール20の表示内容の照合処理の一例を示す。
ステップS1010にてPC11は、第1運転条件(第1回目)であるときに診断ツール20の表示部20aに表示された診断結果の一覧が、第1運転条件でのECU2の模擬動作において正常状態に設定したデバイスに一致するか否かを判定する。
The flowcharts of FIGS. 14 and 15 show an example of the display content collation process of the diagnostic tool 20 in step S890.
In step S1010, the PC 11 indicates that the list of diagnosis results displayed on the display unit 20a of the diagnostic tool 20 when the first operating condition (first time) is in a normal state in the simulated operation of the ECU 2 under the first operating condition. It is determined whether it matches the device set to.

そして、第1運転条件であるときに診断ツール20の表示部20aに表示された診断結果の一覧が模擬動作の設定(基準表示内容)に一致する場合、PC11はステップS1020にて、第1運転条件での診断ツール20の診断結果一覧の表示が正常であったことを判定し、判定結果を記録する。
一方、第1運転条件であるときに診断ツール20の表示部20aに表示された診断結果の一覧が模擬動作の設定に一致しない場合、PC11はステップS1030にて、第1運転条件での診断ツール20の診断結果一覧の表示が異常であったことを判定し、判定結果を記録する。
If the list of diagnostic results displayed on the display unit 20a of the diagnostic tool 20 when the first operating condition is satisfied matches the simulation operation setting (reference display content), the PC 11 performs the first operation in step S1020. It is determined that the display of the diagnostic result list of the diagnostic tool 20 under conditions is normal, and the determination result is recorded.
On the other hand, if the list of diagnosis results displayed on the display unit 20a of the diagnostic tool 20 when the first operating condition is satisfied does not match the setting of the simulated operation, the PC 11 determines in step S1030 the diagnostic tool under the first operating condition. It is determined that the display of the list of 20 diagnostic results is abnormal, and the determination result is recorded.

また、PC11は、ステップS1040にて、第1運転条件であるときに診断ツール20の表示部20aに表示された診断パラメータの情報が、第1運転条件でのECU2の模擬動作において設定した診断パラメータの情報に一致するか否かを判定する。
そして、第1運転条件であるときに診断ツール20の表示部20aに表示された診断パラメータの情報が模擬動作の設定(基準表示内容)に一致する場合、PC11はステップS1050にて、第1運転条件で診断ツール20の診断パラメータの表示が正常であったことを判定して記録する。
Further, in step S1040, the PC 11 determines that the diagnostic parameter information displayed on the display unit 20a of the diagnostic tool 20 when the first operating condition is set is the diagnostic parameter set in the simulation operation of the ECU 2 under the first operating condition. It is determined whether or not the information matches.
If the diagnostic parameter information displayed on the display unit 20a of the diagnostic tool 20 matches the simulated operation setting (reference display content) when the first operating condition is satisfied, the PC 11 performs the first operation in step S1050. It is determined and recorded that the display of diagnostic parameters of the diagnostic tool 20 is normal under conditions.

一方、第1運転条件であるときに診断ツール20の表示部20aに表示された診断パラメータの情報が模擬動作の設定に一致しない場合、PC11はステップS1060にて、第1運転条件で診断ツール20の診断パラメータの表示が異常であったことを判定して記録する。
更に、PC11は、ステップS1070にて、第1運転条件(第1回目)であるときに診断ツール20の表示部20aに表示された診断結果一覧と、第2運転条件(第2回目)であるときに診断ツール20の表示部20aに表示された診断結果一覧とを照合する。
On the other hand, if the information on the diagnostic parameter displayed on the display unit 20a of the diagnostic tool 20 does not match the setting of the simulated operation when the first operating condition is satisfied, the PC 11 determines in step S1060 that the diagnostic tool 20 satisfies the first operating condition. It is determined that the display of the diagnostic parameter is abnormal and recorded.
Further, in step S1070, the PC 11 is a list of diagnosis results displayed on the display unit 20a of the diagnostic tool 20 when the first operation condition (first time) is satisfied, and the second operation condition (second time). Sometimes, the diagnosis result list displayed on the display unit 20a of the diagnostic tool 20 is collated.

そして、第1運転条件であるときに診断ツール20の表示部20aに表示された診断結果一覧と、第2運転条件であるときに診断ツール20の表示部20aに表示された診断結果一覧とが一致する場合、PC11はステップS1080にて、異なる2つの運転条件での診断結果一覧の表示が一致する正常状態を判定して記録する。
一方、第1運転条件であるときに診断ツール20の表示部20aに表示された診断結果一覧と、第2運転条件であるときに診断ツール20の表示部20aに表示された診断結果一覧とが一致しない場合、PC11はステップS1090にて、異なる2つの運転条件での診断結果一覧の表示が一致しない異常状態を判定して記録する。
A diagnosis result list displayed on the display unit 20a of the diagnostic tool 20 when the first operating condition is satisfied, and a diagnosis result list displayed on the display unit 20a of the diagnostic tool 20 when the second operating condition is satisfied. If they match, in step S1080, the PC 11 determines and records a normal state in which the display of the list of diagnosis results under two different operating conditions matches.
On the other hand, a list of diagnostic results displayed on the display unit 20a of the diagnostic tool 20 when the first operating condition is satisfied, and a list of diagnostic results displayed on the display unit 20a of the diagnostic tool 20 when the second operating condition is satisfied. If they do not match, the PC 11 determines and records an abnormal state in which the display of the diagnostic result list under two different operating conditions does not match in step S1090.

また、PC11は、ステップS1100にて、第1運転条件(第1回目)での診断ツール20における診断パラメータの表示と、第2運転条件(第2回目)での診断ツール20における診断パラメータの表示とを照合する。
そして、第1運転条件での診断ツール20における診断パラメータの表示と、第2運転条件での診断ツール20における診断パラメータの表示とが一致する場合、PC11はステップS1110にて、異なる2つの運転条件での診断パラメータの表示が一致する正常状態を判定して記録する。
In step S1100, the PC 11 displays the diagnostic parameters in the diagnostic tool 20 under the first operating condition (first time) and the diagnostic parameters in the diagnostic tool 20 under the second operating condition (second time). And match.
If the display of the diagnostic parameter in the diagnostic tool 20 under the first operating condition matches the display of the diagnostic parameter in the diagnostic tool 20 under the second operating condition, the PC 11 determines in step S1110 that two different operating conditions. The normal state in which the display of the diagnostic parameter matches in is determined and recorded.

一方、第1運転条件での診断ツール20における診断パラメータの表示と、第2運転条件での診断ツール20における診断パラメータの表示とが一致しない場合、PC11はステップS1120にて、異なる2つの運転条件での診断パラメータの表示が一致しない異常状態を判定して記録する。
また、PC11は、ステップS1130にて、上記ステップS1010−ステップS1120における照合処理の全てで正常状態の判定がなされ、異常状態の判定が全項目でなされていないかを判別する。
On the other hand, if the display of the diagnostic parameter in the diagnostic tool 20 under the first operating condition does not match the display of the diagnostic parameter in the diagnostic tool 20 under the second operating condition, the PC 11 determines in step S1120 that two different operating conditions. An abnormal state in which the display of the diagnostic parameter in the display does not match is determined and recorded.
In step S1130, the PC 11 determines whether the normal state is determined in all of the matching processes in steps S1010 to S1120, and whether the abnormal state is determined for all items.

そして、上記ステップS1010−ステップS1120における照合処理の全てで正常状態の判定を行った場合、PC11はステップS1140にて、照合処理の全てで正常判定したことを記録する。
一方、上記ステップS1010−ステップS1120における照合処理のうちの少なくとも1つで異常状態が判定された場合、PC11はステップS1150にて、診断結果一覧及び診断パラメータの情報をECU2から診断ツール20に送信したときの通信ログの内容と、データベースDBから読み出した基準診断結果一覧、基準診断パラメータの情報とを照合する。
When the normal state is determined in all of the collation processes in steps S1010 to S1120, the PC 11 records that the normality is determined in all of the collation processes in step S1140.
On the other hand, when an abnormal state is determined in at least one of the collation processes in steps S1010 to S1120, the PC 11 transmits a diagnostic result list and diagnostic parameter information from the ECU 2 to the diagnostic tool 20 in step S1150. The contents of the current communication log are collated with the reference diagnosis result list and reference diagnosis parameter information read from the database DB.

そして、ECU2から診断ツール20に送信された診断結果一覧の情報(通信ログ)とデータベースDBから読み出した基準診断結果一覧の情報とが一致し、かつ、ECU2から診断ツール20に送信された診断パラメータの情報(通信ログ)とデータベースDBから読み出した基準診断パラメータの情報とが一致する場合、ECU2は診断結果一覧及び診断パラメータについての正しい情報を診断ツール20に送信しているが、診断ツール20は、ECU2が送信した正しい情報とは異なる誤った情報を表示していることになる。   Then, the diagnostic parameter list information (communication log) transmitted from the ECU 2 to the diagnostic tool 20 matches the reference diagnostic result list information read from the database DB, and the diagnostic parameter transmitted from the ECU 2 to the diagnostic tool 20 If the information (communication log) and the reference diagnostic parameter information read from the database DB match, the ECU 2 sends the diagnostic result list and correct information about the diagnostic parameters to the diagnostic tool 20, but the diagnostic tool 20 Thus, incorrect information different from the correct information transmitted by the ECU 2 is displayed.

そこで、PC11は、通信ログから取得した診断結果一覧の送信データが基準診断結果一覧と一致し、かつ、通信ログから取得した診断パラメータの送信データが基準診断パラメータと一致する場合、ステップS1160にて、診断ツール20の異常を判定して記録する。
一方、通信ログから取得した診断結果一覧の送信データが基準診断結果一覧と一致しない場合、及び/又は、通信ログから取得した診断パラメータの送信データが基準診断パラメータと一致しない場合、つまり、ECU2が、診断結果一覧の情報と診断パラメータの情報との少なくとも一方について誤った情報を診断ツール20に送信する場合、PC11はステップS1170にて、ECU2の異常を判定して記録する。
Therefore, if the transmission data of the diagnosis result list acquired from the communication log matches the reference diagnosis result list, and the transmission data of the diagnosis parameter acquired from the communication log matches the reference diagnosis parameter, the PC 11 in step S1160. The abnormality of the diagnostic tool 20 is determined and recorded.
On the other hand, when the transmission data of the diagnosis result list acquired from the communication log does not match the reference diagnosis result list and / or when the transmission data of the diagnosis parameter acquired from the communication log does not match the reference diagnosis parameter, that is, the ECU 2 When sending erroneous information to at least one of the diagnostic result list information and the diagnostic parameter information to the diagnostic tool 20, the PC 11 determines and records an abnormality in the ECU 2 in step S1170.

上記のように、異なる2つの運転条件を模擬するようにECU2を動作させ、それぞれの運転条件での診断結果一覧及び診断パラメータが正しく診断ツール20に表示されたか否かを判定することで、運転条件によってECU2が無応答になる場合などに、係るECU2の動作不良の発生を検出することが可能となる。
また、ECU2の動作不良のパターンとしては、ECU2が診断処理の結果と異なる情報を診断ツール20に送信する場合があり、このようなECU2の動作不良を診断し得る処理の一例を、図16のフローチャートに従って説明する。
As described above, the ECU 2 is operated so as to simulate two different driving conditions, and it is determined whether or not the diagnosis result list and the diagnostic parameters under the respective driving conditions are correctly displayed on the diagnostic tool 20. When the ECU 2 becomes unresponsive depending on conditions, it is possible to detect the occurrence of malfunction of the ECU 2.
Further, as a pattern of malfunction of the ECU 2, the ECU 2 may transmit information different from the result of the diagnostic process to the diagnostic tool 20, and an example of a process that can diagnose such malfunction of the ECU 2 is shown in FIG. It demonstrates according to a flowchart.

ステップS1210で、PC11は、ECU2を模擬動作させるときのエンジン運転条件をデータベースDBから読み出してモデルシミュレータ12(12a,12b)に与え、ECM2の模擬動作(シミュレーション)を開始させる。
次いで、PC11は、ステップS1220にて、ECU2における診断処理で正常状態が診断されることになる情報をデータベースDBから読み出してモデルシミュレータ12に設定することで、HILSシステム10がECU2に出力する電気信号(模擬センサ信号)を、正常状態を模擬するパターンに設定する。これにより、ECU2は、正常モードで模擬動作することになる。
In step S1210, the PC 11 reads out the engine operating conditions for simulating the ECU 2 from the database DB, gives them to the model simulator 12 (12a, 12b), and starts the simulating operation (simulation) of the ECM2.
Next, in step S1220, the PC 11 reads information from the database DB that is to be diagnosed by the diagnosis process in the ECU 2 and sets the information in the model simulator 12, so that the HILS system 10 outputs an electrical signal to the ECU 2. (Simulated sensor signal) is set to a pattern that simulates a normal state. As a result, the ECU 2 performs a simulation operation in the normal mode.

そして、ECU2は、ステップS1230で、所定の診断用パラメータを演算し当該診断用パラメータに基づき異常の有無を診断する処理を実施し、正常モードで模擬動作が行われることで各種デバイスについて正常状態を検出するようになる。
PC11は、ステップS1240にて、診断サポート情報の送信を要求するコマンドをECU2に出力し、ECU2から送信された診断サポート情報を表示部20aに表示させるための診断ツール20の操作内容を、データベースDBから読み出し、係る操作内容に従ってロボットアーム40を制御する。
In step S1230, the ECU 2 performs a process of calculating a predetermined diagnosis parameter and diagnosing the presence / absence of an abnormality based on the diagnosis parameter, and performing a simulated operation in the normal mode to set normal states for various devices. Come to detect.
In step S1240, the PC 11 outputs a command for requesting transmission of diagnostic support information to the ECU 2, and displays the operation contents of the diagnostic tool 20 for displaying the diagnostic support information transmitted from the ECU 2 on the display unit 20a. The robot arm 40 is controlled in accordance with the operation content.

更に、PC11は、ステップS1240にて、診断ツール20の表示部20aに表示された診断サポート情報をカメラ30で撮影させ、診断サポート情報の表示画面をカメラ30が撮影した画像信号を記録する。
なお、診断サポート情報とは、ECU2の制御対象であるエンジンにおける診断対象部品の有無の情報などであり、例えば、排気中の酸素濃度を検出する酸素センサ(空燃比センサ)の有無や、当該酸素センサにおけるヒータの有無などの情報である。
Further, in step S1240, the PC 11 causes the camera 30 to capture the diagnostic support information displayed on the display unit 20a of the diagnostic tool 20, and records an image signal obtained by capturing the diagnostic support information display screen by the camera 30.
The diagnosis support information is information on the presence / absence of a diagnosis target component in the engine controlled by the ECU 2, for example, the presence / absence of an oxygen sensor (air-fuel ratio sensor) for detecting the oxygen concentration in exhaust gas, the oxygen This is information such as the presence or absence of a heater in the sensor.

また、PC11は、ステップS1250にて、診断ツール20の表示部20aにECU2による診断結果の一覧を表示させるためのボタン操作をデータベースDBから読み出し、読み出した操作情報に基づきロボットアーム40を制御することで、診断結果一覧を表示部20aに表示させるためのボタン操作をロボットアーム40に実行させる。
そして、診断ツール20は、ロボットアーム40によるボタン操作に応じてECU2に診断結果一覧の通知を要求するコマンドを送信し、ECU2からの応答情報としての診断結果一覧の情報を取得し、取得した情報に基づき表示部20aの表示内容をECU2の診断結果一覧の表示に切り替える。
In step S1250, the PC 11 reads button operations for displaying a list of diagnosis results by the ECU 2 on the display unit 20a of the diagnostic tool 20 from the database DB, and controls the robot arm 40 based on the read operation information. Then, the robot arm 40 is caused to execute a button operation for displaying the diagnosis result list on the display unit 20a.
Then, the diagnostic tool 20 transmits a command requesting the ECU 2 to notify the diagnosis result list in response to a button operation by the robot arm 40, acquires information on the diagnosis result list as response information from the ECU 2, and acquires the acquired information. Based on the above, the display content of the display unit 20a is switched to the display of the diagnosis result list of the ECU 2.

ここで、PC11は、診断ツール20の表示部20aにおける表示内容が、診断結果一覧に切り替わると、診断結果一覧の画面をカメラ30に撮影させ、カメラ30が撮影した画像信号を記録する。
そして、PC11は、ステップS1260にて、診断ツール20の表示部20aの表示内容の照合処理を実施し、次のステップS1270で照合結果を記録する。
Here, when the display content on the display unit 20a of the diagnostic tool 20 is switched to the diagnostic result list, the PC 11 causes the camera 30 to capture the screen of the diagnostic result list and records the image signal captured by the camera 30.
Then, in step S1260, the PC 11 performs collation processing of the display content of the display unit 20a of the diagnostic tool 20, and records the collation result in the next step S1270.

ステップS1260における照合処理の一例を、図17のフローチャートに従って説明する。
ステップS1310で、PC11は、表示部20aに表示された診断結果一覧の画面を撮影した画像信号を解析して診断サポート情報の表示内容を求め、係る表示内容と、ECU2の模擬動作における電気信号の設定情報とを比較する。
An example of the collation process in step S1260 will be described with reference to the flowchart of FIG.
In step S1310, the PC 11 analyzes the image signal obtained by capturing the screen of the diagnosis result list displayed on the display unit 20a to obtain the display content of the diagnostic support information. The display content and the electric signal in the simulation operation of the ECU 2 are obtained. Compare the setting information.

そして、診断ツール20の表示部20aに表示された診断サポート情報が、ECU2の模擬動作の設定に一致している場合、PC11はステップS1320にて、診断ツール20の表示部20aに診断サポート情報が正常に表示されたことを判定して記録する。
一方、診断ツール20の表示部20aに表示された診断サポート情報が、ECU2の模擬動作の設定に一致しない場合、PC11はステップS1330にて、診断ツール20の表示部20aにおける診断サポート情報の表示が異常であることを判定して記録する。
If the diagnostic support information displayed on the display unit 20a of the diagnostic tool 20 matches the setting of the simulation operation of the ECU 2, the PC 11 stores the diagnostic support information on the display unit 20a of the diagnostic tool 20 in step S1320. Judge that it was displayed normally and record it.
On the other hand, if the diagnostic support information displayed on the display unit 20a of the diagnostic tool 20 does not match the setting of the simulated operation of the ECU 2, the PC 11 displays the diagnostic support information on the display unit 20a of the diagnostic tool 20 in step S1330. Judge that it is abnormal and record it.

例えば、ECU2の模擬動作において正常状態が模擬される診断対象デバイス(模擬センサ信号のECU2への出力が設定されるセンサ)が、診断ツール20に表示された診断サポート情報においてエンジンに装備されていないことになっている場合、PC11は、ステップS1330に進み、診断ツール20における診断サポート情報の表示が異常であることを判定する。   For example, a device to be diagnosed whose normal state is simulated in the simulated operation of the ECU 2 (a sensor in which the output of the simulated sensor signal to the ECU 2 is set) is not mounted on the engine in the diagnostic support information displayed on the diagnostic tool 20 If it is determined, the PC 11 proceeds to step S1330 and determines that the display of the diagnostic support information on the diagnostic tool 20 is abnormal.

また、PC11は、ステップS1340にて、ECU2の模擬動作における電気信号の設定情報(異常/正常の設定情報)と、表示部20aを撮影した画像信号の解析によって求めた診断結果一覧の表示内容とを照合する。
そして、表示部20aを撮影した画像信号の解析によって求めた診断結果一覧の表示内容が、ECU2の模擬動作における電気信号の設定状態に一致する場合、PC11はステップS1350にて、診断ツール20の表示部20aに診断結果一覧の情報が正常に表示されたことを判定して記録する。
Further, in step S1340, the PC 11 sets the electric signal setting information (abnormal / normal setting information) in the simulated operation of the ECU 2 and the display contents of the diagnosis result list obtained by analyzing the image signal obtained by photographing the display unit 20a. Is matched.
If the display content of the diagnostic result list obtained by analyzing the image signal obtained by photographing the display unit 20a matches the set state of the electrical signal in the simulation operation of the ECU 2, the PC 11 displays the diagnostic tool 20 in step S1350. It is determined and recorded that information of the diagnosis result list is normally displayed on the unit 20a.

一方、表示部20aを撮影した画像信号の解析によって求めた診断結果一覧の表示内容が、ECU2の模擬動作における電気信号の設定状態に一致しない場合、PC11はステップS1360にて、診断ツール20の表示部20aにおける診断結果一覧の情報が異常であることを判定して記録する。
例えば、ECU2が模擬動作の設定に応じて正常判定したデバイスの情報を出力しない不良が生じると、PC11は、ステップS1360にて、診断ツール20の表示部20aにおける診断結果一覧の情報が異常であると判定することになる。
On the other hand, if the display content of the diagnostic result list obtained by analyzing the image signal obtained by photographing the display unit 20a does not match the setting state of the electrical signal in the simulation operation of the ECU 2, the PC 11 displays the diagnostic tool 20 in step S1360. It is determined and recorded that the information of the diagnosis result list in the unit 20a is abnormal.
For example, when a failure occurs in which the ECU 2 does not output information on a device that has been determined to be normal according to the setting of the simulated operation, the PC 11 has abnormal information in the diagnostic result list on the display unit 20a of the diagnostic tool 20 in step S1360. It will be determined.

上記のようにして、PC11は、診断ツール20の表示部20aにおける表示内容と、ECU2の模擬動作の設定に応じた基準の表示内容とを照合することで、診断ツール20及び/又はECU2の異常状態を診断できる。
なお、PC11は、故障コードの情報、診断ツール20がサポートするプロセスの情報、車両の識別情報などを診断ツール20の表示部20aに表示させるように、ロボットアーム40を制御して診断ツール20の操作部20bを自動操作し、係る操作によって診断ツール20の表示部20aに表示された内容をカメラ30で撮影し、撮影した画像を解析して検出した表示内容と、ECU2の模擬動作の設定に対応する基準の表示内容とを比較して、診断ツール20、ECU2の異常の有無を診断することができる。
As described above, the PC 11 collates the display content on the display unit 20a of the diagnostic tool 20 with the reference display content according to the setting of the simulated operation of the ECU 2, thereby causing an abnormality in the diagnostic tool 20 and / or the ECU 2. Can diagnose the condition.
The PC 11 controls the robot arm 40 to display the fault code information, the process information supported by the diagnostic tool 20, the vehicle identification information, and the like on the display unit 20 a of the diagnostic tool 20. The operation unit 20b is automatically operated, and the content displayed on the display unit 20a of the diagnostic tool 20 by such operation is captured by the camera 30, and the display content detected by analyzing the captured image and the setting of the simulation operation of the ECU 2 are set. The presence or absence of abnormality of the diagnostic tool 20 and the ECU 2 can be diagnosed by comparing the display contents of the corresponding reference.

上記の検査システムによると、診断ツール20の操作部20bを既定の順で自動的に操作し、また、実際の操作部20bの操作内容が目標の操作内容に一致しているか否かをカメラ30による撮影結果に基づき検証するので、操作ミスによる検査手順の誤りを抑制できる。
また、診断ツール20とECU2との間での通信ログを取得し、診断ツール20の表示部20aにおける表示内容と通信ログの内容とを照合し、また、操作部20bの操作内容と通信ログの内容とを照合することで、診断ツール20の異常の有無を検証するので、診断ツール20の異常によりECU2の検査精度が低下することを抑制できる。
According to the above inspection system, the operation unit 20b of the diagnostic tool 20 is automatically operated in a predetermined order, and the camera 30 determines whether or not the actual operation content of the operation unit 20b matches the target operation content. Since the verification is performed based on the imaging result, the inspection procedure error due to an operation error can be suppressed.
Further, a communication log between the diagnostic tool 20 and the ECU 2 is acquired, the display content on the display unit 20a of the diagnostic tool 20 and the content of the communication log are collated, and the operation content of the operation unit 20b and the communication log Since the presence or absence of abnormality of the diagnostic tool 20 is verified by collating the contents, it is possible to suppress a decrease in the inspection accuracy of the ECU 2 due to the abnormality of the diagnostic tool 20.

また、ECU2の模擬動作の設定と診断ツール20の表示内容とを比較し、また、ECU2の模擬動作の設定と通信ログの内容とを照合することで、診断ツール20の異常とECU2の異常とを区別することができる。
また、ECU2を模擬動作させる運転条件を複数種に切り替えることで、運転条件の違いによりECU2の動作不良が発生するか否かを検証できる。
そして、上記の検査システムを用いてECU2の検査を行えば、診断ツール20を作業員が手動で操作する場合に比べて、検査ミスを減らし、また、安定して短い時間で検査を行える。
Further, by comparing the setting of the simulated operation of the ECU 2 with the display content of the diagnostic tool 20, and by comparing the setting of the simulated operation of the ECU 2 with the content of the communication log, the abnormality of the diagnostic tool 20 and the abnormality of the ECU 2 are detected. Can be distinguished.
Further, by switching the operation conditions for simulating the ECU 2 to a plurality of types, it is possible to verify whether or not an operation failure of the ECU 2 occurs due to a difference in the operation conditions.
When the ECU 2 is inspected using the above-described inspection system, inspection mistakes can be reduced and the inspection can be stably performed in a short time compared to the case where the operator manually operates the diagnostic tool 20.

以上、好ましい実施形態を参照して本発明の内容を具体的に説明したが、本発明の基本的技術思想及び教示に基づいて、当業者であれば種々の変形態様を採り得ることは自明である。
本願発明に係る検査システムが検査する自動車用電子制御ユニットは、エンジンを制御するECU2に限定されず、例えば、自動車用の自動変速機を制御する電子制御ユニットや自動車用の空調装置を制御する電子制御ユニットなどの車載の各種電子制御ユニットに適用できる。
Although the contents of the present invention have been specifically described above with reference to the preferred embodiments, it is obvious that those skilled in the art can take various modifications based on the basic technical idea and teachings of the present invention. is there.
The electronic control unit for automobiles to be inspected by the inspection system according to the present invention is not limited to the ECU 2 for controlling the engine. For example, the electronic control unit for controlling the automatic transmission for automobiles and the electronic for controlling the air conditioner for automobiles. It can be applied to various on-vehicle electronic control units such as control units.

また、車載状態においてCANを介して相互通信可能に構成される複数の電子制御ユニットの1つについて検査を行う場合、検査対象の電子制御ユニットに与える電気信号として、他の電子制御ユニットが出力する信号を含めることができる。
また、ECU2及び/又は診断ツール20の異常を検出したときに、PC11の画面に警告表示を行ったり、作業者に異常検出を知らせるランプを点灯させたりする構成とすることができる。
Further, when an inspection is performed on one of a plurality of electronic control units configured to be able to communicate with each other via a CAN in a vehicle-mounted state, another electronic control unit outputs as an electric signal to be given to the electronic control unit to be inspected. A signal can be included.
Moreover, when abnormality of ECU2 and / or the diagnostic tool 20 is detected, it can be set as the structure which displays a warning on the screen of PC11, or lights the lamp | ramp which notifies an operator of abnormality detection.

1…検査システム、2…電子制御ユニット(ECU)、10…HILSシステム、11…HILS用パーソナルコンピュータ(PC)、13…通信監視部、20…診断ツール、20a…表示部、20b…操作部、30…カメラ(撮影装置)、40…ロボットアーム(機械装置)   DESCRIPTION OF SYMBOLS 1 ... Inspection system, 2 ... Electronic control unit (ECU), 10 ... HILS system, 11 ... Personal computer (PC) for HILS, 13 ... Communication monitoring part, 20 ... Diagnostic tool, 20a ... Display part, 20b ... Operation part, 30 ... Camera (photographing device), 40 ... Robot arm (mechanical device)

Claims (5)

表示部及び操作部を備え、検査対象の自動車用電子制御ユニットとの間で通信を行う診断ツールと、
前記診断ツールの操作部を操作する機械装置と、
前記操作部の基準操作内容及び前記表示部の基準表示内容を記憶する手段と、
前記基準操作内容に基づき前記機械装置を制御する手段と、
前記診断ツールの表示部を撮影する撮影装置と、
前記基準表示内容と前記撮影装置が撮影した前記表示部の画像から求めた表示内容とを照合する手段と、
を含む、自動車用電子制御ユニットの検査システム。
A diagnostic tool that includes a display unit and an operation unit, and communicates with an electronic control unit for an automobile to be inspected;
A mechanical device for operating the operation part of the diagnostic tool;
Means for storing the standard operation content of the operation unit and the standard display content of the display unit;
Means for controlling the mechanical device based on the reference operation content;
An imaging device for imaging the display unit of the diagnostic tool;
Means for collating the reference display content with the display content obtained from the image of the display unit photographed by the photographing device;
An inspection system for an electronic control unit for automobiles
前記撮影装置は、前記診断ツールの表示部及び操作部を撮影し、
前記基準操作内容と前記撮影装置が撮影した前記操作部の画像から求めた操作内容とを照合する手段を更に含む、請求項1記載の自動車用電子制御ユニットの検査システム。
The photographing apparatus photographs the display unit and the operation unit of the diagnostic tool,
The inspection system for an automobile electronic control unit according to claim 1, further comprising means for collating the reference operation content with the operation content obtained from the image of the operation unit photographed by the photographing apparatus.
前記診断ツールと前記自動車用電子制御ユニットとの間での基準通信情報を記憶する手段と、
前記診断ツールと前記自動車用電子制御ユニットとの間で通信ログを取得する手段と、
前記通信ログと前記基準通信情報とを照合する手段と、
を更に含む、請求項1又は2記載の自動車用電子制御ユニットの検査システム。
Means for storing reference communication information between the diagnostic tool and the automotive electronic control unit;
Means for acquiring a communication log between the diagnostic tool and the automotive electronic control unit;
Means for collating the communication log with the reference communication information;
The inspection system for an electronic control unit for automobiles according to claim 1 or 2, further comprising:
前記照合の結果を示すデータ及び前記撮影装置が撮影した画像を記憶する手段を更に含む、請求項1から3のいずれか1つに記載の自動車用電子制御ユニットの検査システム。   The inspection system for an electronic control unit for an automobile according to any one of claims 1 to 3, further comprising means for storing data indicating a result of the collation and an image photographed by the photographing apparatus. 前記自動車用電子制御ユニットは、自動車に搭載されるエンジンを制御するエンジン制御ユニットであり、
エンジンモデルが実装されるHILSシステムを含む、請求項1から4のいずれか1つに記載の自動車用電子制御ユニットの検査システム。
The vehicle electronic control unit is an engine control unit that controls an engine mounted on the vehicle,
The inspection system for an automobile electronic control unit according to any one of claims 1 to 4, comprising a HILS system in which an engine model is mounted.
JP2014135954A 2014-07-01 2014-07-01 Inspection system for electronic control unit for automobile Expired - Fee Related JP6297937B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2014135954A JP6297937B2 (en) 2014-07-01 2014-07-01 Inspection system for electronic control unit for automobile

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2014135954A JP6297937B2 (en) 2014-07-01 2014-07-01 Inspection system for electronic control unit for automobile

Publications (2)

Publication Number Publication Date
JP2016014558A true JP2016014558A (en) 2016-01-28
JP6297937B2 JP6297937B2 (en) 2018-03-20

Family

ID=55230867

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2014135954A Expired - Fee Related JP6297937B2 (en) 2014-07-01 2014-07-01 Inspection system for electronic control unit for automobile

Country Status (1)

Country Link
JP (1) JP6297937B2 (en)

Cited By (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2020501221A (en) * 2016-10-20 2020-01-16 ワイ ソフト コーポレーション アー エスY Soft Corporation,A.S. General-purpose automated testing of embedded systems
JP2020021294A (en) * 2018-08-01 2020-02-06 Necプラットフォームズ株式会社 Device failure detection apparatus, failure detection method, and failure detection program
WO2020179574A1 (en) * 2019-03-01 2020-09-10 本田技研工業株式会社 Diagnostic machine inspection system and diagnostic machine inspection method
CN113330321A (en) * 2019-01-21 2021-08-31 Lg 伊诺特有限公司 Apparatus for detecting failure and method thereof

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH07175502A (en) * 1993-12-17 1995-07-14 Nissan Motor Co Ltd Fault diagnostic device for vehicle
JP2009098440A (en) * 2007-10-17 2009-05-07 Denso Corp Display inspection system
US20090259358A1 (en) * 2008-04-14 2009-10-15 Innova Electronics Corp Automotive DTC live data diagnostics
JP2012007979A (en) * 2010-06-24 2012-01-12 Caterpillar Sarl Remote control inspection support device of automatic inspection device
JP2012122766A (en) * 2010-12-06 2012-06-28 Denso Corp Inspection system

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH07175502A (en) * 1993-12-17 1995-07-14 Nissan Motor Co Ltd Fault diagnostic device for vehicle
JP2009098440A (en) * 2007-10-17 2009-05-07 Denso Corp Display inspection system
US20090259358A1 (en) * 2008-04-14 2009-10-15 Innova Electronics Corp Automotive DTC live data diagnostics
JP2012007979A (en) * 2010-06-24 2012-01-12 Caterpillar Sarl Remote control inspection support device of automatic inspection device
JP2012122766A (en) * 2010-12-06 2012-06-28 Denso Corp Inspection system

Cited By (11)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2020501221A (en) * 2016-10-20 2020-01-16 ワイ ソフト コーポレーション アー エスY Soft Corporation,A.S. General-purpose automated testing of embedded systems
US10997045B2 (en) 2016-10-20 2021-05-04 Y Soft Corporation, A.S. Universal automated testing of embedded systems
JP2020021294A (en) * 2018-08-01 2020-02-06 Necプラットフォームズ株式会社 Device failure detection apparatus, failure detection method, and failure detection program
CN113330321A (en) * 2019-01-21 2021-08-31 Lg 伊诺特有限公司 Apparatus for detecting failure and method thereof
JP2022520010A (en) * 2019-01-21 2022-03-28 エルジー イノテック カンパニー リミテッド Failure detector and its method
WO2020179574A1 (en) * 2019-03-01 2020-09-10 本田技研工業株式会社 Diagnostic machine inspection system and diagnostic machine inspection method
CN113474631A (en) * 2019-03-01 2021-10-01 本田技研工业株式会社 Diagnostic machine inspection system and diagnostic machine inspection method
JPWO2020179574A1 (en) * 2019-03-01 2021-12-16 本田技研工業株式会社 Diagnostic machine verification system and diagnostic machine verification method
US20220146376A1 (en) * 2019-03-01 2022-05-12 Honda Motor Co., Ltd. Diagnosis device verification system and diagnosis device verification method
JP7194804B2 (en) 2019-03-01 2022-12-22 本田技研工業株式会社 Diagnostic machine verification system and diagnostic machine verification method
CN113474631B (en) * 2019-03-01 2024-04-19 本田技研工业株式会社 Diagnostic machine inspection system and diagnostic machine inspection method

Also Published As

Publication number Publication date
JP6297937B2 (en) 2018-03-20

Similar Documents

Publication Publication Date Title
JP6297937B2 (en) Inspection system for electronic control unit for automobile
US6947817B2 (en) Non-intrusive diagnostic tool for sensing oxygen sensor operation
US7869908B2 (en) Method and system for data collection and analysis
US20100023203A1 (en) Diagnosis system and method for assisting a user
US7634351B2 (en) Diagnostic tool for sensing oxygen sensor heater operation
US11721140B2 (en) System and method for presentation of remote vehicle diagnostics and service guidance through a local vehicle service system
JP2010137644A (en) Failure diagnosis device for vehicle
US10102690B2 (en) Non-starting engine remote diagnostic
CN113645385A (en) Method and device for diagnosing automobile fault by endoscope
JP2006085708A (en) Control device and control method for console
JP4286760B2 (en) A marine pneumatic self-diagnosis system and method, and a computer-readable recording medium on which a program for realizing the method is recorded.
JP2012122766A (en) Inspection system
KR20210098124A (en) Fault diagnosis system of vehicle
JP2006219092A (en) Vehicle diagnostic system, vehicle diagnostic method, and diagnostic device for vehicle
CN115188093A (en) Automatic evaluation device for built-in video recording device of vehicle, system having the same, and method thereof
JPH05172701A (en) Trouble diagnosing apparatus for automobile
US20230401904A1 (en) Test system, control device, test method, and test system program
JP7194804B2 (en) Diagnostic machine verification system and diagnostic machine verification method
JPH05172704A (en) Trouble diagnosing apparatus for vehicle
WO2022162817A1 (en) Failure diagnosis system, failure diagnosis method, and program
CN112596972B (en) Test method, device and system of vehicle-mounted equipment and computer equipment
US20220180674A1 (en) Method and Apparatus for Determining Virtual Fault Code of Vehicle Controller
JPH05180731A (en) Diagnosing apparatus of fault for vehicle
US20230110616A1 (en) Fault model editor and diagnostic tool
JPH05174286A (en) Data communication equipment for on-vehicle electronic controller

Legal Events

Date Code Title Description
A621 Written request for application examination

Free format text: JAPANESE INTERMEDIATE CODE: A621

Effective date: 20170315

A977 Report on retrieval

Free format text: JAPANESE INTERMEDIATE CODE: A971007

Effective date: 20171212

A131 Notification of reasons for refusal

Free format text: JAPANESE INTERMEDIATE CODE: A131

Effective date: 20171219

A521 Request for written amendment filed

Free format text: JAPANESE INTERMEDIATE CODE: A523

Effective date: 20180118

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

A61 First payment of annual fees (during grant procedure)

Free format text: JAPANESE INTERMEDIATE CODE: A61

Effective date: 20180222

R150 Certificate of patent or registration of utility model

Ref document number: 6297937

Country of ref document: JP

Free format text: JAPANESE INTERMEDIATE CODE: R150

R250 Receipt of annual fees

Free format text: JAPANESE INTERMEDIATE CODE: R250

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

R250 Receipt of annual fees

Free format text: JAPANESE INTERMEDIATE CODE: R250

LAPS Cancellation because of no payment of annual fees