JPH0727598B2 - Data communication device for in-vehicle electronic control device - Google Patents

Data communication device for in-vehicle electronic control device

Info

Publication number
JPH0727598B2
JPH0727598B2 JP3357227A JP35722791A JPH0727598B2 JP H0727598 B2 JPH0727598 B2 JP H0727598B2 JP 3357227 A JP3357227 A JP 3357227A JP 35722791 A JP35722791 A JP 35722791A JP H0727598 B2 JPH0727598 B2 JP H0727598B2
Authority
JP
Japan
Prior art keywords
data
electronic control
vehicle electronic
control device
external diagnostic
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Expired - Fee Related
Application number
JP3357227A
Other languages
Japanese (ja)
Other versions
JPH05174286A (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.)
Honda Motor Co Ltd
Original Assignee
Honda Motor Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Honda Motor Co Ltd filed Critical Honda Motor Co Ltd
Priority to JP3357227A priority Critical patent/JPH0727598B2/en
Publication of JPH05174286A publication Critical patent/JPH05174286A/en
Priority to US08/328,341 priority patent/US5491631A/en
Publication of JPH0727598B2 publication Critical patent/JPH0727598B2/en
Anticipated expiration legal-status Critical
Expired - Fee Related legal-status Critical Current

Links

Description

【発明の詳細な説明】Detailed Description of the Invention

【0001】[0001]

【産業上の利用分野】本発明は車載用電子制御装置のデ
−タ通信装置に関するものであり、特に車両に搭載され
た電子制御装置内に収集蓄積されたセンサの検出出力や
アクチュエ―タへの指令値、エンジン動作パラメ−タな
どの諸デ−タを外部診断装置へ伝送するためのデ−タ通
信装置に関する。
BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention relates to a data communication device for an on-vehicle electronic control device, and more particularly to a detection output of a sensor collected and accumulated in an electronic control device mounted on a vehicle and an actuator. The present invention relates to a data communication device for transmitting various data such as the command value and engine operation parameter to an external diagnostic device.

【0002】[0002]

【従来の技術】周知のように、自動車、自動二輪車等
(以下、単に「車両」という。)においては、車両に各
種センサや制御用アクチュエ―タを取付け、これらセン
サの出力を車両に搭載された電子制御装置内の記憶装置
に収集蓄積し、これらのセンサ出力を用いて予定の演算
を行ない、その演算結果にしたがって各種の車両制御用
アクチュエータの駆動制御が実行される。
2. Description of the Related Art As is well known, in automobiles, motorcycles and the like (hereinafter simply referred to as "vehicle"), various sensors and control actuators are attached to the vehicle, and the outputs of these sensors are mounted on the vehicle. Collected and stored in a storage device in the electronic control unit, a predetermined calculation is performed using these sensor outputs, and drive control of various vehicle control actuators is executed according to the calculation result.

【0003】また前記電子制御装置内の記憶装置に収集
蓄積されるセンサの出力やアクチュエータの駆動制御用
信号などは、車両の点検修理や保守整備時に、接続用通
信ラインを介して外部診断装置の記憶装置に読出され、
各種センサやアクチュエータ等の故障検出や保守点検に
利用できるようにされている。そしてセンサなどの故障
を示すデータがあれば、該データの内容にしたがってセ
ンサの交換等が行われる。
Further, the output of the sensor, the drive control signal of the actuator, etc. collected and accumulated in the storage device in the electronic control unit are connected to the external diagnostic device via the connection communication line during inspection and repair or maintenance of the vehicle. Read to storage,
It is designed to be used for failure detection and maintenance of various sensors and actuators. If there is data indicating a failure of the sensor or the like, the sensor is replaced or the like according to the content of the data.

【0004】このようなデ−タ通信装置は例えば、特開
昭54−10810、特公昭63−31731、特開昭
64−52551号公報に記載されている。
Such a data communication device is described in, for example, Japanese Patent Application Laid-Open No. 54-10810, Japanese Patent Publication No. 63-31731, and Japanese Patent Application Laid-Open No. 64-52551.

【0005】従来のこの種装置において、車載電子制御
装置から外部診断装置へデ−タを伝送する際の通信形態
の1例を図4に示す。図から明らかなように、センサ出
力、アクチュエ―タへの指令値、アクチュエ―タの動作
状態、エンジン動作状態を示す各種エンジンパラメ−
タ、故障コ−ドなどの予め決められたデ−タが、予定の
周期Tで、必要に応じては通信休止期間を挟んで、周期
的に伝送される。なお、このようなデ−タの伝送は、図
中に示したような1群のデ−タが電子制御装置(以下
「ECU」ともいう)1によって検出、収集され、適当
なメモリに記憶され終ってから行なわれるので、厳密に
言えば必ずしも一定周期ではないが、実際上は一定周期
と考えて差支えない。
FIG. 4 shows an example of a communication form in transmitting data from an on-vehicle electronic control unit to an external diagnostic unit in a conventional device of this type. As is clear from the figure, sensor output, command value to actuator, operating state of actuator, various engine parameters indicating engine operating state.
Predetermined data such as data and fault codes are periodically transmitted at a predetermined cycle T, with a communication inactivity period interposed if necessary. In the transmission of such data, a group of data as shown in the figure is detected and collected by an electronic control unit (hereinafter also referred to as "ECU") 1 and stored in an appropriate memory. Strictly speaking, it is not necessarily a fixed cycle because it is performed after the end, but in practice it can be considered as a fixed cycle.

