JP2002002419A - Electronic control unit for vehicle - Google Patents

Electronic control unit for vehicle

Info

Publication number
JP2002002419A
JP2002002419A JP2000184706A JP2000184706A JP2002002419A JP 2002002419 A JP2002002419 A JP 2002002419A JP 2000184706 A JP2000184706 A JP 2000184706A JP 2000184706 A JP2000184706 A JP 2000184706A JP 2002002419 A JP2002002419 A JP 2002002419A
Authority
JP
Japan
Prior art keywords
failure
ecu
code
memory
vehicle
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
JP2000184706A
Other languages
Japanese (ja)
Inventor
Takashi Matsuura
隆 松浦
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.)
Keihin Corp
Original Assignee
Keihin 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 Keihin Corp filed Critical Keihin Corp
Priority to JP2000184706A priority Critical patent/JP2002002419A/en
Publication of JP2002002419A publication Critical patent/JP2002002419A/en
Pending legal-status Critical Current

Links

Landscapes

  • Combined Controls Of Internal Combustion Engines (AREA)

Abstract

PROBLEM TO BE SOLVED: To provide an electronic control unit(ECU) allowing specifying of contents (cause) of a failure (abnormality) of the ECU, as for the ECU judged as the failure by a dealer and sent to a vehicle maker or an ECU maker. SOLUTION: A first failure code (a main failure code) for specifying a failure portion is prepared when the failure occurs in any one of the ECU 10 and external equipments (a sensor 16 and an actuator 18). A second failure code (sub-failure code) for specifying the failure content is prepared when the failure occurs in the ECU 10. The failure codes are stored in storage means (a memory 22, a main memory 12a and a sub-memory 20a) and can be read.

Description

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

【0001】[0001]

【発明の属する技術分野】この発明は、車両用電子制御
ユニットに関し、より詳しくは車両に搭載されると共
に、車両用電子制御ユニットおよび、それに接続される
外部機器に故障が生じたとき、その故障箇所および故障
内容を記憶して出力することが可能な車両用電子制御ユ
ニットに関する。
BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention relates to a vehicle electronic control unit, and more particularly, to a vehicle electronic control unit which is mounted on a vehicle and, when a failure occurs in the vehicle electronic control unit and an external device connected thereto, the failure occurs. The present invention relates to a vehicle electronic control unit capable of storing and outputting a location and a failure content.

【0002】[0002]

【従来の技術】従来技術に係る車両用電子制御ユニット
について、図6を参照して説明する。
2. Description of the Related Art A conventional vehicle electronic control unit will be described with reference to FIG.

【0003】図6は、従来技術に係る車両用電子制御ユ
ニット(以下「ECU」という)10の構成を説明する
ための説明ブロック図である。尚、ECU10は、図示
しない車両に搭載される。
FIG. 6 is an explanatory block diagram for explaining a configuration of a vehicle electronic control unit (hereinafter referred to as “ECU”) 10 according to the prior art. The ECU 10 is mounted on a vehicle (not shown).

【0004】従来技術に係るECU10は、メインCP
U12を備えると共に、メインCPU12は、入出力回
路14を介してセンサ(例えば速度センサ)16、アク
チュエータ(例えば4WD用アクチュエータ)18など
の外部機器と接続され、センサ16の出力信号、アクチ
ュエータ18の駆動信号などの授受が行われる。
[0004] The ECU 10 according to the prior art includes a main CP.
The main CPU 12 is connected to external devices such as a sensor (for example, a speed sensor) 16 and an actuator (for example, a 4WD actuator) 18 via an input / output circuit 14, and outputs an output signal of the sensor 16 and drives the actuator 18. Transmission and reception of signals and the like are performed.

【0005】メインCPU12には、メインCPU12
と相互に通信可能に接続され、その動作を監視するため
のサブCPU20が接続される。尚、各CPUには、電
源(図示しない車両搭載バッテリ)から動作電圧(例え
ば5〔V〕程度)が供給される。また、メインCPU1
2には、メインCPU12と相互に通信可能なメモリ2
2が接続されてデータの書込み/読出しが行われる。
The main CPU 12 includes a main CPU 12
And a sub CPU 20 for monitoring the operation thereof. Each CPU is supplied with an operating voltage (for example, about 5 [V]) from a power supply (not shown vehicle-mounted battery). Also, the main CPU 1
2 is a memory 2 that can communicate with the main CPU 12.
2 are connected to perform data writing / reading.

【0006】上述のように構成されたECU10の内
部、あるいは接続された外部機器に故障が生じた場合、
メインCPU12が、メインまたはサブCPUの内蔵メ
モリ(図示せず)あるいはメモリ22に故障箇所を特定
するためのコード(故障コード)を記憶すると共に、入
出力回路14を介して接続されたワーニング・ランプ
(図に「W/L」と示す)24を点灯させ、運転手(ユ
ーザ)に対する警告が行われる。
When a failure occurs in the ECU 10 constructed as described above or in a connected external device,
The main CPU 12 stores a code (fault code) for specifying a fault location in a built-in memory (not shown) of the main or sub CPU or the memory 22, and a warning lamp connected via the input / output circuit 14. 24 (shown as "W / L" in the figure) is turned on to warn the driver (user).

