JP2573330B2 - Vehicle diagnostic system - Google Patents

Vehicle diagnostic system

Info

Publication number
JP2573330B2
JP2573330B2 JP63243671A JP24367188A JP2573330B2 JP 2573330 B2 JP2573330 B2 JP 2573330B2 JP 63243671 A JP63243671 A JP 63243671A JP 24367188 A JP24367188 A JP 24367188A JP 2573330 B2 JP2573330 B2 JP 2573330B2
Authority
JP
Japan
Prior art keywords
data
electronic control
vehicle
vehicle diagnostic
communication
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Expired - Lifetime
Application number
JP63243671A
Other languages
Japanese (ja)
Other versions
JPH0291451A (en
Inventor
邦宏 阿部
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Subaru Corp
Original Assignee
Fuji Heavy Industries 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 Fuji Heavy Industries Ltd filed Critical Fuji Heavy Industries Ltd
Priority to JP63243671A priority Critical patent/JP2573330B2/en
Publication of JPH0291451A publication Critical patent/JPH0291451A/en
Application granted granted Critical
Publication of JP2573330B2 publication Critical patent/JP2573330B2/en
Anticipated expiration legal-status Critical
Expired - Lifetime legal-status Critical Current

Links

Landscapes

  • Electrical Control Of Air Or Fuel Supplied To Internal-Combustion Engine (AREA)
  • Combined Controls Of Internal Combustion Engines (AREA)

Description

【発明の詳細な説明】 [産業上の利用分野] 本発明は、車輌に搭載された複数の電子制御装置の故
障診断を行う車輌診断システムに関する。
Description: TECHNICAL FIELD The present invention relates to a vehicle diagnosis system for performing a failure diagnosis of a plurality of electronic control units mounted on a vehicle.

[従来の技術] 従来、車輌に搭載された電子制御装置は、マイクロコ
ンピュータなどを用いて、例えば、空燃化などを電子的
に制御しており、この電子制御装置には、センサ類、あ
るいは、アクチュエータ類に故障が発生した場合、自己
診断ランプを点灯(あるいは点滅)させて故障を知らせ
る自己診断機能が備えられているものが多い。
[Prior Art] Conventionally, an electronic control device mounted on a vehicle electronically controls, for example, air-fueling using a microcomputer or the like, and the electronic control device includes sensors or In many cases, a self-diagnosis function is provided in which a self-diagnosis lamp is turned on (or blinks) when a failure occurs in the actuators to notify the failure.

しかし、上記自己診断ランプの点灯(あるいは点滅)
のみでは、実際の故障状況がどの程度のものか容易に判
明することができないため、ディーラのサービスステー
ションなどでは、上記電子制御装置から出力されるデー
タをコード表示して容易にチェックすることのできる車
輌診断装置の装備が不可欠であり、この車輌診断装置
は、例えば、特開昭58−12848号公報に開示されてい
る。
However, lighting (or blinking) of the self-diagnosis lamp
It is not possible to easily find out the actual failure status by using only the data. Therefore, at a dealer service station or the like, the data output from the electronic control unit can be easily displayed by displaying a code. It is essential to equip a vehicle diagnostic device, and this vehicle diagnostic device is disclosed in, for example, Japanese Patent Application Laid-Open No. 58-12848.

また、エンジン制御、トランスミッション制御、ブレ
ーキ制御、クルーズ制御などを行う電子制御装置が複数
の制御ユニットとして車輌に搭載されているものでは、
例えば、特開昭58−26648号公報に開示されているよう
に、複数の制御装置に制御装置自身の制御異常を検出し
て異常信号を発生させる機能を持たせ、この複数の制御
装置からの異常信号の発生を集中管理装置にて集中管理
するとともに異常信号の発生に対して異常発生内容を表
示装置に表示させることによって、車輌に備えた複数の
制御装置のうちの特定の制御装置の異常内容を集中管理
による表示にて車輌の運転者に認識させることができる
ようになっている。
Also, in the case where electronic control devices for performing engine control, transmission control, brake control, cruise control, etc. are mounted on a vehicle as a plurality of control units,
For example, as disclosed in JP-A-58-26648, a plurality of control devices are provided with a function of detecting a control abnormality of the control device itself and generating an abnormality signal. By centrally managing the occurrence of the abnormal signal by the centralized control device and displaying the content of the abnormal occurrence on the display device in response to the occurrence of the abnormal signal, the abnormality of a specific control device among the plurality of control devices provided in the vehicle is controlled. The contents can be displayed to the driver of the vehicle by the centralized management display.

しかしながら、上記集中管理装置は予め決められた手
順による各制御装置の故障診断を行うのみであるため、
故障発生原因が複数の制御装置に係わる場合、外部に車
輌診断装置を接続して任意の制御装置のデータを読み取
って有機的に故障診断を行う必要が多々有る。そのよう
な場合の、ディーラのサービスステーションなどでそれ
ぞれの制御装置のコネクタに車輌診断装置のコネクタを
接続して故障診断を行わなければならず、作業が煩雑と
なって故障診断が容易でなく、故障発見に時間がかかる
という問題があった。
However, since the centralized management device only performs a failure diagnosis of each control device according to a predetermined procedure,
When the cause of the failure is related to a plurality of control devices, it is often necessary to connect a vehicle diagnostic device externally and read data of an arbitrary control device to perform an organic fault diagnosis. In such a case, the failure diagnosis must be performed by connecting the connector of the vehicle diagnosis device to the connector of each control device at a dealer's service station or the like. There is a problem that it takes time to find a failure.

これに対処するため、エンジン制御、トランスミッシ
ョン制御、ブレーキ制御、クルーズ制御を行う複数の電
子制御装置を搭載した車輌に対し、これら複数の電子制
御装置を故障診断する場合には、各電子制御装置をバス
ラインを介して並列に接続し、このバスラインに車輌診
断装置を接続して各電子制御装置内の入出力データを診
断するシステムが開発されている。
In order to cope with this, for a vehicle equipped with a plurality of electronic control units that perform engine control, transmission control, brake control, and cruise control, when performing a failure diagnosis of the plurality of electronic control units, the respective electronic control units must be connected to each other. A system has been developed which is connected in parallel via a bus line, and a vehicle diagnostic device is connected to the bus line to diagnose input / output data in each electronic control unit.

[発明が解決しようとしている課題] しかし、上記車輌診断装置と電子制御装置との間で通
信関係が一旦成立すると、電子制御装置はデータ送信を
連続して行うため、現在診断中の電子制御装置から他の
電子制御装置に対する入出力データの診断に切換えるに
際し、上記電子制御装置からのデータ連続送信を中止す
るには、上記車輌診断装置の電源をオフし、且つ車輌を
停止させてキースイッチをオフにし、エンジンを停止さ
せると共に上記電子制御装置の電源をオフすることで、
電子制御装置にリセットを掛けなければならず、診断作
業が煩雑となる。
[Problems to be Solved by the Invention] However, once a communication relationship is established between the vehicle diagnostic device and the electronic control device, the electronic control device continuously performs data transmission. In order to stop continuous data transmission from the electronic control unit when switching to diagnosis of input / output data for another electronic control unit from, turn off the vehicle diagnostic device, stop the vehicle, and press the key switch. By turning off, stopping the engine and turning off the power of the electronic control unit,
The electronic control unit must be reset, which complicates the diagnostic work.

なお、特開昭62−150135号公報には、車輌に搭載され
る複数の電子制御装置をデータバスによるネットワーク
を介して接続し、このデータバスに入力並びに表示装置
を接続して、この入力並びに表示装置から上記複数の電
子制御装置の少なくとも一つを選択して該選択された電
子制御装置を動作制御する制御指令信号を出力し、選択
された電子制御装置を動作制御させ、該電子制御装置に
おける動作状態検出信号を入力並びに表示装置に入力し
て表示することで、各制御システムに設定されるセンサ
類およびアクチュエータ類の動作状態を容易に検査する
ことを可能とする技術が開示されている。
Japanese Patent Application Laid-Open No. Sho 62-150135 discloses that a plurality of electronic control units mounted on a vehicle are connected via a data bus network, and an input and a display device are connected to the data bus. Selecting at least one of the plurality of electronic control devices from a display device, outputting a control command signal for controlling the operation of the selected electronic control device, and controlling the operation of the selected electronic control device; A technology has been disclosed that enables the operation state of sensors and actuators set in each control system to be easily inspected by inputting and displaying an operation state detection signal in the above and a display device. .

しかしながら、上記先行列の場合であっても、入力並
びに表示装置と選択された電子制御装置との間で通信が
一旦成立すると、該電子制御装置は入力並びに表示装置
へ動作状態検出信号を送信し続けることになる。
However, even in the case of the above matrix, once communication is established between the input and display device and the selected electronic control device, the electronic control device transmits an operation state detection signal to the input and display device. Will continue.

すなわち、上記先行列における入力並びに表示装置を
車輌診断装置とした場合であっても、車輌診断装置と選
択された電子制御装置との間で通信が一旦成立すると、
該電子制御装置は車輌診断装置へ動作状態検出信号を送
信し続けることになり、バスラインが開放されず、他の
電子制御装置へ変更してデータ送信要求により他の電子
制御装置からデータを得ようとしても、この電子制御装
置からのデータ送信ができない。
That is, even when the input and display device in the front matrix is a vehicle diagnostic device, once communication is established between the vehicle diagnostic device and the selected electronic control device,
The electronic control unit will continue to transmit the operation state detection signal to the vehicle diagnostic device, the bus line will not be opened, and change to another electronic control unit to obtain data from another electronic control unit by a data transmission request. In this case, data cannot be transmitted from the electronic control unit.

また、車輌診断装置からネットワークにデータ要求信
号を出力すれば、複数の電子制御装置全てにデータ要求
信号が入力されるため、車輌搭載の各電子制御装置にお
いても、これに対処する必要がある。すなわち、車輌診
断装置からデータ要求信号が複数の各電子制御装置に入
力された場合、各電子制御装置において適切な処理を施
さないと、車輌診断装置によって指定されていない電子
制御装置において不必要な演算負担が増加し、電子制御
装置における通常の制御処理に影響を与える虞がある。
In addition, when a data request signal is output from the vehicle diagnostic device to the network, the data request signal is input to all of the plurality of electronic control devices. Therefore, each of the electronic control devices mounted on the vehicle needs to cope with this. In other words, when a data request signal is input from the vehicle diagnostic device to each of the plurality of electronic control devices, unnecessary processing is not performed in the electronic control devices not specified by the vehicle diagnostic device unless appropriate processing is performed in each electronic control device. There is a possibility that the calculation load increases, which affects normal control processing in the electronic control unit.

本発明は上記事情に鑑み、車輌に搭載された複数の電
子制御装置をネットワークを介して接続し、このネット
ワークに車輌診断装置を接続して各電子制御装置におけ
る入出力データを診断する車輌診断システムにおいて、
現在診断中の電子制御装置から他の電子制御装置に対す
る入出力データの診断に切換えるに際し、各電子制御装
置の電源をオフすることなく現在診断中の電子制御装置
におけるデータピックアップ及び該データの車輌診断装
置への送信を簡単に停止させることができ、複数の電子
制御装置にまたがる故障診断を容易にすると共に、各電
子制御装置において不必要に演算負担が増加することを
防止する車輌診断システムを提供することを目的とす
る。
In view of the above circumstances, the present invention connects a plurality of electronic control devices mounted on a vehicle via a network, connects the vehicle diagnostic device to the network, and diagnoses input / output data in each electronic control device. At
When switching from the currently diagnosed electronic control unit to the diagnosis of input / output data for another electronic control unit, the data pickup in the currently diagnosed electronic control unit and the vehicle diagnosis of the data without turning off the power of each electronic control unit. Provided is a vehicle diagnostic system that can easily stop transmission to devices, facilitate failure diagnosis across a plurality of electronic control devices, and prevent unnecessary increase in computational load in each electronic control device. The purpose is to do.

[課題を解決するための手段] 上記目的を達成するため本発明は、車輌に搭載されネ
ットワークを介して接続された複数の電子制御装置と、
上記ネットワークに接続して双方向通信により上記各電
子制御装置の入出力データを診断する車輌診断装置とか
らなる車輌診断システムにおいて、上記車輌診断装置に
は、操作入力手段からの操作入力に応じ診断対象を切換
えることを示すコール切換ビット及び上記電子制御装置
のうちのいずれかを指定すると共に返信データを指定す
るデータからなる通信データを上記ネットワークを介し
て上記各電子制御装置へ送信すると共に、上記各電子制
御装置からのデータを受信する通信手段を備え、さら
に、上記各電子制御装置には、上記車輌診断装置からの
通信データを受信して該通信データにおけるコール切換
ビットに応じ上記データによるコール対象が自己の電子
制御装置に対するものか否かを判断し、コール対象が自
己に対するときには、ピックアップされたデータを上記
車輌診断装置に送信し、他の電子制御装置に対するとき
にはデータ送信を中止するデータ通信手段と、上記返信
データを指定するデータに応じ、現在実行中の処理を中
断して該返信データを指定するデータに対応するデータ
をピックアップするデータピックアップ手段と、コール
対象が自己の電子制御装置に対するとき、上記返信デー
タを指定するデータの内容を解読して上記データピック
アップ手段にデータピックアップを指示し、コール対象
が他の電子制御装置に対するときには、上記データピッ
クアップ手段によるデータのピックアップを中止させる
解読手段とを備えることを特徴とする。
Means for Solving the Problems To achieve the above object, the present invention provides a plurality of electronic control units mounted on a vehicle and connected via a network,
A vehicle diagnostic system comprising a vehicle diagnostic device connected to the network and diagnosing input / output data of each of the electronic control devices through two-way communication, wherein the vehicle diagnostic device has a diagnostic function in response to an operation input from an operation input means. A call switching bit indicating that the target is to be switched, and communication data consisting of data specifying return data while specifying any of the electronic control devices, is transmitted to each of the electronic control devices via the network, and Communication means for receiving data from each of the electronic control devices; and further, each of the electronic control devices receives communication data from the vehicle diagnostic device and performs a call based on the data in accordance with a call switching bit in the communication data. Determine if the target is for your own electronic control unit, and if the call target is for yourself, The data communication means for transmitting the picked-up data to the vehicle diagnostic device and stopping the data transmission when the data is transmitted to another electronic control device. Data pick-up means for picking up data corresponding to the data designating the reply data, and when the call target is to the own electronic control unit, decode the contents of the data designating the reply data and perform data pickup to the data pick-up means. When the call target is directed to another electronic control device, a decoding means for stopping the data pickup by the data pickup means is provided.

[作 用] 本発明では、車輌搭載の複数の電子制御装置を接続す
るネットワークに車輌診断装置を接続して電子制御装置
における入出力データを診断するに際し、操作入力手段
からの操作入力に応じて、車輌診断装置から各電子制御
装置へ、診断対象を切換えることを示すコール切換ビッ
ト及び上記複数の電子制御装置のうちのいずれかを指定
すると共に返信データを指定するデータからなる通信デ
ータが送信されると、各電子制御装置では、受信した通
信データにおけるコール切換ビットに応じ、上記データ
によるコール対象が自己の電子制御装置に対するものか
否かを判断し、自己の電子制御装置に対するとき、現在
実行中の処理を中断し、上記返信データを指定するデー
タに対応するデータをピックアップして車輌診断装置へ
送信し、また、コール対象が他の電子制御装置に対する
ときには、該電子制御装置においてデータピックアップ
及び車輌診断装置へのデータ送信が中止される。
[Operation] In the present invention, when a vehicle diagnostic device is connected to a network connecting a plurality of electronic control devices mounted on a vehicle to diagnose input / output data in the electronic control device, the diagnostic device responds to an operation input from operation input means. Communication data including a call switching bit indicating that a diagnosis target is to be switched and data specifying one of the plurality of electronic control devices and return data is transmitted from the vehicle diagnosis device to each electronic control device. Then, each electronic control unit determines whether the call target by the data is to its own electronic control unit in accordance with the call switching bit in the received communication data. Interrupting the process during, picking up data corresponding to the data designating the reply data and transmitting it to the vehicle diagnostic device, And, when the call subject to other electronic control unit, data transmission to the data pickup and the vehicle diagnostic apparatus is stopped in the electronic control unit.

[発明の実施例] 以下、図面を参照して本発明の実施例を説明する。Hereinafter, embodiments of the present invention will be described with reference to the drawings.

第1図〜第5図は本発明の第1実施例を示し、第1図
(a)は車輌の概略側面図、、同図(b)は車輌診断装
置の正面図、第2図は車輌搭載の各電子制御装置及び車
輌診断装置の回路構成図、第3図は各電子制御装置及び
車輌診断装置における機能ブロック図、第4図(a)は
車輌診断装置における動作手順を示すフローチャート、
同図(b)は各電子制御装置における動作手順を示すフ
ローチャート、第5図は通信データのフォーマットを示
す説明図である。
1 to 5 show a first embodiment of the present invention. FIG. 1 (a) is a schematic side view of a vehicle, FIG. 1 (b) is a front view of a vehicle diagnostic device, and FIG. 2 is a vehicle. FIG. 3 is a functional block diagram of each electronic control device and the vehicle diagnostic device, FIG. 4 (a) is a flowchart showing an operation procedure in the vehicle diagnostic device,
FIG. 5B is a flowchart showing an operation procedure in each electronic control device, and FIG. 5 is an explanatory diagram showing a format of communication data.

第1図において、符号500は自動車などの車輌、501は
この車輌500に搭載されて空燃比制御などを行う電子制
御装置(ECU)からなるエンジン制御ユニットであり、5
02はECUからなるトランスミッション制御ユニット、503
はアンチロック制御などを行うECUからなるブレーキ制
御ユニット、504は車輌の走行に必要な各種情報を演算
処理によって求め、定速走行を制御するECUからなるク
ルーズ制御ユニットである。
In FIG. 1, reference numeral 500 denotes a vehicle such as an automobile, and 501 denotes an engine control unit including an electronic control unit (ECU) mounted on the vehicle 500 and performing an air-fuel ratio control and the like.
02 is a transmission control unit consisting of ECU, 503
Is a brake control unit composed of an ECU that performs anti-lock control and the like, and 504 is a cruise control unit composed of an ECU that obtains various information necessary for traveling of the vehicle by arithmetic processing and controls traveling at a constant speed.

上記ECU501〜504は、第2図に示すようにキースイッ
チSW10により開閉されるリレーRY1を介して電源BVに接
続され、中央処理装置(CPU)501a〜504aと、読み書き
両用メモリ(RAM)501b〜504bと、読出し専用メモリ(R
OM)501c〜504cと、不揮発性読み書き両用メモリ(不揮
発性RAM)501d〜504dと、入力インタフェース501g〜504
gと、出力インタフェース501e〜504eとをそれぞれ有
し、上記RAM501b〜504bには、各種演算処理された一時
的なパラメータが格納され、不揮発性RAM501d〜504dに
は制御用のマップなどが格納され、上記ROM501c〜504c
には、プログラムおよび固定データなどが格納されてい
る。
The ECUs 501 to 504 are connected to a power supply BV via a relay RY1 opened and closed by a key switch SW10 as shown in FIG. 2, and have a central processing unit (CPU) 501a to 504a and a read / write memory (RAM) 501b to 504b and read-only memory (R
OM) 501c to 504c, nonvolatile read / write memory (nonvolatile RAM) 501d to 504d, and input interfaces 501g to 504
g, output interfaces 501e to 504e, respectively, the RAMs 501b to 504b store temporary parameters subjected to various arithmetic processing, and the nonvolatile RAMs 501d to 504d store control maps and the like. ROM 501c to 504c above
Stores a program and fixed data.

そして、上記ECU501は、上記入力インタフェース501g
を介して、冷却水温センサ9、O2センサ10、吸入空気量
センサ11、エアコンスイッチSW1、車速センサ13、アク
セルスイッチSW5、スロットル開度センサ15、ニュート
ラルスイッチSW3、エンジン回転数センサ17からの各信
号を取込み、上記ROM501cに格納されているプログラム
に従って、データ処理し、上記RAM501bに一旦格納した
後、上記CPU501aで、この格納されているデータに基づ
き種々の演算処理を行い、この演算処理されたデータに
基づき、上記出力インタフェース501e、駆動回路501hを
介して、キャニスタパージソレノイド19、EGRアクチュ
エータ20、アイドル制御アクチュエータ21、イグニッシ
ョンコイル22、およびインジェクタ23などに制御信号を
出力し、必要なエンジン制御を行う。
Then, the ECU 501 is connected to the input interface 501g.
Via the cooling water temperature sensor 9, the O2 sensor 10, the intake air amount sensor 11, the air conditioner switch SW1, the vehicle speed sensor 13, the accelerator switch SW5, the throttle opening sensor 15, the neutral switch SW3, and the engine speed sensor 17 In accordance with the program stored in the ROM 501c, the data is processed, and once stored in the RAM 501b, the CPU 501a performs various arithmetic processing based on the stored data. Based on the above, a control signal is output to the canister purge solenoid 19, the EGR actuator 20, the idle control actuator 21, the ignition coil 22, the injector 23, and the like via the output interface 501e and the drive circuit 501h to perform necessary engine control. .

また、ECU502は、上記入力インタフェース502gを介し
て、エンジン回転数センサ17、車速センサ13、アクセル
スイッチSW5、スロットル開度センサ15、ニュートラル
スイッチSW3の各信号を取組み、変速指令を出力インタ
フェース502e、駆動回路502hを介してA/Tアクチュエー
タ525に与え、運転状態に応じて変速制御を行う。
Also, the ECU 502 engages with the signals of the engine speed sensor 17, the vehicle speed sensor 13, the accelerator switch SW5, the throttle opening sensor 15, and the neutral switch SW3 via the input interface 502g, and outputs a shift command to the output interface 502e. The control is given to the A / T actuator 525 via the circuit 502h, and shift control is performed according to the operation state.

また、ECU503は、上記入力インタフェース503gを介し
て、ブレーキスイッチSW6、車輪速センサ527の各信号を
取込み、ROM503cの制御プログラムに従ってアンチロッ
クのための制御演算を行い、その制御信号を、出力イン
タフェース503e、駆動回路503hを介してABSブレーキア
クチュエータ528へ出力し、アンチロック(アンチスキ
ッド)制御を行う。
The ECU 503 receives the signals of the brake switch SW6 and the wheel speed sensor 527 via the input interface 503g, performs a control operation for antilock according to the control program of the ROM 503c, and outputs the control signal to the output interface 503e. The signal is output to the ABS brake actuator 528 via the drive circuit 503h to perform anti-lock (anti-skid) control.

また、ECU504は、上記入力インタフェース504gを介し
て、定速走行設定スイッチSW7、車速センサ13からの信
号を取込み、出力インタフェース504e、駆動回路504hを
介してスロットルアクチュエータ530を制御し定速走行
制御を行い、ブレーキスイッチSW6、アクセルスイッチS
W5、ニュートラルスイッチSW3、減速スイッチSW8、リジ
ュームスイッチSW9の各スイッチからの信号が上記入力
インタフェース504gを介して入力されると、定速走行の
解除あるいは加減速を伴う定速走行の再設定などを行な
う。
The ECU 504 also receives a signal from the constant speed travel setting switch SW7 and the vehicle speed sensor 13 via the input interface 504g, controls the throttle actuator 530 via the output interface 504e and the drive circuit 504h, and performs constant speed travel control. Perform, brake switch SW6, accelerator switch S
When signals from the switches W5, neutral switch SW3, deceleration switch SW8, and resume switch SW9 are input via the input interface 504g, release of constant speed traveling or resetting of constant speed traveling with acceleration / deceleration is performed. Do.

また、上記ECU501〜504はそれぞれの入力インタフェ
ース501g〜504g、および、出力インタフェース501e〜50
4eがバスライン500aで接続されてネットワークを構成し
ている。上記バスライン500aには、外部接続ポートを構
成する外部接続用コネクタ24が接続され、この外部接続
用コネクタ24に、車輌診断装置25の入出力コネクタ26
が、アダプタハーネス27を介して接続される。
The ECUs 501 to 504 have input interfaces 501g to 504g and output interfaces 501e to 50e, respectively.
4e are connected by a bus line 500a to form a network. An external connection connector 24 constituting an external connection port is connected to the bus line 500a. The input / output connector 26 of the vehicle diagnostic device 25 is connected to the external connection connector 24.
Are connected via an adapter harness 27.

この車輌診断装置25はディーラのサービスステーショ
ンなどに備えるもので、内部には制御部28、電源回路29
などが設けられ、また、外部にはインジケータ部30、デ
ィスプレイ31、操作入力手段としてのキーボード32など
が設けられている。
The vehicle diagnostic device 25 is provided at a dealer's service station or the like, and has a control unit 28, a power supply circuit 29 therein.
Further, an indicator unit 30, a display 31, a keyboard 32 as operation input means, and the like are provided outside.

上記制御部28は、互いにバスライン35を介して接続す
るCPU36、RAM37、周波数カウンタなどからなるタイマ3
8、入出力(I/O)インタフェース40、さらに接続コネク
タ33を介して外部接続自在なメモリカートリッジ34から
構成されている。
The control unit 28 includes a timer 36 including a CPU 36, a RAM 37, a frequency counter, and the like, which are connected to each other via a bus line 35.
8. An input / output (I / O) interface 40 and a memory cartridge 34 that can be externally connected via a connector 33.

このI/Oインタフェース40の入力側に、上記各種スイ
ッチ類の出力信号が上記ECU501〜504の出力インタフェ
ース501e〜504eを経て入力される。さらに、このI/Oイ
ンタフェース40の出力側に上記インジケータ部30が接続
されており、上記各種スイッチ類をオン,オフさせるこ
とで、そのスイッチに対応するインジケータ部30の発光
ダイオード(LED)D1,D2…D10が点灯(あるいは点滅)
し、各種スイッチ類の作動認識を行えるよう構成されて
いる。
Output signals of the various switches are input to the input side of the I / O interface 40 via the output interfaces 501e to 504e of the ECUs 501 to 504. Further, the indicator section 30 is connected to the output side of the I / O interface 40. By turning on and off the various switches, the light emitting diodes (LED) D1, D1 of the indicator section 30 corresponding to the switches are connected. D2 ... D10 lights (or flashes)
In addition, the operation of various switches can be recognized.

また、上記I/Oインタフェース40の入力側には、上記
キーボード32のモード選択信号と、上記ECU501〜504の
出力インタフェース501e〜504eから上記駆動回路501h〜
504hへ出力される各種制御信号、および、上記各種セン
サ類の出力信号とが入力される。さらに、このI/Oイン
タフェース40の出力側が上記ECU501〜504の入力インタ
フェース501g〜504gと上記ディスプレイ31とに接続され
ている。
Also, on the input side of the I / O interface 40, the mode selection signal of the keyboard 32 and the output interfaces 501e to 504e of the ECUs 501 to 504 to the drive circuits 501h to
Various control signals output to 504h and output signals from the various sensors are input. Further, the output side of the I / O interface 40 is connected to the input interfaces 501g to 504g of the ECUs 501 to 504 and the display 31.

また、上記メモリカートリッジ34は、車種ごとに異な
る上記ECU501〜504のプログラムに対し、車輌診断装置
本体25a自体が互換性を有するように、接続コネクタ33
を介して選択的に接続できるようにしたものであり、内
部に、診断プログラム及び固定データなどを記憶するRO
M41が設けられている。
Further, the memory cartridge 34 is provided with a connector 33 so that the vehicle diagnostic device main body 25a itself has compatibility with the programs of the ECUs 501 to 504 which differ for each vehicle type.
RO that stores diagnostic programs and fixed data inside, etc.
M41 is provided.

また、上記タイマ38には同期信号を出力するクロック
パルス発振素子42が設けられている。
Further, the timer 38 is provided with a clock pulse oscillation element 42 for outputting a synchronization signal.

さらに、上記制御部28に接続する上記電源回路29が、
前記車輌1の電源BVに電源スイッチSW4を介して接続さ
れている。
Further, the power supply circuit 29 connected to the control unit 28,
The power source BV of the vehicle 1 is connected via a power switch SW4.

次に、各電子制御装置501〜504及び車輌診断装置25に
おける機能を第3図に基づき説明する。
Next, the functions of the electronic control units 501 to 504 and the vehicle diagnostic device 25 will be described with reference to FIG.

上記各電子制御装置(ECU)501〜504の機能として
は、各センサ類、スイッチ類からの信号を演算処理する
演算手段551a〜551d、各アクチュエータへ駆動信号を出
力する駆動手段の一例である駆動回路501h〜504h、デー
タピックアップ手段552a〜552d、解読手段553a〜553d、
データ通信手段554a〜554dを備える。
The functions of the electronic control units (ECUs) 501 to 504 include arithmetic units 551a to 551d that perform arithmetic processing on signals from the sensors and switches, and a drive that is an example of a drive unit that outputs a drive signal to each actuator. Circuits 501h to 504h, data pickup means 552a to 552d, decoding means 553a to 553d,
Data communication means 554a to 554d are provided.

上記データ通信手段554a〜554dは、上記バスライン50
0aにより互いに接続されてネットワークを構成し、例え
ば、車載のローカルエリアネットワーク(LAN)などを
形成している。さらに、このバスライン500aには、上記
外部接続用コネクタ24が接続されている。
The data communication means 554a to 554d are connected to the bus line 50.
The network is constituted by being connected to each other by 0a, for example, forming a local area network (LAN) mounted on a vehicle. Further, the external connection connector 24 is connected to the bus line 500a.

ここで、上記ECU501〜504の故障診断を行う場合、上
記車輌診断装置25を上記外部接続用コネクタ24に接続
し、上記車輌診断装置25から通信データを上記ネットワ
ークに送信すると、この通信データが上記ECU501〜504
のデータ通信手段554a〜554dで受信され、上記通信デー
タの一部に設けられたコール切換ビットが調べられる。
Here, when performing a failure diagnosis of the ECUs 501 to 504, the vehicle diagnostic device 25 is connected to the external connection connector 24, and communication data is transmitted from the vehicle diagnostic device 25 to the network. ECU501-504
The call switching bits received by the data communication means 554a to 554d are provided and are provided in a part of the communication data.

上記コール切換ビットは、その値が0のとき、上記ネ
ットワーク中のECU501〜504全てに対して、上記ECU501
〜504のうちのいずれかを上記車輌診断装置25がコール
していることを知らせるグローバルコールを示し、一
方、その値が1のときは、上記グローバルコールで指定
されたECUを上記車輌診断装置25がコールしていること
を知らせるローカルコールを示す。
When the value of the call switching bit is 0, the ECU 501 is connected to all of the ECUs 501 to 504 in the network.
To 504 indicate a global call that indicates that the vehicle diagnostic device 25 is calling. On the other hand, when the value is 1, the ECU specified in the global call is transmitted to the vehicle diagnostic device 25. Indicates a local call that indicates that is calling.

上記解読手段553a〜553dは、上記車輌診断装置25から
の通信データの内容を解読し、その内容に従って、デー
タピックアップ手段552a〜552dへ所定データのピックア
ップを指示し、あるいはデータのピックアップを中止さ
せる。
The decoding means 553a to 553d decode the contents of the communication data from the vehicle diagnostic device 25, and instruct the data pickup means 552a to 552d to pick up predetermined data or stop the data pickup according to the contents.

上記データピックアップ手段552a〜552dは、演算手段
551a〜551dにて演算された各種データ、あるいは、ROM5
01c〜504cに格納されている固定データなどをピックア
ップし、上記データ通信手段554a〜554dから上記データ
を上記バスライン500aに出力する。
The data pickup means 552a to 552d are arithmetic means
Various data calculated by 551a to 551d or ROM5
Fixed data and the like stored in 01c to 504c are picked up, and the data is output from the data communication means 554a to 554d to the bus line 500a.

また、車輌診断装置25は、通信手段56、データ演算手
段57、キーボード解釈手段58、表示駆動手段59、キーボ
ード32、ディスプレイ31で構成されている。
The vehicle diagnostic device 25 includes a communication unit 56, a data calculation unit 57, a keyboard interpretation unit 58, a display drive unit 59, a keyboard 32, and a display 31.

上記キーボード32より操作入力される診断モードなど
が、上記キーボード解釈手段58で解釈され、上記通信手
段56から上記バスライン500aへ診断モードに対応する通
信データが出力される。この時、上記通信手段56から送
信される通信データは、まず、上記コール切換ビットが
0、すなわち該当するECUをコールするグローバルコー
ルとして送信され、同時に該当するECUのアドレス情報
が送信される。
The diagnostic mode and the like input from the keyboard 32 are interpreted by the keyboard interpreting means 58, and communication data corresponding to the diagnostic mode is output from the communication means 56 to the bus line 500a. At this time, the communication data transmitted from the communication means 56 is first transmitted as a global call for calling the corresponding ECU with the call switching bit being 0, and at the same time, the address information of the corresponding ECU is transmitted.

その結果、上記ECU501〜504のいずれか該当するECUが
応答して送信されたデータが、上記通信手段56で受信さ
れて上記データ演算手段57で演算され、上記表示駆動手
段59を介して上記ディスプレイ31に表示される。
As a result, the data transmitted in response to any one of the ECUs 501 to 504 is received by the communication means 56 and calculated by the data calculation means 57, and the display is controlled via the display drive means 59. Displayed at 31.

次に、車輌診断装置25及び各電子制御装置501〜504に
おける動作手順を第4図(a),(b)に示すフローチ
ャートに基づき説明する。
Next, the operation procedure in the vehicle diagnostic device 25 and each of the electronic control devices 501 to 504 will be described with reference to the flowcharts shown in FIGS.

(車輌診断装置) 先ず、車輌診断装置25の入出力コネクタ26を車輌500
の外部接続用コネクタ24の直接、或いはアダプタハーネ
ス27を介して接続した後、電源スイッチSW4にて車輌診
断装置25の電源をONする。
(Vehicle Diagnostic Device) First, the input / output connector 26 of the vehicle diagnostic device 25 is connected to the vehicle 500.
After connecting directly to the external connection connector 24 or via the adapter harness 27, the power of the vehicle diagnostic device 25 is turned on by the power switch SW4.

すると、ステップ102で車輌診断装置25がイニシャラ
イズされ、次いで、ステップ103で通信手段56から車輌5
00のECU501に対する機種コード要求の通信データが送信
される。この通信データのコール切換ビットは0、すな
わちグローバルコールとして出力され、上記ネットワー
ク中のECU501〜504全てに対して、上記ECU501を上記車
輌診断装置25がコールしていることを知らせる。尚、こ
の機種コードは上記ECU501のROM501cに予め記憶されて
いるものである。
Then, in step 102, the vehicle diagnostic device 25 is initialized, and then, in step 103, the vehicle
The communication data of the model code request to the ECU 501 of 00 is transmitted. The call switching bit of this communication data is output as 0, that is, a global call, and notifies all the ECUs 501 to 504 in the network that the vehicle diagnostic device 25 is calling the ECU 501. This model code is stored in advance in the ROM 501c of the ECU 501.

ここで、車輌診断装置25から出力される通信データ
は、例えば、第5図に示すように、スタートビットに続
き、ECUアドレスなどのアドレス情報、コマンドなどの
データ、パリティチェックへと続き、そして上記コール
切換ビットに続いて最後にストップビットが送信され
る。
Here, the communication data output from the vehicle diagnostic device 25 is, for example, as shown in FIG. 5, following a start bit, address information such as an ECU address, data such as a command, a parity check, and the like. A stop bit is finally transmitted following the call switching bit.

次に、ステップ104へ進むと、該当するECU、すなわち
ECU501が応答してバスライン500aに出力した機種コード
データが受信できたか判定される。受信できたと判定さ
れた場合はステップ105へ進み、受信できない場合はス
テップ104へ戻り判定を繰返す。
Next, proceeding to step 104, the corresponding ECU, that is,
It is determined whether the model code data output from ECU 501 to bus line 500a in response has been received. When it is determined that the signal has been successfully received, the process proceeds to step 105. When the signal cannot be received, the process returns to step 104 to repeat the determination.

ステップ105ではCPU36にて機種を識別するとともに受
信した機種コードデータをRAM37の特定アドレスにスト
アする。次いでステップ106へ進み、メモリカートリッ
ジ34のROM41に格納されている複数のテーブルの中か
ら、上記機種コードに対応したテーブルを選択する。そ
の結果、車輌の制御ユニットに対応したテーブルが特定
され、以後、このテーブルに記憶されているプログラム
に従って診断が実行される。
In step 105, the model is identified by the CPU 36 and the received model code data is stored in a specific address of the RAM 37. Next, the routine proceeds to step 106, where a table corresponding to the model code is selected from a plurality of tables stored in the ROM 41 of the memory cartridge 34. As a result, a table corresponding to the control unit of the vehicle is specified, and thereafter, the diagnosis is executed according to the program stored in this table.

次いでステップ107へ進むと、キーボード32からの入
力待ちとなり、例えば、冷却水温センサ9の出力データ
に基づくECU501内の冷却水温データを診断する場合、診
断作業者が,キーボード32のキー操作にて該当モードを
入力(例えば、F→0→7→ENTと入力)すると、車輌
診断装置25のCPU36にて、この診断モードが読取られ、R
AM37の所定アドレスに一時格納される。その後、このRA
M37に格納された診断モードが呼出され、キーボード解
釈手段58にて内容が解釈されて診断モードに対応したプ
ログラムが選択されると同時に、診断モードに対応した
略称及び単位などの固定データがROM41から読み出さ
れ、RAM37の所定アドレスに格納され、ステップ108へ進
む。
Next, when the process proceeds to step 107, an input from the keyboard 32 is awaited. For example, when diagnosing cooling water temperature data in the ECU 501 based on output data of the cooling water temperature sensor 9, the diagnosis operator performs a When a mode is input (for example, F → 0 → 7 → ENT), this diagnostic mode is read by the CPU 36 of the vehicle diagnostic device 25, and R
It is temporarily stored at a predetermined address of AM37. Then this RA
The diagnostic mode stored in M37 is called, the contents are interpreted by the keyboard interpreting means 58 and a program corresponding to the diagnostic mode is selected, and at the same time, fixed data such as abbreviations and units corresponding to the diagnostic mode are read from the ROM 41. The read data is stored at a predetermined address of the RAM 37, and the process proceeds to Step 108.

ステップ108では、上記コール切換ビットの値を0
(グローバルコール)にして、例えば、ECU501のアドレ
ス情報などを、通信手段56からバスライン500aへ出力し
て、ステップ109へ進む。
In step 108, the value of the call switching bit is set to 0
(Global call), for example, the address information of the ECU 501 is output from the communication means 56 to the bus line 500a, and the process proceeds to step 109.

次いで、ステップ109へ進むと、上記コール切換ビッ
トの値を1(ローカルコール)にして、キーボード解釈
手段58にて解釈された診断モードのデータ(例えば、上
述のECU501内の冷却水温)の送信要求を送信する。
Next, in step 109, the value of the call switching bit is set to 1 (local call), and a request for transmission of diagnostic mode data (for example, the above-described cooling water temperature in the ECU 501) interpreted by the keyboard interpreting means 58 is made. Send

ステップ110では、上記ステップ109でのローカルコー
ルに応答して、該当するECU(例えば上記ECU501)から
出力されたデータを通信手段56で受信する。
In step 110, in response to the local call in step 109, the communication unit 56 receives data output from the corresponding ECU (for example, the ECU 501).

そしてステップ111で、受信したデータをデータ演算
手段57で演算して物理量変換(2進数データを10進数変
換して数値データに変換する)し、RAM37の所定アドレ
スに数値データを格納すると同時に、表示駆動手段59
に、上記数値データ及びステップ107でRAM37にストアさ
れた略称及び単位などの固定データを出力する。
In step 111, the received data is calculated by the data calculation means 57 and converted into a physical quantity (binary data is converted into a decimal number and converted into numerical data), and the numerical data is stored in a predetermined address of the RAM 37 and displayed at the same time. Driving means 59
Then, the numerical data and fixed data such as abbreviations and units stored in the RAM 37 in step 107 are output.

すると、ステップ112では、上記表示駆動手段59から
上記出力信号がディスプレイ31に出力され、上記ディス
プレイ31に、上記数値データ、略称、診断モード番号
(キー操作入力したファンクション番号)、単位などが
表示される。上述の冷却水温センサの診断モードの場
合、第1図(b)に示すように、冷却水温の略称TW、フ
ァンクション番号F07、冷却水温データの数値+14、及
び単位degCが表示される。そしてステップ107へ戻り、
次のキー入力を待つ。
Then, in step 112, the output signal is output from the display driving means 59 to the display 31, and the numerical data, abbreviation, diagnostic mode number (function number input by key operation), unit and the like are displayed on the display 31. You. In the case of the above-described diagnostic mode of the cooling water temperature sensor, as shown in FIG. 1 (b), the abbreviation TW of the cooling water temperature, the function number F07, the numerical value of the cooling water temperature data +14, and the unit degC are displayed. Then, returning to step 107,
Wait for the next key input.

ここで、新たな診断項目を実行する場合、例えば、上
述のエンジン制御ユニット(ECU501)以外の他の制御ユ
ニットとしてトランスミッション制御ユニット(ECU50
2)内の車速センサ13の出力信号に基づく車速データを
要求する場合、同様にキーボード32のキー操作により、
該当モードを入力(例えば、F→B→1→ENTとキー操
作入力)すると、上述の如く、キーボード解釈手段58で
内容が解釈され、ステップ108、ステップ109を経て、ス
テップ110で上記車速データが通信手段56に受信され、
ステップ111でデータ演算手段57により演算、物理量変
換(2進数データを10進数に変換)される。そしてステ
ップ112で表示駆動手段59を介してディスプレイ31に出
力され、ディスプレイ31上に車速データの数値表示がな
される。
Here, when a new diagnosis item is executed, for example, the transmission control unit (ECU 50) is used as a control unit other than the above-described engine control unit (ECU 501).
2) When requesting the vehicle speed data based on the output signal of the vehicle speed sensor 13 in the same manner, similarly, by operating the keys of the keyboard 32,
When the corresponding mode is input (for example, key operation input of F → B → 1 → ENT), as described above, the contents are interpreted by the keyboard interpreting means 58, and the vehicle speed data is passed through step 108 and step 109 and step 110. Received by the communication means 56,
In step 111, the data calculation means 57 performs calculation and physical quantity conversion (converts binary data into decimal numbers). Then, in step 112, the data is outputted to the display 31 via the display driving means 59, and the numerical value of the vehicle speed data is displayed on the display 31.

