JPH02163670A - Fault diagnostic device for control unit for automobile - Google Patents

Fault diagnostic device for control unit for automobile

Info

Publication number
JPH02163670A
JPH02163670A JP63318082A JP31808288A JPH02163670A JP H02163670 A JPH02163670 A JP H02163670A JP 63318082 A JP63318082 A JP 63318082A JP 31808288 A JP31808288 A JP 31808288A JP H02163670 A JPH02163670 A JP H02163670A
Authority
JP
Japan
Prior art keywords
circuit
input
cpu
setting data
fault
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
JP63318082A
Other languages
Japanese (ja)
Inventor
Shiyuuji Mitsui
修司 満居
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.)
Mazda Motor Corp
Original Assignee
Mazda 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 Mazda Motor Corp filed Critical Mazda Motor Corp
Priority to JP63318082A priority Critical patent/JPH02163670A/en
Publication of JPH02163670A publication Critical patent/JPH02163670A/en
Pending legal-status Critical Current

Links

Landscapes

  • Testing Electric Properties And Detecting Electric Faults (AREA)

Abstract

PURPOSE:To eliminate a fault diagnostic unit and to easily diagnose the faults of input/output circuit by providing self-diagnostic function on a built-in CPU. CONSTITUTION:A fault diagnostic device is composed of a CPU 2 equipped with a means, with which an output circuit 3 is connected to an input circuit 1 at the time of fault diagnosis and the circuit 1 outputs a fault diagnostic mode to the circuit 3, and a means to execute the collation and decision of a signal inputted to the circuit 1 and setting data. At the time of the fault diagnosis, when the circuit 3 connects the circuit 1 by a connector 8 for diagnosis and a test switch 10 is closed, the CPU 2 goes into the self-diagnostic mode and the setting data is outputted from a setting data output circuit 11 to the circuit 3, inputted through the connector 8 to the circuit 1 and fetched into the CPU 2 again. Next, at every pin of the circuits 1 and 2, data built-in in advance are collated with respective input signals by a deciding circuit 12 and normality or the fault of the circuits 1 and 3 is decided and displayed by turning on a lamp 13 for fault display.

Description

【発明の詳細な説明】 (産業上の利用分野) 本発明は自動車用制御ユニットの故障診断装置の改良に
関する。
DETAILED DESCRIPTION OF THE INVENTION (Field of Industrial Application) The present invention relates to an improvement in a failure diagnosis device for a control unit for an automobile.

(従来の技術) 従来より、この種の故障診断装置として、例えば特開昭
63−177082号公報に開示されるものがある。こ
のものは、第5図に示すように、自動車用制御ユニット
aとは別途に故障診断ユニットbを備え、この故障診断
ユニットbにより非診断側の制御ユニットへの入力信号
を逐次変化させつつ、その出力信号をモニタし、その出
力ブタが異常か否かを判別して、故障診断を行っている
(Prior Art) Conventionally, as this type of failure diagnosis device, there is one disclosed in, for example, Japanese Patent Application Laid-Open No. 177082/1982. As shown in FIG. 5, this device is equipped with a fault diagnosis unit b separate from the automobile control unit a, and this fault diagnosis unit b sequentially changes the input signal to the non-diagnosis side control unit. The output signal is monitored and a failure diagnosis is performed by determining whether or not the output plug is abnormal.

(発明が解決しようとする課題) しかしながら、上記従来のものでは、別途に高価な故障
診断ユニットを要する欠点がある。
(Problems to be Solved by the Invention) However, the above-mentioned conventional system has the disadvantage of requiring a separate expensive fault diagnosis unit.

本発明は斯かる点に鑑みてなされたものであり、特に自
動車用制御ユニットでは、その内蔵するCPUは正常で
、その入力回路や出力回路に故障のある場合が多い点に
着目し、その目的は、内蔵CPUに自己診断機能を持た
せることにより、故障診断ユニットを不要にして、入力
回路や出力回路の故障を簡易に診断することにある。
The present invention has been made in view of these points, and focuses on the fact that, in particular, in automobile control units, the built-in CPU is often normal, but the input circuit and output circuit are malfunctioning. The object of the present invention is to provide a built-in CPU with a self-diagnosis function, thereby eliminating the need for a failure diagnosis unit and easily diagnosing failures in input circuits and output circuits.