【0007】ワーニング・ランプ24による警告を受け
た運転手が、車両をディーラに持ち込むと、ディーラに
あっては、デジタル・サーキット・テスタなどの診断機
(外部診断機)26が、ハーネス28を介してECU1
0に接続される。診断機26によって、前記CPU内外
のメモリに記憶された故障コードが読出され、故障箇所
(ECU10に生じた故障か、あるいは機械的な故障
か)の特定が行われる。
When the driver receiving the warning from the warning lamp 24 brings the vehicle to a dealer, a diagnostic device (external diagnostic device) 26 such as a digital circuit tester is connected to the dealer via a harness 28. ECU1
Connected to 0. The fault code stored in the memory inside and outside the CPU is read out by the diagnostic device 26, and the fault location (whether a fault has occurred in the ECU 10 or a mechanical fault) is specified.

【0008】この特定の結果、ディーラにおいて「EC
Uの故障」と判断された場合、ECU10は、車両メー
カあるいはECUメーカなどに送られると共に、車両メ
ーカあるいはECUメーカなどにあっては、ECUの故
障(異常)の原因の解析が行われる。
[0008] As a result of this specific result, the dealer has the "EC
If it is determined that the "U failure", the ECU 10 is sent to a vehicle maker or an ECU maker, and in the case of a vehicle maker or an ECU maker, the cause of the ECU failure (abnormality) is analyzed.

【0009】[0009]

【発明が解決しようとする課題】上記のようにして、メ
ーカに送られたECUは、故障に関する情報(故障コー
ド)として「ECUの故障」しか持たないため、ECU
内部のどの箇所が故障(異常)の原因なのか、即ち故障
の内容を特定するために長時間および多くの工数が必要
となる恐れがある。
As described above, the ECU sent to the manufacturer has only "ECU failure" as information (failure code) relating to the failure.
There is a possibility that a long time and a large number of man-hours are required to identify which part of the inside is the cause of the failure (abnormality), that is, to identify the content of the failure.

【0010】このような不都合を解消するために、特開
平7−218391号公報に記載されるように、ディー
ラにおいてECUの故障コードを消去する際に、バック
アップ用のメモリに前記故障コードを複写して、車両メ
ーカあるいはECUメーカにおいて故障箇所の特定を容
易にした技術が提案されている。
In order to eliminate such inconvenience, as described in Japanese Patent Application Laid-Open No. 7-218391, when erasing a failure code of an ECU at a dealer, the failure code is copied to a backup memory. Thus, a technique has been proposed in which a vehicle manufacturer or an ECU manufacturer facilitates identification of a failure location.

【0011】しかしながら、特開平7−218391号
公報に記載された技術にあっては、依然、故障箇所の特
定のみが行われるため、車両メーカあるいはECUメー
カにあっては、故障の内容を特定するために長時間およ
び多くの工数を必要とする恐れがあった。
However, in the technique described in Japanese Patent Application Laid-Open No. Hei 7-218391, only the location of the failure is still specified, so that the manufacturer of the vehicle or ECU specifies the content of the failure. Therefore, there is a possibility that a long time and a large number of man-hours are required.

【0012】従って、この発明は、ディーラで「ECU
の異常」と判断されて、車両メーカあるいはECUメー
カに送られたECUについて、その故障(異常)の原因
を特定することが可能なECU(車両用電子制御ユニッ
ト)を提供することを目的とする。
[0012] Accordingly, the present invention relates to a "ECU"
It is an object of the present invention to provide an ECU (vehicle electronic control unit) that can determine the cause of a failure (abnormality) of an ECU sent to a vehicle maker or an ECU maker after being judged as "abnormal". .

【0013】[0013]

【課題を解決するための手段】上記課題を解決するた
め、請求項1項に記載の発明にあっては、車両に搭載さ
れ、少なくとも1個のCPUと、メモリと、入出力回路
を備えると共に、前記入出力回路を介して外部機器に接
続される車両用電子制御ユニット(ECU)において、
前記車両用電子制御ユニットおよび外部機器のいずれか
に故障が生じたとき、その故障箇所を特定する第1の故
障コードを作成して前記メモリに記憶させる第1故障コ
ード作成手段、前記故障が前記車両用電子制御ユニット
に生じたとき、その故障の内容を特定する第2の故障コ
ードを作成して前記メモリに記憶させる第2故障コード
作成手段、および外部診断機に接続されるとき、前記記
憶させた第1の故障コードおよび第2の故障コードを出
力する故障コード出力手段を備えるように構成した。
According to an aspect of the present invention, there is provided a vehicle having at least one CPU, a memory, and an input / output circuit. A vehicle electronic control unit (ECU) connected to an external device via the input / output circuit,
When a failure occurs in any of the vehicle electronic control unit and the external device, a first failure code creating unit that creates a first failure code specifying the location of the failure and stores the first failure code in the memory. A second fault code generating means for generating a second fault code specifying the content of the fault when the error occurs in the vehicle electronic control unit and storing the second fault code in the memory; It is configured to include a failure code output unit that outputs the first failure code and the second failure code.

【0014】ECUおよび外部機器のいずれかに故障が
生じたとき、その故障箇所を特定する第1の故障コード
(メイン故障コード)を作成することに加え、ECUに
故障が生じたとき、その故障の内容を特定する第2の故
障コード、即ちECUの故障の詳細な箇所に対応するサ
ブ故障コードを作成して、読み取り可能に構成したの
で、車両メーカあるいはECUメーカにおいて、ディー
ラから送られたECUの故障(異常)の原因の特定が容
易となる。
When a failure occurs in one of the ECU and the external device, in addition to creating a first failure code (main failure code) for specifying the location of the failure, when a failure occurs in the ECU, the failure occurs. A second failure code that specifies the content of the ECU, that is, a sub-failure code corresponding to the detailed location of the ECU failure is created and configured to be readable. It is easy to identify the cause of the failure (abnormality).