【0006】[0006]

【発明が解決しようとする課題】前記のような外部診断
装置によるセンサ等の故障検出は、車両が指定通りの検
査モ−ドで動作している間に車載電子制御装置によって
収集され、その記憶装置に蓄積されたデ−タに基づいて
行なわれなければならないから、前記車両および車載電
子制御装置が指定通りの検査モ−ドで動作している間
に、電子制御装置から外部診断装置へのデ−タ転送が正
確に行なわれないと、当然のことながら、センサや部品
等の故障検出、あるいはエンジン動作状態の判定に誤り
を生じ、正常なセンサや部品を交換してしまったり、真
に故障しているセンサ・部品の交換ができなかったりす
るという問題がある。
Failure detection of a sensor or the like by the external diagnostic device as described above is collected by the on-vehicle electronic control device while the vehicle is operating in the specified inspection mode, and its storage is stored. Since it must be performed based on the data accumulated in the device, the electronic control device sends the external diagnostic device to the external diagnostic device while the vehicle and the on-vehicle electronic control device are operating in the specified inspection mode. If the data transfer is not performed correctly, as a matter of course, an error may occur in the detection of a sensor or component failure or in the determination of the engine operating state, and a normal sensor or component may be replaced. There is a problem that failed sensors / parts cannot be replaced.

【0007】例えば、エンジンのアイドル運転時には、
スロットル弁のバイパス通路に設けられた空気量調整弁
(EACV)の開度を制御してエンジン回転数を一定に
するが、この空気量調整弁の検査モ−ドでは、バルブ開
度(具体的には、バルブ開度に応じた制御信号のデュ−
ティ比)を予め定めた4段階(モ−ド)の1つに設定
し、そのときのエンジン回転数などのパラメ−タを検出
し、これに基づいてバルブ開度が設定通りに制御されて
いるかどうかが判断される。したがって、指定したのと
異なる動作モ−ドでのデ−タが取込まれたのでは、正し
い検査、判断ができないことは明白である。
For example, when the engine is idle,
The opening of an air amount adjusting valve (EACV) provided in the bypass passage of the throttle valve is controlled to keep the engine speed constant, but in the inspection mode of this air amount adjusting valve, the valve opening (specifically, Is a control signal duo according to the valve opening.
The tee ratio) is set to one of four predetermined modes, and parameters such as the engine speed at that time are detected. Based on this, the valve opening is controlled as set. It is determined whether or not Therefore, it is obvious that the correct inspection and judgment cannot be made if the data in the operation mode different from the specified one is taken.

【0008】従来技術では特に、燃料の完全燃焼度合い
を検出するためのO2 センサを誤って交換してしまうこ
とが多かった。図3を参照してその状況を以下に説明す
る。同図の(A)はO2 センサの検出出力の変化状態を
表わし、(B)は従来の通信形態で、前記検出出力を外
部診断装置へ読出した時の受信信号の1例を示す。図中
の×印が受信信号(サンプリング値)のレベルを表わ
し、参考のために(A)の波形を点線で併せて示してあ
る。
In the prior art, in particular, the O 2 sensor for detecting the complete combustion degree of fuel was often replaced by mistake. The situation will be described below with reference to FIG. (A) of the figure shows the change state of the detection output of the O 2 sensor, and (B) shows an example of the received signal when the detection output is read to the external diagnostic device in the conventional communication mode. The x mark in the figure represents the level of the received signal (sampling value), and the waveform of (A) is also shown by a dotted line for reference.

【0009】O2 センサの出力は、ある周期Ti でハイ
レベルからロ−レベルへ、またはその逆に反転すること
が期待されているが、エンジンの動作状態によってはレ
ベル反転の周期がこれからずれてしまうことがある。図
3(A)の時間t1 、t2 は、このようなレベル変化周
期のずれた期間を示す。従来例では、図4のように全て
のデ−タが同じ頻度で伝送されるから、ある特定デ−タ
だけの伝送頻度を上げることは困難であり、結果的にO
2 センサ自体は正常に動作しているのに、O2 センサが
異常と判断され易くなるという問題があった。
The output of the O 2 sensor is expected to be inverted from a high level to a low level or vice versa at a certain period Ti, but the level inversion period may be deviated from this depending on the operating state of the engine. It may end up. Times t1 and t2 in FIG. 3 (A) indicate such periods in which the level change cycle is deviated. In the conventional example, as shown in FIG. 4, all data are transmitted at the same frequency, so it is difficult to increase the transmission frequency of only certain specific data, and as a result,
Although the 2 sensor itself is operating normally, there is a problem that the O 2 sensor is likely to be determined to be abnormal.

【0010】もちろんこのような場合でも、デ−タ伝送
の頻度すなわちO2 センサ出力波形のサンプリング周期
が十分に短ければ、その波形または変化周期を確実に検
知できるが、従来のように全てのデ−タを一括して伝送
する方式では、極めて高い周波数のマシンクロックが必
要となり、技術的にもコスト的にも実現が難しいという
問題がある。
Of course, even in such a case, if the frequency of data transmission, that is, the sampling period of the O 2 sensor output waveform is sufficiently short, the waveform or the change period can be detected with certainty. In the method of collectively transmitting data, a machine clock having an extremely high frequency is required, and there is a problem that it is difficult to realize in terms of technology and cost.

