JP2002187505A - In-vehicle system - Google Patents
In-vehicle systemInfo
- Publication number
- JP2002187505A JP2002187505A JP2000389356A JP2000389356A JP2002187505A JP 2002187505 A JP2002187505 A JP 2002187505A JP 2000389356 A JP2000389356 A JP 2000389356A JP 2000389356 A JP2000389356 A JP 2000389356A JP 2002187505 A JP2002187505 A JP 2002187505A
- Authority
- JP
- Japan
- Prior art keywords
- abnormality
- electronic control
- data
- ecu
- occurrence
- 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
Links
- 230000005856 abnormality Effects 0.000 claims abstract description 60
- 230000006870 function Effects 0.000 claims description 14
- 238000013500 data storage Methods 0.000 abstract description 8
- 238000000034 method Methods 0.000 description 14
- 230000008569 process Effects 0.000 description 13
- 238000004092 self-diagnosis Methods 0.000 description 6
- 230000005540 biological transmission Effects 0.000 description 5
- 230000002093 peripheral effect Effects 0.000 description 5
- 238000003745 diagnosis Methods 0.000 description 3
- 230000004044 response Effects 0.000 description 3
- 230000004397 blinking Effects 0.000 description 2
- 238000010586 diagram Methods 0.000 description 2
- 238000009825 accumulation Methods 0.000 description 1
- 230000007175 bidirectional communication Effects 0.000 description 1
- 230000008859 change Effects 0.000 description 1
- 230000006854 communication Effects 0.000 description 1
- 238000004891 communication Methods 0.000 description 1
- 239000013256 coordination polymer Substances 0.000 description 1
- 230000010354 integration Effects 0.000 description 1
- 230000008439 repair process Effects 0.000 description 1
- 230000000087 stabilizing effect Effects 0.000 description 1
Landscapes
- Combined Controls Of Internal Combustion Engines (AREA)
Abstract
(57)【要約】
【課題】 複数の電子制御装置を有する車載システムで
異常発生時点からの走行距離積算値を保存するに際し、
データ保存の信頼性向上及びコスト低減を図る。
【解決手段】 ECU10とTCU50とをシリアルバ
ス100を介して接続すると共に、TCU50のI/O
インターフェイス55の出力ポートとECU10のI/
Oインターフェイス16の入力ポートとを接続する。そ
して、ECU10において、ECU系の異常或いはTC
U系の異常を検出した場合、MILランプ3の点灯、R
AM13のバックアップ領域へのトラブルデータのスト
ア、異常発生時点からの走行距離の積算を行い、セルフ
シャット機能によるシステム停止の前に、RAM13の
バックアップ領域のトラブルデータ、走行距離積算値を
EEPROM14に書込むことで、EEPROMを個々
の電子制御装置に備えることなく、データ保存の信頼性
確保とコスト低減とを図る。
(57) [Problem] To save an integrated value of mileage from the time of occurrence of an abnormality in an in-vehicle system having a plurality of electronic control units,
Improve data storage reliability and reduce costs. SOLUTION: While connecting an ECU 10 and a TCU 50 via a serial bus 100, an I / O of the TCU 50 is connected.
The output port of the interface 55 and the I /
Connect to the input port of the O interface 16. Then, in the ECU 10, an abnormality in the ECU system or TC
When a U-system abnormality is detected, the MIL lamp 3 is turned on,
The trouble data is stored in the backup area of the AM 13 and the mileage from the point of occurrence of the abnormality is integrated, and the trouble data and the mileage integrated value of the backup area of the RAM 13 are written to the EEPROM 14 before the system is stopped by the self-shut function. Thus, reliability of data storage and cost reduction are achieved without providing an EEPROM in each electronic control device.
Description
【0001】[0001]
【発明の属する技術分野】本発明は、複数の電子制御装
置を有する車載システムに関し、詳しくは、異常発生時
に該当電子制御装置から異常報知機能を備える一つの電
子制御装置に対して異常報知を要求して異常報知させる
車載システムに関する。BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention relates to an on-vehicle system having a plurality of electronic control units, and more particularly, to request an electronic control unit having an abnormality notification function from an applicable electronic control unit when an abnormality occurs. And an in-vehicle system for notifying abnormality.
【0002】[0002]
【従来の技術】従来、複数の電子制御装置を搭載する自
動車等の車両においては、各電子制御装置毎に異常発生
を診断する自己診断機能を備えると共に、複数の電子制
御装置のうちの一つの電子制御装置に警報ランプ等の異
常報知手段を備えており、異常発生時には、異常を検知
した電子制御装置から異常報知手段を備える電子制御装
置へ異常判定結果を送信することにより、該電子制御装
置で警報ランプを点灯する等して運転者に警告を発す
る。例えば、特許第2601194号公報には、エンジ
ン制御装置と自動変速機制御装置とを互いに通信ライン
で接続すると共に、各装置内にそれぞれ故障判定部を設
け、エンジン制御装置の故障判定部或いは自動変速機制
御装置の故障判定部で異常を検出したとき、エンジン制
御装置側に設けた報知手段によって運転者に異常を報知
する技術が開示されている。2. Description of the Related Art Conventionally, a vehicle such as an automobile equipped with a plurality of electronic control units is provided with a self-diagnosis function for diagnosing the occurrence of an abnormality for each electronic control unit and one of the plurality of electronic control units. The electronic control unit is provided with an abnormality notification unit such as an alarm lamp. When an abnormality occurs, the electronic control unit that has detected the abnormality transmits an abnormality determination result to the electronic control unit including the abnormality notification unit, and thereby the electronic control unit A warning is issued to the driver by turning on an alarm lamp or the like. For example, in Japanese Patent No. 2601194, an engine control device and an automatic transmission control device are connected to each other via a communication line, and a failure determination unit is provided in each device. A technique is disclosed in which, when an abnormality is detected by a failure determination unit of a machine control device, the abnormality is notified to a driver by a notification unit provided on the engine control device side.
【0003】ところで、異常発生時には、運転者に警告
を発するのみでなく、原因究明のため、そのトラブルデ
ータや異常発生時点からの走行距離の積算値等を保存す
る必要がある。従来、走行距離の積算やデータ保存は、
エンジンや自動変速機等の各制御装置毎に個々に行って
おり、通常、イグニッションスイッチがOFFされてシ
ステムへの電源供給が停止された後もトラブルデータや
走行距離積算値が保存されるよう、バックアップ電源を
用いて揮発性メモリに電源を供給し、データの消失を防
止している。Incidentally, when an abnormality occurs, it is necessary not only to issue a warning to the driver, but also to save the trouble data and the integrated value of the traveling distance from the time of occurrence of the abnormality for the purpose of investigating the cause. Conventionally, mileage accumulation and data storage are
It is performed individually for each control device such as the engine and automatic transmission, so that trouble data and mileage integrated value are usually saved even after the ignition switch is turned off and power supply to the system is stopped. Power is supplied to the volatile memory using a backup power supply to prevent data loss.
【0004】[0004]
【発明が解決しようとする課題】しかしながら、揮発性
メモリにバックアップ電源から電源を供給してデータを
保存することは、信頼性の面から必ずしも好ましいこと
ではなく、バックアップ電源の異常やノイズの影響等に
よってデータが破壊される可能性がある。この問題を解
決するためには、EEPROM等の電気的にデータを書
換え可能で電源の供給停止後もデータを保持する不揮発
性メモリを用いることで対処することができるが、個々
の電子制御装置毎に高価な不揮発性メモリを備えなけれ
ばならず、コスト上昇を招いてしまう。However, it is not always desirable to supply power from a backup power supply to a volatile memory to store data by using a backup power supply in terms of reliability. May corrupt data. This problem can be solved by using a nonvolatile memory such as an EEPROM, which can electrically rewrite data and retain data even after the power supply is stopped. Expensive non-volatile memory must be provided, leading to an increase in cost.
【0005】本発明は上記事情に鑑みてなされたもの
で、複数の電子制御装置を有する車載システムで異常発
生時点からの走行距離積算値を保存するに際し、データ
保存の信頼性向上及びコスト低減を図ることのできる車
載システムを提供することを目的としている。SUMMARY OF THE INVENTION The present invention has been made in view of the above circumstances, and is intended to improve the reliability of data storage and reduce costs in storing an integrated mileage value from the time of occurrence of an abnormality in a vehicle-mounted system having a plurality of electronic control units. The purpose is to provide an in-vehicle system that can be achieved.
【0006】[0006]
【課題を解決するための手段】上記目的を達成するた
め、請求項1記載の発明は、複数の電子制御装置を有
し、異常発生時に該当電子制御装置から異常報知機能を
備える一つの電子制御装置に対して異常報知を要求し、
異常報知させる車載システムにおいて、上記故障報知機
能を備える一つの電子制御装置は、異常発生時点からの
走行距離を積算する手段を備え、上記複数の電子制御装
置のうちの何れか一つの電子制御装置に、電気的にデー
タ書換え可能であって電源遮断時にも記憶されたデータ
を保持する不揮発性メモリと、上記不揮発性メモリに異
常発生時点からの走行距離積算値を保存して他の電子制
御装置及び外部装置の少なくとも一方からの要求に応じ
て上記走行距離積算値を転送する手段とを備えることを
特徴とする。According to a first aspect of the present invention, there is provided an electronic control apparatus having a plurality of electronic control units, the electronic control units having an abnormality notification function from the electronic control units when an abnormality occurs. Request anomaly notification to the device,
In the in-vehicle system for performing the abnormality notification, one electronic control device having the failure notification function includes a unit that integrates a traveling distance from the time of occurrence of the abnormality, and any one of the plurality of electronic control devices is provided. A non-volatile memory that is electrically rewritable and retains stored data even when the power is turned off, and stores the integrated mileage value from the time of occurrence of the abnormality in the non-volatile memory to another electronic control unit. And means for transferring the running distance integrated value in response to a request from at least one of an external device.
【0007】請求項2記載の発明は、請求項1記載の発
明において、上記不揮発性メモリを備える電子制御装置
は、上記不揮発性メモリとバックアップ電源によりバッ
クアップデータを保持する揮発性メモリとの双方に、異
常発生時点からの走行距離積算値に加え、故障個所や故
障内容を示すトラブルデータと学習データとの少なくと
も一方を保存し、上記揮発性メモリのバックアップデー
タが破壊された場合、上記不揮発性メモリに保存された
データを上記揮発性メモリに転送する手段を備えること
を特徴とする。According to a second aspect of the present invention, in the first aspect of the present invention, the electronic control device including the nonvolatile memory includes both the nonvolatile memory and the volatile memory for holding backup data by a backup power supply. In addition to the mileage integrated value from the time of occurrence of the abnormality, at least one of trouble data and learning data indicating the location of the failure and the content of the failure is stored, and when the backup data of the volatile memory is destroyed, the nonvolatile memory is used. Means for transferring data stored in the volatile memory to the volatile memory.
【0008】すなわち、請求項1記載の発明は、複数の
電子制御装置のうち、故障報知機能を備える一つの電子
制御装置において異常発生時点からの走行距離を積算
し、この積算値を、何れか一つの電子制御装置の不揮発
性メモリに保存して他の電子制御装置及び外部装置の少
なくとも一方からの要求に応じて走行距離積算値を転送
することで、各電子制御装置に不揮発性メモリを備える
ことなくデータ保存の信頼性向上及びコスト低減を図
る。That is, according to the first aspect of the present invention, of one of the plurality of electronic control units, one of the electronic control units having a failure notification function integrates the mileage from the time of occurrence of the abnormality, and calculates one of the integrated values. Each electronic control device is provided with a non-volatile memory by storing in a non-volatile memory of one electronic control device and transferring the mileage integrated value in response to a request from at least one of the other electronic control device and an external device. It is possible to improve the reliability of data storage and reduce the cost without saving.
【0009】その際、請求項2記載の発明は、不揮発性
メモリを備える電子制御装置は、不揮発性メモリとバッ
クアップ電源によりバックアップデータを保持する揮発
性メモリとの双方に、異常発生時点からの走行距離積算
値に加え、故障個所や故障内容を示すトラブルデータと
学習データとの少なくとも一方を保存し、揮発性メモリ
のバックアップデータが破壊された場合、不揮発性メモ
リに保存されたデータを揮発性メモリに転送すること
で、学習値が破壊されても再学習を行うことなく制御を
続行可能とし、制御性を向上させる。In this case, according to a second aspect of the present invention, in the electronic control device having a nonvolatile memory, both the non-volatile memory and the volatile memory holding backup data by a backup power supply run from the time of occurrence of the abnormality. In addition to the distance integration value, at least one of the trouble data and the learning data indicating the fault location and the fault content is stored, and if the backup data in the volatile memory is destroyed, the data stored in the nonvolatile memory is stored in the volatile memory. , The control can be continued without performing re-learning even if the learning value is destroyed, and the controllability is improved.
【0010】[0010]
【発明の実施の形態】以下、図面を参照して本発明の実
施の形態を説明する。図1〜図6は本発明の実施の一形
態に係わり、図1は車載システムの構成図、図2はTC
Uにおける診断ルーチンのフローチャート、図3はEC
Uにおける診断ルーチンのフローチャート、図4はEC
Uにおけるバックアップデータ保存ルーチンのフローチ
ャート、図5はECUにおけるバックアップデータ転送
ルーチンのフローチャート、図6はECUにおける走行
距離積算値転送ルーチンのフローチャートである。Embodiments of the present invention will be described below with reference to the drawings. 1 to 6 relate to an embodiment of the present invention, FIG. 1 is a configuration diagram of an in-vehicle system, and FIG.
U is a flowchart of a diagnostic routine, and FIG.
U is a flowchart of a diagnostic routine, and FIG.
FIG. 5 is a flowchart of a backup data transfer routine in the ECU, and FIG. 6 is a flowchart of a travel distance integrated value transfer routine in the ECU.
【0011】図1において、符号10はエンジン制御用
の電子制御装置(ECU)、符号50は変速機制御用の
電子制御装置(TCU)50である。以下、本形態にお
いては、車両に搭載される複数の電子制御装置をECU
10とTCU50との2つの電子制御装置によって代表
し、ECU10及びTCU50による車載システムにつ
いて説明する。In FIG. 1, reference numeral 10 denotes an electronic control unit (ECU) for controlling the engine, and reference numeral 50 denotes an electronic control unit (TCU) 50 for controlling the transmission. Hereinafter, in the present embodiment, a plurality of electronic control units mounted on a vehicle will be referred to as ECUs.
A vehicle-mounted system represented by the ECU 10 and the TCU 50 will be described by using two electronic control units 10 and TCU 50 as a representative.
【0012】ECU10は、中央演算装置としてのCP
U11、データを書換え不能な不揮発性メモリとしての
マスクROM12、バックアップ電源によりバックアッ
プデータを保持する揮発性メモリとしてのRAM13、
電気的にデータ書換え可能であって電源遮断時にも記憶
されたデータを保持する不揮発性メモリとしてのEEP
ROM14、カウンタ・タイマ15、I/Oインターフ
ェイス16、シリアルインターフェイス(SCI)17
がバスラインを介して互いに接続されたマイクロコンピ
ュータ10aを中心として構成され、その他、各種の周
辺回路を備えている。ECU10内の周辺回路として
は、ECU10内の各部に安定化された電源を供給する
電源回路20、エンジン系の状態を検出する各種センサ
・スイッチ1からの信号を処理するための入力処理回路
21、センサ・スイッチ1からのアナログ信号をデジタ
ル信号に変換するためのアナログ/デジタル(A/D)
変換器22、インジェクタ等の各種アクチュエータ2や
異常発生を報知する警報ランプ(MILランプ)3に駆
動信号を出力するための出力処理回路23を備えてい
る。The ECU 10 has a CP as a central processing unit.
U11, a mask ROM 12 as a non-rewritable nonvolatile memory, a RAM 13 as a volatile memory holding backup data by a backup power supply,
EEP as a nonvolatile memory that is electrically rewritable and retains stored data even when power is turned off
ROM 14, counter / timer 15, I / O interface 16, serial interface (SCI) 17
Are configured around a microcomputer 10a connected to each other via a bus line, and further include various peripheral circuits. As a peripheral circuit in the ECU 10, a power supply circuit 20 for supplying stabilized power to each unit in the ECU 10, an input processing circuit 21 for processing signals from various sensors and switches 1 for detecting a state of an engine system, Analog / digital (A / D) for converting an analog signal from the sensor switch 1 into a digital signal
An output processing circuit 23 for outputting a drive signal to the converter 22, various actuators 2 such as injectors, and an alarm lamp (MIL lamp) 3 for notifying the occurrence of abnormality is provided.
【0013】同様に、TCU50は、CPU51、マス
クROM52、RAM53、カウンタ・タイマ54、I
/Oインターフェイス55、SCI56がバスラインを
介して互いに接続されたマイクロコンピュータ50aを
中心として構成され、その他、各種の周辺回路を備えて
いる。TCU50内の周辺回路としては、TCU50内
の各部に安定化された電源を供給する電源回路60、変
速機系の状態を検出する各種センサ・スイッチ4からの
信号を処理するための入力処理回路61、センサ・スイ
ッチ4からのアナログ信号をデジタル信号に変換するた
めのA/D変換器62、各種油圧制御弁等の各種アクチ
ュエータ5に駆動信号を出力するための出力処理回路6
3を備えている。Similarly, the TCU 50 includes a CPU 51, a mask ROM 52, a RAM 53, a counter / timer 54,
The I / O interface 55 and the SCI 56 are mainly configured by a microcomputer 50a connected to each other via a bus line, and further include various peripheral circuits. The peripheral circuits in the TCU 50 include a power supply circuit 60 for supplying stabilized power to each unit in the TCU 50, and an input processing circuit 61 for processing signals from various sensor switches 4 for detecting the state of the transmission system. , An A / D converter 62 for converting an analog signal from the sensor switch 4 into a digital signal, and an output processing circuit 6 for outputting a drive signal to various actuators 5 such as various hydraulic control valves.
3 is provided.
【0014】ECU10とTCU50とは、互いのSC
I17,56がシリアルバス100を介して双方向通信
可能に接続されており、シリアルバス100には、シリ
アルモニタ(故障診断装置)110等の外部装置を接続
するためのコネクタ100aが備えられている。更に、
TCU50に異常が発生した場合にECU10側に設け
られたMILランプ3の点灯要求(MILリクエスト)
の信号ラインとして、TCU50側のI/Oインターフ
ェイス55の出力ポートがECU10側のI/Oインタ
ーフェイス16の入力ポートに接続されている。The ECU 10 and the TCU 50 communicate with each other by SC
I17 and I56 are connected via a serial bus 100 so that bidirectional communication is possible. The serial bus 100 is provided with a connector 100a for connecting an external device such as a serial monitor (failure diagnosis device) 110. . Furthermore,
Request for turning on the MIL lamp 3 provided on the ECU 10 side when an abnormality occurs in the TCU 50 (MIL request)
The output port of the I / O interface 55 on the TCU 50 side is connected to the input port of the I / O interface 16 on the ECU 10 side.
【0015】一方、符号6はバッテリであり、このバッ
テリ6に、2回路のリレー接点を有する電源リレー7が
接続されると共に、イグニッションスイッチ8を介して
ECU10の入力処理回路21と出力処理回路23内の
電源リレー駆動部とが接続されている。電源リレー7の
一方のリレー接点には、バッテリ6から各アクチュエー
タに電源を供給するための電源ラインが接続され、他方
のリレー接点にはECU10の電源回路20とTCU5
0の電源回路60とにバッテリ電源を供給する電源ライ
ンが接続されている。電源リレー7のリレーコイルは、
ECU10の出力処理回路23内の電源リレー駆動部に
接続されている。On the other hand, reference numeral 6 denotes a battery. A power supply relay 7 having two relay contacts is connected to the battery 6, and an input processing circuit 21 and an output processing circuit 23 of the ECU 10 are connected via an ignition switch 8. And the power supply relay drive section in the inside. A power supply line for supplying power from the battery 6 to each actuator is connected to one relay contact of the power supply relay 7, and a power supply circuit 20 of the ECU 10 and a TCU 5 are connected to the other relay contact.
A power supply line for supplying battery power to the power supply circuit 60 is connected. The relay coil of the power supply relay 7
It is connected to a power supply relay drive section in the output processing circuit 23 of the ECU 10.
【0016】ここで、ECU10の電源回路20及びT
CU50の電源回路60は、電源リレー7のリレー接点
を介してバッテリ6に接続されると共に直接バッテリ6
に接続されており、イグニッションスイッチ8をOFF
してからECU10のセルフシャット機能により設定時
間後に電源リレー7がOFFした後も、ECU10のR
AM13及びTCU50のRAM53にバックアップ用
の電源を供給する。Here, the power supply circuit 20 of the ECU 10 and T
The power supply circuit 60 of the CU 50 is connected to the battery 6 via a relay contact of the power supply relay 7 and is directly connected to the battery 6.
And turn off the ignition switch 8
Even after the power supply relay 7 is turned off after a set time by the self-shut function of the ECU 10, the R
A power supply for backup is supplied to the AM 13 and the RAM 53 of the TCU 50.
【0017】すなわち、イグニッションスイッチ8がO
Nされ、ECU10の出力処理回路23内の電源リレー
駆動部にトリガー信号が入力されると、電源リレー駆動
部によって電源リレー7のリレーコイルが通電され、電
源リレー7の2つのリレー接点が閉成する。これによ
り、バッテリ6から各アクチュエータにバッテリ電圧が
供給されると共に、ECU10の電源回路20及びTC
U50の電源回路60にバッテリ電圧が供給され、EC
U10及びTCU50内の各部へ所定の安定化電圧が供
給される。そして、ECU10への電源投入により、マ
スクROM12に記憶されている制御プログラムがCP
U11で実行されてECU10がイニシャライズされ、
I/Oインターフェイス16の出力ポートからの信号に
より、出力処理回路23の電源リレー駆動部が電源リレ
ー7をONに保持する。That is, when the ignition switch 8 is
N, when a trigger signal is input to the power supply relay drive unit in the output processing circuit 23 of the ECU 10, the power supply relay drive unit energizes the relay coil of the power supply relay 7 and closes the two relay contacts of the power supply relay 7. I do. Thus, the battery voltage is supplied from the battery 6 to each actuator, and the power supply circuit 20 and the TC
The battery voltage is supplied to the power supply circuit 60 of U50,
A predetermined stabilizing voltage is supplied to each part in the U10 and the TCU 50. When the power supply to the ECU 10 is turned on, the control program stored in the mask ROM 12
Is executed in U11, the ECU 10 is initialized,
In response to a signal from the output port of the I / O interface 16, the power supply relay driving unit of the output processing circuit 23 holds the power supply relay 7 ON.
【0018】ECU10及びTCU50への電源投入に
よるシステム稼動後は、エンジン及び周辺機器を含むE
CU系の異常発生の有無がECU10の自己診断機能に
よって監視されると共に、変速機及び周辺機器を含むT
CU系の異常発生の有無がTCU50の自己診断機能に
よって監視され、異常発生後の処理は、主としてECU
10において行われる。すなわち、ECU10において
は、自己診断によるECU系の異常、或いはTCU50
からのMILリクエスト信号によるTCU系の異常を検
出した場合、MILランプ3の点灯、RAM13のバッ
クアップ領域へのトラブルデータのストア、異常発生時
点からの走行距離の積算を行う。After the system is operated by turning on the power to the ECU 10 and the TCU 50, the ECU including the engine and the peripheral devices is operated.
The occurrence of an abnormality in the CU system is monitored by the self-diagnosis function of the ECU 10, and the T
The occurrence of an abnormality in the CU system is monitored by the self-diagnosis function of the TCU 50, and the processing after the occurrence of the abnormality is mainly performed by the ECU.
10 is performed. That is, in the ECU 10, the abnormality of the ECU system due to the self-diagnosis or the TCU 50
When the abnormality of the TCU system due to the MIL request signal from the CPU is detected, the MIL lamp 3 is turned on, the trouble data is stored in the backup area of the RAM 13, and the mileage from the time of occurrence of the abnormality is integrated.
【0019】その後、エンジン停止のためにイグニッシ
ョンスイッチ8がOFFされると、ECU10のセルフ
シャット機能により、所定時間が経過するまで電源リレ
ー7のリレーコイルが通電状態に保持され、所定時間経
過後、ECU10のI/Oインターフェイス16の出力
ポートからの信号により出力処理回路23の電源リレー
駆動部が電源リレー7のリレーコイルへの電流を遮断す
る。これにより、電源リレー7の各リレー接点が開成
し、ECU10、TCU50、アクチュエータ類への電
源が遮断されてシステムが自動的に停止する。Thereafter, when the ignition switch 8 is turned off to stop the engine, the self-shut function of the ECU 10 keeps the relay coil of the power supply relay 7 energized until a predetermined time elapses. The power supply relay drive unit of the output processing circuit 23 cuts off the current to the relay coil of the power supply relay 7 according to a signal from the output port of the I / O interface 16 of the ECU 10. Thereby, each relay contact of the power supply relay 7 is opened, the power supply to the ECU 10, the TCU 50, and the actuators is cut off, and the system is automatically stopped.
【0020】このとき、ECU10は、セルフシャット
機能によるシステム停止の前に、RAM13のバックア
ップ領域のトラブルデータ、異常発生後の走行距離積算
値をEEPROM14に書込み、バックアップ電源の異
常やノイズの影響等によってRAM13のバックアップ
領域のデータが破壊された場合に対処する。At this time, the ECU 10 writes the trouble data in the backup area of the RAM 13 and the mileage integrated value after the occurrence of the abnormality to the EEPROM 14 before the system is stopped by the self-shut function, and the ECU 10 writes the trouble data due to the abnormality of the backup power supply or the influence of noise. The case where the data in the backup area of the RAM 13 is destroyed is dealt with.
【0021】以下、異常発生時のデータバックアップに
係わる処理について、図2〜図6のフローチャートを用
いて説明する。Hereinafter, processing related to data backup when an abnormality occurs will be described with reference to the flowcharts of FIGS.
【0022】図2は、TCU50において所定時間毎
(例えば、10msec毎)に実行されるTCU系の診
断ルーチンであり、このルーチンが起動されると、先
ず、ステップS10で、自己診断の結果、TCU系に異
常が有るか否かを調べる。そして、TCU系に異常が無
い場合には、ステップS10からそのままルーチンを抜
け、TCU系に異常が有る場合、ステップS10からス
テップS11へ進み、I/Oインターフェイス55の出
力ポートからMILリクエスト信号を出力し、ステップ
S12で、SCI56からトラブルデータをECU10
に送信してルーチンを抜ける。FIG. 2 shows a diagnostic routine of the TCU system which is executed at predetermined time intervals (for example, every 10 msec) in the TCU 50. When this routine is started, first, in step S10, the self-diagnosis result, the TCU Check whether there is any abnormality in the system. If there is no abnormality in the TCU system, the process directly exits the routine from step S10, and if there is an abnormality in the TCU system, the process proceeds from step S10 to step S11, where the MIL request signal is output from the output port of the I / O interface 55. Then, in step S12, the trouble data is sent from the SCI 56 to the ECU 10
To exit the routine.
【0023】一方、図3は、ECU10において所定時
間毎(例えば、10msec毎)に実行されるECU系
の診断ルーチンであり、このルーチンが起動されると、
先ず、ステップS20で、自己診断の結果、ECU系に
異常が有るか否かを調べる。そして、ECU系に異常が
無い場合には、ステップS20からステップS22へジ
ャンプし、ECU系に異常が有る場合、ステップS20
からステップS21へ進んでトラブルデータ(ECU
系)をRAM13のバックアップ領域にストアし、ステ
ップS22へ進む。FIG. 3 shows a diagnostic routine of the ECU system executed at predetermined time intervals (for example, every 10 msec) in the ECU 10. When this routine is started,
First, in step S20, it is checked whether or not there is an abnormality in the ECU system as a result of the self-diagnosis. If there is no abnormality in the ECU system, the process jumps from step S20 to step S22, and if there is an abnormality in the ECU system, the process proceeds to step S20.
From step S21 to trouble data (ECU
Is stored in the backup area of the RAM 13, and the process proceeds to step S22.
【0024】ステップS22では、I/Oインターフェ
イス16の該当する入力ポートの状態を調べてTCU5
0からのMILリクエスト信号を受信しているか否かを
調べる。そして、MILリクエスト信号を受信していな
い場合には、ステップS25へジャンプし、MILリク
エスト信号を受信している場合、ステップS23へ進ん
で、SCI17を介してTCU50からのトラブルデー
タを受信し、ステップS24で、TCU系のトラブルデ
ータをRAM13のバックアップ領域にストアしてステ
ップS25へ進む。In step S22, the state of the corresponding input port of the I / O interface 16 is checked, and the TCU 5
It is checked whether an MIL request signal from 0 has been received. If the MIL request signal has not been received, the process jumps to step S25. If the MIL request signal has been received, the process proceeds to step S23, where trouble data from the TCU 50 is received via the SCI 17, and In S24, the trouble data of the TCU system is stored in the backup area of the RAM 13, and the process proceeds to Step S25.
【0025】ステップ25では、ECU系及びTCU系
の少なくとも何れかのトラブルデータが有るか否かを調
べる。その結果、トラブルデータが無く、ECU系及び
TCU系の双方が正常である場合には、ステップS26
で、MILランプ3を消灯状態に維持し、ステップS2
7で、異常発生時点からの走行距離積算値をクリアして
ルーチンを抜ける。また、ステップS25において、ト
ラブルデータが有る場合には、ステップS25からステ
ップS28へ進んでMILランプ3を点灯させ、ステッ
プS29で異常発生時点からの走行距離を、例えば車速
センサから出力されるパルスをカウントする等して積算
し、ルーチンを抜ける。尚、MILランプ3は、単に点
灯させるのみでなく、トラブルデータに対応する点滅コ
ードにて点灯させても良い。In step 25, it is checked whether or not there is any trouble data of the ECU system and the TCU system. As a result, if there is no trouble data and both the ECU system and the TCU system are normal, step S26
Then, the MIL lamp 3 is maintained in the off state, and step S2
At 7, the running distance integrated value from the point of occurrence of the abnormality is cleared and the routine exits. If there is any trouble data in step S25, the process proceeds from step S25 to step S28 to turn on the MIL lamp 3, and in step S29 the travel distance from the time of occurrence of the abnormality, for example, a pulse output from a vehicle speed sensor is output. Integrate by counting etc. and exit the routine. The MIL lamp 3 may be lit not only by simply turning on the light but also by using a blinking code corresponding to the trouble data.
【0026】その後、エンジン停止のため、イグニッシ
ョンスイッチ8がOFFされると、ECU10の入力処
理回路21にてイグニッションスイッチOFFが検出さ
れ、ECU10は、図4に示すバックアップデータ保存
ルーチンを実行する。このルーチンでは、ステップS3
0で、異常発生時点からの走行距離積算値とトラブルデ
ータとをRAM13のバックアップ領域とEEPROM
14との双方にストアする。Then, when the ignition switch 8 is turned off to stop the engine, the input processing circuit 21 of the ECU 10 detects that the ignition switch is turned off, and the ECU 10 executes a backup data storage routine shown in FIG. In this routine, step S3
0, the mileage integrated value from the time of occurrence of the abnormality and the trouble data are stored in the backup area of the RAM 13 and the EEPROM.
14 is stored in both.
【0027】このとき、EEPROM14には、異常発
生時点からの走行距離積算値及びトラブルデータに加
え、ECU10によるエンジン制御の各種学習値やTC
U50による変速制御の各種学習値をストアしておくこ
とが望ましい。これにより、RAM13のバックアップ
領域に記憶されたデータが何らかの原因で破壊されたと
しても、再学習を行うことなく制御を実行することがで
き、制御性を大幅に向上すると共に、データバックアッ
プの信頼性を著しく向上することができる。At this time, in addition to the running distance integrated value and the trouble data from the time of occurrence of the abnormality, various learning values of the engine control by the ECU 10 and the TC are stored in the EEPROM 14.
It is desirable to store various learning values of the shift control by U50. As a result, even if the data stored in the backup area of the RAM 13 is destroyed for some reason, control can be performed without performing re-learning, controllability is greatly improved, and the reliability of data backup is improved. Can be significantly improved.
【0028】尚、異常発生時のトラブルデータは、MI
Lランプ3の点滅コードにより、或いはシリアルモニタ
110をシリアルバス100のコネクタ100aに接続
することにより読み出すことができ、故障内容、故障個
所を特定することができる。そして、RAM13のバッ
クアップ領域及びEEPROM14にストアされたトラ
ブルデータ及び異常発生時点からの走行距離積算値は、
修理により正常になるとクリアされる。また、修理の
後、シリアルモニタ110により、トラブルデータ及び
異常発生時点からの走行距離積算値をクリアすることも
可能である。シリアルモニタ110によるトラブルデー
タの読み出し、診断、クリア等については、本出願人に
よる特公平7−76730号公報に詳述されている。The trouble data at the time of occurrence of an error is
The information can be read out by the blinking code of the L lamp 3 or by connecting the serial monitor 110 to the connector 100a of the serial bus 100, so that the details of the failure and the location of the failure can be specified. Then, the trouble data stored in the backup area of the RAM 13 and the EEPROM 14 and the mileage integrated value from the time of occurrence of the abnormality are:
Cleared when repaired. After the repair, the serial monitor 110 can clear the trouble data and the mileage integrated value from the time of occurrence of the abnormality. The reading, diagnosis, and clearing of trouble data by the serial monitor 110 are described in detail in Japanese Patent Publication No. 7-76730 by the present applicant.
【0029】次に、ステップS31へ進み、イグニッシ
ョンスイッチOFF後、セルフシャット機能のための予
め設定された所定時間(例えば、数sec)を経過した
か否かを調べる。そして、イグニッションスイッチOF
F後、所定時間が経過していない場合には、ステップS
31で待ちループとなり、所定時間が経過したとき、ス
テップS32へ進んでI/Oインターフェイス16から
の信号により出力処理回路23を介して電源リレー7を
OFFし、ルーチンを抜ける。これにより、ECU10
及びTCU50において、通常作動時の電源が遮断さ
れ、システムが停止する。Next, the process proceeds to step S31, where it is determined whether or not a predetermined time (for example, several seconds) preset for the self-shut function has elapsed after the ignition switch is turned off. And the ignition switch OF
If the predetermined time has not elapsed after F, step S
When a predetermined time elapses, the process proceeds to step S32 to turn off the power supply relay 7 via the output processing circuit 23 by a signal from the I / O interface 16 and exit from the routine. Thereby, the ECU 10
And the TCU 50, the power supply during normal operation is cut off, and the system stops.
【0030】次に、エンジン再始動等によりイグニッシ
ョンスイッチ8がONされ、ECU10に電源が投入さ
れると、システムイニシャライズ時、図5に示すバック
アップデータ転送ルーチンが実行される。このバックア
ップデータ転送ルーチンでは、先ず、ステップS1で、
バックアップ用電源の異常等によりRAM13のバック
アップ領域に保存されているバックアップデータが破壊
されているか否かを調べる。Next, when the ignition switch 8 is turned on by restarting the engine and the power is turned on to the ECU 10, a backup data transfer routine shown in FIG. 5 is executed at the time of system initialization. In this backup data transfer routine, first, in step S1,
It is checked whether or not the backup data stored in the backup area of the RAM 13 has been destroyed due to an abnormality in the backup power supply or the like.
【0031】バックアップデータが破壊されているか否
かは、例えば、セルフシャット機能によるECU10の
電源遮断前に、RAM13のバックアップ領域のデータ
のチェックサムを取ってEEPROM14に保存してお
き、電源再投入後のイニシャライズ時、EEPROM1
4に保存されているチェックサムデータとRAM13の
バックアップ領域のデータのチェックサムデータとが一
致するか否かを調べることで行う。Whether or not the backup data has been destroyed can be determined, for example, by taking a checksum of the data in the backup area of the RAM 13 and storing it in the EEPROM 14 before the power supply of the ECU 10 is turned off by the self-shutdown function. EEPROM1 when initializing
4 is checked by checking whether the checksum data stored in the backup data 4 matches the checksum data of the data in the backup area of the RAM 13.
【0032】そして、RAM13のバックアップデータ
が破壊されていない場合には、そのままルーチンを抜
け、RAM13のバックアップデータが破壊されている
場合、ステップS2へ進んで、EEPROM14にスト
アされているバックアップデータをRAM13に転送
し、ルーチンを抜ける。そして、以後、システムが実稼
動状態となり、転送されたバックアップデータを用いて
各種制御が実行される。If the backup data in the RAM 13 has not been destroyed, the process directly exits the routine. If the backup data in the RAM 13 has been destroyed, the flow advances to step S2 to transfer the backup data stored in the EEPROM 14 to the RAM 13. And exit the routine. Thereafter, the system is put into an actual operation state, and various controls are executed using the transferred backup data.
【0033】システムが稼動後は、ECU10にて図6
に示す走行距離積算値転送ルーチンが所定時間毎に実行
され、TCU50からの要求の有無に応じて走行距離積
算値が転送される。すなわち、このルーチンでは、先
ず、ステップS5で走行距離積算値要求が有るか否かを
調べ、要求がなければそのままルーチンを抜け、要求が
あった場合、ステップS6で、走行距離積算値をTCU
50に転送してルーチンを抜ける。After the operation of the system, the ECU 10 operates as shown in FIG.
Is carried out at predetermined time intervals, and the mileage integrated value is transferred according to the presence or absence of a request from the TCU 50. That is, in this routine, first, in step S5, it is checked whether or not there is a request for the mileage integrated value. If there is no request, the process exits the routine without any change.
Transfer to step 50 and exit the routine.
【0034】これにより、異常発生時点からの走行距離
積算値を記憶するためのEEPROMを、個々の電子制
御装置に備える必要がなくなり、データ保存の信頼性を
確保しつつコスト低減を図ることができる。Thus, it is not necessary to provide an EEPROM for storing the mileage integrated value from the time of occurrence of the abnormality in each electronic control unit, and the cost can be reduced while ensuring the reliability of data storage. .
【0035】尚、本発明は、上述の実施の形態に限定さ
れるものではなく、本発明の要旨を逸脱しない範囲で種
々の変更が可能であり、例えば、上述の実施の形態にお
いては、ECU10とTCU50との2つの電子制御装
置を有する車載システムについて説明したが、3以上の
電子制御装置を有する車載システムにも適用可能であ
る。また、上述の実施の形態においては、ECU10に
EEPROMを備える例について説明したが、ECU1
0にEEPROMを備えることなくTCU50にEEP
ROMを備え、ECU10において積算された異常発生
時点からの走行距離積算値やトラブルデータをTCU5
0に転送し、TCU50のEEPROMにストアするよ
うにしても良い。It should be noted that the present invention is not limited to the above-described embodiment, and various changes can be made without departing from the gist of the present invention. For example, in the above-described embodiment, the ECU 10 Although the in-vehicle system having two electronic control units, namely the TCU 50 and the TCU 50, has been described, the present invention is also applicable to an in-vehicle system having three or more electronic control units. Further, in the above-described embodiment, the example in which the ECU 10 includes the EEPROM has been described.
0 to EEPROM in TCU50 without EEPROM
A ROM is provided, and the accumulated travel distance value and trouble data from the time of occurrence of the abnormality accumulated in the ECU 10 are stored in the TCU 5.
0 and may be stored in the EEPROM of the TCU 50.
【0036】[0036]
【発明の効果】以上説明したように本発明によれば、複
数の電子制御装置を有する車載システムで異常発生時点
からの走行距離積算値を保存するに際し、データ保存の
信頼性向上及びコスト低減を図ることができる。As described above, according to the present invention, it is possible to improve the reliability of data storage and reduce the cost when storing the mileage integrated value from the time of occurrence of an abnormality in a vehicle-mounted system having a plurality of electronic control units. Can be planned.
【図1】車載システムの構成図FIG. 1 is a configuration diagram of an in-vehicle system.
【図2】TCUにおける診断ルーチンのフローチャートFIG. 2 is a flowchart of a diagnostic routine in the TCU.
【図3】ECUにおける診断ルーチンのフローチャートFIG. 3 is a flowchart of a diagnosis routine in an ECU.
【図4】ECUにおけるバックアップデータ保存ルーチ
ンのフローチャートFIG. 4 is a flowchart of a backup data saving routine in the ECU.
【図5】ECUにおけるバックアップデータ転送ルーチ
ンのフローチャートFIG. 5 is a flowchart of a backup data transfer routine in the ECU.
【図6】ECUにおける走行距離積算値転送ルーチンの
フローチャートFIG. 6 is a flowchart of a mileage integrated value transfer routine in the ECU.
3 警報ランプ 10 ECU(エンジン制御用の電子制御装置) 13 RAM(揮発性メモリ) 14 EEPROM(不揮発性メモリ) 50 TCU(変速機制御用の電子制御装置) 3 warning lamp 10 ECU (electronic control unit for engine control) 13 RAM (volatile memory) 14 EEPROM (non-volatile memory) 50 TCU (electronic control unit for transmission control)
Claims (2)
に該当電子制御装置から異常報知機能を備える一つの電
子制御装置に対して異常報知を要求し、異常報知させる
車載システムにおいて、 上記故障報知機能を備える一つの電子制御装置は、異常
発生時点からの走行距離を積算する手段を備え、 上記複数の電子制御装置のうちの何れか一つの電子制御
装置に、 電気的にデータ書換え可能であって電源遮断時にも記憶
されたデータを保持する不揮発性メモリと、 上記不揮発性メモリに異常発生時点からの走行距離積算
値を保存して他の電子制御装置及び外部装置の少なくと
も一方からの要求に応じて上記走行距離積算値を転送す
る手段とを備えることを特徴とする車載システム。1. An in-vehicle system having a plurality of electronic control units, wherein when an abnormality occurs, the corresponding electronic control unit requests an abnormality notification to one electronic control unit having an abnormality notification function, and causes the abnormality to be reported. One electronic control device having a notification function includes means for integrating a traveling distance from the time of occurrence of the abnormality, and data can be electrically rewritten to any one of the plurality of electronic control devices. A non-volatile memory that retains the stored data even when the power is turned off, and a request from at least one of the other electronic control device and an external device that stores the mileage integrated value from the time of occurrence of the abnormality in the non-volatile memory. Means for transferring the mileage integrated value according to the vehicle-mounted system.
置は、 上記不揮発性メモリとバックアップ電源によりバックア
ップデータを保持する揮発性メモリとの双方に、異常発
生時点からの走行距離積算値に加え、故障個所や故障内
容を示すトラブルデータと学習データとの少なくとも一
方を保存し、 上記揮発性メモリのバックアップデータが破壊された場
合、上記不揮発性メモリに保存されたデータを上記揮発
性メモリに転送する手段を備えることを特徴とする請求
項1記載の車載システム。2. The electronic control device having the nonvolatile memory according to claim 1, wherein both the nonvolatile memory and the volatile memory holding backup data by a backup power supply have a fault value in addition to a running distance integrated value from the time of occurrence of the abnormality. Means for storing at least one of trouble data and learning data indicating a location or a failure content, and transferring the data stored in the nonvolatile memory to the volatile memory when the backup data in the volatile memory is destroyed The vehicle-mounted system according to claim 1, further comprising:
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
JP2000389356A JP2002187505A (en) | 2000-12-21 | 2000-12-21 | In-vehicle system |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
JP2000389356A JP2002187505A (en) | 2000-12-21 | 2000-12-21 | In-vehicle system |
Publications (1)
Publication Number | Publication Date |
---|---|
JP2002187505A true JP2002187505A (en) | 2002-07-02 |
Family
ID=18855927
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
JP2000389356A Pending JP2002187505A (en) | 2000-12-21 | 2000-12-21 | In-vehicle system |
Country Status (1)
Country | Link |
---|---|
JP (1) | JP2002187505A (en) |
Cited By (7)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JP2005297652A (en) * | 2004-04-08 | 2005-10-27 | Fuji Heavy Ind Ltd | In-vehicle electronic control unit communication device |
US7150253B2 (en) | 2003-12-22 | 2006-12-19 | Nissan Motor Co., Ltd. | Engine start control system and engine start control method |
US7750497B2 (en) | 2007-03-28 | 2010-07-06 | Mitsubishi Electric Corporation | Power feed control circuit for on-vehicle electronic control apparatuses |
JP2011134026A (en) * | 2009-12-24 | 2011-07-07 | Diamond Electric Mfg Co Ltd | Control system and in-vehicle control system |
JP2012137034A (en) * | 2010-12-27 | 2012-07-19 | Bosch Corp | Control device of drive unit and control method |
US9174382B2 (en) | 2011-01-12 | 2015-11-03 | Salflex Polymers Ltd. | Hollow article with pillar structural members |
JP2016159672A (en) * | 2015-02-27 | 2016-09-05 | 日立オートモティブシステムズ株式会社 | Mutual monitoring module for vehicles |
-
2000
- 2000-12-21 JP JP2000389356A patent/JP2002187505A/en active Pending
Cited By (7)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US7150253B2 (en) | 2003-12-22 | 2006-12-19 | Nissan Motor Co., Ltd. | Engine start control system and engine start control method |
JP2005297652A (en) * | 2004-04-08 | 2005-10-27 | Fuji Heavy Ind Ltd | In-vehicle electronic control unit communication device |
US7750497B2 (en) | 2007-03-28 | 2010-07-06 | Mitsubishi Electric Corporation | Power feed control circuit for on-vehicle electronic control apparatuses |
JP2011134026A (en) * | 2009-12-24 | 2011-07-07 | Diamond Electric Mfg Co Ltd | Control system and in-vehicle control system |
JP2012137034A (en) * | 2010-12-27 | 2012-07-19 | Bosch Corp | Control device of drive unit and control method |
US9174382B2 (en) | 2011-01-12 | 2015-11-03 | Salflex Polymers Ltd. | Hollow article with pillar structural members |
JP2016159672A (en) * | 2015-02-27 | 2016-09-05 | 日立オートモティブシステムズ株式会社 | Mutual monitoring module for vehicles |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
US8406951B2 (en) | Electronic control system for vehicles | |
KR100545131B1 (en) | Control system | |
JPS61261145A (en) | Trouble diagnoser for vehicles | |
JP2004218614A (en) | Electronic control device mounted in vehicle | |
US20060256497A1 (en) | Method of diagnosing main relay by use of electronic control unit and electronic control unit | |
EP1569174B1 (en) | Data recording apparatus and data recording method | |
JP2008155736A (en) | Electronic control device | |
US6442458B2 (en) | Method and apparatus for diagnosing a vehicle | |
JP2002193070A (en) | Ecu | |
JP2002187505A (en) | In-vehicle system | |
EP1571599B1 (en) | Data recording apparatus and the method thereof | |
JP2006117131A (en) | Electronic control device for vehicle | |
JP2006291730A (en) | Diagnostic equipment for vehicles | |
US7136780B2 (en) | Abnormality diagnosis apparatus for automatic activation timer circuit | |
JP4538852B2 (en) | Vehicle control device | |
JP2007062632A (en) | Electronic control unit and storing method of data for abnormality generated time storage | |
JP2002106408A (en) | Electronic controller for vehicle | |
JPH06286535A (en) | Fault diagnosis of controller for vehicle | |
JP3276251B2 (en) | Anti-skid device failure detection method | |
JP4375105B2 (en) | Microcomputer monitoring device failure diagnosis method and vehicle electronic control device | |
JP2001182607A (en) | Vehicle controlling device | |
JPH0697198B2 (en) | Method for establishing link between in-vehicle electronic control device and test device | |
JP3572921B2 (en) | Air bag device | |
JP2003261019A (en) | On-vehicle electronic control circuit with adequate processing function of sensor self-diagnostic signal | |
JP2629958B2 (en) | Automotive control device |