(課題を解決するための手段) 上記目的を達成するため、本発明では、故障診断時には
、CPUに予め内蔵する設定データを出力し、この出力
データを出力回路から入力回路を経てCPUに取込み、
その内部で設定データと入力データとの一致、不一致を
判定することにしている。
(Means for Solving the Problems) In order to achieve the above object, the present invention outputs setting data stored in the CPU in advance during fault diagnosis, and imports this output data from the output circuit to the CPU via the input circuit.
Internally, it is decided whether the setting data and the input data match or do not match.

つまり、本発明の具体的な解決手段は、入力回路と、該
入力回路に入力する信号に応じて制御信号を作成するC
PUと、該CPUで作成した制御信号を外部出力する出
力回路とを備えた自動車用制御ユニットに対する故障診
断装置を前提とする。
In other words, the specific solution of the present invention includes an input circuit and a control signal that generates a control signal according to a signal input to the input circuit.
The present invention is based on a failure diagnosis apparatus for an automobile control unit that includes a PU and an output circuit that outputs a control signal generated by the CPU to the outside.

そして、上記出力回路を入力回路に外部接続する故障診
断時に該入力回路が故障診断モード信号を受けたとき設
定データを上記出力回路に出力する設定データ出力手段
と、上記故障診断時に入力回路に入力される信号が上記
設定データと一致するか否かを判定する判定手段とを上
記CPUに設ける構成としている。
and a setting data output means for externally connecting the output circuit to the input circuit and outputting setting data to the output circuit when the input circuit receives a fault diagnosis mode signal during fault diagnosis; The CPU is provided with a determining means for determining whether or not the received signal matches the setting data.

(作用) 以上の構成により、本発明では、出力回路が入力回路に
外部接続される故障診断時には、CPUから設定データ
が出力された後、出力回路から入力回路を経てCPU内
に取込まれる。而して、CPUでは、判定手段により設
定データと入力データとが対照され、一致する場合には
入力回路及び出力回路の正常時と診断され、不一致の場
合にはその一方又は双方の故障時と診断される。
(Function) With the above configuration, in the present invention, during fault diagnosis when the output circuit is externally connected to the input circuit, setting data is output from the CPU and then taken into the CPU from the output circuit via the input circuit. In the CPU, the setting data and the input data are compared by the determining means, and if they match, it is diagnosed that the input circuit and the output circuit are normal, and if they do not match, it is diagnosed that one or both of them has failed. Diagnosed.

(発明の効果) 以上説明したように、本発明の自動車用制御ユニットの
故障診断装置によれば、予め記憶する設定データと、こ
の設定データの出力回路及び入力回路を経た入力データ
とを対照して、内蔵CPUに自己診断機能を持たせたの
で、故障診断ユニットを別途設けることなく、入力回路
及び出力回路の故障を簡易に診断することができる。
(Effects of the Invention) As explained above, according to the fault diagnosis device for an automobile control unit of the present invention, the setting data stored in advance and the input data passing through the output circuit and the input circuit of this setting data are compared. Since the built-in CPU is provided with a self-diagnosis function, failures in the input circuit and output circuit can be easily diagnosed without providing a separate failure diagnosis unit.

(実施例) 以下、本発明の実施例を図面に基いて説明する。(Example) Embodiments of the present invention will be described below with reference to the drawings.

第1図は故障診断の対象となる自動車用の電子制御ユニ
ットUの非診断時(通常時)の構成を示す。同図におい
て、制御ユニットUの内部には、エンジン回転数センサ
や吸気量センサ、スロットル弁開度センサ等で検出した
各種信号が入力され。
FIG. 1 shows the configuration of an electronic control unit U for an automobile, which is the object of failure diagnosis, at the time of non-diagnosis (normal time). In the figure, various signals detected by an engine rotation speed sensor, an intake air amount sensor, a throttle valve opening sensor, etc. are input into the control unit U.