【0011】本発明は、前述の問題を解決するためにな
されたものであり、その目的は、センサや部品等の故障
検出誤りや検出漏れを減らし、正常なセンサや部品の交
換、あるいは故障センサ・部品の交換漏れを極力減らす
ことのできる車両用故障診断装置のデ−タ通信装置を提
供することにある。
The present invention has been made to solve the above-mentioned problems, and its purpose is to reduce errors in detection of failures in sensors and parts and omissions in detection, to replace normal sensors and parts, or to detect defective sensors. -To provide a data communication device for a vehicle failure diagnosis device capable of reducing component replacement leakage as much as possible.

【0012】また本発明の他の目的は、マシンクロック
の周波数を高くすることなしに、出力デ−タ波形を正確
に検出できる車両用故障診断装置のデ−タ通信装置を提
供することにある。
Another object of the present invention is to provide a data communication device of a vehicle failure diagnosis device capable of accurately detecting an output data waveform without increasing the machine clock frequency. .

【0013】[0013]

【課題を解決するための手段】従来技術の問題の発生状
況を種々検討した結果、一般的には、車載電子制御装置
によるデ−タ収集のタイミング(動作位相)と外部診断
装置へのデ−タ転送のタイミング(動作位相)との同期
が不完全なために、外部診断装置が要求した検査モ−ド
ではない検査モ−ドでの収集デ−タが外部診断装置に受
信されてしまうことがあること、また、その検出出力の
変化速度が速いセンサが診断対象となる場合には、外部
診断装置へのデ−タ転送の周期が検出出力の変化周期に
比較して長すぎるために検出出力の正確な検知ができな
いことが問題発生の原因となることが分かった。
As a result of various studies on the occurrence situation of the problems of the prior art, generally, the timing (operating phase) of data collection by the on-vehicle electronic control device and the data to the external diagnostic device are generally considered. Incomplete synchronization with the data transfer timing (operating phase) causes the external diagnostic device to receive the collected data in the test mode that is not required by the external diagnostic device. If a sensor whose detection output changes rapidly is to be diagnosed, it is detected because the data transfer cycle to the external diagnostic device is too long compared to the detection output change cycle. It was found that the inability to accurately detect the output causes the problem.

【0014】本発明は、上記の検討結果に基づき、前記
の問題点を解決するために、車両に搭載された電子制御
装置内の記憶装置に、当該電子制御装置が検査モ−ドに
あること、および/または当該電子制御装置が現在実施
している検査モ−ドを示すフラグを立て、電子制御装置
内のデ−タを外部診断装置に転送する際に、まずそのフ
ラグをチェックして電子制御装置による検査の実施、並
びに必要に応じてはその検査モ−ド、電子制御装置の同
期動作を確認し、その後で、デ−タの読込みを実施する
ようにした点に特徴がある。
According to the present invention, in order to solve the above-mentioned problems based on the above-mentioned examination results, a storage device in an electronic control unit mounted on a vehicle has the electronic control unit in an inspection mode. , And / or a flag indicating the inspection mode currently being performed by the electronic control unit is set, and when the data in the electronic control unit is transferred to the external diagnostic device, the flag is first checked to check the electronic control unit. It is characterized in that the inspection is carried out by the control device and, if necessary, the inspection mode and the synchronous operation of the electronic control device are confirmed, and then the data is read.

【0015】さらに、外部診断装置へ伝送しようとして
いる診断対象デ−タの繰返し変化周期が通常のデ−タ取
込みの周期よりも短かく、当該デ−タの変化状態を正し
く判別できない恐れがある時は、当該診断対象デ−タの
転送、取込み周期を他のデ−タのそれよりも短く設定す
るようにした点に特徴がある。
Further, the repeated change cycle of the data to be diagnosed which is to be transmitted to the external diagnostic apparatus is shorter than the normal data acquisition cycle, and the changed state of the data may not be correctly discriminated. At this time, the characteristic feature is that the transfer and fetch cycle of the data to be diagnosed is set shorter than that of other data.

【0016】[0016]

【作用】外部診断装置への電子制御装置内のデ−タの伝
送を開始する前に、検査実施中フラグおよび/または検
査モ−ドフラグを読取ってチェックし、正しいデ−タの
みを取込むようにすることにより、外部診断装置が要求
した検査モ−ド時以外の誤ったデ−タを取込むことが防
止され、誤ったデ−タに基づき誤った診断をすることが
予防され、診断の信頼性を向上することができる。
Before starting the transmission of the data in the electronic control unit to the external diagnostic unit, the in-execution flag and / or the inspection mode flag are read and checked so that only correct data is taken in. By doing so, it is possible to prevent erroneous data from being taken in by the external diagnostic device other than in the inspection mode requested, prevent erroneous diagnosis based on erroneous data, and The reliability can be improved.

【0017】また、マシンクロックの周波数を高くする
ことなしに、診断対象デ−タの取込み周期を十分に短く
できるので、当該診断対象デ−タの変化状態を正確に検
知することができ、したがって正常なセンサを異常と判
断したり、反対に異常なセンサを見落としたりするなど
の誤判断が防止できる。
Further, since the acquisition period of the data to be diagnosed can be shortened sufficiently without increasing the frequency of the machine clock, the change state of the data to be diagnosed can be detected accurately, and therefore, It is possible to prevent an erroneous judgment such that a normal sensor is judged to be abnormal or, on the contrary, an abnormal sensor is overlooked.

