[go: up one dir, main page]

JP2000275145A - Vehicle diagnostic system and recording medium - Google Patents

Vehicle diagnostic system and recording medium

Info

Publication number
JP2000275145A
JP2000275145A JP11084342A JP8434299A JP2000275145A JP 2000275145 A JP2000275145 A JP 2000275145A JP 11084342 A JP11084342 A JP 11084342A JP 8434299 A JP8434299 A JP 8434299A JP 2000275145 A JP2000275145 A JP 2000275145A
Authority
JP
Japan
Prior art keywords
vehicle
communication
control device
electronic control
vehicle electronic
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
JP11084342A
Other languages
Japanese (ja)
Inventor
Shuichi Naito
修一 内藤
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.)
Suzuki Motor Corp
Original Assignee
Suzuki Motor Corp
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Suzuki Motor Corp filed Critical Suzuki Motor Corp
Priority to JP11084342A priority Critical patent/JP2000275145A/en
Publication of JP2000275145A publication Critical patent/JP2000275145A/en
Pending legal-status Critical Current

Links

Landscapes

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

Abstract

PROBLEM TO BE SOLVED: To simplify a constitution used to prevent a trouble that data is disguised due to the interference of an answer from every on-vehicle electronic control device and to reduce an increase in costs to a minimum. SOLUTION: In this vehicle diagnostic system, an engine control device 10 and an AT control device 20 are connected by a communication permission flagline 4. By the engine control device 10, the finish of the transmission of failure information is notified to the AT control device 20 via the communication permission flag line 4. The AT control device 10 transmits failure information only when it receives its notice. As a result, while many communication protocols and a complicated arbitration program are not built in the system, the respective on-vehicle electronic control devices 10, 20 can send answers sequentially with reference to a request from an OBD scan tool 30.

Description

【発明の詳細な説明】DETAILED DESCRIPTION OF THE INVENTION

【0001】[0001]

【発明の属する技術分野】本発明は、車両の排気ガスが
悪化するような制御が行われた場合等に、その原因とな
る故障を診断するための車両診断システム、更にはこれ
らの機能をソフトウェアで実現するためのプログラムを
格納した記録媒体に関するものである。
BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention relates to a vehicle diagnostic system for diagnosing a failure which causes control when the exhaust gas of a vehicle is degraded, and a software diagnosing system for these functions. The present invention relates to a recording medium storing a program for implementing the above.

【0002】[0002]

【従来の技術】1994年より、米国で排気ガス規制の
法律であるOBDIIが適用されたため、米国向けの車両
では、各車載電子制御装置(ECU)は、自己に接続さ
れたセンサ類やアクチュエータ類等の排気ガス悪化の原
因となる故障を検出し、マルファンクション・インジケ
ータ・ランプ(MIL)を点灯させることにより、運転
者にその故障を報知するシステムが必要となった。
2. Description of the Related Art Since 1994, OBDII, which is a law on exhaust gas regulations, has been applied in the United States, in a vehicle for the United States, each on-vehicle electronic control unit (ECU) includes sensors and actuators connected to itself. It is necessary to provide a system that detects a failure that causes the exhaust gas to deteriorate and turns on a multifunction indicator lamp (MIL) to notify the driver of the failure.

【0003】さらに、この故障情報は、OBDIIで規定
された、特に2000年以降欧州法規で限定されている
通信規格ISO(International Organization for Sta
ndardization)9141−2に従った通信プロトコルに
よって、ジェネラルスキャンツール(OBDスキャンツ
ール)と呼ばれるモニタ装置と通信を行うことにより、
当該モニタ上に表示される。
[0003] Further, this failure information is based on the communication standard ISO (International Organization for Sta- tus) specified by OBDII, and particularly limited by European law since 2000.
communication with a monitor device called a general scan tool (OBD scan tool) by a communication protocol according to 9141-2,
It is displayed on the monitor.

【0004】OBDスキャンツールは、例えば車載電子
制御装置であるエンジン制御装置およびAT(自動変速
機)制御装置と1つの通信ラインを介して接続され、両
制御装置に対してシリアル通信にて故障情報を要求す
る。このとき、エンジン系とAT系の両方に何らかの故
障があると、エンジン制御装置とAT制御装置の両方か
ら1つのシリアル通信ラインを介して故障情報が返され
る。
The OBD scan tool is connected to, for example, an engine control unit and an AT (automatic transmission) control unit, which are electronic control units mounted on a vehicle, through one communication line, and outputs failure information to both control units by serial communication. Request. At this time, if there is any failure in both the engine system and the AT system, failure information is returned from both the engine control device and the AT control device via one serial communication line.

【0005】このとき、エンジン制御装置とAT制御装
置とが同時に返事を返しては、1つの通信ライン上でデ
ータが干渉してデータ化けが発生し、OBDスキャンツ
ールで正確なデータ受信ができなくなる。この場合、ア
ービトレーション(通信ライン使用権の獲得調整)によ
り、エンジン制御装置とAT制御装置とで通信するタイ
ミングをずらし、個々の車載電子制御装置でアービトレ
ーションをとるには、複雑なプログラム開発を要する。
At this time, if the engine control unit and the AT control unit return a response at the same time, the data interferes on one communication line and data is garbled, and the OBD scan tool cannot receive accurate data. . In this case, arbitration (acquisition adjustment of the right to use the communication line) shifts the timing of communication between the engine control device and the AT control device, and arbitration is performed by each on-vehicle electronic control device.

【0006】すなわち、OBDIIで規定された通信規格
ISO9141−2では、1回の応答で最大7バイトの
データを送信するため、送るデータ量によっては故障情
報を何回かに分けて送る必要がある。この場合、後から
故障情報を送る側の車載電子制御装置では、先に故障情
報を送っている車載電子制御装置が何回に分けてデータ
を送っているか分からないと、どのタイミングで送信を
開始するか決定できない。また、上記の通信規格では、
要求から25〜50msecの間に返事を返す必要があ
り、送信の開始が重要となる。そのため、このアービト
レーションのプログラムは、非常に複雑なものとなる。
In other words, according to the communication standard ISO9141-2 defined by OBDII, since a maximum of 7 bytes of data is transmitted in one response, it is necessary to transmit the failure information several times depending on the amount of data to be transmitted. . In this case, if the on-board electronic control unit that sends the failure information later does not know how many times the in-vehicle electronic control unit that has sent the failure information has sent the data, it will start transmitting at what timing. I can not decide whether to do it. In the above communication standard,
It is necessary to return a response within 25 to 50 msec from the request, and it is important to start transmission. Therefore, the arbitration program is very complicated.

【0007】そこで、従来、図10に示すような方法が
提案されている。すなわち、例えばエンジン制御装置1
00と、AT制御装置200とを備えた車両において、
AT制御装置200の故障検出部201で電子部品の故
障を検出すると、その故障情報をメーカ独自の方法によ
り符号化し、シリアル通信部202,102を介して、
OBDIIで規定された通信を行うラインとは別の通信ラ
インを用いて一旦エンジン制御装置100へ報知する。
Therefore, a method as shown in FIG. 10 has been conventionally proposed. That is, for example, the engine control device 1
00 and an AT control device 200,
When a failure of an electronic component is detected by the failure detection unit 201 of the AT control device 200, the failure information is encoded by a method unique to the manufacturer, and is encoded via the serial communication units 202 and 102.
The notification is once made to the engine control device 100 using a communication line different from the line for performing the communication defined by OBDII.

【0008】その後、エンジン制御装置100が、自身
の故障検出部101で検出した故障情報と、AT制御装
置200から送られてきた故障情報とを送信データ連結
部104で連結する。そして、その連結した故障情報
を、OBDIIで規定された通信プロトコルに従って、I
SO9141−2通信部103からOBDスキャンツー
ル(ISO9141−2通信部を含む)300に出力す
る。このようにすれば、OBDスキャンツール300か
らの故障情報出力の要求に対して、エンジン制御装置1
00のみが応答するので、データの通信ライン上での干
渉がなくなる。
After that, the engine control unit 100 connects the failure information detected by its own failure detection unit 101 and the failure information sent from the AT control unit 200 by a transmission data connection unit 104. Then, the connected failure information is transmitted to the I / O according to the communication protocol defined by OBDII.
The data is output from the SO9141-2 communication unit 103 to the OBD scan tool (including the ISO9141-2 communication unit) 300. By doing so, the engine control device 1 responds to a request for output of failure information from the OBD scan tool 300.
Since only 00 responds, there is no interference of data on the communication line.