多数の入力ビンを有する入力回路1と、該入力回路1に
入力された各種信号に基いて燃料噴射量や混合気の点火
時期、及び車載エアコン等に対する制御信号を作成する
CPU2と、該CPUで作成した制御信号を外部出力す
る多数の出力ピンを有する出力回路3とを内蔵している
。上記入力回路1には信号入力用のコネクタ4が、出力
回路3には信号出力用のコネクタ5が各々接続されてい
る。
An input circuit 1 having a large number of input bins, a CPU 2 that creates control signals for the fuel injection amount, the ignition timing of the air-fuel mixture, the in-vehicle air conditioner, etc. based on various signals input to the input circuit 1; It has a built-in output circuit 3 having a large number of output pins for outputting the created control signals to the outside. A connector 4 for signal input is connected to the input circuit 1, and a connector 5 for signal output is connected to the output circuit 3.

また、作動電源として車載バッテリ6が接続されている
Further, an on-vehicle battery 6 is connected as an operating power source.

次に、故障診断時での制御ユニットUの配線状況を第2
図に示す。つまり、故障診断時には、信号の入出力用の
コネクタ4,5を外し、診断用コネクタ8で出力回路3
と入力回路1とが外部接続される。その際、入力ピン数
と出力ピン数とが異なる場合には、第3図及び第4図に
示す如く、ピン数の多い側にてピンを並列接続して入力
側と出内側とのピン数を合せる。
Next, check the wiring status of the control unit U at the time of failure diagnosis.
As shown in the figure. In other words, when diagnosing a fault, remove the signal input/output connectors 4 and 5, and connect the diagnostic connector 8 to the output circuit 3.
and input circuit 1 are externally connected. At that time, if the number of input pins and the number of output pins are different, as shown in Figures 3 and 4, connect the pins in parallel on the side with more pins to increase the number of pins on the input side and output side. Match.

また、第2図においてテストスイッチ10が入力回路1
の所定入力ビンに接続され、テストスイッチ10の閉操
作でもって故障診断モード信号を発生して入力回路1に
入力する。
In addition, in FIG. 2, the test switch 10 is connected to the input circuit 1.
When the test switch 10 is closed, a failure diagnosis mode signal is generated and input to the input circuit 1.

而して、上記CPU2の内部には、予め、故障診断用の
設定データが入力されている。該設定データは、上記出
力回路3の各ピンの出力を0N10FFさせるためのも
のである。更に、CPU2の内部には設定データ出力手
段としての設定データ出ノj回路11が内蔵され、その
機能は、上記入力回路1がテストスイッチ10の故障診
断モード信号を受けた時にCPU2を自己診断モードに
入らせて通常の制御信号の作成を中止させ、これに代え
て上記の設定データを出力回路3に対して逐次その第1
ピンから第nピンに順に出力する機能を有する。また、
CPU2の内部には、上記の自己診断モード時に入力回
路1に入力される信号が上記設定データと一致するか否
かを判定する判定手段としての判定回路12が内蔵され
ている。更に、CPU2には、故障表示用のランプ13
が外部から視認可能に接続され、上記判定回路12によ
り点灯/消灯制御される。
Setting data for failure diagnosis is input into the CPU 2 in advance. The setting data is for setting the output of each pin of the output circuit 3 to 0N10FF. Furthermore, the CPU 2 has a built-in setting data output circuit 11 as a setting data output means, and its function is to place the CPU 2 into a self-diagnosis mode when the input circuit 1 receives a failure diagnosis mode signal from the test switch 10. input to stop the creation of normal control signals, and instead of this, the above setting data is sent to the output circuit 3 sequentially to the first control signal.
It has a function of sequentially outputting from the pin to the n-th pin. Also,
The CPU 2 has a built-in determination circuit 12 as a determination means for determining whether or not the signal input to the input circuit 1 in the self-diagnosis mode matches the setting data. Furthermore, the CPU 2 has a lamp 13 for indicating a failure.
is connected so as to be visible from the outside, and is controlled to be turned on/off by the determination circuit 12.