その結果、もし、車速センサ13からの出力信号を入力
する全てのECU501,502,504内における車速データが異常
えあれば、車速センサ13の故障であると診断でき、一つ
のECU内の車速データのみ異常の場合には、そのECUと車
速センサ13との間のコネクタの接触不良、ショート、あ
るいは配線の断線、さらには、そのECUの故障などがわ
かり、各システムを有機的に結びつけた故障診断が行え
る。
As a result, if the vehicle speed data in all the ECUs 501, 502, and 504 to which the output signal from the vehicle speed sensor 13 is input is abnormal, it can be diagnosed that the vehicle speed sensor 13 is faulty, and only the vehicle speed data in one ECU is abnormal. In this case, it is possible to understand the poor contact of the connector between the ECU and the vehicle speed sensor 13, short circuit, or disconnection of the wiring, and furthermore, the failure of the ECU, etc., and perform a failure diagnosis in which each system is organically linked. .

(電子制御装置) 次に、ECU501〜504における動作手順について説明す
る。
(Electronic control device) Next, an operation procedure in the ECUs 501 to 504 will be described.

上記車輌診断装置25からの通信データは、ステップ20
1で、ネットワーク中の各ECU501〜504で受信され、ステ
ップ202に進む。
The communication data from the vehicle diagnostic device 25 is stored in step 20
At 1, it is received by each of the ECUs 501 to 504 in the network, and proceeds to step 202.