【0015】また、請求項2項にあっては、前記故障コ
ード出力手段は、少なくとも前記記憶させた第2の故障
コードをパルス列として出力するように構成した。
Further, in the present invention, the failure code output means outputs at least the stored second failure code as a pulse train.

【0016】第2の故障コードがパルス列で出力される
ように構成したので、故障コードの読み取りに特殊な回
路を追加する必要がなく、オシロスコープなどを用いた
簡易な構成で、ECUの故障(異常)の原因を特定する
ことができる。
Since the second fault code is configured to be output as a pulse train, it is not necessary to add a special circuit for reading the fault code. ) Can be identified.

【0017】また、請求項3項にあっては、前記メモリ
が、バックアップ電源を備えたRAMおよびE2 PRO
Mのいずれかであるように構成した。
According to a third aspect of the present invention, the memory includes a RAM having a backup power supply and an E 2 PRO.
M.

【0018】前記故障コード、特に第2の故障コード
が、バックアップ電源を備えたRAMあるいはE2 PR
OMなどのメモリに記憶されるように構成したので、車
両メーカあるいはECUメーカにおいて、より確実に第
2の故障コードを読み取ることができる。
The failure code, in particular, the second failure code may be a RAM or an E 2 PR with a backup power supply.
Since it is configured to be stored in a memory such as the OM, the vehicle manufacturer or the ECU manufacturer can more reliably read the second failure code.

【0019】[0019]

【発明の実施の形態】以下、添付図面を参照してこの発
明の一つの実施の形態に係るECU(車両用電子制御ユ
ニット)を説明する。
DETAILED DESCRIPTION OF THE PREFERRED EMBODIMENTS Hereinafter, an ECU (vehicle electronic control unit) according to one embodiment of the present invention will be described with reference to the accompanying drawings.

【0020】図1は、この発明の一つの実施の形態に係
るECUの構成を説明するための説明ブロック図であ
る。本実施の形態に係るECUの構成は、従来技術に係
るECUの構成とほぼ同様であるため、同じ構成には同
じ符号を用いると共に、その詳細な説明を省略する。
FIG. 1 is an explanatory block diagram for explaining a configuration of an ECU according to one embodiment of the present invention. Since the configuration of the ECU according to the present embodiment is substantially the same as the configuration of the ECU according to the related art, the same components are denoted by the same reference numerals, and detailed description thereof will be omitted.

【0021】以下、相違点に重点をおいて説明すると、
先ず、メインCPU12の内部に、バックアップ電源
(図示せず)を有するRAMからなるメインメモリ12
aが設けられる。ECU10の内部あるいは接続された
外部機器に故障が生じた場合、メインCPU12は、メ
モリ22に故障箇所を特定するためのメイン故障コード
(第1の故障コード)を記憶すると共に、入出力回路1
4を介して接続されたワーニング・ランプ(図に「W/
L」と示す)24を点灯させ、運転手に対する警告が行
われる。
The following is a description focusing on the differences.
First, a main memory 12 including a RAM having a backup power supply (not shown) is provided inside the main CPU 12.
a is provided. When a failure occurs in the internal device of the ECU 10 or in a connected external device, the main CPU 12 stores a main failure code (first failure code) for specifying a failure location in the memory 22, and the input / output circuit 1.
4 connected to the warning lamp ("W /
L) is turned on, and a warning is issued to the driver.

【0022】本実施の形態にあっては、故障がECU1
0に生じた故障である場合は、ECU10の故障発生箇
所あるいは故障内容(故障動作)かを予め定めたサブ故
障コード(第2の故障コード)がメインメモリ12aに
記憶される。尚、記憶されたサブ故障コードは、メイン
CPU12に設けられた出力ポートAからパルス列とし
て出力される。
In this embodiment, the failure is detected by the ECU 1
If the failure has occurred at 0, a sub-failure code (second failure code) in which the failure location or failure content (failure operation) of the ECU 10 is stored in the main memory 12a. Note that the stored sub failure code is output as a pulse train from an output port A provided in the main CPU 12.

【0023】次いで、図2および図3を参照して、この
実施の形態に係る故障の特定、および故障の原因の特定
(ECUが故障した場合)の処理を説明する。
Next, with reference to FIG. 2 and FIG. 3, a process of specifying a failure and specifying a cause of the failure (when the ECU fails) according to this embodiment will be described.

【0024】図2は、ECU10の内部あるいは接続さ
れた外部機器に故障が生じたとき、ECU10で開始さ
れる故障(箇所および内容)に応じた故障コードの作成
・記憶処理を示すフロー・チャートである。メインCP
U12が上述の故障を検知した場合、先ず、運転手に警
告を行うため、S10でワーニング・ランプを点灯させ
る。
FIG. 2 is a flowchart showing a process of creating and storing a fault code according to the fault (location and content) started by the ECU 10 when a fault occurs in the internal device of the ECU 10 or a connected external device. is there. Main CP
When U12 detects the above-described failure, first, at S10, a warning lamp is turned on to warn the driver.

【0025】次いで、プログラムはS12に進み、故障
箇所(ECU10に生じた故障、あるいはセンサ16、
アクチュエータ18などに生じた機械的な故障)に対応
するメイン故障コードを作成してメモリ22に記憶す
る。
Next, the program proceeds to S12, in which a fault location (a fault occurring in the ECU 10, or a sensor 16,
A main failure code corresponding to a mechanical failure occurring in the actuator 18 or the like) is created and stored in the memory 22.