したがって、上記実施例では、診断用コネクタ8で出力
回路3と入力回路1とが外部接続される故障診断時に、
テストスイッチ10が閉操作されると、CPU2が自己
診断モードに入る。而して、設定データ出力回路11か
ら設定データが出力回路3に出力され、この出力信号は
診断用コネクタ8を経て入力回路1に入力されて再びC
PU2内に取込まれる。
Therefore, in the above embodiment, at the time of failure diagnosis when the output circuit 3 and the input circuit 1 are externally connected by the diagnostic connector 8,
When the test switch 10 is closed, the CPU 2 enters a self-diagnosis mode. Then, the setting data is outputted from the setting data output circuit 11 to the output circuit 3, and this output signal is inputted to the input circuit 1 via the diagnostic connector 8 and outputted again to the C.
It is taken into PU2.

そして、入力及び出力回路1,3の各ビン毎に入力信号
が取込まれると、この各入力信号と予め内蔵の設定デー
タとが逐次判定回路12で照合判定される。その結果、
全ての端子ピンで一致する場合には正常時と判断され、
何れかの端子ビンで不一致となる場合には、断線等に起
因する入力回路1若しくは出力回路3又はその双方の故
障時と判断されて、故障表示ランプ13が点灯制御され
る。
Then, when input signals are taken in for each bin of the input and output circuits 1 and 3, each input signal and pre-built-in setting data are sequentially compared and determined by the determination circuit 12. the result,
If all terminal pins match, it is considered normal,
If there is a mismatch in any of the terminal bins, it is determined that the input circuit 1, the output circuit 3, or both have failed due to a disconnection or the like, and the failure indicator lamp 13 is controlled to turn on.

その場合、設定データの出力及びこの設定データと入力
信号との照合はCPU2内部で行うので、入力回路1.
出力回路3の故障を制御ユニットU自体で自己診断でき
、従来の如き故障診断用ユニットが不要になる。
In that case, the output of the setting data and the comparison of this setting data with the input signal are performed inside the CPU 2, so the input circuit 1.
The failure of the output circuit 3 can be self-diagnosed by the control unit U itself, eliminating the need for a conventional failure diagnosis unit.

【図面の簡単な説明】[Brief explanation of the drawing]

第1図ないし第4図は本発明の実施例を示し、第1図は
制御ユニットの内部構成図、第2図は故障診断時での制
御ユニット周りの配線の様子の説明図、第3図及び第4
図は各々ピン端子数が異なる場合の説明図である。第5
図は従来例を示す故障診断の配線図である。 U・・・電子制御ユニット、1・・・入力回路、2・・
・CPU、3・・・出力回路、10・・・テストスイッ
チ(診断モード設定手段)、11・・・設定データ出力
回路(設定データ出力手段)、12・・・判定回路(判
定手段)。
Figures 1 to 4 show embodiments of the present invention, with Figure 1 being an internal configuration diagram of the control unit, Figure 2 being an explanatory diagram of the wiring around the control unit during failure diagnosis, and Figure 3 being an illustration of the wiring around the control unit. and the fourth
The figures are explanatory diagrams in which the numbers of pin terminals are different. Fifth
The figure is a wiring diagram for fault diagnosis showing a conventional example. U...Electronic control unit, 1...Input circuit, 2...
- CPU, 3... Output circuit, 10... Test switch (diagnosis mode setting means), 11... Setting data output circuit (setting data output means), 12... Judgment circuit (judging means).

Claims (1)