【0009】なお、この図10に示す技術では、以上に
述べた構成のみでは、AT制御装置200の故障情報は
必ずエンジン制御装置100を介してOBDスキャンツ
ール300に送られるので、AT制御装置200の故障
情報のみの要求には対応できない。そのため、AT制御
装置200には、もう1つのシリアル通信部203が備
えられ、これにメーカ独自のスキャンツール400を接
続することにより、AT制御装置200の故障情報のみ
を簡単に出力している。この種の技術は、例えば特開平
7−69093号公報に開示されている。
In the technique shown in FIG. 10, the failure information of the AT control device 200 is always sent to the OBD scan tool 300 via the engine control device 100 with only the configuration described above. It cannot respond to the request for only the failure information. For this reason, the AT control device 200 is provided with another serial communication unit 203, and by connecting a scan tool 400 unique to the manufacturer, only the failure information of the AT control device 200 is easily output. This type of technique is disclosed, for example, in Japanese Patent Application Laid-Open No. 7-69093.

【0010】[0010]

【発明が解決しようとする課題】しかしながら、上記図
10の技術では、エンジン制御装置100においては、
OBDスキャンツール300と通信するための通信プロ
トコル(ISO9141−2通信部103)以外に、A
T制御装置200との間で故障情報をシリアル通信する
ための通信プロトコル(シリアル通信部102)を組み
込むとともに、自身の故障情報とAT制御装置200の
故障情報とを連結させるためのプログラム(送信データ
連結部104)を組み込むことが必要となり、プログラ
ム開発工数、プログラムメモリ容量および装置製造コス
トの増加を招来する。
However, in the technique of FIG. 10, the engine control device 100
In addition to the communication protocol for communicating with the OBD scan tool 300 (ISO9141-2 communication unit 103), A
A communication protocol (serial communication unit 102) for serially communicating failure information with the T control device 200 is incorporated, and a program (transmission data) for linking the failure information of the AT control device 200 with its own failure information is transmitted. It is necessary to incorporate the coupling unit 104), which leads to increases in the number of program development steps, program memory capacity, and device manufacturing cost.

【0011】また、AT制御装置200においても、エ
ンジン制御装置100との間でシリアル通信を行うため
の通信プロトコルを組み込む必要があるとともに、その
通信のための通信ポート(シリアル通信部202)と、
メーカ独自のスキャンツール400と通信するための通
信ポート(シリアル通信部203)との2つの通信ポー
トが必要になるため、構成が複雑になり、装置の製造コ
ストアップにもつながるという問題がある。
Also, in the AT control device 200, it is necessary to incorporate a communication protocol for performing serial communication with the engine control device 100, and a communication port (serial communication unit 202) for the communication is provided.
Since two communication ports, ie, a communication port (serial communication unit 203) for communicating with the scan tool 400 unique to the manufacturer, are required, there is a problem that the configuration is complicated and the manufacturing cost of the apparatus is increased.

【0012】本発明は、このような問題を解決するため
に成されたものであり、複数の車載電子制御装置から出
力される故障情報が通信ライン上での干渉によってデー
タ化け等が発生するのを確実に防止できるとともに、各
車載電子制御装置に組み込む通信プロトコルを最小限と
するとともに、構成を簡素化でき、かつ、製造コストア
ップを最小限に抑えることを目的とする。
The present invention has been made to solve such a problem, and failure information output from a plurality of on-vehicle electronic control units may cause data corruption or the like due to interference on a communication line. It is an object of the present invention to reliably prevent the occurrence of a problem, to minimize the number of communication protocols to be incorporated in each vehicle-mounted electronic control device, to simplify the configuration, and to minimize the increase in manufacturing costs.

【0013】[0013]

【課題を解決するための手段】本発明の車両診断システ
ムは、複数の車載電子制御装置から車両情報を得て故障
診断を行う車両診断システムであって、上記車両情報の
通信を許可する通信許可信号を上記複数の車載電子制御
装置間で授受することを特徴とする。ここで、上記複数
の車載電子制御装置間を通信許可信号ラインで接続し、
この通信許可信号ラインを介して上記通信許可信号の授
受を行っても良い。また、上記複数の車載電子制御装置
のうち、最初に上記車両情報の通信を開始する車載電子
制御装置以外の車載電子制御装置では、上記通信許可信
号を受信した後上記車両情報の通信を開始しても良い。
A vehicle diagnosis system according to the present invention is a vehicle diagnosis system for performing a failure diagnosis by obtaining vehicle information from a plurality of on-vehicle electronic control units, wherein a communication permission for permitting communication of the vehicle information is provided. Signals are transmitted and received between the plurality of on-vehicle electronic control devices. Here, the plurality of in-vehicle electronic control devices are connected by a communication permission signal line,
The communication permission signal may be transmitted and received via the communication permission signal line. Further, among the plurality of on-vehicle electronic control devices, the on-vehicle electronic control devices other than the on-vehicle electronic control device that first starts communication of the vehicle information start communication of the vehicle information after receiving the communication permission signal. May be.

【0014】本発明の他の態様では、外部機器からの車
両情報の出力要求に対し、車載電子制御装置間で上記車
両情報の出力を許可する通信許可信号の授受を行って、
各車載電子制御装置から順次上記外部機器に上記車両情
報を出力することを特徴とする。
In another aspect of the present invention, in response to a request for output of vehicle information from an external device, a communication permission signal for permitting the output of the vehicle information is transmitted and received between the on-vehicle electronic control units.
The on-vehicle electronic control unit sequentially outputs the vehicle information to the external device.

【0015】ここで、上記通信許可信号は、上記車載電
子制御装置での上記車両情報の通信終了時にハイレベル
あるいはロウレベルとなるフラグ信号であっても良い。
また、上記通信許可信号は、上記車載電子制御装置での
上記車両情報の通信終了時にのみ出力されるパルス信号
であっても良い。
Here, the communication permission signal may be a flag signal which becomes a high level or a low level at the end of the communication of the vehicle information in the on-vehicle electronic control device.
Further, the communication permission signal may be a pulse signal output only when the communication of the vehicle information in the on-vehicle electronic control device ends.

【0016】本発明のその他の態様では、複数の車載電
子制御装置から車両情報を得て故障診断を行う車両診断
システムであって、ある車載電子制御装置での上記車両
情報の通信終了時に他の車載電子制御装置に通信許可信
号を出力する通信完了出力手段と、上記通信完了出力手
段から出力された通信許可信号に基づき、上記他の車載
電子制御装置での上記車両情報の通信を許可する判定手
段とを備えたことを特徴とする。
According to another aspect of the present invention, there is provided a vehicle diagnosis system for performing a failure diagnosis by obtaining vehicle information from a plurality of on-vehicle electronic control devices, wherein when a certain on-vehicle electronic control device terminates the communication of the vehicle information, the other on-vehicle electronic control device performs another diagnosis. A communication completion output unit that outputs a communication permission signal to the on-vehicle electronic control device; and a determination that the communication of the vehicle information by the other on-vehicle electronic control device is permitted based on the communication permission signal output from the communication completion output unit. Means.

【0017】また、本発明のコンピュータ読み取り可能
な記録媒体は、複数の車載電子制御装置から車両情報を
得て故障診断を行う車両診断システムにおいて、ある車
載電子制御装置での上記車両情報の通信終了時に他の車
載電子制御装置に上記車両情報の通信を許可する通信許
可信号を出力する手段としてコンピュータを機能させる
プログラムを記録したことを特徴とする。
Also, a computer-readable recording medium according to the present invention provides a vehicle diagnosis system for obtaining a vehicle information from a plurality of on-vehicle electronic control units and performing a failure diagnosis. A program for causing a computer to function as a means for outputting a communication permission signal for permitting communication of the vehicle information to another vehicle-mounted electronic control device at times is recorded.