【0026】次いで、プログラムはS14に進み、前記
作成されたメイン故障コードがECU10内の故障か否
か判断する。S14で肯定された場合、プログラムはS
16に進み、ECU10のどの箇所で如何なる故障が生
じたか、即ち故障の内容を特定し、その故障内容に対応
するサブ故障コードを作成すると共に、メインメモリ1
2aに記憶してプログラムを終了する。尚、S14で否
定されたとき、プログラムはS16をスキップし、その
まま終了する。
Next, the program proceeds to S14, in which it is determined whether the created main failure code is a failure in the ECU 10. If affirmative in S14, the program proceeds to S
In step 16, what kind of fault has occurred in which part of the ECU 10, that is, the content of the fault is specified, and a sub fault code corresponding to the fault content is created.
2a and the program ends. When the result in S14 is NO, the program skips S16 and ends the processing.

【0027】上述の処理を経た車両がディーラに持ち込
まれると、ディーラでは、整備員などが、デジタル・サ
ーキット・テスタなどの診断機(外部診断機)26を、
ハーネス28を介してECU10に接続する。診断機2
6は、メモリ22に記憶されたメイン故障コードを読出
し、故障箇所(ECU10に生じた故障か、あるいは機
械的な故障か)の特定が行われる。
When the vehicle that has undergone the above-described processing is brought into a dealer, a mechanic or the like at the dealer installs a diagnostic device (external diagnostic device) 26 such as a digital circuit tester.
Connected to the ECU 10 via the harness 28. Diagnostic machine 2
In step 6, the main failure code stored in the memory 22 is read, and the failure location (whether the failure has occurred in the ECU 10 or the mechanical failure) is specified.

【0028】より具体的には、診断機26のモニタは、
例えば二桁の数値を表示するように構成されており、デ
ィーラにおいて整備員が、表示された数値から今回生じ
た故障が、ECU10に生じた故障か、あるいは機械的
な故障(アクチュエータ18の動作異常、センサ16の
出力信号異常など)か否かの特定が行われる。
More specifically, the monitor of the diagnostic device 26
For example, it is configured to display a two-digit numerical value, and the maintenance staff at the dealer determines from the displayed numerical value that the failure that has occurred this time is a failure that has occurred in the ECU 10 or a mechanical failure (an abnormal operation of the actuator 18). , The output signal of the sensor 16 is abnormal, etc.).

【0029】ここで、故障がECU10に生じたもので
ある場合、ECU10は車両から取り外されて車両メー
カあるいはECUメーカに送られると共に、ECU10
以外の箇所に生じたものである場合、その故障箇所に対
応した処置が施される。
If the failure has occurred in the ECU 10, the ECU 10 is removed from the vehicle and sent to a vehicle manufacturer or an ECU manufacturer.
If the failure has occurred in a location other than the above, a measure corresponding to the failure location is taken.

【0030】尚、メモリ22に記憶されたメイン故障コ
ードは、ECU10が車両から取り外された際に消去さ
れるが、メインメモリ12aは前述の通りバックアップ
電源を備えたRAMからなるため、サブ故障コードは消
去されずに車両メーカあるいはECUメーカにおいて読
出し可能となる。
The main failure code stored in the memory 22 is deleted when the ECU 10 is removed from the vehicle. However, since the main memory 12a is a RAM having a backup power supply as described above, Can be read out by the vehicle manufacturer or the ECU manufacturer without being erased.

【0031】図3は、メインメモリ12aからサブ故障
コードを読出す際の出力処理を示すフロー・チャートで
ある。尚、サブ故障コードの読出しの際には、前記EC
U10には所定の電源(図示せず)が接続されて動作電
圧が供給されると共に、出力ポートAにオシロスコープ
(外部診断機)およびモニタ(共に図示せず)が接続さ
れる。
FIG. 3 is a flow chart showing an output process when the sub failure code is read from the main memory 12a. When reading the sub failure code, the EC
A predetermined power supply (not shown) is connected to U10 to supply an operating voltage, and an oscilloscope (external diagnostic device) and a monitor (both not shown) are connected to the output port A.

【0032】尚、このとき車両メーカあるいはECUメ
ーカにおいて、予め設定された端子間が短絡(接続)さ
れる。この短絡(接続)は、メインメモリ12aからパ
ルス列を出力する、即ち故障内容の読出しを行うための
スイッチの役目を果たす。このプログラムは、上記のよ
うに接続されて動作電圧が供給されると、20msec
毎に実行される。
At this time, predetermined terminals are short-circuited (connected) at the vehicle manufacturer or the ECU manufacturer. This short circuit (connection) serves as a switch for outputting a pulse train from the main memory 12a, that is, for reading out the contents of the failure. This program is connected for 20 msec when the operating voltage is supplied as described above.
It is executed every time.

【0033】フロー・チャートの説明を開始すると、先
ずS100でECU10の故障か否か判断する。これ
は、メインメモリ12a内にサブ故障コードが記憶され
ているか否かを確認することにより行われる。尚、S1
00で否定されたとき、プログラムは終了すると共に、
肯定されたときはS102に進み、特定端子が接続され
ているか否か確認する。
When the description of the flow chart is started, it is first determined in S100 whether or not the ECU 10 has failed. This is performed by confirming whether or not a sub failure code is stored in the main memory 12a. S1
When denied at 00, the program ends and
When the result is affirmative, the process proceeds to S102, and it is determined whether or not the specific terminal is connected.

【0034】S102で否定されたときは、サブ故障コ
ードの出力が要求されていないので、以降のプログラム
がスキップされてプログラムが終了すると共に、S10
2で肯定されたときはS104に進み、図2フロー・チ
ャートのS16で作成・記憶されたサブ故障コードが、
出力モードAのパルスを含むか否か判断する。
If the result in S102 is negative, the output of the sub-failure code is not requested, so that the subsequent program is skipped and the program is terminated.
When the result in S2 is affirmative, the program proceeds to S104, in which the sub failure code created and stored in S16 of the flow chart of FIG.
It is determined whether or not the output mode A pulse is included.