ステップ202では、上記車輌診断装置25からの通信デ
ータのコール切換ビットを調べ、グローバルコールであ
るか否かを判定する。上記コール切換ビットが0、すな
わちグローバルコールのときには、ステップ203へ進
み、一方、上記ゴール切換ビットが1、すなわちローカ
ルコールのときには、前回のルーチンにおけるグローバ
ルコールで上記車輌診断装置25からコールされていない
場合、ルーチンを終了する。すなわち、上記車輌診断装
置25からの通信データのコール切換ビットが再びグロー
バルコールとなるまで、上記コール切換ビットのみをモ
ニターし、他のデータは無視して、自己のタスクを継続
する。
In step 202, the call switching bit of the communication data from the vehicle diagnostic device 25 is checked to determine whether or not the call is a global call. When the call switch bit is 0, that is, when the call is a global call, the process proceeds to step 203. On the other hand, when the goal switch bit is 1, that is, when the call is a local call, the vehicle diagnostic device 25 has not called by the global call in the previous routine. If so, the routine ends. That is, until the call switching bit of the communication data from the vehicle diagnostic device 25 becomes a global call again, only the call switching bit is monitored, and the other data is ignored, and the own task is continued.

ステップ203では、各ECU501〜504で割込みがかけら
れ、受信した通信データからアドレス情報などを取込
み、自身に対するコールか否かを判断する。上記アドレ
スが自身のアドレスに該当する場合、ステップ204へ進
み、一方、上記アドレスが該当しない場合には、ルーチ
ンを終了し、次のデータを待つ。
In step 203, each of the ECUs 501 to 504 generates an interrupt, fetches address information and the like from the received communication data, and determines whether the call is for itself. If the address corresponds to its own address, the process proceeds to step 204. If the address does not correspond to the address, the routine ends, and the next data is awaited.