【0018】本発明の他の態様では、複数の車載電子制
御装置から車両情報を得て故障診断を行う車両診断シス
テムにおいて、ある車載電子制御装置での上記車両情報
の通信終了時に出力される通信許可信号をもとに、他の
車載電子制御装置での上記車両情報の通信の許可を判定
する判定手段としてコンピュータを機能させるプログラ
ムを記録したことを特徴とする。
According to another aspect of the present invention, there is provided a vehicle diagnostic system for performing failure diagnosis by obtaining vehicle information from a plurality of on-vehicle electronic control units. A program for causing a computer to function as a judging means for judging permission of communication of the vehicle information by another vehicle-mounted electronic control device based on the permission signal is recorded.

【0019】上記のように構成した本発明によれば、例
えば車載電子制御装置であるエンジン制御装置−AT制
御装置間において通信許可信号によるアービトレーショ
ンが行われることにより、OBDスキャンツール等の外
部機器からの車両情報の出力要求に対して、まず最初に
エンジン制御装置の返信が終わると、通信許可信号がA
T制御装置に与えられ、それに応じてAT制御装置の返
信が開始されることとなる。これにより、多くの通信プ
ロトコルや複雑なアービトレーションのプログラムを組
み込むことなく、エンジン制御装置とAT制御装置が順
次返信を行うことが可能となる。
According to the present invention configured as described above, for example, arbitration by a communication permission signal is performed between an engine control unit and an AT control unit, which are on-vehicle electronic control units, so that an external device such as an OBD scan tool can perform the arbitration. In response to the request for output of vehicle information of the first time, when the response of the engine control device ends first, the communication permission signal
This is given to the T control device, and the response from the AT control device is started accordingly. As a result, the engine control device and the AT control device can sequentially send back replies without incorporating many communication protocols and complicated arbitration programs.

【0020】[0020]

【発明の実施の形態】以下、本発明の一実施形態を図面
に基づいて説明する。図1は、OBDII規制対応の本実
施形態による車両診断システムの機能構成を示すブロッ
ク図、図2は、本実施形態による車両診断システムの全
体構成を示す図である。
DESCRIPTION OF THE PREFERRED EMBODIMENTS One embodiment of the present invention will be described below with reference to the drawings. FIG. 1 is a block diagram illustrating a functional configuration of a vehicle diagnostic system according to the present embodiment that complies with OBDII regulations. FIG. 2 is a diagram illustrating an overall configuration of the vehicle diagnostic system according to the present embodiment.

【0021】車両生産の最終検査工程や、ディーラー工
場などのサービス現場において、自動車の車両の故障診
断を行うときは、図2に示すように、車両1に搭載され
ている車載電子制御装置であるエンジン制御装置10お
よびAT(オートマチック・トランスミッション)制御
装置20が、SAEJ1962規格のコネクタ2を介し
てシリアルの通信ライン3により外部機器であるOBD
スキャンツール30と接続される。そして、この通信ラ
イン3を介して、エンジン制御装置10およびAT制御
装置20と、OBDスキャンツール30とがデータの授
受を行う。
When performing a failure diagnosis of a vehicle in a final inspection process of vehicle production or a service site such as a dealer factory, the vehicle-mounted electronic control device mounted on the vehicle 1 as shown in FIG. An engine control device 10 and an automatic transmission (AT) control device 20 are connected to a serial communication line 3 via a connector 2 of the SAEJ1962 standard to connect an OBD as an external device.
It is connected to the scan tool 30. Then, the engine control device 10, the AT control device 20, and the OBD scan tool 30 exchange data via the communication line 3.

【0022】本実施形態では、エンジン制御装置10と
AT制御装置20との間は、通信許可フラグライン(通
信許可信号ライン)4で接続されており、AT制御装置
20は、OBDスキャンツール30から故障データの出
力要求があっても、エンジン制御装置10からこの通信
許可フラグライン4を介して通信許可信号を得ない限
り、OBDスキャンツール30に対して応答できなくな
っている。通信許可信号は、エンジン制御装置10から
OBDスキャンツール30に対する応答が完了した時点
で与えられる。
In this embodiment, the engine control device 10 and the AT control device 20 are connected by a communication permission flag line (communication permission signal line) 4, and the AT control device 20 Even if there is a request to output failure data, it is impossible to respond to the OBD scan tool 30 unless a communication permission signal is obtained from the engine control device 10 via the communication permission flag line 4. The communication permission signal is given when the response from the engine control device 10 to the OBD scan tool 30 is completed.

【0023】ここで、エンジン制御装置10、AT制御
装置20およびOBDスキャンツール30の具体的機能
構成について、図1を用いて説明する。図1において、
エンジン制御装置10内の排ガス関連データ記憶部11
およびAT制御装置20内の排ガス関連データ記憶部2
1はそれぞれ、図示しない車両情報検出手段で検出され
たエンジン制御装置10およびAT制御装置20に接続
された図示しないセンサ類、アクチュエータ類、スイッ
チ類や装置各部の排気ガスを悪化させるような故障情報
や動作状態等の排ガス関連データを記憶するためのもの
である。
Here, specific functional configurations of the engine control device 10, the AT control device 20, and the OBD scan tool 30 will be described with reference to FIG. In FIG.
Exhaust gas related data storage unit 11 in engine control device 10
And the exhaust gas related data storage unit 2 in the AT control device 20
Reference numeral 1 denotes failure information detected by vehicle information detection means (not shown), which deteriorates the exhaust gas of sensors, actuators, switches, and other parts (not shown) connected to the engine control device 10 and the AT control device 20. It is for storing exhaust gas-related data such as the operating status and the like.

【0024】エンジン制御装置10内のISO9141
−2通信部12は、OBDスキャンツール30内のIS
O9141−2通信部31との間で、通信ライン3を介
してOBDIIで規定された通信を行う。すなわち、OB
Dスキャンツール30からの要求に応じて、上記排ガス
関連データ記憶部11に格納された排ガス関連データ
を、ISO9141−2に定められたコード、通信プロ
トコルに従ってOBDスキャンツール30に返信する。
このISO9141−2通信部12はまた、OBDスキ
ャンツール30への返信が終了したときに、そのことを
通信完了出力部13に伝える処理も行う。
The ISO9141 in the engine control device 10
-2 communication unit 12 uses the IS in the OBD scan tool 30
Communication defined by OBDII is performed with the O9141-2 communication unit 31 via the communication line 3. That is, OB
In response to a request from the D-scan tool 30, the exhaust-gas-related data stored in the exhaust-gas-related data storage unit 11 is returned to the OBD scan tool 30 according to a code and a communication protocol defined in ISO9141-2.
The ISO9141-2 communication unit 12 also performs a process of notifying the communication completion output unit 13 when the reply to the OBD scan tool 30 is completed.

【0025】通信完了出力部13は、ISO9141−
2通信部12からOBDスキャンツール30への通信が
完了したことを示す通信許可信号を、通信許可フラグラ
イン4を介してAT制御装置20内の通信許可判定部2
3に出力する。通信許可判定部23は、通信完了出力部
13から与えられる通信許可信号に基づいて、AT制御
装置20においてOBDスキャンツール30への返信を
行っても良いかを判定し、その判定結果をISO914
1−2通信部22に伝える。
The communication completion output unit 13 is provided with an ISO 9141-
2 transmits a communication permission signal indicating that the communication from the communication unit 12 to the OBD scan tool 30 has been completed to the communication permission determination unit 2 in the AT control device 20 via the communication permission flag line 4.
Output to 3. The communication permission determination unit 23 determines whether a reply to the OBD scan tool 30 may be sent from the AT control device 20 based on the communication permission signal given from the communication completion output unit 13, and compares the determination result with ISO 914.
Inform 1-2 communication unit 22.

【0026】ISO9141−2通信部22は、通信許
可判定部23から通信の許可が与えられたときに、OB
Dスキャンツール30内のISO9141−2通信部3
1との間で、通信ライン3を介してOBDIIで規定され
た通信を行う。すなわち、OBDスキャンツール30か
らの要求に応じて、エンジン制御装置10による排ガス
関連データの返信が終わった後に、上記排ガス関連デー
タ記憶部21に格納された排ガス関連データを、ISO
9141−2に定められたコードに変換してOBDスキ
ャンツール30に返信する。OBDスキャンツール30
では、エンジン制御装置10およびAT制御装置20か
ら受信した排ガス関連データに基づき、故障情報を表示
部32に表示する。
When a communication permission is given from the communication permission determining section 23, the ISO 9141-2 communication section 22
ISO9141-2 communication unit 3 in the D scan tool 30
The communication specified by OBDII is performed with the communication device 1 via the communication line 3. That is, in response to a request from the OBD scan tool 30, after the engine control device 10 has returned the exhaust gas-related data, the exhaust gas-related data stored in the exhaust gas-related data storage unit 21 is subjected to ISO.
The code is converted into a code defined in 9141-2 and returned to the OBD scan tool 30. OBD Scan Tool 30
Then, the failure information is displayed on the display unit 32 based on the exhaust gas related data received from the engine control device 10 and the AT control device 20.