【0035】尚、以下、サブ故障コードと出力モードA
からCの関係について、図4を参照して説明する。
Hereinafter, the sub failure code and the output mode A will be described.
Will be described with reference to FIG.

【0036】本実施の形態にあっては、出力されるサブ
故障コードは#1から#99までが設定されると共に、
そのサブ故障コードに対応したパルス列が出力されるよ
うに構成される。尚、出力されるパルス列は、図4に模
式的に示すAパターン(:周期αのパルス)、Bパター
ン(:周期βのパルス)、およびCパターン(:長さγ
のローレベル信号)が組み合わせられたものである。
In this embodiment, the output sub-failure codes are set from # 1 to # 99, and
The pulse train corresponding to the sub failure code is output. The pulse train to be output includes an A pattern (: a pulse having a period α), a B pattern (: a pulse having a period β), and a C pattern (: a length γ) schematically shown in FIG.
Low-level signals).

【0037】尚、本実施の形態にあっては、AからCパ
ターンの組み合わせは、10の位をAパターン、1の位
をBパターンとし、その後にCパターンを付加する。例
えばサブ故障コードが#12のときの出力パターン(お
よび出力順)は、図5に示すように、Aパターン×1回
+Bパターン×2回+Cパターンのパルス列となる。前
述の通り、図3フロー・チャートの処理は20msec
毎に実行されるため、このパルス列は繰り返し出力され
る。
In this embodiment, the combination of the A to C patterns is such that the tens place is the A pattern, the one place is the B pattern, and then the C pattern is added. For example, the output pattern (and output order) when the sub failure code is # 12 is a pulse train of A pattern × 1 time + B pattern × 2 times + C pattern as shown in FIG. As described above, the processing in the flowchart of FIG.
This pulse train is repeatedly output because it is executed every time.

【0038】以上に基づいて図3フロー・チャートの説
明に戻ると、S104で肯定されると、プログラムはS
106に進み、Aパターンの出力が行われる。次いでプ
ログラムはS108に進み、図2フロー・チャートのS
16で作成・記憶されたサブ故障コードが、出力モード
Bのパルスを含むか否か判断する。
Returning to the description of the flowchart of FIG. 3 based on the above, if the result in S104 is affirmative, the program proceeds to S
Proceeding to 106, the output of the A pattern is performed. Next, the program proceeds to S108, where S in the flowchart of FIG.
It is determined whether or not the sub-failure code created and stored in step 16 includes an output mode B pulse.

【0039】尚、S108およびS110のフローは、
S104およびS106のフローと同様な処理であるた
め、説明を省略する。S110でBパターンの出力が終
了した後はS112に進み、Cパターン(ローレベル信
号)の出力が行われる。
The flow of S108 and S110 is as follows.
Since the processing is similar to the flow of S104 and S106, the description is omitted. After the output of the B pattern is completed in S110, the process proceeds to S112, and the output of the C pattern (low level signal) is performed.

【0040】図3フロー・チャートのような処理が実行
されることにより、オシロスコープに接続されたモニタ
には、サブ故障コードに対応したパルス列が表示され、
車両メーカあるいはECUメーカにあっては、容易にE
CUの故障(異常)の原因を特定することができる。
By executing the processing shown in the flow chart of FIG. 3, a pulse train corresponding to the sub failure code is displayed on the monitor connected to the oscilloscope.
For vehicle manufacturers or ECU manufacturers, E
The cause of the failure (abnormality) of the CU can be specified.

【0041】また、出力されるサブ故障コードが、パル
ス列からなるので、故障コードの読み取りに特殊な回路
を追加する必要がなく、オシロスコープなどを用いた簡
易な構成で、ECUの故障(異常)の原因を特定するこ
とができる。
Further, since the output sub-failure code is composed of a pulse train, it is not necessary to add a special circuit for reading the failure code, and a simple configuration using an oscilloscope or the like allows the ECU failure (abnormality) to be detected. The cause can be identified.

【0042】また、第2の故障コードが、バックアップ
電源を備えたRAMからなるメインメモリ12aに記憶
されるように構成したので、車両メーカあるいはECU
メーカにおいて、より確実に第2の故障コードを読み取
ることができる。
Further, since the second failure code is configured to be stored in the main memory 12a composed of a RAM provided with a backup power supply, the vehicle manufacturer or the ECU may provide the second failure code.
The manufacturer can more reliably read the second failure code.

【0043】次に、この発明の第2の実施の形態に係る
車両用電子制御ユニットについて説明する。第2の実施
の形態の説明を開始する前に、図1装置のメインCPU
12およびサブCPU20の動作を簡潔に説明する。
Next, an electronic control unit for a vehicle according to a second embodiment of the present invention will be described. Before starting the description of the second embodiment, the main CPU of FIG.
The operation of the sub CPU 20 and the sub CPU 20 will be described briefly.

【0044】前述の通り、サブCPU20は、メインC
PU12と相互に通信可能に接続され、その動作を監視
する。また、メインCPU12の動作が異常、即ち誤動
作したときは、それに伴う外部機器の暴走を防止するた
めに、サブCPU20でメインCPU12の動作を監視
しつつ、メインCPU12の動作を停止すると共に、メ
インCPU12をリセットすることが好ましい。
As mentioned above, the sub CPU 20
It is communicably connected to the PU 12 and monitors its operation. When the operation of the main CPU 12 is abnormal, that is, when the main CPU 12 malfunctions, the operation of the main CPU 12 is stopped while the sub CPU 20 Is preferably reset.