【0018】[0018]

【実施例】以下に図面を参照して、本発明の一実施例を
詳細に説明する。図1は本発明の1実施例の概略ブロッ
ク図であり、診断対象車両に搭載された電子制御装置お
よびこれに接続される外部診断装置のハード構成の概要
を示す。
DETAILED DESCRIPTION OF THE PREFERRED EMBODIMENTS An embodiment of the present invention will be described in detail below with reference to the drawings. FIG. 1 is a schematic block diagram of one embodiment of the present invention, and shows an outline of a hardware configuration of an electronic control device mounted on a vehicle to be diagnosed and an external diagnostic device connected to the electronic control device.

【0019】同図において、ECU1には、CPU1
0、ROM11およびRAM12などからなるマイクロ
コンピュータ、並びにドライバ13、A/D変換器14
および通信インタフェース15が設けられている。前記
ECU1はコネクタ16および17を介して各種のアク
チュエータ3、センサ4などの周辺機器と接続される。
RAM12内にはECU1の動作モ−ドを示すフラグ1
2Fが設定される。
Referring to FIG. 1, the ECU 1 includes a CPU 1
0, a microcomputer including a ROM 11 and a RAM 12, a driver 13, an A / D converter 14
And a communication interface 15 is provided. The ECU 1 is connected to peripheral devices such as various actuators 3 and sensors 4 via connectors 16 and 17.
A flag 1 indicating the operation mode of the ECU 1 is stored in the RAM 12
2F is set.

【0020】前記ECU1は、点火時期制御や電子燃料
噴射装置(EFI)、ブレ−キ制御などの各種制御を行
なう。例えばEFI制御を行う場合には、コネクタ16
にはアクチュエータ3として燃料弁ソレノイドが接続さ
れ、コネクタ17にはセンサ4としてTDCセンサ、エ
ンジン回転数センサ、水温センサ、吸気温センサ、スロ
ットルバルブ開度センサなどが接続される。なお、この
ECU1は、車両の制御を行うものであれば、いかなる
制御を行うものであっても良い。
The ECU 1 performs various controls such as ignition timing control, electronic fuel injection device (EFI), and brake control. For example, when performing EFI control, the connector 16
A fuel valve solenoid is connected as an actuator 3 to the connector 17, and a TDC sensor, an engine speed sensor, a water temperature sensor, an intake air temperature sensor, a throttle valve opening sensor, etc. are connected as sensors 4 to the connector 17. The ECU 1 may be any control as long as it controls the vehicle.

【0021】各センサ4からECU1に入力される信号
は、A/D変換器14でデジタル信号に変換されてCP
U10に取込まれる。CPU10に取込まれた信号は、
ROM11およびRAM12に記憶されている制御用デ
ータに基づき、ROM11に書込まれているプログラム
に従って処理される。ドライバ13には、CPU10の
処理結果に従って指示信号が供給され、ドライバ13は
この指示信号に応答してアクチュエータ3を駆動する。
A signal input from each sensor 4 to the ECU 1 is converted into a digital signal by the A / D converter 14 and then converted into a CP signal.
Captured by U10. The signal captured by the CPU 10 is
Based on the control data stored in the ROM 11 and the RAM 12, it is processed according to the program written in the ROM 11. An instruction signal is supplied to the driver 13 according to the processing result of the CPU 10, and the driver 13 drives the actuator 3 in response to the instruction signal.

【0022】なお、前記ROM11には、制御用プログ
ラムのほか、各種検査モ−ドを実行するためのプログラ
ムや、ECU1の識別符号つまりECU−IDも登録さ
れている。また、RAM12には、CPU10による処
理結果が学習データやフリーズドデータとして記憶され
る。このフリーズドデータは、エンジンの不具合発生時
における当該エンジンの動作状態を表わすデータとして
有用である。
In addition to the control program, the ROM 11 also stores a program for executing various inspection modes and an identification code of the ECU 1, that is, an ECU-ID. Further, the RAM 12 stores the processing result by the CPU 10 as learning data or frozen data. This frozen data is useful as data representing the operating state of the engine when an engine malfunction occurs.

【0023】前記ECU1に接続される外部故障診断装
置2には、CPU20、ROM21およびRAM22よ
りなるマイクロコンピュータ、並びにドライバ23、A
/D変換器24および通信インタフェース25が設けら
れている。このほかにも、外部故障診断装置2にはオペ
レータによる指示を入力するためのキーボート26、お
よびCPU20による処理結果、オペレータによる指示
入力などを表示する表示装置27が設けられる。キーボ
ード26には一般的なテンキー、カーソル移動キーおよ
びファンクションキーなどが設けられる。前記表示装置
27としては、液晶表示パネル(LCD)を採用するこ
とができる。
The external failure diagnosis device 2 connected to the ECU 1 includes a microcomputer including a CPU 20, a ROM 21 and a RAM 22, and a driver 23, A.
A / D converter 24 and a communication interface 25 are provided. In addition to this, the external failure diagnosis device 2 is provided with a keyboard 26 for inputting an instruction by an operator, and a display device 27 for displaying a processing result by the CPU 20, an instruction input by the operator, and the like. The keyboard 26 is provided with general numeric keys, cursor movement keys, function keys and the like. A liquid crystal display panel (LCD) can be used as the display device 27.