【0027】なお、エンジン制御装置10およびAT制
御装置20は、排ガス関連データ記憶部11,21に記
憶されたデータに基づき、車両1に設けられた図示しな
いMIL(Malfunction Indicator Lamp)により、故障
情報を表示、アラーム等で運転者に報知するよう構成さ
れている。
The engine control unit 10 and the AT control unit 20 use a not-shown MIL (Malfunction Indicator Lamp) provided in the vehicle 1 based on the data stored in the exhaust gas related data storage units 11 and 21 to provide failure information. Is displayed to the driver by an alarm or the like.

【0028】以下に、上記のように構成した本実施形態
による車両診断システムの動作について、順に説明す
る。まず、OBDスキャンツール30は、エンジン制御
装置10およびAT制御装置20に対して、図3に示す
ような「5bps初期化」と呼ばれる初期化要求を行
う。これは、ISO9141−2規格に記載されてい
る。
Hereinafter, the operation of the vehicle diagnostic system according to the present embodiment configured as described above will be described in order. First, the OBD scan tool 30 makes an initialization request called “5 bps initialization” as shown in FIG. 3 to the engine control device 10 and the AT control device 20. This is described in the ISO9141-2 standard.

【0029】ここでは、まずOBDスキャンツール30
から、通信相手のアドレス情報を表す$33($は16
進数であることを示す)がボーレート5bpsにて送信
される。このアドレス情報$33は、機能アドレスを表
す(すなわち、通信ライン3に繋がっている、排ガスを
悪化させる原因となり得る全ての車載電子制御装置が応
答要求されていることを意味する)。
Here, first, the OBD scan tool 30
From {33 ($ is 16) representing address information of the communication partner
Is transmitted at a baud rate of 5 bps. This address information $ 33 represents a functional address (that is, it means that all the on-vehicle electronic control devices connected to the communication line 3 that may cause deterioration of the exhaust gas are requested to respond).

【0030】OBDスキャンツール30からこのアドレ
ス情報$33が送信されると、エンジン制御装置10が
各車載電子制御装置を代表して、ボーレート10.4k
bps(以降の通信は全て10.4kbps)にて$5
5,$08,$08の情報を送信する。これを受けたO
BDスキャンツール30は、$F7の情報を送信する。
さらに、これを受けたエンジン制御装置10が$CCの
情報をOBDスキャンツール30に送信し、これで初期
化処理が完了する。
When the address information $ 33 is transmitted from the OBD scan tool 30, the engine control unit 10 represents the on-vehicle electronic control unit, and the baud rate is 10.4k.
$ 5 in bps (all subsequent communications are 10.4 kbps)
The information of 5, $ 08 and $ 08 is transmitted. O who received this
The BD scan tool 30 transmits information of $ F7.
Further, the engine control device 10 receiving this transmits the information of $ CC to the OBD scan tool 30, and the initialization process is completed.

【0031】その後、OBDII規制に記載されているS
AEJ1979規格で定められたコマンドがOBDスキ
ャンツール30から要求され、それに対して排ガス悪化
に関連するデータを有する車載電子制御装置が応答す
る。以下では、エンジン制御装置10およびAT制御装
置20の双方が応答すべき車載電子制御装置であり、S
AEJ1979規格のモード$03と称されるコマンド
に対して応答する場合を例にとって説明する。
After that, S described in the OBDII regulation
A command specified by the AEJ 1979 standard is requested from the OBD scan tool 30, and the on-vehicle electronic control device having data relating to the exhaust gas deterioration responds to the request. In the following, both the engine control device 10 and the AT control device 20 are the in-vehicle electronic control devices that should respond,
A case will be described as an example in which a response is made to a command called mode # 03 of the AEJ1979 standard.

【0032】OBDスキャンツール30と車載電子制御
装置との間で授受される通信データの構成は、図4のよ
うに、車載電子制御装置のIDやデータ長などの情報を
含む3バイトから成るヘッダバイトと、排ガス関連デー
タを含む最大7バイトのデータバイトと、エラー検出用
のチェックサムバイトとにより構成される。例えば、O
BDスキャンツール30が上記モード$03を要求する
場合は、そのデータ構成は、図5に示すようなデータ群
となる。
As shown in FIG. 4, the communication data transmitted and received between the OBD scan tool 30 and the on-vehicle electronic control unit has a header of 3 bytes including information such as the ID and data length of the on-vehicle electronic control unit. It comprises a byte, a maximum of 7 data bytes including exhaust gas related data, and a checksum byte for error detection. For example, O
When the BD scan tool 30 requests the mode # 03, the data configuration is a data group as shown in FIG.

【0033】このモード$03とは、故障内容によって
分別されたコードのうち、現在発生中の故障コードを要
求するコマンドである。1つの故障コードは、2バイト
で構成される(SAEJ2012規格に記載されてい
る)。ここで、エンジン制御装置10関連の故障コード
が6つ、AT制御装置20関連の故障コードが3つOB
Dスキャンツール30に応答される場合、1回で送信可
能なデータ量は最大で7バイトであるため、エンジン制
御装置10は故障コードを2回に分けて送信する。ま
た、AT制御装置20からは、1回分の応答が必要とな
る。
The mode # 03 is a command for requesting a currently occurring failure code among the codes classified according to the content of the failure. One fault code is composed of 2 bytes (described in the SAEJ2012 standard). Here, six failure codes related to the engine control device 10 and three failure codes related to the AT control device 20
When responding to the D-scan tool 30, the maximum amount of data that can be transmitted at one time is 7 bytes, so the engine control device 10 transmits the failure code in two parts. Also, one response from the AT control device 20 is required.

【0034】このため、合計で3回分の応答が必要とな
る。ISO9141−2規格には、複数の応答がある場
合、例えば図6に示すように、所定の時間P2(25〜
50ms)以内に順次応答すると規定されている。この
ため、まずエンジン制御装置10が故障コードのデータ
を2回分送信し(応答#1,#2)、その後AT制御装
置20が時間P2以内に故障コードのデータを1回分送
信する(応答#1)方法を選択する。
Therefore, a total of three responses are required. According to the ISO9141-2 standard, when there are a plurality of responses, for example, as shown in FIG.
It is stipulated that responses are made sequentially within 50 ms). Therefore, first, the engine control device 10 transmits the failure code data twice (responses # 1 and # 2), and then the AT control device 20 transmits the failure code data one time within the time P2 (response # 1). ) Choose a method.

【0035】図1に示す車両診断システムでは、エンジ
ン制御装置10とAT制御装置20の何れがOBDスキ
ャンツール30に対して応答するかのタイミング調整
を、エンジン制御装置10−AT制御装置20間におけ
る通信許可フラグの通信によって行う。すなわち、図7
に示すように、エンジン制御装置10のISO9141
−2通信部12は、OBDスキャンツール30から故障
コード要求のコマンドを受信すると、その受信完了直後
から時間P2以内に通信完了出力部13に対して、エン
ジン制御装置10が出力中であることをAT制御装置2
0に報知する目的で、通信許可フラグライン4の信号を
ロウ電圧(ロウレベル)とする。
In the vehicle diagnostic system shown in FIG. 1, the timing adjustment of which of the engine control device 10 and the AT control device 20 responds to the OBD scan tool 30 is performed between the engine control device 10 and the AT control device 20. This is performed by communication of the communication permission flag. That is, FIG.
As shown in FIG.
-2, upon receiving the failure code request command from the OBD scan tool 30, the communication unit 12 notifies the communication completion output unit 13 that the engine control device 10 is outputting the command within the time P2 immediately after the completion of the reception. AT control device 2
For the purpose of notifying to 0, the signal of the communication permission flag line 4 is set to a low voltage (low level).

【0036】その後、エンジン制御装置10のISO9
141−2通信部12は、エンジン制御装置10からO
BDスキャンツール30へ故障コードの通信が完了した
時点で、通信完了出力部13に対して、通信が完了した
ことをAT制御装置20に報知する目的で、通信許可フ
ラグライン4をハイ電圧(ハイレベルの通信許可信号)
に再命令する。AT制御装置20の通信許可判定部23
は、通信許可フラグライン4の信号がロウ電圧かハイ電
圧かを監視し、ロウ電圧からハイ電圧になったときに、
ISO9141−2通信部22に対して故障コードの送
信を開始するように命令する。
Thereafter, the ISO 9 of the engine control device 10
The 141-2 communication unit 12 sends an O
When the communication of the failure code to the BD scan tool 30 is completed, the communication permission flag line 4 is set to a high voltage (high) to notify the AT control device 20 of the completion of the communication to the communication completion output unit 13. Level communication permission signal)
Order again. Communication permission determination unit 23 of AT control device 20
Monitors whether the signal of the communication permission flag line 4 is a low voltage or a high voltage, and when the signal changes from the low voltage to the high voltage,
Instructs the ISO 9141-2 communication unit 22 to start transmission of the failure code.

【0037】なお、エンジン制御装置10の関連では故
障が発生しておらず、AT制御装置20のみが応答すべ
き車載電子制御装置である場合は、エンジン制御装置1
0の通信完了出力部13は、通信の許可をAT制御装置
20に報知する目的で、故障コード要求コマンドの受信
後も通信許可フラグライン4の信号をハイ電圧に維持す
る。
In the case where no failure has occurred in relation to the engine control device 10 and only the AT control device 20 is a vehicle-mounted electronic control device to which a response is made, the engine control device 1
The 0 communication completion output unit 13 maintains the signal of the communication permission flag line 4 at a high voltage even after receiving the failure code request command, for the purpose of notifying the AT control device 20 of the permission of the communication.

【0038】上述のエンジン制御装置10における通信
の動作を、図8に示すフローチャートを参照しながら説
明する。図8において、まずISO9141−2通信部
12は、OBDスキャンツール30からの故障コード要
求のコマンドを監視し(ステップS101)、要求があ
った場合、OBDスキャンツール30からの全要求デー
タを受信して格納する(ステップS102)。そして、
全要求データの受信が完了したことを通信完了出力部1
3に出力する。
The communication operation of the engine control device 10 will be described with reference to the flowchart shown in FIG. In FIG. 8, first, the ISO9141-2 communication unit 12 monitors a failure code request command from the OBD scan tool 30 (step S101), and when requested, receives all request data from the OBD scan tool 30. Is stored (step S102). And
Communication completion output unit 1 that the reception of all request data has been completed
Output to 3.

【0039】要求データ受信の完了を受けた通信完了出
力部13は、図1に示す通信ライン3をエンジン制御装
置10が占有することをAT制御装置20に伝えるため
に、通信許可フラグラインをロウ電圧にする(ステップ
S103)。そして、ISO9141−2通信部12
は、図7に示す所定の時間P2(25ms)の経過を待
って(ステップS104)、図7に示すように応答#1
のデータをOBDスキャンツール30に送信する(ステ
ップS105)。
The communication completion output unit 13 receiving the completion of the request data reception sets the communication permission flag line low to inform the AT control device 20 that the engine control device 10 occupies the communication line 3 shown in FIG. The voltage is set (step S103). Then, the ISO9141-2 communication unit 12
Waits for the elapse of a predetermined time P2 (25 ms) shown in FIG. 7 (step S104), and returns a response # 1 as shown in FIG.
Is transmitted to the OBD scan tool 30 (step S105).

【0040】1つの応答の送信が終わると、ISO91
41−2通信部12は、全応答データの送信が完了した
か判断し(ステップS106)、まだ残りの応答データ
がある場合はステップS104へと戻る。図7の例で
は、応答#2のデータが未送信のため、ステップS10
4に戻り、所定の時間P2(25ms)の経過後に応答
#2のデータをOBDスキャンツール30に送信する
(ステップS105)。全応答データの通信が完了する
と、通信完了出力部13は、AT制御装置20に通信許
可を伝えるために、通信許可フラグラインをハイ電圧と
する(ステップS107)。
When transmission of one response is completed, ISO 91
The 41-2 communication unit 12 determines whether transmission of all response data has been completed (step S106), and returns to step S104 if there is still remaining response data. In the example of FIG. 7, since the data of response # 2 has not been transmitted, step S10
4 and the response # 2 data is transmitted to the OBD scan tool 30 after a predetermined time P2 (25 ms) has elapsed (step S105). When the communication of all response data is completed, the communication completion output unit 13 sets the communication permission flag line to a high voltage in order to notify the AT control device 20 of the communication permission (step S107).

【0041】一方、AT制御装置20では、OBDスキ
ャンツール30から故障コード要求のコマンドを受信し
た後25ms以上経過してから、通信許可判定部23に
より、通信許可フラグライン4がハイ電圧(通信許可)
の状態であるか否かを判断し、通信許可の状態である場
合には応答データをOBDスキャンツール30に送信す
る。上述のAT制御装置20における通信の動作を、図
9に示すフローチャートを参照しながら以下に説明す
る。
On the other hand, in the AT control device 20, after 25 ms or more has passed after receiving the failure code request command from the OBD scan tool 30, the communication permission determining unit 23 sets the communication permission flag line 4 to a high voltage (communication permission). )
It is determined whether or not the state is the communication state. If the state is the communication permission state, the response data is transmitted to the OBD scan tool 30. The communication operation in the above-described AT control device 20 will be described below with reference to the flowchart shown in FIG.

【0042】図9において、まずISO9141−2通
信部22は、OBDスキャンツール30から故障コード
要求のコマンドが送られてきたかを監視し(ステップS
201)、要求があった場合、OBDスキャンツール3
0からの全要求データを受信して格納する(ステップS
202)。要求データ受信を完了したISO9141−
2通信部22は、図7に示す所定の時間P2(25m
s)の経過を待つ(ステップS203)。そして、通信
許可フラグラインがハイ電圧(通信許可)かを通信許可
判定部23により判断する(ステップS204)。
In FIG. 9, first, the ISO9141-2 communication unit 22 monitors whether a command for requesting a failure code has been sent from the OBD scan tool 30 (step S).
201) If requested, OBD scan tool 3
0 is received and stored (step S
202). ISO9141-completed receiving the request data
The second communication unit 22 performs the predetermined time P2 (25 m
Wait for elapse of s) (step S203). Then, the communication permission determining unit 23 determines whether the communication permission flag line is at a high voltage (communication permission) (step S204).