ステップ204へ進むと、上記車輌診断装置25からコー
ルされたECU、例えば、上述した第4図(a)の車輌診
断装置25の動作手順のフローチャートにおけるステップ
103でのECU501に対する機種コード要求の場合、該当す
るECU501は解読手段553aで上記車輌診断装置25から送信
された機種コード要求のコマンドを解釈し、データピッ
クアップ手段552aに、機種コードの読出しを要求する。
In step 204, the ECU called from the vehicle diagnostic device 25, for example, the step in the flowchart of the operation procedure of the vehicle diagnostic device 25 of FIG.
In the case of a model code request to the ECU 501 in 103, the corresponding ECU 501 interprets the model code request command transmitted from the vehicle diagnostic device 25 by the decoding means 553a and requests the data pickup means 552a to read the model code. .

また、例えば、上述の第4図(a)のフローチャート
におけるステップ107でのECU501内の冷却水温のデータ
の送信要求、あるいはECU502内の車速データの送信要求
の場合には、該当するECU501あるいはECU502は、解読手
段553a、553bにて車輌診断装置25からのデータ送信要求
が冷却水温データ要求あるいは車速データ要求であると
解読して、データピックアップ手段552a、552bに冷却水
温データあるいは車速データの読出しを要求し、ステッ
プ205へ進む。
Further, for example, in the case of a request for transmission of cooling water temperature data in the ECU 501 or a request for transmission of vehicle speed data in the ECU 502 in step 107 in the flowchart of FIG. 4A described above, the corresponding ECU 501 or ECU 502 The decoding means 553a and 553b decode that the data transmission request from the vehicle diagnostic device 25 is a cooling water temperature data request or a vehicle speed data request, and requests the data pickup means 552a and 552b to read the cooling water temperature data or the vehicle speed data. Then, the process proceeds to step 205.