【0024】故障診断装置2にはさらに、テスタ機能と
しての電圧・抵抗等測定機能、および試験信号(定電圧
信号)出力機能を付加するためテストプローブ6が接続
される。ドライバ23を介してテストプローブ6に出力
電圧が供給されることにより、テストプローブ6からE
CU1にセンサ4の試験(擬似)信号を供給できる。一
方、テストプローブ6で検出された信号は、A/D変換
器24でデジタル信号に変換されてCPU20に取込ま
れる。
A test probe 6 is further connected to the failure diagnosing device 2 to add a voltage / resistance measuring function as a tester function and a test signal (constant voltage signal) output function. When the output voltage is supplied to the test probe 6 via the driver 23, the test probe 6 outputs E
The test (pseudo) signal of the sensor 4 can be supplied to the CU 1. On the other hand, the signal detected by the test probe 6 is converted into a digital signal by the A / D converter 24 and taken into the CPU 20.

【0025】ECU1の通信インタフェース15と故障
診断装置2の通信インタフェース25とは通信ライン5
を介して接続され、CPU10および20間で双方向デ
ジタル通信が可能である。
The communication interface 15 of the ECU 1 and the communication interface 25 of the failure diagnosis device 2 are connected to each other via the communication line 5.
, And bidirectional digital communication is possible between the CPUs 10 and 20.

【0026】外部診断装置にECU1から通信ライン5
を介して取込まれた信号およびテストプローブ6で得ら
れた信号は、ROM21およびRAM22に記憶されて
いる故障診断プログラムや制御用データに基づいて処理
され、処理結果つまり故障診断結果が表示装置27に表
示される。故障診断プログラムは通常、多くの車両に適
した故障診断が可能なように複数準備されている。RO
M21には、VIN(車両識別ナンバ)と、このVIN
およびECUID(ECU識別記号)に基づいて前記複
数の故障診断プログラムから最適のものを選択するため
の選択用プログラムとが格納されているが、これらにつ
いては、本発明とは直接関係がないので、その説明は省
略する。
The communication line 5 from the ECU 1 to the external diagnostic device
The signal acquired via the test probe 6 and the signal obtained by the test probe 6 are processed based on the failure diagnosis program and control data stored in the ROM 21 and the RAM 22, and the processing result, that is, the failure diagnosis result is displayed on the display device 27. Is displayed in. A plurality of failure diagnosis programs are usually prepared so that failure diagnosis suitable for many vehicles can be performed. RO
M21 has a VIN (vehicle identification number) and this VIN
And a selection program for selecting the optimum one from the plurality of failure diagnosis programs based on the ECU ID (ECU identification symbol), but these are not directly related to the present invention. The description is omitted.

【0027】なお、新型車種の生産に伴ってVINの追
加や変更が行われる場合に備えて、VINや選択プログ
ラムをROMカード7に記憶させ、新たなデータをRO
Mカードインタフェース28からCPU20に取込める
ようにしても良い。また、ROMカードによって故障診
断プログラムの増設をすることもできる。
The VIN and the selection program are stored in the ROM card 7 and new data is stored in the RO in case the VIN is added or changed due to the production of the new model.
The M card interface 28 may be incorporated into the CPU 20. In addition, it is possible to add a failure diagnosis program by using a ROM card.

【0028】また、外部故障診断装置2をパーソナルコ
ンピュータ(図示せず)に接続して故障診断結果をこれ
に蓄積し、かつ必要に応じてプリントアウトすることも
できる。さらに公衆回線を介して前記外部故障診断装置
やパーソナルコンピュータをホストコンピュータに接続
し、故障診断結果をこれに供給、蓄積することもでき
る。また反対に、前記ホストコンピュータからパーソナ
ルコンピュータや外部故障診断装置に、必要な情報、例
えば前記故障診断プログラムや選択プログラムの更新
(バージョンアップ)されたものを提供することもでき
る。
Further, the external failure diagnosis device 2 can be connected to a personal computer (not shown) to store the failure diagnosis result therein, and can be printed out if necessary. Further, the external failure diagnosis device or personal computer can be connected to a host computer via a public line, and the failure diagnosis result can be supplied and stored therein. On the contrary, the host computer can also provide necessary information, for example, the updated (upgraded) version of the failure diagnosis program or the selection program to the personal computer or the external failure diagnosis device.

【0029】本発明の1実施例では、外部診断装置によ
って車両の故障診断を行なう場合には、まず通信ライン
5によって外部診断装置2の通信インタ−フェイス25
を車載ECU1の通信インタ−フェイス15と接続し、
部品などの診断、検証を行なう旨の要求コマンドを外部
診断装置からECU1に送信する。前記コマンドに応答
して、ECU1は要求された検査モ−ドのためのプログ
ラムをROM11(あるいは、外部診断装置2)から読
取り、当該検査モ−ドの条件成立を確認し、当該検査モ
−ドに入ったことを示す検査実施中フラグ12FをRA
M12の予定領域に設定する。つづいて、所定の機能検
査を実行して検査結果の諸デ−タ(各種センサの検出出
力やアクチュエ―タへの出力駆動信号、各種エンジンパ
ラメ−タなど)をRAM12に蓄積すると共に、前記フ
ラグおよび得られた諸デ−タを通信ライン5を介して外
部診断装置2へ伝送する。
According to one embodiment of the present invention, when a vehicle failure diagnosis is performed by the external diagnostic device, first, the communication interface 25 of the external diagnostic device 2 is used by the communication line 5.
Is connected to the communication interface 15 of the vehicle-mounted ECU 1,
A request command for diagnosing and verifying parts and the like is transmitted from the external diagnostic device to the ECU 1. In response to the command, the ECU 1 reads the program for the requested inspection mode from the ROM 11 (or the external diagnostic device 2), confirms that the conditions of the inspection mode are satisfied, and checks the inspection mode. RA of the in-execution flag 12F indicating that the vehicle has entered
Set it in the planned area of M12. Subsequently, a predetermined function test is executed to store various data of the test result (detection outputs of various sensors, output drive signals to actuators, various engine parameters, etc.) in the RAM 12, and the flag And the obtained various data are transmitted to the external diagnostic device 2 through the communication line 5.