【0043】ここで、通信許可判定部23により通信許
可されてないと判断された場合、すなわち通信許可フラ
グライン4がロウ電圧の場合は、通信許可か否かを再度
判定し、通信許可フラグライン4がハイ電圧になるまで
待つ(ステップS205)。そして、通信許可の判定
後、ステップS203に戻って所定のウェイト時間P2
(25ms)の経過を待った後、応答#1のデータをO
BDスキャンツール30に送信する(ステップS20
6)。
Here, when the communication permission determining unit 23 determines that the communication is not permitted, that is, when the communication permission flag line 4 is at the low voltage, it is determined again whether or not the communication is permitted, and the communication permission flag line Wait until 4 becomes high voltage (step S205). Then, after the determination of the communication permission, the process returns to step S203 to return to the predetermined wait time P2.
(25 ms), the response # 1 data is
Transmit to the BD scan tool 30 (Step S20)
6).

【0044】1つの応答の送信が終わると、ISO91
41−2通信部22は、全応答データの送信が完了した
かどうかを判断し(ステップS207)、まだ残りの応
答データがある場合はステップS203へと戻る。図7
の例では、AT制御装置20からOBDスキャンツール
30への応答データは、応答#1のみであり、全応答デ
ータの送信が完了したので、OBDスキャンツール30
からの要求を待つステップS201に戻る。
When transmission of one response is completed, ISO 91
The 41-2 communication unit 22 determines whether transmission of all response data has been completed (step S207), and returns to step S203 if there is still remaining response data. FIG.
In the example, the response data from the AT control device 20 to the OBD scan tool 30 is only the response # 1, and the transmission of all the response data has been completed.
The process returns to step S201 to wait for a request from.