【特許請求の範囲】[Claims] (1)入力回路と、該入力回路に入力される信号に応じ
て制御信号を作成するCPUと、該CPUで作成した制
御信号を外部出力する出力回路とを備えた自動車用制御
ユニットにおいて、上記CPUは、上記出力回路を入力
回路に外部接続する故障診断時に該入力回路が所定の故
障診断モード信号を受けたとき、設定データを上記出力
回路に出力する設定データ出力手段と、上記故障診断時
に入力回路に入力される信号が上記設定データと一致す
るか否かを判定する判定手段とを備えたことを特徴とす
る自動車用制御ユニットの故障診断装置。
(1) In an automobile control unit comprising an input circuit, a CPU that creates a control signal according to a signal input to the input circuit, and an output circuit that outputs the control signal created by the CPU to the outside, The CPU includes a setting data output means for outputting setting data to the output circuit when the input circuit receives a predetermined fault diagnosis mode signal during fault diagnosis in which the output circuit is externally connected to the input circuit; 1. A failure diagnosis device for a control unit for an automobile, comprising: determining means for determining whether a signal input to an input circuit matches the setting data.
JP63318082A 1988-12-16 1988-12-16 Fault diagnostic device for control unit for automobile Pending JPH02163670A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP63318082A JPH02163670A (en) 1988-12-16 1988-12-16 Fault diagnostic device for control unit for automobile

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP63318082A JPH02163670A (en) 1988-12-16 1988-12-16 Fault diagnostic device for control unit for automobile

Publications (1)

Publication Number Publication Date
JPH02163670A true JPH02163670A (en) 1990-06-22

Family

ID=18095277

Family Applications (1)

Application Number Title Priority Date Filing Date
JP63318082A Pending JPH02163670A (en) 1988-12-16 1988-12-16 Fault diagnostic device for control unit for automobile

Country Status (1)

Country Link
JP (1) JPH02163670A (en)

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2006518299A (en) * 2003-02-21 2006-08-10 アウディー アーゲー Apparatus and method for on-board diagnosis based on model
JP2006518300A (en) * 2003-02-21 2006-08-10 アウディー アーゲー Apparatus and method for central onboard diagnostics of automobiles

Citations (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPS6010181A (en) * 1983-06-30 1985-01-19 Fujitsu Ltd Electronic controller testing system

Patent Citations (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPS6010181A (en) * 1983-06-30 1985-01-19 Fujitsu Ltd Electronic controller testing system

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2006518299A (en) * 2003-02-21 2006-08-10 アウディー アーゲー Apparatus and method for on-board diagnosis based on model
JP2006518300A (en) * 2003-02-21 2006-08-10 アウディー アーゲー Apparatus and method for central onboard diagnostics of automobiles

Similar Documents

Publication Publication Date Title
JPH0733983B2 (en) Vehicle failure diagnosis device
JPH01163638A (en) Vehicle diagnosing device
JP3485026B2 (en) Vehicle self-diagnosis device
US4546646A (en) System for diagnosing an internal combustion engine
JPS59500103A (en) Method and apparatus for self-diagnosing microcomputer-controlled switching devices, especially in automobiles
JPH05131864A (en) Device to detect variable ratio of automobile
JPH051384B2 (en)
US6208917B1 (en) Ambient temperature/inlet air temperature sensor dither
KR20150073238A (en) Apparatus for Simulation of Vehicle ECU Diagnosis Device
JPH02163670A (en) Fault diagnostic device for control unit for automobile
JP4025398B2 (en) On-vehicle control device and fault diagnosis method used therefor
JPH0791310A (en) Self-diagnosing device for on-vehicle control device
JPH03114942A (en) Abnormality detecting device for on board control unit
JPH04198733A (en) Failure diagnostic device for vehicle
JPS58168936A (en) Diagnosing device for fault of device for vehicle
JPH034180A (en) Abnormality diagnostic device
KR100190876B1 (en) Trouble shooting method of speed sensor in a car
JPS5924270A (en) Apparatus for diagnosis trouble of internal combustion engine
JPH0762460B2 (en) Vehicle control device having failure diagnosis function
KR19980039774U (en) Vehicle Diagnosis Message Display Device
JPS62111145A (en) Vehicle controller having trouble diagnosis function
JPS6255443A (en) Failure diagnosis device for engine load detecting switch
JPS62180217A (en) Abnormality deciding method for plural sensors
JPS593507A (en) Device for diagnosing fault of vehicle
JPH028135B2 (en)