ステップ205では、例えば、上記機種コード要求の場
合は、上記ECU501のデータピックアップ手段552aにて、
ROM501cに予めストアされている機種コードデータを読
出し、また、上記冷却水温のデータの送信要求では、上
記ECU501のデータピックアップ手段552aにて、冷却水温
データを読み出す。また、上記車速データの送信要求で
は、上記ECU502のデータピックアップ手段552bにて、車
速データを読み出す。
In step 205, for example, in the case of the above model code request, in the data pickup means 552a of the ECU 501,
The model code data stored in the ROM 501c is read in advance, and in response to the request for transmission of the cooling water temperature data, the cooling water temperature data is read by the data pickup means 552a of the ECU 501. In response to the request for transmission of the vehicle speed data, the vehicle speed data is read by the data pickup means 552b of the ECU 502.

そして、ステップ206へ進んで、データ通信手段554a
あるいは554bを介して上記機種コードデータ、上記冷却
水温データ、あるいは、車速データなどを上記バスライ
ン500aに出力する。
Then, the process proceeds to step 206, where the data communication means 554a
Alternatively, it outputs the model code data, the cooling water temperature data, the vehicle speed data, and the like to the bus line 500a via the 554b.

以上のように、各ECU501〜504は、上記車輌診断装置2
5からの通信データのコール切換ビットのみを常時モニ
ターすれば良く、上記コール切換ビットがグローバルコ
ールとなって初めて上記通信データをチェックして自身
に対するコールか否かを判断すれば良い。従って、上記
車輌診断装置25からデータの送信がある毎に、その都度
一々データをチェックしてコールされているか否かを調
べる必要はなく、上記各ECU501〜504の負荷が大幅に軽
減される。
As described above, each of the ECUs 501 to 504
Only the call switching bit of the communication data from 5 needs to be constantly monitored, and it is only necessary to check the communication data and determine whether or not the call is for itself only after the call switching bit becomes a global call. Therefore, it is not necessary to check the data each time the data is transmitted from the vehicle diagnostic device 25 to check whether or not a call is made, and the load on the ECUs 501 to 504 is greatly reduced.