【0045】以上詳しく説明したように、本実施形態の
車両診断システムによれば、通信許可フラグライン4を
用いて、各車載電子制御装置10,20がOBDスキャ
ンツール30に対して応答する順番を調整するので、O
BDII規制の下において、簡単な構成で各車載電子制御
装置10,20の通信タイミングを調整できる。すなわ
ち、エンジン制御装置10−AT制御装置20間で従来
のシリアル通信が不要となるので、各車載電子制御装置
10,20に組み込む複雑な構成の通信プロトコルを最
小限に抑えることができる。さらに、エンジン制御装置
10の排ガス関連データとAT制御装置20の排ガス関
連データとを連結させる手段が不要となる。これによ
り、各車載電子制御装置10,20の開発コストを抑え
ることができるとともに、開発プログラムの簡素化、R
OM容量の削減を図ることが可能となる。
As described in detail above, according to the vehicle diagnostic system of the present embodiment, the order in which the on-vehicle electronic control units 10 and 20 respond to the OBD scan tool 30 using the communication permission flag line 4 is determined. O to adjust
Under the BDII regulations, the communication timing of each of the on-vehicle electronic control units 10 and 20 can be adjusted with a simple configuration. That is, since conventional serial communication between the engine control device 10 and the AT control device 20 is not required, a communication protocol having a complicated configuration incorporated in each of the on-vehicle electronic control devices 10 and 20 can be minimized. Further, there is no need for a means for linking the exhaust gas related data of the engine control device 10 and the exhaust gas related data of the AT control device 20. As a result, the development cost of each of the on-vehicle electronic control devices 10 and 20 can be reduced, and the development program can be simplified.
It is possible to reduce the OM capacity.

【0046】なお、図1に示した本実施形態による車両
診断システムは、実際には各車載電子制御装置10,2
0に搭載されたCPUあるいはMPU、ROMおよびR
AMなどから成るコンピュータシステムにより構成さ
れ、上述の機能を実現するプログラムは、RAMやRO
Mに格納される。また、これ以外にも、本実施形態の車
両診断システムに上記プログラムを外部から供給し、供
給されたプログラムが動作することによって上記機能を
実現することも可能である。
Note that the vehicle diagnostic system according to the present embodiment shown in FIG.
0 CPU or MPU, ROM and R
A program that is configured by a computer system including an AM and the like and realizes the above-described functions includes a RAM and an RO.
M. In addition, it is also possible to externally supply the program to the vehicle diagnostic system of the present embodiment, and realize the functions by operating the supplied program.

【0047】この場合、上記プログラムを供給するため
の手段、例えば上記プログラムを格納した記録媒体は、
本発明を構成する。なお、上記プログラムを記憶する記
録媒体としては、RAMやROMの他に、例えばフロッ
ピーディスク、ハードディスク、光ディスク、光磁気デ
ィスク、CD−ROM、DVD、磁気テープ、不揮発性
のメモリカード等を用いることができる。
In this case, means for supplying the program, for example, a recording medium storing the program,
The present invention is constituted. As a recording medium for storing the above program, for example, a floppy disk, a hard disk, an optical disk, a magneto-optical disk, a CD-ROM, a DVD, a magnetic tape, a nonvolatile memory card, and the like can be used in addition to the RAM and the ROM. it can.

【0048】また、コンピュータが供給されたプログラ
ムを実行することにより上述の実施形態の機能が実現さ
れるだけでなく、そのプログラムがコンピュータにおい
て稼働しているOS(オペレーティングシステム)ある
いは他のアプリケーションソフト等と共同して上述の実
施形態の機能が実現される場合も、かかるプログラムは
本発明の実施形態に含まれる。
The functions of the above-described embodiments are realized not only by the computer executing the supplied program, but also by the OS (operating system) or other application software running on the computer. Such a program is also included in the embodiments of the present invention when the functions of the above-described embodiments are implemented in cooperation with the computer.

【0049】なお、上記に説明した本実施形態は、何れ
も本発明を実施するにあたっての具体化の一例を示した
ものに過ぎず、これらによって本発明の技術的範囲が限
定的に解釈されてはならないものである。すなわち、本
発明はその精神、またはその主要な特徴から逸脱するこ
となく、様々な形で実施することができる。
It should be noted that each of the above-described embodiments is merely an example of the embodiment for carrying out the present invention, and the technical scope of the present invention is interpreted in a limited manner. It must not be. That is, the present invention can be embodied in various forms without departing from the spirit or main features thereof.

【0050】例えば、上記実施形態では、AT制御装置
20は、通信許可フラグライン4がロウ電圧のときに通
信不可、ハイ電圧のときに通信許可としているが、これ
とは逆に、ロウ電圧のときに通信許可、ハイ電圧のとき
に通信不可としても良い。
For example, in the above-described embodiment, the AT control device 20 disables communication when the communication permission flag line 4 is at a low voltage and enables communication when the communication permission flag line 4 is at a high voltage. Communication may be permitted at some times, and communication may be disabled at a high voltage.

【0051】また、上記実施形態では、通信完了出力部
13から通信許可判定部23に対してロウ電圧またはハ
イ電圧のフラグ信号を常時出力しているが、エンジン制
御装置10での応答通信が完了したとき(応答しない場
合を含む)にのみ、パルス的な通信許可信号を出力して
も良い。この場合、通信許可判定部23では、通信完了
出力部13からパルス的な通信許可信号が入力されたか
監視し、入力された場合にAT制御装置20での応答通
信を開始するようにISO9141−2通信部22に命
令を与える。
In the above embodiment, the low-voltage or high-voltage flag signal is always output from the communication completion output unit 13 to the communication permission determination unit 23. However, the response communication in the engine control unit 10 is completed. The pulse-like communication permission signal may be output only when the response is made (including when there is no response). In this case, the communication permission determination unit 23 monitors whether or not a pulsed communication permission signal has been input from the communication completion output unit 13, and if it has been input, responds according to ISO9141-2 so as to start response communication in the AT control device 20. An instruction is given to the communication unit 22.

【0052】また、上記実施形態では、最初にエンジン
制御装置10から応答を開始し、その通信完了後にAT
制御装置20が応答するが、この順番は逆でも良い。こ
の場合は、エンジン制御装置10が通信許可判定部23
を備え、AT制御装置20が通信完了出力部13を備え
る。なお、通信完了出力部13と通信許可判定部23の
両方を、エンジン制御装置10とAT制御装置20のそ
れぞれに設けても良い。
In the above embodiment, a response is first started from the engine control device 10, and after the communication is completed, the AT
The controller 20 responds, but this order may be reversed. In this case, the engine control device 10 sets the communication permission determination unit 23
The AT control device 20 includes the communication completion output unit 13. Note that both the communication completion output unit 13 and the communication permission determination unit 23 may be provided in each of the engine control device 10 and the AT control device 20.

【0053】また、上記実施形態では、車載電子制御装
置の一例としてエンジン制御装置10とAT制御装置2
0とを挙げているが、これ以外のトラクションコントロ
ール(TCL)制御ユニット、ABS(Anti-lock Brak
e System)制御ユニット、パワーステアリング制御ユニ
ット等の各種の車載電子制御装置に本発明を適用でき
る。
In the above embodiment, the engine control unit 10 and the AT control unit 2 are used as an example of the on-vehicle electronic control unit.
0, but other traction control (TCL) control units, ABS (Anti-lock Brak
e System) The present invention can be applied to various on-vehicle electronic control devices such as a control unit and a power steering control unit.