【0030】外部診断装置2は、車載のECU1が要求
通りの検査を実行していることを、前記フラグ12Fの
受信によって確認した後、つづいて伝送されるデ−タを
取込む。このように車載ECU1による部品機能検査と
外部診断装置2による検査デ−タの受信、取込みとを同
期させることにより、外部診断装置2が車載のECU1
から受信して取込む信号やデ−タは、当該診断装置2が
要求した検査モ−ド時に収集されたものに限定されるか
ら、異なった検査モ−ドでの誤ったデ−タに基づいて誤
った診断をすることが防止できる。
The external diagnostic device 2 confirms that the vehicle-mounted ECU 1 is performing the required inspection by receiving the flag 12F, and then takes in the data to be transmitted. In this way, by synchronizing the component function inspection by the vehicle-mounted ECU 1 with the reception and reception of the inspection data by the external diagnostic device 2, the external diagnostic device 2 is mounted on the ECU 1.
Since the signals and data received and received from the diagnostic device 2 are limited to those collected at the time of the inspection mode requested by the diagnostic device 2, the error data in different inspection modes are used. It is possible to prevent erroneous diagnosis.

【0031】図2には、本発明にしたがって、故障診断
のために、車載のECU1から外部診断装置2へデ−タ
を伝送する際に、診断対象デ−タの伝送頻度を高くした
(伝送周期を短くした)場合の通信形態の1例を示す。
図から明らかなように、この例では、ECU1によって
行なわれている検査モ−ドを代表するフラグFが最初に
伝送され、引き続いて診断対象デ−タA(例えば、O2
センサの出力デ−タ)が、図4に示した従来例のデ−タ
伝送周期Tに比べて約半分の周期2/Tでサンプリング
され、伝送される。予想される出力、状態変化が緩慢
で、伝送頻度を高くする必要のない他のデ−タ(例え
ば、水温、外気温など)は、B1 、B2 、B3 …のタイ
ミングで、従来例に比較して長い周期で伝送される。前
記B1 、B2…などのタイミングに伝送されるデ−タは
1種類に限られず、複数種類を同一のタイミング内に伝
送しても良いことは当然である。
In FIG. 2, according to the present invention, when the data is transmitted from the vehicle-mounted ECU 1 to the external diagnostic device 2 for failure diagnosis, the transmission frequency of the diagnostic target data is increased (transmission). An example of a communication form when the cycle is shortened) is shown.
As is clear from the figure, in this example, the flag F representing the inspection mode performed by the ECU 1 is first transmitted, and subsequently the diagnostic target data A (for example, O 2
The output data of the sensor) is sampled and transmitted at a period 2 / T which is about half the data transmission period T of the conventional example shown in FIG. Other data (for example, water temperature, outside air temperature, etc.) whose output and state change are slow and need not be transmitted frequently are compared with the conventional example at the timing of B1, B2, B3 .... Transmitted in a long cycle. The data transmitted at the timing of B1, B2, ... Is not limited to one type, and it is needless to say that a plurality of types may be transmitted at the same timing.

【0032】なお、周期Tをマシンクロックに応じて可
能な最小のタイムスロットに分割しておき、最小タイム
スロット単位に伝送デ−タを割当てるようにしておけ
ば、種々の診断対象デ−タの伝送頻度を、標本化定理を
満足するように、可成り自由に設定することができる。
If the cycle T is divided into the smallest possible time slots according to the machine clock and the transmission data is assigned in units of the smallest time slot, various diagnostic target data can be obtained. The transmission frequency can be set to any degree so as to satisfy the sampling theorem.

【0033】O2 センサを診断する場合の例を図3によ
って説明する。同図の(C)は、本発明にしたがって前
記O2 センサの検出出力(図3のA)を外部診断装置へ
伝送した時の受信信号レベルの1例を示す。図中の×印
および△印が受信信号のレベルを表わし、併記した点線
波形は(A)のそれと同一である。同図(B)の従来例
と対比すれば明らかなように、O2 センサの検出出力の
サンプリング周期が半分になるので、同波形のレベル反
転を漏れなく検出でき、正常なセンサを誤って異常と判
断する確率を低減できる。
An example of diagnosing the O 2 sensor will be described with reference to FIG. FIG. 3C shows an example of the received signal level when the detection output of the O 2 sensor (A in FIG. 3) is transmitted to the external diagnostic device according to the present invention. The X and Δ marks in the figure represent the level of the received signal, and the dotted line waveform shown together is the same as that in (A). As is clear from comparison with the conventional example of FIG. 1B, the sampling cycle of the detection output of the O 2 sensor is halved, so level inversion of the same waveform can be detected without omission, and a normal sensor is erroneously anomalous. It is possible to reduce the probability of judging.