次に本発明の第2実施例を、第6図に基づき説明す
る。尚、第1実施例と同様の部材には同一の符号を付し
て説明を省略する。
Next, a second embodiment of the present invention will be described with reference to FIG. The same members as those in the first embodiment are denoted by the same reference numerals, and description thereof will be omitted.

第6図に示すように、車輌診断装置25及び各ECU501〜
504には、通信バッファB1,B2が設けられ、この通信バッ
ファB1,B2を介して通信データの送信、受信が行われ
る。上記通信バッファB1,B2は、それぞれ、レジスタR1,
R2及びレジスタR3,R4などから構成され、上記各ECU501
〜504の通信バッファB2のレジスタR4には、例えばフリ
ップフロップFFなどが接続されている。このフリップフ
ロップFFは、上記車輌診断装置25から送信される通信デ
ータのコール切換ビットによって動作し、各ECU501〜50
4のCPU501a〜504aに対する割込み信号を出力して、上記
車輌診断装置25に対する通信への切換を行う通信切換ス
イッチを構成している。
As shown in FIG. 6, the vehicle diagnostic device 25 and each ECU 501 to
The communication buffer 504 is provided with communication buffers B1 and B2, and transmission and reception of communication data are performed via the communication buffers B1 and B2. The communication buffers B1 and B2 are connected to registers R1 and R2, respectively.
R2 and registers R3, R4, etc.
For example, a flip-flop FF is connected to the register R4 of the communication buffers B2 to 504. The flip-flop FF operates according to the call switching bit of the communication data transmitted from the vehicle diagnostic device 25, and each of the ECUs 501 to 50
A communication changeover switch that outputs an interrupt signal to the CPUs 501a to 504a and switches to communication with the vehicle diagnostic device 25 is configured.