【0054】また、アービトレーションは2つの車載電
子制御装置間に限らず、これより多くの装置間でも可能
である。すなわち、例えば、複数の車載電子制御装置を
通信許可信号ラインにより従属に接続し、1つの車載電
子制御装置で応答が終わる毎に通信許可を順次伝えてい
くことによって簡単に実現できる。また、通信完了出力
部13および通信許可判定部23の機能を各車載電子制
御装置とは別に独立して設け、これと各車載電子制御装
置との間で応答の完了通知や通信許可の通知をあらかじ
め定めた順番に従って順次行っても実現できる。
The arbitration is not limited to between two on-vehicle electronic control units, but can be performed between more than two units. That is, for example, it can be easily realized by connecting a plurality of in-vehicle electronic control devices in a subordinate manner by a communication permission signal line, and sequentially transmitting communication permission each time a response is completed by one in-vehicle electronic control device. In addition, the functions of the communication completion output unit 13 and the communication permission determination unit 23 are provided independently of each of the on-vehicle electronic control devices, and a completion notification of a response and a notification of communication permission are provided between the on-vehicle electronic control devices. It can also be realized by performing the operations sequentially according to a predetermined order.

【0055】また、通信許可信号ラインは、通信許可フ
ラグライン4のように専用線でなく、通信ライン3のよ
うな既存の通信ラインを兼用しても良い。また、通信許
可信号は、通信の終了を表す信号ではなく、通信の開始
を指示する信号であっても良い。また、車両情報は、故
障データではなく、車両各部の種々の情報(正常、異常
を問わず)でも良く、それらの各種情報に基づき外部機
器側で故障箇所を診断するシステムにも本発明は適用さ
れる。さらに、車両情報は、排気ガスを悪化させるよう
な故障データのみならず、排気ガスとは関係のない故障
データを含むものであっても良い。
The communication permission signal line may not be a dedicated line like the communication permission flag line 4 but may be an existing communication line such as the communication line 3. Further, the communication permission signal may be a signal instructing the start of communication, instead of the signal indicating the end of communication. Further, the vehicle information may be various information (regardless of whether it is normal or abnormal) of each part of the vehicle instead of the failure data, and the present invention is also applied to a system for diagnosing a failure location on an external device side based on the various information. Is done. Further, the vehicle information may include not only failure data that deteriorates exhaust gas but also failure data that is not related to exhaust gas.

【0056】[0056]

【発明の効果】本発明は上述したように、複数の車載電
子制御装置間で授受される通信許可信号に基づき各車載
電子制御装置が順次車両情報を出力する構成としたの
で、多くの通信プロトコルや複雑なアービトレーション
のプログラムをシステム内に組み込むことなく、例えば
OBDスキャンツール等の外部機器から複数の車載電子
制御装置に対する車両情報取得の要求に対して、各車載
電子制御装置が順次返信することができる。これによ
り、装置製造のコストアップを最小限に抑えた簡単な構
成で、各車載電子制御装置が同時に返信をすることによ
ってデータ化けが発生するという不都合を確実に防止す
ることができる。
As described above, according to the present invention, each vehicle-mounted electronic control device sequentially outputs vehicle information based on a communication permission signal transmitted and received between a plurality of vehicle-mounted electronic control devices. Each of the in-vehicle electronic control units can sequentially reply to a request for obtaining vehicle information from a plurality of in-vehicle electronic control units from an external device such as an OBD scan tool without incorporating a complicated arbitration program into the system. it can. This makes it possible to reliably prevent the inconvenience of data garbled due to the in-vehicle electronic control devices simultaneously replying to each other, with a simple configuration that minimizes the increase in the cost of device manufacturing.

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

【図1】OBDII規制対応の本実施形態による車両診断
システムの機能構成を示すブロック図である。
FIG. 1 is a block diagram illustrating a functional configuration of a vehicle diagnostic system according to an embodiment that is compliant with OBDII regulations.

【図2】本実施形態による車両診断システムの全体構成
を示す図である。
FIG. 2 is a diagram illustrating an overall configuration of a vehicle diagnosis system according to the present embodiment.

【図3】ISO9141−2規格に記載されている「5
bps初期化」と呼ばれる初期化動作を示すタイムチャ
ートである。
FIG. 3 shows “5” described in the ISO9141-2 standard.
6 is a time chart illustrating an initialization operation called “bps initialization”.

【図4】OBDII規制に基づく送受信データのバイト構
成を示す図である。
FIG. 4 is a diagram showing a byte configuration of transmission / reception data based on OBDII regulations.

【図5】現在発生中の故障コードを要求するためのコマ
ンドを送信する場合のデータ構成を示す図である。
FIG. 5 is a diagram showing a data configuration when a command for requesting a currently occurring failure code is transmitted.

【図6】ISO9141−2規格に記載されている複数
応答がある場合の通信動作を示すタイムチャートであ
る。
FIG. 6 is a time chart showing a communication operation when there are a plurality of responses described in the ISO9141-2 standard.

【図7】複数の電子制御装置間における応答のタイミン
グ調整を通信許可フラグによって行う本実施形態の通信
動作を示すタイムチャートである。
FIG. 7 is a time chart illustrating a communication operation according to the present embodiment in which a response timing adjustment between a plurality of electronic control units is performed using a communication permission flag.

【図8】本実施形態によるエンジン制御装置における通
信の動作を示すフローチャートである。
FIG. 8 is a flowchart illustrating an operation of communication in the engine control device according to the present embodiment.

【図9】本実施形態によるAT制御装置における通信の
動作を示すフローチャートである。
FIG. 9 is a flowchart showing a communication operation in the AT control device according to the present embodiment.

【図10】従来の車両診断システムの構成例を示すブロ
ック図である。
FIG. 10 is a block diagram illustrating a configuration example of a conventional vehicle diagnosis system.

【符号の説明】[Explanation of symbols]

1 車両 2 コネクタ 3 通信ライン 4 通信許可フラグライン 10 エンジン制御装置 11 排ガス関連データ記憶部 12 ISO9141−2通信部 13 通信完了出力部 20 AT制御装置 21 排ガス関連データ記憶部 22 ISO9141−2通信部 23 通信許可判定部 30 OBDスキャンツール 31 ISO9141−2通信部 32 表示部 Reference Signs List 1 vehicle 2 connector 3 communication line 4 communication permission flag line 10 engine control device 11 exhaust gas related data storage unit 12 ISO9141-2 communication unit 13 communication completion output unit 20 AT control device 21 exhaust gas related data storage unit 22 ISO9141-2 communication unit 23 Communication permission determination unit 30 OBD scan tool 31 ISO9141-2 communication unit 32 Display unit

Claims (9)