【0045】しかしながら、メインCPU12がリセッ
トされると、第1の実施の形態におけるメインメモリ1
2aの内容もリセットされることとなり、メインCPU
12に異常が生じた場合、ECU10の故障内容の特定
が煩瑣となる。これを鑑みて、第2の実施の形態にあっ
ては、サブCPU20内にバックアップ電源を備えたR
AMからなるサブメモリ20aを設けると共に、サブ故
障コードをサブメモリ20aに記憶するように構成し
た。また、サブCPU20は、サブ故障コード読取り用
の出力ポートBを備えるように構成した。
However, when the main CPU 12 is reset, the main memory 1 in the first embodiment is reset.
2a is also reset, and the main CPU
When an abnormality occurs in the ECU 12, it is complicated to specify the failure content of the ECU 10. In view of this, in the second embodiment, an R CPU having a backup power supply in the sub CPU 20 is provided.
A sub memory 20a made of AM is provided, and a sub failure code is stored in the sub memory 20a. The sub CPU 20 is configured to include an output port B for reading a sub failure code.

【0046】尚、サブメモリ20aは、設けられた場所
が異なるだけで、その動作はメインメモリ12aと何ら
異ならない。サブCPU20は、メインCPU12が誤
動作してもリセットされないので、サブメモリ20aの
内容が消去されることはない。
The operation of the sub memory 20a is not different from that of the main memory 12a, except that the sub memory 20a is provided at a different location. Since the sub CPU 20 is not reset even if the main CPU 12 malfunctions, the contents of the sub memory 20a are not erased.

【0047】従って、第1の実施の形態の効果に加え、
メインCPU12が誤動作した場合でも、サブ故障コー
ドを記憶することができる。即ち、ECU10による制
御の安全性を増加させることができる。
Therefore, in addition to the effects of the first embodiment,
Even if the main CPU 12 malfunctions, the sub failure code can be stored. That is, the safety of control by the ECU 10 can be increased.

【0048】上述の第1および第2の実施の形態におい
て、メインメモリ12aおよびサブメモリ20aが、バ
ックアップ電源を備えたRAMからなるように構成した
が、それに限られず、E2 PROMなどのメモリからな
るようにしても良い。
[0048] In the first and second embodiments described above, the main memory 12a and the sub memory 20a is has been configured such that a RAM with a backup power source is not limited thereto, from the memory such as E 2 PROM You may make it.

【0049】上記した如く、この発明の実施の形態にあ
っては、車両に搭載され、少なくとも1個のCPU(メ
インCPU12、サブCPU20)と、メモリ(メモリ
22、メインメモリ12a、サブメモリ20a)と、入
出力回路(出力ポートA,B)を備えると共に、前記入
出力回路を介して外部機器(センサ16、アクチュエー
タ18)に接続される車両用電子制御ユニット(ECU
10)において、前記車両用電子制御ユニットおよび外
部機器のいずれかに故障が生じたとき、その故障箇所を
特定する第1の故障コード(メイン故障コード)を作成
して前記メモリに記憶させる第1故障コード作成手段
(図2フロー・チャートのS12)、前記故障が前記車
両用電子制御ユニットに生じたとき、その故障の内容を
特定する第2の故障コード(サブ故障コード)を作成し
て前記メモリに記憶させる第2故障コード作成手段(図
2フロー・チャートのS14,S16)、および外部診
断機(診断機26、オシロスコープ)に接続されると
き、前記記憶させた第1の故障コードおよび第2の故障
コードを出力する故障コード出力手段(ハーネス28、
出力ポートA,B)を備えるように構成した。
As described above, according to the embodiment of the present invention, at least one CPU (main CPU 12, sub CPU 20) and a memory (memory 22, main memory 12a, sub memory 20a) are mounted on the vehicle. And an input / output circuit (output ports A and B), and a vehicle electronic control unit (ECU) connected to external devices (sensors 16 and actuators 18) via the input / output circuit.
In 10), when a failure occurs in any of the vehicle electronic control unit and the external device, a first failure code (main failure code) for specifying the failure location is created and stored in the memory. Failure code creating means (S12 in the flow chart of FIG. 2), when the failure occurs in the vehicle electronic control unit, creates a second failure code (sub-failure code) for specifying the content of the failure, and When connected to the second failure code creating means (S14, S16 in the flow chart of FIG. 2) to be stored in the memory and an external diagnostic device (diagnostic device 26, oscilloscope), the stored first failure code and the second failure code are connected. Fault code output means (harness 28,
Output ports A, B).

【0050】また、前記故障コード出力手段は、少なく
とも前記記憶させた第2の故障コードをパルス列(図4
のパターンAからCの組み合わせ)として出力する(図
3フロー・チャートのS106,S110,S112)
ように構成した。
The fault code output means outputs at least the stored second fault code as a pulse train (FIG. 4).
(Combination of patterns A to C) (S106, S110, S112 in the flowchart of FIG. 3).
It was configured as follows.

【0051】また、前記メモリ(メインメモリ12a、
サブメモリ20a)が、バックアップ電源を備えたRA
MおよびE2 PROMのいずれかであるように構成し
た。
The memory (main memory 12a,
The sub-memory 20a) stores the RA with the backup power supply.
It was configured to be either M or E 2 PROM.

【0052】上述の実施の形態において、サブ故障コー
ドを#1から#99としたが、この数に限定されず、さ
らに詳細な区分としても良く、また、より大きな区分と
しても良い。
In the above-described embodiment, the sub failure codes are # 1 to # 99, but are not limited to this number, and may be a more detailed division or a larger division.