車輌診断装置25からの通信データは、レジスタR1,R2
などの通信バッファB1でパラレル→シリアル変換され、
各ECU501〜504へ送信される。上記車輌診断装置25から
シリアルデータが送信されると、このシリアルデータ
は、通信バッファB2に受信され、シフトレジストR3に順
に格納されて最下位ビットに上記車輌診断装置25からの
通信データに設けられたコール切換ビットが格納され
る。所定のレジスタ長、例えば1ワード分のデータが上
記レジスタR3(シフトレジスタ)に格納されると、上記
レジスタR4にデータが移動しパラレルデータに変換され
る。
Communication data from the vehicle diagnostic device 25 is stored in registers R1 and R2.
Parallel to serial conversion in communication buffer B1 such as
It is transmitted to each of ECUs 501-504. When the serial data is transmitted from the vehicle diagnostic device 25, the serial data is received by the communication buffer B2, sequentially stored in the shift register R3, and provided in the least significant bit in the communication data from the vehicle diagnostic device 25. The stored call switching bit is stored. When a predetermined register length, for example, one word of data is stored in the register R3 (shift register), the data moves to the register R4 and is converted into parallel data.

ここで、上記車輌診断装置25から送信された通信デー
タがグローバルコールを示す時、すなわち上記コール切
換ビットが0の時は、上記シフトレジスタR4から上記フ
リップフロップFFのセット端子Sに0が入力され、出力
Qから各ECU501〜504のCPU501a〜504aに対して割込み信
号(ローレベル)が出力される。すると、各ECU501〜50
4では、現在実行中のタスクを中断して、通信バッファB
2でシリアル→パラレル変換されたデータを取込んで内
容を解釈し、自身に対するコールか否かを判断する。同
時に、上記フリップフロップFFの出力Qは、レジスタR5
に書込まれ、割込み先の情報が保持される。尚、この割
込みを解除して通信関係を終了させる場合には、上記フ
リップフロップFFのリセット端子Rに接続されたレジス
タR5の所定の位置にリセットデータを書込む。
Here, when the communication data transmitted from the vehicle diagnostic device 25 indicates a global call, that is, when the call switching bit is 0, 0 is input from the shift register R4 to the set terminal S of the flip-flop FF. , An interrupt signal (low level) is output from the output Q to the CPUs 501a to 504a of the ECUs 501 to 504. Then, each ECU 501-50
In 4, the currently executing task is interrupted and communication buffer B
In step 2, the serial-to-parallel converted data is fetched, the contents are interpreted, and it is determined whether or not the call is for itself. At the same time, the output Q of the flip-flop FF is connected to the register R5
And the information of the interrupt destination is held. When the communication is terminated by releasing the interrupt, the reset data is written to a predetermined position of the register R5 connected to the reset terminal R of the flip-flop FF.

その結果、上記車輌診断装置25からコールされている
場合は、次々に送信されてくるデータを取り込んで、そ
の内容を解読し、要求されたデータの送信を行う。これ
らの手順は第1実施例と同様であり、その説明を省略す
る。
As a result, if a call is made from the vehicle diagnostic device 25, data transmitted one after another is taken in, the contents are decoded, and the requested data is transmitted. These procedures are the same as in the first embodiment, and a description thereof will be omitted.

一方、上記車輌診断装置25から送信された通信データ
がローカルコールを示す時、すなわち上記コール切換ビ
ットが1の時は、上記フリップフロップFFの出力Qが反
転して割込みが解除され、各ECU501〜504は、再び実行
中のタスクを継続する。
On the other hand, when the communication data transmitted from the vehicle diagnostic device 25 indicates a local call, that is, when the call switching bit is 1, the output Q of the flip-flop FF is inverted and the interrupt is released, and each of the ECUs 501 to 504 continues the running task again.

この第2実施例においては、上記コール切換ビットに
よって動作する通信切換スイッチにより、各ECU501〜50
4のソフトウェア上の負担がより軽減化される。
In this second embodiment, each of the ECUs 501 to 50 is operated by a communication switch operated by the call switch bit.
4. The burden on software is further reduced.

[発明の効果] 以上詳述したように本発明によれば、車輌搭載の複数
の電子制御装置を接続するネットワークに車輌診断装置
を接続して電子制御装置における入出力データを診断す
るに際し、操作入力手段からの操作入力に応じて、車輌
診断装置から各電子制御装置へ、診断対象を切換えるこ
とを示すコール切換ビット及び上記複数の電子制御装置
のうちのいずれかを指定すると共に返信データを指定す
るデータからなる通信データが送信されると、各電子制
御装置では、受信した通信データにおけるコール切換ビ
ットに応じ、上記データによるコール対象が自己の電子
制御装置に対するものか否かを判断し、自己の電子制御
装置に対するとき、現在実行中の処理を中断し、上記返
信データを指定するデータに対応するデータをピックア
ップして車輌診断装置へ送信し、また、コール対象が他
の電子制御装置に対するときには、該電子制御装置にお
いてデータのピックアップ及び車輌診断装置へのデータ
送信が中止されるので、現在診断中の電子制御装置から
他の電子制御装置に対する入出力データの診断に切換え
る際、車輌を停止してキースイッチをオフすることによ
り車載の各電子制御装置の電源をオフすることなく、車
輌診断装置からの操作入力により、現在診断中の電子制
御装置におけるデータのピックアップ及び該データの車
輌診断装置への送信を簡単に中止させることができ、他
の電子制御装置からのデータ送信へと簡単に切換えるこ
とができる。
[Effects of the Invention] As described above in detail, according to the present invention, when diagnosing input / output data in an electronic control device by connecting a vehicle diagnostic device to a network connecting a plurality of electronic control devices mounted on the vehicle, In accordance with an operation input from the input means, a call switch bit indicating that a diagnosis target is switched from the vehicle diagnostic device to each electronic control device, and any one of the plurality of electronic control devices, and return data are specified. When the communication data including the data to be transmitted is transmitted, each electronic control device determines whether or not the call target by the data is to its own electronic control device in accordance with the call switching bit in the received communication data. Interrupts the currently executing process and picks up the data corresponding to the data specifying the reply data When the call target is to another electronic control unit, the electronic control unit stops data pickup and data transmission to the vehicle diagnosis unit. When switching from input / output data diagnosis to input / output data for other electronic control units, stop the vehicle and turn off the key switch to turn off the power of each electronic control unit mounted on the vehicle. Accordingly, it is possible to easily stop data pickup and transmission of the data to the vehicle diagnostic device in the electronic control device that is currently being diagnosed, and to easily switch to data transmission from another electronic control device.

また、複数の電子制御装置に関わる故障であっても個
々の電子制御装置からのデータ送信が操作入力手段から
の操作入力により簡単に行えるため、簡単な操作で各シ
ステムを有機的に結合した故障診断が行うことができ、
診断作業が円滑となって故障発見が容易になり、作業性
が大幅に向上する。
In addition, even if a failure involves a plurality of electronic control units, data transmission from each electronic control unit can be easily performed by operating input from the operation input means. Diagnosis can be made,
Diagnosis work is facilitated, failure detection is facilitated, and workability is greatly improved.

また、複数の電子制御装置のうち、車輌診断装置の操
作入力手段からの操作入力に応じた電子制御装置が確実
に指定され、この指定された電子制御装置から必要とす
るデータが確実に車輌診断装置に送信されるため、的確
な故障診断を行うことができる。
Further, among the plurality of electronic control units, the electronic control unit corresponding to the operation input from the operation input means of the vehicle diagnosis device is reliably specified, and the required data from the specified electronic control device is surely diagnosed. Since the information is transmitted to the device, accurate failure diagnosis can be performed.