【特許請求の範囲】[Claims] 【請求項1】 複数の車載電子制御装置から車両情報を
得て故障診断を行う車両診断システムであって、 上記車両情報の通信を許可する通信許可信号を上記複数
の車載電子制御装置間で授受することを特徴とする車両
診断システム。
1. A vehicle diagnosis system for obtaining a vehicle information from a plurality of on-vehicle electronic control devices and performing a failure diagnosis, wherein a communication permission signal for permitting communication of the vehicle information is transmitted and received between the plurality of on-vehicle electronic control devices. A vehicle diagnostic system characterized by:
【請求項2】 上記複数の車載電子制御装置間を通信許
可信号ラインで接続し、この通信許可信号ラインを介し
て上記通信許可信号の授受を行うことを特徴とする請求
項1に記載の車両診断システム。
2. The vehicle according to claim 1, wherein the plurality of on-vehicle electronic control units are connected by a communication permission signal line, and the communication permission signal is transmitted / received via the communication permission signal line. Diagnostic system.
【請求項3】 上記複数の車載電子制御装置のうち、最
初に上記車両情報の通信を開始する車載電子制御装置以
外の車載電子制御装置では、上記通信許可信号を受信し
た後上記車両情報の通信を開始することを特徴とする請
求項1または2に記載の車両診断システム。
3. An on-vehicle electronic control device other than the on-vehicle electronic control device that first starts communication of the vehicle information among the plurality of on-vehicle electronic control devices after receiving the communication permission signal. 3. The vehicle diagnostic system according to claim 1, wherein
【請求項4】 外部機器からの車両情報の出力要求に対
し、車載電子制御装置間で上記車両情報の出力を許可す
る通信許可信号の授受を行って、各車載電子制御装置か
ら順次上記外部機器に上記車両情報を出力することを特
徴とする車両診断システム。
4. In response to a request for output of vehicle information from an external device, a communication permission signal for permitting the output of the vehicle information is transmitted and received between the on-vehicle electronic control devices. And outputting the vehicle information to the vehicle diagnostic system.
【請求項5】 上記通信許可信号は、上記車載電子制御
装置での上記車両情報の通信終了時にハイレベルあるい
はロウレベルとなるフラグ信号であることを特徴とする
請求項1〜4の何れか1項に記載の車両診断システム。
5. The communication apparatus according to claim 1, wherein the communication permission signal is a flag signal which becomes a high level or a low level when the communication of the vehicle information in the on-vehicle electronic control device is completed. A vehicle diagnostic system according to claim 1.
【請求項6】 上記通信許可信号は、上記車載電子制御
装置での上記車両情報の通信終了時にのみ出力されるパ
ルス信号であることを特徴とする請求項1〜4の何れか
1項に記載の車両診断システム。
6. The communication apparatus according to claim 1, wherein the communication permission signal is a pulse signal output only when communication of the vehicle information in the on-vehicle electronic control device is completed. Vehicle diagnostic system.
【請求項7】 複数の車載電子制御装置から車両情報を
得て故障診断を行う車両診断システムであって、 ある車載電子制御装置での上記車両情報の通信終了時に
他の車載電子制御装置に通信許可信号を出力する通信完
了出力手段と、 上記通信完了出力手段から出力された通信許可信号に基
づき、上記他の車載電子制御装置での上記車両情報の通
信を許可する判定手段とを備えたことを特徴とする車両
診断システム。
7. A vehicle diagnosis system for performing a failure diagnosis by obtaining vehicle information from a plurality of on-vehicle electronic control devices, wherein when a communication of the vehicle information by one on-vehicle electronic control device ends, the vehicle diagnosis system communicates with another on-vehicle electronic control device. A communication completion output unit that outputs a permission signal; and a determination unit that permits communication of the vehicle information in the other vehicle-mounted electronic control device based on the communication permission signal output from the communication completion output unit. Vehicle diagnostic system characterized by the above-mentioned.
【請求項8】 複数の車載電子制御装置から車両情報を
得て故障診断を行う車両診断システムにおいて、ある車
載電子制御装置での上記車両情報の通信終了時に他の車
載電子制御装置に上記車両情報の通信を許可する通信許
可信号を出力する手段としてコンピュータを機能させる
プログラムを記録したことを特徴とするコンピュータ読
み取り可能な記録媒体。
8. A vehicle diagnosis system for performing failure diagnosis by obtaining vehicle information from a plurality of on-vehicle electronic control units, wherein when one of the on-vehicle electronic control units terminates communication of the vehicle information, the on-vehicle electronic control unit transmits the vehicle information to another on-vehicle electronic control unit. A computer-readable recording medium on which a program for causing a computer to function as a means for outputting a communication permission signal for permitting communication of the computer is recorded.
【請求項9】 複数の車載電子制御装置から車両情報を
得て故障診断を行う車両診断システムにおいて、ある車
載電子制御装置での上記車両情報の通信終了時に出力さ
れる通信許可信号をもとに、他の車載電子制御装置での
上記車両情報の通信の許可を判定する判定手段としてコ
ンピュータを機能させるプログラムを記録したことを特
徴とするコンピュータ読み取り可能な記録媒体。
9. A vehicle diagnosis system for obtaining a vehicle information from a plurality of on-vehicle electronic control devices and performing a failure diagnosis, based on a communication permission signal output at the end of communication of the vehicle information in a certain on-vehicle electronic control device. A computer-readable recording medium having recorded thereon a program for causing a computer to function as a judging means for judging permission of communication of the vehicle information by another on-vehicle electronic control device.
JP11084342A 1999-03-26 1999-03-26 Vehicle diagnostic system and recording medium Pending JP2000275145A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP11084342A JP2000275145A (en) 1999-03-26 1999-03-26 Vehicle diagnostic system and recording medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP11084342A JP2000275145A (en) 1999-03-26 1999-03-26 Vehicle diagnostic system and recording medium

Publications (1)

Publication Number Publication Date
JP2000275145A true JP2000275145A (en) 2000-10-06

Family

ID=13827845

Family Applications (1)

Application Number Title Priority Date Filing Date
JP11084342A Pending JP2000275145A (en) 1999-03-26 1999-03-26 Vehicle diagnostic system and recording medium

Country Status (1)

Country Link
JP (1) JP2000275145A (en)

Cited By (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
KR100411081B1 (en) * 2000-12-27 2003-12-18 현대자동차주식회사 Method for a diagnosis of vehicles using portable diagnosis system
KR20040023365A (en) * 2002-09-11 2004-03-18 현대모비스 주식회사 Scan tool with re initializing electronic control system
JP2005504288A (en) * 2001-09-18 2005-02-10 ローベルト ボツシユ ゲゼルシヤフト ミツト ベシユレンクテル ハフツング Method for carrying out remote diagnosis in a vehicle, vehicle diagnosis module and service center
JP2006244070A (en) * 2005-03-02 2006-09-14 Fujitsu Ten Ltd Signal processor
CN106353105A (en) * 2016-08-12 2017-01-25 汪林 Car performance detecting method and car comprehensive performance evaluating method
CN111207932A (en) * 2020-01-10 2020-05-29 深圳市元征科技股份有限公司 Motor vehicle exhaust monitoring method and related equipment
CN112947381A (en) * 2021-03-10 2021-06-11 深圳市博盛科电子有限公司 Environment-friendly detection system and method based on OBD vehicle-mounted diagnosis system

Cited By (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
KR100411081B1 (en) * 2000-12-27 2003-12-18 현대자동차주식회사 Method for a diagnosis of vehicles using portable diagnosis system
JP2005504288A (en) * 2001-09-18 2005-02-10 ローベルト ボツシユ ゲゼルシヤフト ミツト ベシユレンクテル ハフツング Method for carrying out remote diagnosis in a vehicle, vehicle diagnosis module and service center
KR20040023365A (en) * 2002-09-11 2004-03-18 현대모비스 주식회사 Scan tool with re initializing electronic control system
JP2006244070A (en) * 2005-03-02 2006-09-14 Fujitsu Ten Ltd Signal processor
CN106353105A (en) * 2016-08-12 2017-01-25 汪林 Car performance detecting method and car comprehensive performance evaluating method
CN111207932A (en) * 2020-01-10 2020-05-29 深圳市元征科技股份有限公司 Motor vehicle exhaust monitoring method and related equipment
CN112947381A (en) * 2021-03-10 2021-06-11 深圳市博盛科电子有限公司 Environment-friendly detection system and method based on OBD vehicle-mounted diagnosis system

Similar Documents

Publication Publication Date Title
JP3138709B2 (en) Self-diagnosis method and device for electronic control unit for vehicle
US5090012A (en) Multiplex transmission system for use in a vehicle
JPH09229983A (en) Failure diagnosis device for vehicle electronic control unit
US20160134553A1 (en) Flexible scheduling method and apparatus in lin communication
JPH08233696A (en) Device for executing vehicle test or evaluating defect of vehicle
CN114815773A (en) Vehicle diagnosis response method and device, readable storage medium and vehicle gateway
JP2000275145A (en) Vehicle diagnostic system and recording medium
JP2009035237A (en) Failure diagnosis device, and failure diagnosis method
WO2020049871A1 (en) Vehicular communication device
JP2009027270A (en) COMMUNICATION SYSTEM, RELAY DEVICE, AND COMMUNICATION METHOD
US20110222433A1 (en) Automatic address configuration of vehicle network devices during installation
JP4572730B2 (en) Vehicle USB system and in-vehicle wireless communication device
KR20030048598A (en) Self diagnostic apparatus for automobile and diagnosis method using the same
JP3896891B2 (en) Vehicle communication system
KR20010113194A (en) Interface aqpparatus for remote diagnosis of vehicle
JP3799797B2 (en) Diagnostic equipment for vehicles
US7310746B2 (en) Method for transmitting messages between bus users
JP4259468B2 (en) Diagnostic system for vehicles
KR100499944B1 (en) self diagnosis system for automobile using telematics apparatus
JP4055384B2 (en) Fault diagnosis device for vehicles
JP4007023B2 (en) Fault diagnosis device for vehicles
KR200279114Y1 (en) Automobile Self Diagnostic Apparatus For Outputting Self Diagnostic Information Through Mobile Communication Terminal
JPH0638276A (en) Multiplex transmitter
CN121037436A (en) Vehicle-mounted device
JP2020129245A (en) Control device