【0053】[0053]

【発明の効果】請求項1項に記載の発明にあっては、E
CUおよび外部機器のいずれかに故障が生じたとき、そ
の故障箇所を特定する第1の故障コード(メイン故障コ
ード)を作成することに加え、ECUに故障が生じたと
き、その故障の内容を特定する第2の故障コード、即ち
ECUの故障の詳細な箇所に対応するサブ故障コードを
作成して、読み取り可能に構成したので、車両メーカあ
るいはECUメーカにおいて、ディーラから送られたE
CUの故障(異常)の原因の特定が容易となる。
According to the first aspect of the present invention, E
When a failure occurs in any of the CU and the external device, in addition to creating a first failure code (main failure code) for specifying the failure location, when a failure occurs in the ECU, the content of the failure is described. A second failure code to be specified, that is, a sub-failure code corresponding to the detailed location of the ECU failure is created and configured to be readable, so that the vehicle manufacturer or the ECU manufacturer sends the E transmitted from the dealer.
It is easy to specify the cause of the CU failure (abnormality).

【0054】また、請求項2項に記載の発明にあって
は、第2の故障コードがパルス列で出力されるように構
成したので、故障コードの読み取りに特殊な回路を追加
する必要がなく、オシロスコープなどを用いた簡易な構
成で、ECUの故障(異常)の原因を特定することがで
きる。
According to the second aspect of the present invention, since the second fault code is output as a pulse train, it is not necessary to add a special circuit for reading the fault code. With a simple configuration using an oscilloscope or the like, the cause of a failure (abnormality) of the ECU can be specified.

【0055】また、請求項3項に記載の発明にあって
は、前記故障コード、特に第2の故障コードが、バック
アップ電源を備えたRAMあるいはE2 PROMなどの
メモリに記憶されるように構成したので、車両メーカあ
るいはECUメーカにおいて、より確実に第2の故障コ
ードを読み取ることができる。
According to the third aspect of the present invention, the fault code, particularly the second fault code, is stored in a memory such as a RAM having a backup power supply or an E 2 PROM. Therefore, the vehicle manufacturer or the ECU manufacturer can more reliably read the second failure code.

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

【図1】この発明の一つの実施の形態に係る車両用電子
制御ユニットの構成を説明するための説明ブロック図で
ある。
FIG. 1 is an explanatory block diagram for describing a configuration of a vehicle electronic control unit according to one embodiment of the present invention.

【図2】図1に示す車両用電子制御ユニットの内部ある
いは接続された外部機器に故障が生じたとき、故障(箇
所および内容)に応じた故障コードの作成・記憶処理を
示すフロー・チャートである
FIG. 2 is a flow chart showing a process for creating and storing a fault code according to the fault (location and content) when a fault occurs in an internal device or a connected external device of the vehicle electronic control unit shown in FIG. 1; is there

【図3】図1に示す車両用電子制御ユニットにおけるメ
インメモリあるいはサブメモリからサブ故障コードを読
出す際の出力処理を示すフロー・チャートである。
FIG. 3 is a flowchart showing an output process when reading a sub failure code from a main memory or a sub memory in the electronic control unit for a vehicle shown in FIG. 1;

【図4】サブ故障コードを出力するためのパルス列を構
成する、出力モードAからCを模式的に示す説明図であ
る。
FIG. 4 is an explanatory diagram schematically showing output modes A to C constituting a pulse train for outputting a sub failure code.

【図5】サブ故障コードが#12のときのパルス列を模
式的に例示する説明図である。
FIG. 5 is an explanatory diagram schematically illustrating a pulse train when a sub failure code is # 12.

【図6】従来技術に係る車両用電子制御ユニットの構成
を説明するための説明ブロック図である。
FIG. 6 is an explanatory block diagram for explaining a configuration of a vehicle electronic control unit according to the related art.

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

10 車両用電子制御ユニット(ECU) 12 メインCPU 12a メインメモリ 14 入出力回路 16 センサ 18 アクチュエータ 20 サブCPU 20a サブメモリ 22 メモリ 24 ワーニング・ランプ 26 診断機 28 ハーネス Reference Signs List 10 vehicle electronic control unit (ECU) 12 main CPU 12a main memory 14 input / output circuit 16 sensor 18 actuator 20 sub CPU 20a sub memory 22 memory 24 warning lamp 26 diagnostic device 28 harness

Claims (3)