さらに、車輌搭載の各電子制御装置では、コール切換
ビットに応じ、車輌診断装置からの通信データにおける
データが自己の電子制御装置をコール対象としていると
きのみ、現在実行中の処理を中断して上記返信データを
指定するデータに対応するデータをピックアップして車
輌診断装置へ送信すれば良く、コール対象が他の電子制
御装置に対するときには、データのピックアップ及びデ
ータの車輌診断装置への送信を中止するため、各電子制
御装置において不必要に演算負担が増加することがな
く、電子制御装置における通常の制御処理に影響を与え
ることが防止される。
Further, each electronic control unit mounted on the vehicle interrupts the process currently being executed only when the data in the communication data from the vehicle diagnostic device calls its own electronic control unit according to the call switching bit, and What is necessary is just to pick up the data corresponding to the data designating the reply data and transmit it to the vehicle diagnostic device. When the call target is to another electronic control device, the data pickup and the transmission of the data to the vehicle diagnostic device are stopped. In addition, the calculation load is not unnecessarily increased in each of the electronic control devices, and the normal control processing in the electronic control devices is prevented from being affected.

【図面の簡単な説明】[Brief description of the drawings]

第1図〜第5図は本発明の第1実施例を示し、第1図
(a)は車輌の概略側面図、同図(b)は車輌診断装置
の正面図、第2図は車輌搭載の各電子制御装置及び車輌
診断装置の回路構成図、第3図は各電子制御装置及び車
輌診断装置における機能ブロック図、第4図(a)は車
輌診断装置における動作手順を示すフローチャート、同
図(b)は各電子制御装置における動作手順を示すフロ
ーチャート、第5図は通信データのフォーマットの説明
図、第6図は本発明の第2実施例を示し、各電子制御装
置及び車輌診断装置の構成を示す説明図である。 25……車輌診断装置 32……キーボード(操作入力手段) 56……通信手段 500……車輌 501〜504……電子制御装置 552a,552b,552c,552d……データピックアップ手段 553a,553b,553c,553d……解読手段 554a,554b,554c,554d……データ通信手段
1 to 5 show a first embodiment of the present invention. FIG. 1 (a) is a schematic side view of a vehicle, FIG. 1 (b) is a front view of a vehicle diagnostic device, and FIG. FIG. 3 is a functional block diagram of each electronic control device and the vehicle diagnostic device, and FIG. 4A is a flowchart showing an operation procedure in the vehicle diagnostic device. (B) is a flowchart showing an operation procedure in each electronic control unit, FIG. 5 is an explanatory diagram of a format of communication data, and FIG. 6 shows a second embodiment of the present invention. FIG. 3 is an explanatory diagram showing a configuration. 25 Vehicle diagnostic device 32 Keyboard (operation input means) 56 Communication means 500 Vehicles 501 to 504 Electronic control device 552a, 552b, 552c, 552d Data pickup means 553a, 553b, 553c, 553d …… Decoding means 554a, 554b, 554c, 554d …… Data communication means

Claims (1)

(57)【特許請求の範囲】(57) [Claims] 【請求項1】車輌に搭載されネットワークを介して接続
された複数の電子制御装置と、上記ネットワークに接続
して双方向通信により上記各電子制御装置の入出力デー
タを診断する車輌診断装置とからなる車輌診断システム
において、 上記車輌診断装置には、操作入力手段からの操作入力に
応じ診断対象を切換えることを示すコール切換ビット及
び上記電子制御装置のうちのいずれかを指定すると共に
返信データを指定するデータからなる通信データを上記
ネットワークを介して上記各電子制御装置へ送信すると
共に、上記各電子制御装置からのデータを受信する通信
手段を備え、 さらに、上記各電子制御装置には、上記車輌診断装置か
らの通信データを受信して該通信データにおけるコール
切換ビットに応じ上記データによるコール対象が自己の
電子制御装置に対するものか否かを判断し、コール対象
が自己に対するときには、ピックアップされたデータを
上記車輌診断装置に送信し、他の電子制御装置に対する
ときにはデータ送信を中止するデータ通信手段と、 上記返信データを指定するデータに応じ、現在実行中の
処理を中断して該返信データを指定するデータに対応す
るデータをピックアップするデータピックアップ手段
と、 コール対象が自己の電子制御装置に対するとき、上記返
信データを指定するデータの内容を解読して上記データ
ピックアップ手段にデータのピックアップを指示し、コ
ール対象が他の電子制御装置に対するときには、上記デ
ータピックアップ手段によるデータのピックアップを中
止させる解読手段とを備えることを特徴とする車輌診断
システム。
An electronic control device mounted on a vehicle and connected via a network, and a vehicle diagnostic device connected to the network and diagnosing input / output data of each of the electronic control devices by two-way communication. In the vehicle diagnostic system, the vehicle diagnostic device specifies one of the electronic control unit and a call switching bit indicating that a diagnosis target is switched in response to an operation input from an operation input unit, and specifies return data. Communication means for transmitting communication data consisting of data to be transmitted to each of the electronic control devices via the network, and receiving data from each of the electronic control devices. The communication data from the diagnostic device is received, and a call target by the data is made according to a call switching bit in the communication data. Data communication means for judging whether or not the call is directed to its own electronic control unit, transmitting the picked-up data to the vehicle diagnostic device when the call target is directed to the self, and stopping the data transmission when the call target is directed to another electronic control device; A data pick-up means for interrupting a process currently being executed and picking up data corresponding to the data specifying the reply data in accordance with the data specifying the reply data; and Decoding means for decoding the contents of the data designating the reply data and instructing the data pickup means to pick up the data, and when the call target is to another electronic control unit, stopping the data pickup by the data pickup means. A vehicle diagnostic system comprising:
JP63243671A 1988-09-28 1988-09-28 Vehicle diagnostic system Expired - Lifetime JP2573330B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP63243671A JP2573330B2 (en) 1988-09-28 1988-09-28 Vehicle diagnostic system

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP63243671A JP2573330B2 (en) 1988-09-28 1988-09-28 Vehicle diagnostic system

Publications (2)

Publication Number Publication Date
JPH0291451A JPH0291451A (en) 1990-03-30
JP2573330B2 true JP2573330B2 (en) 1997-01-22

Family

ID=17107258

Family Applications (1)

Application Number Title Priority Date Filing Date
JP63243671A Expired - Lifetime JP2573330B2 (en) 1988-09-28 1988-09-28 Vehicle diagnostic system

Country Status (1)

Country Link
JP (1) JP2573330B2 (en)

Families Citing this family (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP3550062B2 (en) * 1999-11-19 2004-08-04 三菱電機株式会社 In-vehicle electronic control device failure diagnosis device
JP6400500B2 (en) * 2015-02-17 2018-10-03 本田技研工業株式会社 Vehicle inspection device
JP6545339B2 (en) * 2018-09-06 2019-07-17 本田技研工業株式会社 Vehicle inspection device

Family Cites Families (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPS62161037A (en) * 1986-01-09 1987-07-17 Nippon Denso Co Ltd Synthetic diagnostic apparatus mounted on vehicle
JPH0223467Y2 (en) * 1986-03-27 1990-06-26

Also Published As

Publication number Publication date
JPH0291451A (en) 1990-03-30

Similar Documents

Publication Publication Date Title
JPH0776733B2 (en) Vehicle diagnostic system
JPH0718780B2 (en) Vehicle diagnostic system
US5056023A (en) Diagnosis system for motor vehicle
US5745048A (en) Communication system
US4996643A (en) Diagnosis system for a motor vehicle
US5737711A (en) Diagnosis system for motor vehicle
JPH079388B2 (en) Vehicle diagnostic system
JPH0776736B2 (en) Vehicle diagnostic system
GB2224373A (en) Diagnostic system for a motor vehicle
JPH0776725B2 (en) Vehicle diagnostic device
JPH08136413A (en) Failure diagnostic equipment
JPH0776731B2 (en) Vehicle diagnostic system
JP2573330B2 (en) Vehicle diagnostic system
JPH08136411A (en) Failure diagnostic equipment
JPH01301139A (en) Self-diagnostic device for vehicle
JPH0776732B2 (en) Vehicle diagnostic system
JPH0776730B2 (en) Vehicle diagnostic device
JPH07123483A (en) Lan system for vehicle
JPH0776722B2 (en) Vehicle diagnostic device
JPH01210841A (en) Vehicle diagnosing device
JPH0290034A (en) Diagnosing system of vehicle
JPH0776721B2 (en) Vehicle diagnostic system
JPH07123482A (en) Lan system for vehicle
JPH0776728B2 (en) Vehicle diagnostic device
JPH01219652A (en) Diagnostic apparatus of vehicle

Legal Events

Date Code Title Description
R250 Receipt of annual fees

Free format text: JAPANESE INTERMEDIATE CODE: R250

R250 Receipt of annual fees

Free format text: JAPANESE INTERMEDIATE CODE: R250

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

Free format text: PAYMENT UNTIL: 20071024

Year of fee payment: 11

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

Free format text: PAYMENT UNTIL: 20081024

Year of fee payment: 12

EXPY Cancellation because of completion of term