【0034】[0034]

【発明の効果】以上の説明から明らかなように、本発明
によれば、外部診断装置からの要求に応じて、車載の電
子制御装置から外部診断装置へデ−タの伝送をする際
に、デ−タ伝送を開始する前に、検査実施中フラグおよ
び/または検査モ−ドフラグを伝送し、外部診断装置側
でそのときの電子制御装置の検査/動作モ−ドが同期し
て動作していることをチェックし、要求した検査/動作
モ−ドでのデ−タであることを確認した後に伝送デ−タ
を取込むようにしたので、外部診断装置が要求した検査
モ−ド時以外の誤ったデ−タを取込むことが防止され、
誤ったデ−タに基づき誤った診断をすることが予防さ
れ、診断の信頼性を向上することができる。
As is apparent from the above description, according to the present invention, when data is transmitted from the on-vehicle electronic control device to the external diagnostic device in response to a request from the external diagnostic device, Before the data transmission is started, the inspection in progress flag and / or the inspection mode flag is transmitted, and the inspection / operation mode of the electronic control unit at that time operates in synchronization with the external diagnostic device side. It is checked that the data is in the required inspection / operation mode, and then the transmission data is taken in, so that it is not in the inspection mode required by the external diagnostic device. It is possible to prevent erroneous data
An erroneous diagnosis based on erroneous data can be prevented and the reliability of the diagnosis can be improved.

【0035】また、診断対象デ−タの予想される変化速
度または変化状態に応じて、マシンクロックの周波数を
高くすることなしに、その取込み周期を十分に短く設定
できるので、デ−タの取込み漏れが防止でき、したがっ
て正常なセンサを異常と誤判断したり、異常センサを検
知できなかったりすることが防止できる。
Further, according to the expected change speed or change state of the data to be diagnosed, the fetch cycle can be set sufficiently short without raising the frequency of the machine clock, so that the fetch of data is possible. Leakage can be prevented, and therefore, it is possible to prevent a normal sensor from being erroneously determined to be abnormal, or the abnormal sensor cannot be detected.

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

【図1】 本発明の実施例を示すブロック図である。FIG. 1 is a block diagram showing an embodiment of the present invention.

【図2】 本発明にしたがって、必要な診断対象デ−タ
の取込み周期を短く設定した通信形態の1例を示す図で
ある。
FIG. 2 is a diagram showing an example of a communication mode in which a required cycle for capturing data to be diagnosed is set short according to the present invention.

【図3】 本発明によるO2 センサの出力の取込みを従
来例のそれと比較して示す波形図である。
FIG. 3 is a waveform diagram showing an output capture of an O 2 sensor according to the present invention in comparison with that of a conventional example.

【図4】 従来のデ−タ取込み時の通信形態を示す図で
ある。
FIG. 4 is a diagram showing a conventional communication mode at the time of fetching data.

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

1…電子制御装置(ECU) 2…外部診断装置
5…通信ライン 10、20…CPU 11、21…ROM 12、
22…RAM 12F…フラグ
1 ... Electronic control unit (ECU) 2 ... External diagnostic device
5 ... Communication line 10, 20 ... CPU 11, 21 ... ROM 12,
22 ... RAM 12F ... Flag

Claims (4)

【特許請求の範囲】[Claims] 【請求項1】 各種のセンサおよびアクチュエ―タが接
続され、通常動作モ−ドと検査モ−ドとを有し、検査モ
−ドでは前記センサの出力信号、およびアクチュエータ
への指令信号、ならびにエンジン動作パラメータなどの
少なくとも1つのデ−タを収集し、通信ラインを介して
前記デ−タを外部診断装置に伝送する車載用電子制御装
置のデ−タ通信装置であって、 前記車載用電子制御装置はその動作モ−ドを示すフラグ
を記憶する動作モ−ドフラグ記憶手段を有し、 前記外部診断装置からの検査指令に応答して検査モ−ド
に設定され、当該検査モ−ドに対応して予め決められた
前記センサおよびアクチュエ―タに関連するデ−タ、な
らびにエンジン動作パラメ−タなどの少なくとも1つを
収集し、前記動作モ−ドを示すフラグと共に前記外部診
断装置へ伝送することを特徴とする車載用電子制御装置
のデ−タ通信装置。
1. Various sensors and actuators are connected and have a normal operation mode and an inspection mode. In the inspection mode, an output signal of the sensor and a command signal to the actuator, and A data communication device for an on-vehicle electronic control device, which collects at least one data such as an engine operating parameter and transmits the data to an external diagnostic device via a communication line, wherein the on-vehicle electronic device The control device has an operation mode flag storage means for storing a flag indicating the operation mode, and is set in the inspection mode in response to the inspection command from the external diagnostic device, and the inspection mode is set. Correspondingly predetermined data relating to the sensors and actuators and at least one of the engine operating parameters etc. are collected and together with a flag indicating the operating mode. De-vehicle electronic control apparatus characterized by transmitting to the diagnostic device - data communication device.
【請求項2】 前記センサおよびアクチュエ―タに関連
するデ−タ、ならびにエンジン動作パラメ−タなどの少
なくとも1つは、通信ラインを介してほぼ一定の周期で
伝送されることを特徴とする請求項1記載の車載用電子
制御装置のデ−タ通信装置。
2. At least one of the data related to the sensor and the actuator and the engine operation parameter is transmitted through a communication line at a substantially constant cycle. Item 1. A data communication device for an on-vehicle electronic control device according to item 1.
【請求項3】 車載用電子制御装置から前記外部診断装
置へ伝送される複数のデ−タの少なくとも1つが、他の
伝送デ−タよりも短い周期で伝送されることを特徴とす
る請求項2記載の車載用電子制御装置のデ−タ通信装
置。
3. The at least one of the plurality of data transmitted from the on-vehicle electronic control device to the external diagnostic device is transmitted at a shorter cycle than other transmission data. 2. The data communication device of the on-vehicle electronic control device according to 2.
【請求項4】 車載用電子制御装置が前記外部診断装置
と同期して同一の検査モードを実施中であることを確認
するためのフラグを有することを特徴とする請求項1記
載の車載用電子制御装置のデ−タ通信装置。
4. The on-vehicle electronic device according to claim 1, wherein the on-vehicle electronic control device has a flag for confirming that the same inspection mode is being executed in synchronization with the external diagnostic device. Data communication device of control device.
JP3357227A 1991-12-25 1991-12-25 Data communication device for in-vehicle electronic control device Expired - Fee Related JPH0727598B2 (en)