【特許請求の範囲】[Claims] 【請求項1】 車両に搭載され、少なくとも1個のCP
Uと、メモリと、入出力回路を備えると共に、前記入出
力回路を介して外部機器に接続される車両用電子制御ユ
ニットにおいて、 a.前記車両用電子制御ユニットおよび外部機器のいず
れかに故障が生じたとき、その故障箇所を特定する第1
の故障コードを作成して前記メモリに記憶させる第1故
障コード作成手段、 b.前記故障が前記車両用電子制御ユニットに生じたと
き、その故障の内容を特定する第2の故障コードを作成
して前記メモリに記憶させる第2故障コード作成手段、 および c.外部診断機に接続されるとき、前記記憶させた第1
の故障コードおよび第2の故障コードを出力する故障コ
ード出力手段、を備えることを特徴とする車両用電子制
御ユニット。
At least one CP mounted on a vehicle is provided.
U, a memory, and an input / output circuit, wherein the electronic control unit for a vehicle is connected to an external device via the input / output circuit. When a failure occurs in any of the vehicle electronic control unit and the external device, a first part for specifying the failure location
First failure code creation means for creating the failure code and storing it in the memory; b. Means for generating a second fault code specifying the content of the fault when the fault occurs in the vehicle electronic control unit, and storing the second fault code in the memory; c. When connected to an external diagnostic device, the stored first
Electronic control unit for a vehicle, comprising: a failure code output unit that outputs a failure code and a second failure code.
【請求項2】 前記故障コード出力手段は、少なくとも
前記記憶させた第2の故障コードをパルス列として出力
することを特徴とする請求項1項記載の車両用電子制御
ユニット。
2. The electronic control unit for a vehicle according to claim 1, wherein the failure code output means outputs at least the stored second failure code as a pulse train.
【請求項3】 前記メモリが、バックアップ電源を備え
たRAMおよびE2PROMのいずれかであることを特
徴とする請求項1項または2項のいずれかに記載の車両
用電子制御ユニット。
3. The electronic control unit for a vehicle according to claim 1, wherein the memory is one of a RAM provided with a backup power supply and an E 2 PROM.
JP2000184706A 2000-06-20 2000-06-20 Electronic control unit for vehicle Pending JP2002002419A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2000184706A JP2002002419A (en) 2000-06-20 2000-06-20 Electronic control unit for vehicle

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2000184706A JP2002002419A (en) 2000-06-20 2000-06-20 Electronic control unit for vehicle

Publications (1)

Publication Number Publication Date
JP2002002419A true JP2002002419A (en) 2002-01-09

Family

ID=18685118

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2000184706A Pending JP2002002419A (en) 2000-06-20 2000-06-20 Electronic control unit for vehicle

Country Status (1)

Country Link
JP (1) JP2002002419A (en)

Cited By (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2006510990A (en) * 2002-12-20 2006-03-30 ルノー・エス・アー・エス Functional fault diagnosis method for functional architecture
JP2006349444A (en) * 2005-06-15 2006-12-28 Denso Corp Vehicle diagnostic device and vehicle diagnostic method
JP2009285493A (en) * 2009-09-10 2009-12-10 Daiichi Shokai Co Ltd Game machine
US8095257B2 (en) 2007-02-16 2012-01-10 Denso Corporation Electronic control apparatus having self-diagnosis function
JP2021030939A (en) * 2019-08-27 2021-03-01 株式会社ケーヒン Electronic control device and failure code management method

Cited By (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2006510990A (en) * 2002-12-20 2006-03-30 ルノー・エス・アー・エス Functional fault diagnosis method for functional architecture
JP2006349444A (en) * 2005-06-15 2006-12-28 Denso Corp Vehicle diagnostic device and vehicle diagnostic method
US8095257B2 (en) 2007-02-16 2012-01-10 Denso Corporation Electronic control apparatus having self-diagnosis function
JP2009285493A (en) * 2009-09-10 2009-12-10 Daiichi Shokai Co Ltd Game machine
JP2021030939A (en) * 2019-08-27 2021-03-01 株式会社ケーヒン Electronic control device and failure code management method

Similar Documents

Publication Publication Date Title
JP3657027B2 (en) Time management system and method for vehicle fault diagnosis apparatus
JP2003058285A (en) Control system
US20020128758A1 (en) Vehicle-mounted control unit having checking program installed therein, inspection device, and inspection method
CN113335208B (en) Reverse image offline configuration method and system, storage medium and computer equipment
CN113341923B (en) Low-voltage wire harness fault detection method of vehicle, signal diagnosis unit and vehicle
JP3483691B2 (en) Vehicle diagnostic method and device
JP2001123874A (en) Program rewrite system or memory rewriting system for electronic control device
JP2002002419A (en) Electronic control unit for vehicle
JP2003172199A (en) Program rewriting system for vehicular electronic control unit
JP2003027981A (en) Vehicular failure diagnostic system
CN115047792A (en) ECU control system for motorcycle
JP3331111B2 (en) Vehicle diagnostic device
JP2022080346A (en) Vehicle control system, abnormality detection method and abnormality detection program for vehicle control system
JP3363015B2 (en) Vehicle diagnostic method and device
JP4556666B2 (en) Inspection apparatus and inspection method for in-vehicle failure diagnosis system
JP3157759B2 (en) Hot-swap detection
JP3778035B2 (en) Inspection method of electronic unit
JP3527351B2 (en) Vehicle diagnostic method and device
JP2924620B2 (en) Vehicle failure diagnosis device
KR20050030316A (en) System for inputting control function in the electronic control unit at the production line of vehicle
JP2000146765A (en) Electronic controller for vehicle
KR200279114Y1 (en) Automobile Self Diagnostic Apparatus For Outputting Self Diagnostic Information Through Mobile Communication Terminal
US20230288975A1 (en) Electronic Control Device and Method for Diagnosing Wake-up Circuit
KR100501277B1 (en) Method of erasing a failed code of electronic control unit for vehicle
KR100264554B1 (en) Abnormal state detecting system and method thereof for ecu memory power

Legal Events

Date Code Title Description
A621 Written request for application examination

Free format text: JAPANESE INTERMEDIATE CODE: A621

Effective date: 20060130

A977 Report on retrieval

Free format text: JAPANESE INTERMEDIATE CODE: A971007

Effective date: 20080714

A131 Notification of reasons for refusal

Free format text: JAPANESE INTERMEDIATE CODE: A131

Effective date: 20080722

A521 Written amendment

Free format text: JAPANESE INTERMEDIATE CODE: A523

Effective date: 20080918

A131 Notification of reasons for refusal

Free format text: JAPANESE INTERMEDIATE CODE: A131

Effective date: 20090106

A02 Decision of refusal

Free format text: JAPANESE INTERMEDIATE CODE: A02

Effective date: 20090512