Priority Applications (2)

Application Number Priority Date Filing Date Title
JP3357227A JPH0727598B2 (en) 1991-12-25 1991-12-25 Data communication device for in-vehicle electronic control device
US08/328,341 US5491631A (en) 1991-12-25 1994-10-21 Fault diagnostic system for vehicles using identification and program codes

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP3357227A JPH0727598B2 (en) 1991-12-25 1991-12-25 Data communication device for in-vehicle electronic control device

Publications (2)

Publication Number Publication Date
JPH05174286A JPH05174286A (en) 1993-07-13
JPH0727598B2 true JPH0727598B2 (en) 1995-03-29

Family

ID=18453037

Family Applications (1)

Application Number Title Priority Date Filing Date
JP3357227A Expired - Fee Related JPH0727598B2 (en) 1991-12-25 1991-12-25 Data communication device for in-vehicle electronic control device

Country Status (1)

Country Link
JP (1) JPH0727598B2 (en)

Families Citing this family (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP4622177B2 (en) * 2001-07-06 2011-02-02 株式会社デンソー Failure diagnosis system, vehicle management device, server device, and inspection diagnosis program
KR100892824B1 (en) * 2007-08-07 2009-04-10 현대자동차주식회사 In-line inspecting method for ACC system and ESP system
JP5705036B2 (en) * 2011-06-07 2015-04-22 士郎 神戸 Measuring system
KR200486936Y1 (en) * 2016-12-19 2018-07-16 주식회사 한국가스기술공사 turbine pulse meter

Also Published As

Publication number Publication date
JPH05174286A (en) 1993-07-13

Similar Documents

Publication Publication Date Title
KR200178225Y1 (en) System for car self diagnosis
JP2625148B2 (en) In-vehicle electronic control unit
US6542799B2 (en) Vehicle trouble diagnosis method, vehicle trouble diagnosis apparatus and computer-readable record medium recording trouble diagnosis program
EP0383593B1 (en) System and method of load sharing control for automobile
US6477453B2 (en) Controller for vehicle with self-diagnostic function and recording medium
US20160071337A1 (en) Vehicle diagnostic system and method thereof
JP4509602B2 (en) Operator side system and mode file identification method
US20080291014A1 (en) System and method for remote diagnosis and repair of a plant malfunction with software agents
JPH05113389A (en) Method of detecting malfunction of automobile
JPH0733983B2 (en) Vehicle failure diagnosis device
US20100326177A1 (en) Method and Arrangment for Fully Automatic Function Checking of Internal Combustion Engines
US6208917B1 (en) Ambient temperature/inlet air temperature sensor dither
JP2007322377A (en) On-board failure diagnosis apparatus and method for testing same
JPH0727598B2 (en) Data communication device for in-vehicle electronic control device
Roemer et al. A probabilistic approach to the diagnosis of gas turbine engine faults
JP3550062B2 (en) In-vehicle electronic control device failure diagnosis device
JP2589617B2 (en) Vehicle failure diagnosis device
JP4403959B2 (en) Vehicle fault diagnosis device
JP2509837B2 (en) Vehicle failure diagnosis device
KR100804019B1 (en) A diagnostic apparatus using vehicle combined measuring exhaust gas
JPH05172701A (en) Trouble diagnosing apparatus for automobile
JPH09126954A (en) Electronic control device for automobile
JP4556666B2 (en) Inspection apparatus and inspection method for in-vehicle failure diagnosis system
JPH05172702A (en) Trouble diagnosing apparatus for automobile
JPH05180731A (en) Diagnosing apparatus of fault for vehicle

Legal Events

Date Code Title Description
FPAY Renewal fee payment (event date is renewal date of database)

Free format text: PAYMENT UNTIL: 20080329

Year of fee payment: 13

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

Free format text: PAYMENT UNTIL: 20090329

Year of fee payment: 14

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

Free format text: PAYMENT UNTIL: 20100329

Year of fee payment: 15

LAPS Cancellation because of no payment of annual fees