JP3234772B2 - In-vehicle powertrain control device - Google Patents

In-vehicle powertrain control device

Info

Publication number
JP3234772B2
JP3234772B2 JP22139096A JP22139096A JP3234772B2 JP 3234772 B2 JP3234772 B2 JP 3234772B2 JP 22139096 A JP22139096 A JP 22139096A JP 22139096 A JP22139096 A JP 22139096A JP 3234772 B2 JP3234772 B2 JP 3234772B2
Authority
JP
Japan
Prior art keywords
control device
control
rewriting
information
memory
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Expired - Lifetime
Application number
JP22139096A
Other languages
Japanese (ja)
Other versions
JPH1063542A (en
Inventor
滋樹 近藤
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Mitsubishi Electric Corp
Original Assignee
Mitsubishi Electric 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 Mitsubishi Electric Corp filed Critical Mitsubishi Electric Corp
Priority to JP22139096A priority Critical patent/JP3234772B2/en
Publication of JPH1063542A publication Critical patent/JPH1063542A/en
Application granted granted Critical
Publication of JP3234772B2 publication Critical patent/JP3234772B2/en
Anticipated expiration legal-status Critical
Expired - Lifetime legal-status Critical Current

Links

Landscapes

  • Combined Controls Of Internal Combustion Engines (AREA)
  • Debugging And Monitoring (AREA)

Description

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

【0001】[0001]

【発明の属する技術分野】この発明は、車載のエンジン
制御ユニット(ECUと記載する)のメモリ内容をオン
ボードで書き換え時に、このECUの動作を監視する車
載の他のECUにより故障判定がなされることなく書き
換えを実施する車載パワートレイン制御装置に関するも
のである。
BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention relates to an on-board engine control unit (hereinafter, referred to as an ECU) which rewrites on-board the contents of a memory, the failure of which is determined by another on-board ECU which monitors the operation of the ECU. The present invention relates to an in-vehicle power train control device that performs rewriting without rewriting.

【0002】[0002]

【従来の技術】図9は従来の車載パワートレイン制御装
置の構成図である。図において、1はエンジン等の制御
対象3をマイコン制御のもとに制御する第1の制御装
置、2はCPUによって処理されるメモリ中の制御プロ
グラム等の処理情報を制御仕様に応じて書き換えるメモ
リ書き換え装置、4は第1の制御装置1と同様に車載さ
れた第2の制御装置であり、他の制御対象をマイコン制
御のもとに制御する。第2の制御装置4は第1の制御装
置1と相互に動作を監視して異常検出を行っている。5
はイグニッションキー(IGキー)6のオン動作に伴っ
て各制御装置1、4にDC電圧を供給する車載のバッテ
リーである。
2. Description of the Related Art FIG. 9 is a block diagram of a conventional vehicle power train control device. In the figure, 1 is a first control device for controlling a control target 3 such as an engine under the control of a microcomputer, and 2 is a memory for rewriting processing information such as a control program in a memory processed by a CPU according to a control specification. The rewriting device 4 is a second control device mounted on the vehicle similarly to the first control device 1, and controls other control targets under microcomputer control. The second control device 4 mutually monitors the operation with the first control device 1 to detect an abnormality. 5
Reference numeral denotes a vehicle-mounted battery that supplies a DC voltage to each of the control devices 1 and 4 in response to an ON operation of an ignition key (IG key) 6.

【0003】第1の制御装置1は、制御用データの入出
力処理、制御演算処理等を行うマイクロコンピュータ
(以下、マイコンと記載する)10、メモリ書き換え時
にメモリ書き換え装置2より書き換え信号S2が入力さ
れるとマイコン10にリセット信号S1を出力するリセ
ット制御回路20、バッテリー5から供給されたDC電
圧を一定化してマイコン10の電源電圧とする電源回路
30、マイコン10に設けたバッテリーバックアップの
RAMにバッテリー5から供給されたDC電圧を一定化
して常時供給するバッテリーバックアップ電源回路40
を備える。
The first control device 1 receives a rewrite signal S2 from a memory rewrite device 2 when rewriting a memory. The microcomputer 10 performs input / output processing of control data, control arithmetic processing, and the like. Then, a reset control circuit 20 that outputs a reset signal S1 to the microcomputer 10, a power supply circuit 30 that stabilizes the DC voltage supplied from the battery 5 and sets the power supply voltage of the microcomputer 10, and a battery backup RAM provided in the microcomputer 10 Battery backup power supply circuit 40 that constantly supplies a constant DC voltage supplied from battery 5
Is provided.

【0004】マイコン10は、デ−タ入出力処理、デー
タ演算処理等を行うCPU101、入出力データ、演算
結果等を一時記憶するバッテリーバックアップのRAM
102、制御プログラムを記憶した書き換え可能な不揮
発ROM(例えばフラッシュEEPROM)103、フ
ラッシュEEPROM103の書き換えプログラム(ブ
ートプログラム)が記憶されたメモリ104、CPU1
01によるブートプログラムの読み出し時に、メモリ1
04に対する読み出しアドレスの切り替えを行うアドレ
ス切替え回路105、CPU101と、第2の制御装置
4及び制御対象3との間のデータ入出力制御を行う入出
力インタフェース106を備えている。
The microcomputer 10 includes a CPU 101 for performing data input / output processing, data calculation processing, and the like, and a battery backup RAM for temporarily storing input / output data, calculation results, and the like.
102, a rewritable nonvolatile ROM (for example, flash EEPROM) 103 storing a control program, a memory 104 storing a rewrite program (boot program) of the flash EEPROM 103, and a CPU 1
01 when the boot program is read by the memory 1
The CPU 101 includes an address switching circuit 105 for switching read addresses for the CPU 04, a CPU 101, and an input / output interface 106 for controlling data input / output between the second control device 4 and the control target 3.

【0005】次に、第1の制御装置1の動作の概要につ
いて説明する。第1の制御装置1はエンジン等の制御対
象3を制御するために、制御対象3からスイッチON/
OFF情報や信号電圧等のアナログ情報、エンジン回転
数情報等を受け取って、図示しないインジェクターや点
火装置を制御している。また、第1の制御装置1は図示
しない他の制御対象を制御している第2の制御装置4と
通信線L1を通じて監視情報を交換して相互監視を行っ
ている。
Next, an outline of the operation of the first control device 1 will be described. In order to control the control target 3 such as an engine, the first control device 1 sends a switch ON / OFF to the control target 3.
It receives OFF information, analog information such as signal voltage, engine speed information, and the like, and controls an injector and an ignition device (not shown). The first control device 1 exchanges monitoring information with the second control device 4 that controls another control target (not shown) through the communication line L1 to perform mutual monitoring.

【0006】第1の制御装置1に備えられたフラッシュ
EEPROM103を含む集積回路群はメモリ内容書き
換え時にメモリ書き換え装置2と通信線L2で接続さ
れ、更にメモリ書き換え装置2はメモリ内容書き換え時
にリセット制御回路20とも接続されることになる。メ
モリ内容書き換えの際は、先ず第1の制御装置1に電源
を与え、その後メモリ書き換え装置2は接続されたリセ
ット制御回路20をコントロールして集積回路群にリセ
ットをかけ、ブートプログラムを起動させてフラッシュ
EEPROM103の内容を書き換え、その後リセット
を解除する。
The integrated circuit group including the flash EEPROM 103 provided in the first control device 1 is connected to the memory rewriting device 2 via a communication line L2 when rewriting the memory contents, and the memory rewriting device 2 is connected to the reset control circuit when rewriting the memory contents. 20 will also be connected. At the time of rewriting the memory contents, first, power is supplied to the first control device 1, and then the memory rewriting device 2 controls the connected reset control circuit 20 to reset the integrated circuit group and activate the boot program. The contents of the flash EEPROM 103 are rewritten, and then the reset is released.

【0007】以下、第1の制御装置1の電源立ち上げ時
の初期化処理を図10のフローチャートに従って説明す
る。電源が立ち上がり、メモリ書き換え装置4からの書
き換え信号S2によって従ってリセット信号S1が入力
されると、マイコン10を使用するための最低限の処理
(スタックポインタ、ポート等の初期設定)を行う(ス
テップS101)。更に、RAM102の初期化処理
(ステップS102)、内部のタイマー、タイマー割込
等の初期化を行う(ステップS103)。
Hereinafter, an initialization process when the power of the first control device 1 is turned on will be described with reference to a flowchart of FIG. When the power is turned on and the reset signal S1 is input according to the rewrite signal S2 from the memory rewrite device 4, the minimum processing (initial setting of the stack pointer, the port, etc.) for using the microcomputer 10 is performed (step S101). ). Further, initialization processing of the RAM 102 (step S102), initialization of an internal timer, timer interruption, and the like are performed (step S103).

【0008】次に、制御対象3より入出力インタフェー
ス106を通してスイッチON/OFF情報、アナログ
電圧情報等を読み込む(ステップS104)。この時
に、第1の制御装置1は第2の制御装置4と相互に動作
を監視するため、第2の制御装置4と通信線L1を通し
て通信を開始する(ステップS105)。その後、第1
の制御装置1は制御対象3に信号を出力する出力デバイ
スの動作を許可する(ステップS106)。これは、リ
セット期間、電源立ち上げ直後に、出力デバイスが不安
定な挙動を行わないように、電源立上がりからしばらく
の間は出力デバイスの動作を禁止して安全サイドに固定
するからである。その後に定常処理へ移る。
Next, switch ON / OFF information, analog voltage information, and the like are read from the control target 3 through the input / output interface 106 (step S104). At this time, the first control device 1 starts communication with the second control device 4 through the communication line L1 in order to mutually monitor the operation with the second control device 4 (step S105). Then the first
The control device 1 permits the operation of the output device that outputs a signal to the control target 3 (step S106). This is because, during the reset period, immediately after the power supply is turned on, the operation of the output device is prohibited and fixed to the safe side for a while after the power supply is turned on so that the output device does not behave in an unstable manner. After that, the routine proceeds to the regular processing.

【0009】次に、メモリ書き換え装置2による第1の
制御装置1のメモリ内容書き換え手順を図11のフロー
チャートに従って説明する。書き換えを実施するために
は、先ず、メモリ書き換え装置2を第1の制御装置1に
接続する(ステップS111)。続いて、第1の制御装
置lの電源をONし、メモリき書き換え装置2の電源を
ONする(ステップS112)。この時、第1の制御装
置1の電源と第2の制御装置4の電源が同一であれば第
2の制御装置4にも電源が入る。そして、第1の制御装
置lと第2制御装置4が通信線L1で接続されていれ
ば、相互に動作監視のための通信を開始する。メモリ書
き換え装置2から第1の制御装置1に対し、書き換え信
号S2が出力される(ステップS113)。
Next, a procedure for rewriting the memory contents of the first control device 1 by the memory rewriting device 2 will be described with reference to the flowchart of FIG. To execute rewriting, first, the memory rewriting device 2 is connected to the first control device 1 (step S111). Subsequently, the power of the first control device 1 is turned on, and the power of the memory rewritable device 2 is turned on (step S112). At this time, if the power of the first control device 1 and the power of the second control device 4 are the same, the power of the second control device 4 is also turned on. Then, if the first control device 1 and the second control device 4 are connected by the communication line L1, communication for operation monitoring is started mutually. A rewrite signal S2 is output from the memory rewrite device 2 to the first control device 1 (step S113).

【0010】第1の制御装置1は、書き換え信号S2に
よって動作するリセット制御回路20よりリセット信号
S1が入力されると動作はリセット状態となり、今まで
の処理データはRAM102に退避される(ステップS
114)。第1の制御装置1はリセットがかかったこと
により、第2の制御装置4への通信がストップする(ス
テップS115)。書き換え情報がメモリ書き換え装置
2より通信線L2にて第1の制御装置1に送り込まれる
(ステップS116)。書き換え情報により第1の制御
装置1のマイコン10におけるフラッシュEEPROM
103のプログラム・データが書き換えられていく。
When the first control device 1 receives the reset signal S1 from the reset control circuit 20 operated by the rewrite signal S2, the operation is reset, and the processing data so far is saved in the RAM 102 (step S1).
114). When the first control device 1 is reset, communication to the second control device 4 is stopped (step S115). The rewrite information is sent from the memory rewrite device 2 to the first control device 1 via the communication line L2 (step S116). Flash EEPROM in the microcomputer 10 of the first control device 1 according to the rewriting information
The program data of 103 is rewritten.

【0011】フラッシュEEPROM103のプログラ
ム・データ書き換えが完了すると(ステップS11
7)、リセット制御回路20はメモリ書き換え装置2よ
り受信していた書き換え信号S2の停止により、第1の
制御装置1にかけていたリセット信号S1を解除する
(ステップS118)。その結果、第1の制御装置1が
動作を再開するため、第1の制御装置1と第2の制御装
置4との通信が再開される(ステップS119)。
When the program / data rewriting of the flash EEPROM 103 is completed (step S11)
7), the reset control circuit 20 releases the reset signal S1 applied to the first control device 1 by stopping the rewrite signal S2 received from the memory rewriting device 2 (step S118). As a result, since the first control device 1 restarts the operation, the communication between the first control device 1 and the second control device 4 is restarted (step S119).

【0012】第2の制御装置4が他の制御装置である第
1の制御装置1との通信状態をチェックし第1の制御装
置1の異常判定を行う手順を、図12のフロチャートに
従って説明する。先ず、第2の制御装置4は電源回路3
0より供給される電源電圧が規定値以上か否かを判定し
(ステップS121)、規定値以上、即ち電圧低下が認
められなければ電源ONからの経過時間が規定値以上で
ある否かを判定する(ステップS122)。そして、電
源電圧の安定を判定し、電源ONの経過時間が規定値以
上であると判定されたならば、第2の制御装置4からの
受信データの正常を調べる(ステップS123)。
A procedure in which the second control device 4 checks the communication state with the first control device 1 as another control device and determines the abnormality of the first control device 1 will be described with reference to the flowchart of FIG. I do. First, the second control device 4 controls the power supply circuit 3
It is determined whether or not the power supply voltage supplied from 0 is equal to or higher than a specified value (step S121). (Step S122). Then, the power supply voltage is determined to be stable, and if it is determined that the elapsed time of power-on is equal to or longer than the specified value, the normality of the data received from the second control device 4 is checked (step S123).

【0013】受信データの正常が判定されたならば、受
信データのチェックサム結果が正常か否かを調べ(ステ
ップS124)、受信データチェックサムが正しけれ
ば、通信異常タイマをクリアし(ステップS125)、
受信データを内蔵したRAMに格納する等の処置を実施
する。
If it is determined that the received data is normal, it is checked whether the checksum result of the received data is normal (step S124). If the received data checksum is correct, the communication abnormality timer is cleared (step S125). ,
Actions such as storing received data in a built-in RAM are performed.

【0014】次に、再び第2の制御装置4が第1の制御
装置1との通信状態をチェックする処理に入り、ステッ
プS123或いはステップS124で異常が判定された
ならば、通信異常判定タイマを1インクリメントする
(ステップS127)。1インクリメントされた通信異
常判定タイマのタイマ値が規定値以上か否かを判定し
(ステップS128)、規定値以上でないことが判定さ
れたならば通信異常を判定せず再び第1の制御装置1か
ら通信データを受信する。
Next, the second control unit 4 again enters a process of checking the communication state with the first control unit 1, and if an abnormality is determined in step S123 or step S124, the communication abnormality determination timer is set. One is incremented (step S127). It is determined whether the incremented communication abnormality determination timer value is equal to or greater than a specified value (step S128). If it is determined that the timer value is not equal to or greater than the specified value, no communication abnormality is determined and the first control device 1 is again determined. Receives communication data from.

【0015】しかし、何度かの通信状態チェックを繰り
返し、ステップS123或いはステップS124での異
常が通信異常判定タイマにより規定時間(規定値)以上
継続していると判定されたならば第1の制御装置1の異
常判定処置を行う。
However, if the communication state check is repeated several times and the abnormality in step S123 or S124 is determined by the communication abnormality determination timer to continue for a specified time (specified value) or more, the first control is performed. The abnormality determination processing of the device 1 is performed.

【0016】だが、電源電圧が規定値以上に達していな
かったり、電源ONからの経過時間が規定値を越えてい
ない状態で通信チェックを行うと、当然通信異常が判定
されることがあるので、ステップS121或いはS12
2で規定値を越えていないと判定されたならば、インク
リメントされた通信異常判定タイマをクリアし(ステッ
プS125)、第1の制御装置1との通信の正常判定処
理する(ステップS126)。
However, if the communication check is performed in a state where the power supply voltage has not reached the specified value or more, or the elapsed time since the power-on has not exceeded the specified value, a communication abnormality may naturally be determined. Step S121 or S12
If it is determined in step 2 that the value does not exceed the specified value, the incremented communication abnormality determination timer is cleared (step S125), and normal processing for communication with the first control device 1 is determined (step S126).

【0017】次に、メモリ書き換え装置2の書き換え動
作を図13のフロチャートに従って説明する。先ず、第
1の制御装置1の電源を入れる(ステップS131)。
但し、メモリ書き換え装置2の電源投入より第1の制御
装置1の電源投入が早い場合はこのステップは関係な
し。メモリ内容書き換え対象である制御装置が第1の制
御装置1か否かのチェックし、書き換え時のセキュリテ
ィチェックを実施し、書き換えが妥当であるか否か、そ
して書き換え可能であるか否かを判定する(ステップS
132)。書き換え不可が判定されれば、この書き換え
シーケンスを終了する。
Next, the rewriting operation of the memory rewriting device 2 will be described with reference to the flowchart of FIG. First, the power of the first control device 1 is turned on (step S131).
However, this step is irrelevant if the first controller 1 is powered on earlier than the memory rewriter 2 is powered on. It checks whether the control device to be rewritten is the first control device 1, performs a security check at the time of rewriting, and determines whether the rewriting is appropriate and whether the rewriting is possible. (Step S
132). If it is determined that rewriting is impossible, the rewriting sequence is terminated.

【0018】書き換えが可能で有れば、メモリ書き換え
装置2は書き換え動作を起動する(ステップS13
3)。書き換え動作の起動によりメモリ書き換え対象で
ある第1の制御装置1にリセット制御回路20を通して
リセットがかかる(ステップS134)。その結果、書
き換え対象である第1の制御装置1のマイコン10に備
えたブートプログラムが起動し、メモリ書き換え装置2
から通信線L2を通して書き換え情報を受信してフラッ
シュEEPROM103のメモリ書き換えを開始する
(ステップS135)。
If rewriting is possible, the memory rewriting device 2 starts a rewriting operation (step S13).
3). Upon activation of the rewriting operation, the first controller 1 to be rewritten is reset through the reset control circuit 20 (step S134). As a result, the boot program provided in the microcomputer 10 of the first control device 1 to be rewritten starts, and the memory rewriting device 2
And rewriting information is received through the communication line L2, and the rewriting of the memory of the flash EEPROM 103 is started (step S135).

【0019】メモリ書き換えは、フラッシュEEPRO
M103におけるメモリの書き換えが完了するまで継続
する(ステップS136)。尚、本フローチャートには
記載されていないが、書き換え完了後に書き換えデータ
のチェックサムを比較し、正しければ次のステップへ、
正しくなければ書き換え異常表示等の書き換え失敗処理
を行う。書き換えが完了したならば、書き換え対象であ
る第1の制御装置1をブートモードから脱出させるため
にリセットを解除する(ステップS137)。
Memory rewriting is performed by flash EEPROM
The process is continued until the rewriting of the memory in M103 is completed (step S136). Although not described in this flowchart, the checksum of the rewritten data is compared after rewriting is completed, and if the rewritten data is correct, the process proceeds to the next step.
If it is not correct, rewriting failure processing such as rewriting abnormal display is performed. When the rewriting is completed, the reset is released in order to cause the first control device 1 to be rewritten to escape from the boot mode (step S137).

【0020】[0020]

【発明が解決しようとする課題】従来装置は以上のよう
に、第1の制御装置1と第2の制御装置4は通信を通じ
て情報を交換し、相互に相手方の制御装置の動作を監視
する。そして、監視時には電源を投入して互いの制御装
置が動作を開始したことを確定してから通信情報を読み
取り、通信が途切れたり通信のフォーマットが仕様通り
でないと判断した場合に相手方の制御装置が異常である
と判定し、第1の制御装置1の故障判定や故障表示をお
こなう。
As described above, in the conventional device, the first control device 1 and the second control device 4 exchange information through communication, and mutually monitor the operation of the other control device. At the time of monitoring, when the power is turned on and it is determined that the control devices have started to operate, the communication information is read, and when it is determined that the communication is interrupted or the communication format is not as specified, the control device of the other party is turned on. It is determined that there is an abnormality, and a failure determination and a failure display of the first control device 1 are performed.

【0021】そのため、メモリ内容書き換え時に、メモ
リ内容書き換え対象である第1の制御装置1が電源を与
えられた状態でリセット信号により動作を停止すると、
第2の制御装置4は第1の制御装置1からの通信途切れ
や、通信のフォーマットが仕様通りでないことを検知
し、第1の制御装置1の異常を判断して故障表示や故障
状態の記憶を行ってしまう。このような不具合を防止す
るために従来はメモリ内容の書き換えを実施すると考え
られる車両停止状態では、互いの監視動作を通じて故障
判定を行わない等の故障判定に制限を付けていたため、
故障判定可能領域を狭めるという問題点があった。
Therefore, when the first control device 1 to be rewritten is stopped by a reset signal while the power is supplied,
The second control device 4 detects that the communication from the first control device 1 has been interrupted or that the communication format is not as specified, determines that the first control device 1 is abnormal, and stores a failure display and a failure state. Will do. In order to prevent such inconveniences, in a vehicle stop state in which it is conventionally considered that the contents of the memory are to be rewritten, since the failure determination is not performed through the mutual monitoring operation, the failure determination is limited.
There has been a problem that the failure determinable area is narrowed.

【0022】この発明は上記のような問題点を解決する
ためになされたもので、制御装置のメモリ内容をオンボ
ードで書き換え時に、この制御装置の動作を監視する他
の制御装置によって故障判定されことがない車載パワー
トレイン制御装置を得ることを目的とする。
SUMMARY OF THE INVENTION The present invention has been made to solve the above problems, and when the memory content of a control device is rewritten on-board, a failure is determined by another control device that monitors the operation of the control device. It is an object of the present invention to obtain an in-vehicle power train control device that does not have any problems.

【0023】[0023]

【課題を解決するための手段】この発明に係る車載パワ
ートレイン制御装置は、車両に搭載され相互に動作を監
視する機能を有したマイコン利用の複数の制御装置と、
これら制御装置の車両制御プログラムの仕様変更の際に
該当制御装置のメモリに記憶された制御情報をオンボー
ドにて書き換える制御情報書き換え装置とを備え、この
制御情報書き換え装置は、制御情報の書き換え開始前
に、制御情報書き換え対象以外の制御装置に対し、制御
情報書き換え対象である制御装置の監視動作を停止をす
る監視停止手段を含むものである。
According to the present invention, there is provided an on-vehicle power train control device, comprising: a plurality of control devices using a microcomputer which are mounted on a vehicle and have a function of monitoring operations mutually;
A control information rewriting device that rewrites on-board control information stored in a memory of the control device when a specification of a vehicle control program of the control device is changed, the control information rewriting device starts rewriting control information. Before, it includes a monitoring stop means for stopping a monitoring operation of a control device to be rewritten for control information for a control device other than a control information to be rewritten.

【0024】この発明に係る車載パワートレイン制御装
置は、監視停止手段が、制御情報の書き換え開始前に、
制御情報書き換え対象以外の制御装置に対し、直接に制
御情報書き換え対象である制御装置の動作監視を停止さ
せる監視停止指令を発するものである。
[0024] In the vehicle power train control device according to the present invention, the monitoring stop means may be arranged so that the rewriting of the control information starts.
This is to issue a monitoring stop command for directly stopping the operation monitoring of the control device whose control information is to be rewritten, to the control devices other than the control information rewriting target.

【0025】この発明に係る車載パワートレイン制御装
置は、監視停止手段が、制御情報の書き換え開始前に、
制御情報書き換え対象の制御装置に対して監視動作停止
のを監視停止指令を発し、この監視停止指令を制御情報
書き換え対象以外の制御装置に伝送させた後に、書き換
え完了後に監視開始指令を制御情報書き換え対象の制御
装置に発し、この監視開始指令を制御情報書き換え対象
以外の制御装置に発するものである。
In the vehicle power train control device according to the present invention, the monitoring and stopping means may be arranged so that before the rewriting of the control information is started,
A monitoring stop command is issued to the control device to which the control information is to be rewritten, and the monitoring stop command is transmitted to the control device other than the control information to be rewritten, and then the monitoring start command is rewritten after the rewriting is completed. The monitoring start command is issued to a target control device, and this monitoring start command is issued to a control device other than the control information rewriting target.

【0026】この発明に係る車載パワートレイン制御装
置は、車両に搭載され相互に動作を監視する機能を有し
たマイコン利用の複数の制御装置と、これら制御装置の
車両制御プログラムの仕様変更の際に該当制御装置のメ
モリに記憶された制御情報をオンボードにて書き換える
制御情報書き換え装置とを備え、この制御情報書き換え
装置は、制御情報の書き換え終了後に、制御情報書き換
え対象以外の制御装置に対し、記憶された故障情報を消
去する故障情報消去手段を含むものである。
A vehicle-mounted power train control device according to the present invention is provided with a plurality of control devices mounted on a vehicle and using a microcomputer and having a function of mutually monitoring operations, when a specification of a vehicle control program of these control devices is changed. A control information rewriting device for rewriting the control information stored in the memory of the control device on-board, the control information rewriting device, after the rewriting of the control information, for the control device other than the control information rewriting target, It includes a failure information erasing means for erasing the stored failure information.

【0027】この発明に係る車載パワートレイン制御装
置は、監視情報消去手段が、制御情報の書き換え終了後
に制御情報書き換え対象以外の制御装置に対し、記憶さ
れた故障情報の消去指令を直接伝送するものである。
In the vehicle power train control apparatus according to the present invention, the monitoring information erasing means directly transmits a stored failure information erasing command to the control apparatus other than the control information rewriting target after the rewriting of the control information. It is.

【0028】この発明に係る車載パワートレイン制御装
置は、監視情報消去手段が、制御情報の書き換え終了後
に、制御情報書き換え対象の制御装置に対して故障情報
の消去指令を発し、この消去指令を制御情報書き換え対
象以外の制御装置に伝送させるものである。
In the vehicle power train control apparatus according to the present invention, the monitoring information erasing means issues a failure information erasing command to the control apparatus to be rewritten, after the rewriting of the control information, and controls the erasing command. This is transmitted to a control device other than the information rewriting target.

【0029】この発明に係る車載パワートレイン制御装
置は、監視情報消去手段が、制御情報書き換え対象以外
の制御装置に対して、記憶された制御情報書き換え対象
である制御装置に関連する動作監視情報のみを消去する
ものである。
In the vehicle-mounted power train control device according to the present invention, the monitoring information erasing means may provide the control device other than the control information rewriting target only the operation monitoring information related to the stored control information rewriting target control device. Is to be erased.

【0030】この発明に係る車載パワートレイン制御装
置は、車両に搭載され相互に動作を監視する機能を有し
たマイコン利用の複数の制御装置と、これら制御装置の
車両制御プログラムの仕様変更の際に該当制御装置のメ
モリに記憶された制御情報をオンボードにて書き換える
制御情報書き換え装置とを備え、この制御情報書き換え
装置は、制御情報の書き換え開始前に、制御情報書き換
え対象以外の制御装置の電源を遮断するものである。
A vehicle-mounted powertrain control device according to the present invention includes a plurality of control devices using a microcomputer which are mounted on a vehicle and have a function of mutually monitoring operations, and which are used when changing the specifications of a vehicle control program of these control devices. A control information rewriting device for rewriting the control information stored in the memory of the control device on-board, and the control information rewriting device supplies power to the control device other than the control information rewriting target before starting the rewriting of the control information. Is to shut off.

【0031】[0031]

【発明の実施の形態】BEST MODE FOR CARRYING OUT THE INVENTION

実施の形態1.以下、この発明の実施の形態1に係る車
載パワートレイン制御装置を図について説明する。図1
は本実施の形態に係る車載パワートレイン制御装置の構
成図である。尚、図中、図9と同一符号は同一または相
当部分を示す。図において、2Aは本実施の形態による
制御情報書き換え装置としてのメモリ書き換え装置であ
る。メモリ書き換え装置2Aは第1の制御装置1を監視
している第2の制御装置4に対し、第1の制御装置1は
メモリ内容書き換え中であるという書き換え中信号を通
信線L3を通して送信する。尚、メモリ書き換え装置2
Aは監視停止手段を有する。
Embodiment 1 FIG. Hereinafter, an in-vehicle power train control device according to Embodiment 1 of the present invention will be described with reference to the drawings. FIG.
1 is a configuration diagram of a vehicle-mounted power train control device according to the present embodiment. In the drawing, the same reference numerals as those in FIG. 9 indicate the same or corresponding parts. In the figure, reference numeral 2A denotes a memory rewriting device as a control information rewriting device according to the present embodiment. The memory rewriting device 2A transmits a rewriting signal indicating that the memory content is being rewritten to the second control device 4 monitoring the first control device 1 via the communication line L3. The memory rewriting device 2
A has monitoring stop means.

【0032】この結果、第2の制御装置4は第1の制御
装置1に対する故障判定を一時的に中止する。以下、本
実施の形態の動作を図2のフローチャートに従って説明
する。このフローチャート中、ステップS121〜ステ
ップS129は従来技術の図12のフローチャートで説
明した第2の制御装置4における異常判定処理と同様で
ある。
As a result, the second controller 4 temporarily suspends the failure judgment for the first controller 1. Hereinafter, the operation of the present embodiment will be described with reference to the flowchart of FIG. In this flowchart, steps S121 to S129 are the same as the abnormality determination processing in the second control device 4 described in the flowchart of FIG.

【0033】先ず、第2の制御装置4はメモリ書き換え
装置2Aからの書き換え中信号を信号線L3を通して直
接入力し、他制御装置(この場合、監視対象である第1
の制御装置1)はメモリ書き換え装置2Aによってメモ
リ内容書き換え中であるか否かを判断する(ステップS
200)。そして、書き換え中であることが判断された
ならば第1の制御装置1の異常判定処理を、書き換え中
信号が無くなるまで中止する。
First, the second control device 4 directly inputs the in-rewrite signal from the memory rewrite device 2A through the signal line L3, and sends the signal to another control device (in this case, the first target to be monitored).
Controller 1) determines whether or not the memory contents are being rewritten by the memory rewriting device 2A (step S1).
200). If it is determined that the rewriting is being performed, the abnormality determination processing of the first control device 1 is stopped until the rewriting signal disappears.

【0034】だが、ステップS200でメモリ内容書き
換え中が判断されなければ、ステップS122へ進み、
従来技術の図12のフローチャートで説明した第1の制
御装置1の異常判定処理を行う。
However, if it is not determined in step S200 that the memory contents are being rewritten, the process proceeds to step S122.
The abnormality determination processing of the first control device 1 described in the flowchart of FIG.

【0035】この結果、相互監視を行っている第2の制
御装置4は、監視対象である第1の制御装置1がリセッ
トをかけられ、メモリ内容書き換えに時に通信フォーマ
ットに異常を起こしても認識することがないため通信異
常を誤判定することはない。
As a result, the second control device 4 performing mutual monitoring recognizes the first control device 1 to be monitored even if the first control device 1 to be monitored is reset and an error occurs in the communication format when rewriting the memory contents. Since there is no communication error, there is no erroneous determination of communication abnormality.

【0036】実施の形態2.上記、実施の形態1では、
第2の制御装置4が異常判定処理に入るか否かの判定を
行う場合、メモリ書き換え装置2Aから専用の通信線を
介して入力される書き換え中信号に基づいて行った。
Embodiment 2 In the first embodiment,
When the second control device 4 determines whether or not to enter the abnormality determination process, the determination is performed based on a rewriting signal input from the memory rewriting device 2A via a dedicated communication line.

【0037】しかし、本実施の形態は、メモリ書き換え
装置2と監視用の第2制御装置4との間に専用通信線を
設けずとも異常判定の実施の可否を判断できる車載パワ
ートレイ制御装置を得るものである。
However, in the present embodiment, there is provided an in-vehicle power tray control device capable of determining whether or not to execute abnormality determination without providing a dedicated communication line between the memory rewriting device 2 and the second control device 4 for monitoring. What you get.

【0038】以下、本実施の形態を図について説明す
る。図3は本実施の形態に係る車載パワートレイ制御装
置の構成図である。尚、図中、図9と同一符号は同一ま
たは相当部分を示す。図において、10Aは本実施の形
態に係る監視情報消去手段としてのマイコンである。こ
のマイコン10AにおけるCPUの特徴的な処理動作
は、メモリ内容の書き換え処理が完了して、自己を搭載
している第1の制御装置1のリセットが解除されると監
視用の第2の制御装置4に対する故障情報メモリクリア
指令を発する。
The present embodiment will be described below with reference to the drawings. FIG. 3 is a configuration diagram of the vehicle-mounted power tray control device according to the present embodiment. In the drawing, the same reference numerals as those in FIG. 9 indicate the same or corresponding parts. In the figure, reference numeral 10A denotes a microcomputer as monitoring information erasing means according to the present embodiment. A characteristic processing operation of the CPU in the microcomputer 10A is that when the rewriting process of the memory content is completed and the reset of the first control device 1 mounted therein is released, the second control device for monitoring 4 to issue a fault information memory clear command.

【0039】次に、本実施の形態の動作を図4のフロー
チャートに従って説明する。図4はメモリ書き換え装置
2によるメモリ内容書き換え手順を示すフローチャート
である。尚、書き換え手順の各ステップにおいて、ステ
ップS131〜ステップS137に関してはメモリ書き
換え装置2の従来の書き換え手順と同様である。
Next, the operation of this embodiment will be described with reference to the flowchart of FIG. FIG. 4 is a flowchart showing a procedure for rewriting the memory contents by the memory rewriting device 2. In each step of the rewriting procedure, steps S131 to S137 are the same as the conventional rewriting procedure of the memory rewriting device 2.

【0040】メモリ内容の書き換えが完了したならば
(ステップS136)、メモリ書き換え装置2は第1の
制御装置1のリセット制御回路20に対する書き換え信
号S2を解除してマイコン10Aに対するリセットを解
除する(ステップS137)。次にメモリ書き換え装置
2は第1の制御装置1のCPU101に対して通信線L
2により書き換え完了信号を出力する。この結果、CP
U101は故障情報メモリクリア指令を第2の制御装置
4に発する(ステップS400)。
When the rewriting of the memory contents is completed (step S136), the memory rewriting device 2 releases the rewriting signal S2 for the reset control circuit 20 of the first control device 1 and releases the reset for the microcomputer 10A (step S136). S137). Next, the memory rewriting device 2 sends a communication line L to the CPU 101 of the first control device 1.
2 outputs a rewrite completion signal. As a result, CP
U101 issues a failure information memory clear command to the second control device 4 (step S400).

【0041】第2の制御装置4は第1の制御装置1のマ
イコン10Aより信号を読み取り、図5のフローチャー
トに従って故障情報クリア指令が発せられたか否かを判
断する(ステップS500)。そして、故障情報クリア
指令が発せられていないと判断したならば、従来装置と
同様にステップS121〜ステップS129へ進み異常
判定処理を行う。
The second controller 4 reads a signal from the microcomputer 10A of the first controller 1, and determines whether or not a failure information clear command has been issued according to the flowchart of FIG. 5 (step S500). If it is determined that the failure information clear command has not been issued, the process proceeds to steps S121 to S129 as in the conventional device, and performs an abnormality determination process.

【0042】しかし、故障情報クリア指令が発せられた
と判断したならば(ステップS500)、メモリ内容の
書き換え時に第1の制御装置1により発生した異常、例
えば通信フォーマット異常により判定してメモリに記憶
した故障情報(通信異常情報)をクリアする。この結
果、第2の制御装置4は、第1の制御装置1のリセット
動作により誤って判定した通信異常に基づく故障情報を
記憶することはない。
However, if it is determined that the failure information clear command has been issued (step S500), it is determined by an abnormality generated by the first control device 1 at the time of rewriting the memory contents, for example, a communication format abnormality, and stored in the memory. Clear failure information (communication error information). As a result, the second control device 4 does not store the failure information based on the communication abnormality erroneously determined by the reset operation of the first control device 1.

【0043】実施の形態3.上記、実施の形態2は、メ
モリ書き換え完了時に故障情報メモリクリア指令を生成
して第2の制御装置4に出力し、メモリ書き換え時に記
憶した故障情報メモリの内容をクリアにさせていた。本
実施の形態は、第1の制御装置1がメモリ内容書き換え
に伴う各種データの初期化の段階でRAM102に書き
換え経歴フラグをセットし、書き換え完了後にRAM1
02より書き換え経歴フラグを読み出して第2の制御装
置4に故障情報メモリクリア指令を発生する。この結
果、第1の制御装置は、メモリ内容書き換え後にメモリ
書き換え装置2との通信を不要にして第2の制御装置4
に故障情報メモリクリア指令を発生することができる。
Embodiment 3 In the above-described second embodiment, a failure information memory clear command is generated at the time of completion of memory rewriting and output to the second control device 4 to clear the contents of the failure information memory stored at the time of memory rewriting. In this embodiment, the first control device 1 sets a rewriting history flag in the RAM 102 at the stage of initializing various data accompanying rewriting of memory contents,
02, the rewriting history flag is read, and a failure information memory clear command is issued to the second control device 4. As a result, the first control device does not need to communicate with the memory rewriting device 2 after rewriting the memory contents, and the second control device 4
, A failure information memory clear command can be generated.

【0044】次に、本実施の形態を図について説明す
る。装置の電気的接続は図3の構成図に示す通りであ
る。図6に第1の制御装置1の初期化処理の流れを示
す。尚、ステップS101〜ステップS106の処理は
従来技術における第1の制御装置1の初期化処理(図1
0を参照)と同様である。先ず、第1の制御装置1はメ
モリ書き換え装置4によってリセット信号が入力される
と、マイコン10Aを使用するための最低限の処理(ス
タックポインタ、ポート等の初期設定を行う(ステップ
S101)、RAM102の初期化処理(ステップS1
02)、内部のタイマー、タイマー割込等の初期化を行
う(ステップS103)。
Next, this embodiment will be described with reference to the drawings. The electrical connection of the device is as shown in the configuration diagram of FIG. FIG. 6 shows a flow of the initialization processing of the first control device 1. The processing of steps S101 to S106 is an initialization processing of the first control device 1 in the prior art (FIG. 1).
0). First, when the reset signal is input by the memory rewriting device 4, the first control device 1 performs a minimum process (initial setting of a stack pointer, a port, and the like) for using the microcomputer 10A (step S101). Initialization processing (step S1)
02), initialization of an internal timer, timer interruption, etc. is performed (step S103).

【0045】次に、第1の制御装置1は、メモリ書き換
え装置2から通信線L1を通してメモリ内容書き換え用
のデータが入力されてフラッシュEEPROM103に
書き込まれると共に、メモリ書き換え装置2によってR
AM102に書き換え経歴フラグがセットされる(ステ
ップS600)。メモリ書き換え装置2によって第1の
制御装置1のメモリ内容が書き換えられている間、第2
の制御装置4は第1の制御装置1との通信状態を監視
し、異常が判定されれば故障情報メモリに故障情報を記
録する(図5のフローチャートのステップS121〜S
129を参照)。
Next, the first control device 1 inputs data for rewriting the memory contents from the memory rewriting device 2 through the communication line L1 and writes the data into the flash EEPROM 103.
A rewriting history flag is set in the AM 102 (step S600). While the memory content of the first control device 1 is being rewritten by the memory rewriting device 2, the second
The control device 4 monitors the state of communication with the first control device 1 and records failure information in the failure information memory if an abnormality is determined (steps S121 to S11 in the flowchart of FIG. 5).
129).

【0046】第1の制御装置1はメモリ内容の書き換え
が完了したならば、RAM102の内容をチェックし、
書き換え経歴フラグがセットされているか否かを判定す
る(ステップS601)。そして書き換え経歴フラグが
セットされていたならば故障情報クリア要求通信情報を
セットすると共に(ステップS602)、書き換え経歴
フラグをクリアする(ステップS603)。
When the rewriting of the memory contents is completed, the first controller 1 checks the contents of the RAM 102,
It is determined whether the rewriting history flag is set (step S601). If the rewriting history flag has been set, the failure information clear request communication information is set (step S602), and the rewriting history flag is cleared (step S603).

【0047】その後、第1の制御装置1を監視して故障
情報を故障情報メモリに記憶した第2の制御装置4に対
して故障情報クリア指令の通信を開始し、故障情報クリ
ア指令を出力する(ステップS604、S605)。
Thereafter, the first controller 1 is monitored to start communication of a failure information clear command to the second controller 4 which stores the failure information in the failure information memory, and outputs the failure information clear command. (Steps S604 and S605).

【0048】第2の制御装置4は、図5のフローチャー
トに示すように故障情報クリア指令を受けたならば(ス
テップS500)、故障情報メモリに記憶した故障情報
をクリアする(ステップS501)。
When the second control device 4 receives the failure information clear command as shown in the flowchart of FIG. 5 (step S500), it clears the failure information stored in the failure information memory (step S501).

【0049】この結果、第1の制御装置1は、メモリ書
き換え完了時にメモリ書き換え装置2と通信を行うこと
なく第2の制御装置4へ故障情報クリア指令を発するこ
とができるため、メモリ書き換え装置2は通信処理の負
担を軽減することができる。
As a result, the first control device 1 can issue a failure information clear command to the second control device 4 without performing communication with the memory rewriting device 2 when the memory rewriting is completed. Can reduce the burden of communication processing.

【0050】実施の形態4.上記、実施の形態1では、
メモリ内容書き換え時にメモリ書き換え装置2から第2
の制御装置4に対して第1の制御装置1のメモリ内容書
き換え中を示す信号を専用の信号にて送信し、異常判定
処理の停止を知らせた。本実施の形態は、第1の制御装
置1がメモリ書き換え装置2よるメモリ内容書き換え動
作に先立って故障チェック中止要求信号を入力したなら
ば、この要求信号を第2の制御装置4に出力して故障チ
ェック中止要求をセットし、そして書き換えが終了した
時点で異常判定処理を開始する。
Embodiment 4 In the first embodiment,
When rewriting the memory contents, the second
A signal indicating that the memory content of the first control device 1 is being rewritten is transmitted to the control device 4 using a dedicated signal to notify the stop of the abnormality determination process. In the present embodiment, if the first control device 1 inputs a failure check stop request signal prior to the memory rewriting operation by the memory rewriting device 2, the request signal is output to the second control device 4. A failure check stop request is set, and when the rewriting is completed, an abnormality determination process is started.

【0051】次に、本実施の形態を図について説明す
る。装置の電気的接続は図1の構成図に示す通りであ
る。図7は第2の制御装置4の他制御装置との通信チェ
ック処理の流れを示す。尚、ステップS121〜ステッ
プS128の処理は従来技術における第2の制御装置4
の異常判定処理と同様である。
Next, this embodiment will be described with reference to the drawings. The electrical connection of the device is as shown in the block diagram of FIG. FIG. 7 shows a flow of a communication check process of the second control device 4 with another control device. Note that the processing of steps S121 to S128 is performed by the second control device 4 in the related art.
This is the same as the abnormality determination processing.

【0052】先ず、メモリ書き換え装置2Aの動作とし
て、図11のメモリ内容書き換え手順に示すように、ス
テップS113における第1の制御装置1に対する書き
換え信号セットと共に、故障チェック中止要求信号を第
1の制御装置1に対してセットする。
First, as an operation of the memory rewriting device 2A, as shown in the memory content rewriting procedure of FIG. 11, the rewriting signal set for the first control device 1 in step S113 and the failure check stop request signal are sent to the first control device. It is set for the device 1.

【0053】第1の制御装置1は故障チェック中止要求
信号が通信線を通して入力されたならば、故障チェック
中止要求指令を第2の制御装置4に発してこの要求指令
をセットする。そして、第2の制御装置4は第1の制御
装置1との通信過程で故障チェック中止要求がセットさ
れているか否かを判定する(ステップS700)。セッ
トされていれば、故障チェック中止要求が解除されるま
でステップS121〜ステップS128の処理を中止す
る。そして、メモリ書き換え装置2Aによる書き換え処
理が終了したならば、メモリ書き換え装置2Aは第1の
制御装置1を通して第2の制御装置4に書き換え終了信
号を出力して故障チェック中止要求をリセットさせる。
When a failure check stop request signal is input through the communication line, the first control device 1 issues a failure check stop request command to the second control device 4 and sets the request command. Then, the second control device 4 determines whether or not a failure check stop request has been set in the course of communication with the first control device 1 (step S700). If it is set, the processing of steps S121 to S128 is stopped until the failure check stop request is released. When the rewriting process by the memory rewriting device 2A is completed, the memory rewriting device 2A outputs a rewriting completion signal to the second control device 4 through the first control device 1 to reset the failure check stop request.

【0054】従って、第2の制御装置4は、第1の制御
装置1がメモリ内容を書き換えている間、異常判定処理
より解放されるためソフトウエア負担を軽減できる効果
がある。
Therefore, the second control device 4 is released from the abnormality determination processing while the first control device 1 is rewriting the contents of the memory, so that there is an effect that the software load can be reduced.

【0055】実施の形態5.上記、実施の形態1〜4で
は第2の制御装置4による第1の制御装置1の異常の誤
検出を抑止するために、メモリ書き換え装置2はメモリ
内容書き換え前に第2の制御装置4の異常判定処理を停
止させる指令を発したり、メモリ内容書き換え後に第2
の制御装置4の異常判定処理結果を打ち消す指令を発し
た。
Embodiment 5 In the first to fourth embodiments, in order to prevent the second control device 4 from erroneously detecting the abnormality of the first control device 1, the memory rewriting device 2 performs the operation of the second control device 4 before rewriting the memory contents. After issuing a command to stop the abnormality determination process or rewriting the memory contents, the second
Has been issued to cancel the result of the abnormality determination processing of the control device 4.

【0056】第2の制御装置4が第1の制御装置1の異
常を誤検出してしまうのは、第1の制御装置1のメモリ
内容書き換え中に第2の制御装置2に電源電圧を供給し
てそう機能を立ち上げ、異常判定処理を実施できるよう
にしているからである。そこで、図8の構成図に示すよ
うにメモリ書き換え装置2Bが第1の制御装置1のメモ
リ内容書き換え中は、メモリ書き換え装置2Bより電源
オフ信号S3を第1の制御装置1の電源回路に出力し、
その電源回路30Bにおいて第2の制御装置4の電源を
オフ制御する。
The reason why the second control device 4 erroneously detects the abnormality of the first control device 1 is that the power supply voltage is supplied to the second control device 2 while the memory content of the first control device 1 is being rewritten. This is because the function is activated to perform the abnormality determination process. Therefore, as shown in the configuration diagram of FIG. 8, while the memory rewriting device 2B is rewriting the memory contents of the first control device 1, the memory rewriting device 2B outputs the power-off signal S3 to the power supply circuit of the first control device 1. And
In the power supply circuit 30B, the power of the second control device 4 is turned off.

【0057】実施の形態6.尚、上記、実施の形態1で
は第1の制御装置1がメモリ内容書き換え中であること
が判定されたとき、そして実施の形態4ではメモリ内容
書き換え前に故障チェック中止要求が発令されたなら
ば、第2の制御装置4は全ての異常内容の判定を中止し
たが、本実施の形態では上記状況の場合に第1の制御装
置1の故障判定処理、及び第1の制御装置1との電気的
接続断線の判定処理を中止するが、第1の制御装置1以
外の制御装置の異常判定処理は活性化しておくことで他
の制御装置の故障記録を確保することができる。
Embodiment 6 FIG. In the first embodiment, when it is determined that the first controller 1 is rewriting the memory contents, and in the fourth embodiment, if the failure check stop request is issued before the rewriting of the memory contents, , The second control device 4 has stopped the determination of all the abnormal contents, but in the present embodiment, in the case of the above situation, the failure determination process of the first control device 1 and the electric connection with the first control device 1 are performed. Although the determination process of the disconnection is temporarily stopped, the failure determination process of the control devices other than the first control device 1 is activated, so that a failure record of another control device can be secured.

【0058】実施の形態7.尚、上記、実施の形態2、
そして実施の形態3ではメモリ内容書き換え後に故障情
報クリア指令が発せられたならば、第2の制御装置4は
全ての異常内容の判定を中止したが、本実施の形態では
上記状況の場合には第1の制御装置1の故障判定処理、
及び第1の制御装置1との電気的接続断線の判定処理を
中止するが、第1の制御装置1以外の制御装置の異常判
定処理は活性化しておくことで他の制御装置の故障記録
を確保することができる。
Embodiment 7 FIG. Note that, in the second embodiment,
In the third embodiment, if a failure information clear command is issued after rewriting the memory contents, the second control device 4 stops determination of all abnormal contents. However, in the present embodiment, in the case of the above situation, Failure determination processing of the first control device 1,
Also, the determination process of the electrical disconnection with the first control device 1 is stopped, but the failure determination process of the control devices other than the first control device 1 is activated to record the failure record of the other control device. Can be secured.

【0059】[0059]

【発明の効果】この発明によれば、車両に搭載され相互
に動作を監視する機能を有したマイコン利用の複数の制
御装置と、これら制御装置の車両制御プログラムの仕様
変更の際に該当制御装置のメモリに記憶された制御情報
をオンボードにて書き換える制御情報書き換え装置とを
備え、この制御情報書き換え装置は、制御情報の書き換
え開始前に、制御情報書き換え対象以外の制御装置に対
して制御装置の監視動作を停止をする監視停止手段を含
むことで、制御装置の異常発生の誤検出を防止できると
いう効果がある。
According to the present invention, a plurality of control devices mounted on a vehicle and using a microcomputer and having a function of monitoring operations mutually, and a control device which is used when a specification of a vehicle control program of these control devices is changed. A control information rewriting device that rewrites the control information stored in the memory on-board, and the control information rewriting device controls the control device other than the control information rewriting target before starting the rewriting of the control information. Including the monitoring stop means for stopping the monitoring operation of the control device has an effect that erroneous detection of occurrence of an abnormality in the control device can be prevented.

【0060】この発明によれば、監視停止手段が、制御
情報の書き換え開始前に、制御情報書き換え対象以外の
制御装置に対し、直接に制御装置の動作監視を停止させ
る監視停止指令を発することで、制御装置の異常発生の
誤検出を制御情報書き換え装置により確実に防止できる
という効果がある。
According to the present invention, the monitoring stop means issues a monitoring stop command for directly stopping the operation monitoring of the control device to the control devices other than the control information rewrite target before the control information rewriting is started. In addition, there is an effect that erroneous detection of occurrence of an abnormality in the control device can be reliably prevented by the control information rewriting device.

【0061】この発明によれば、監視停止手段が、制御
情報の書き換え開始前に、制御情報書き換え対象の制御
装置に対して監視動作停止のを監視停止指令を発し、こ
の監視停止指令を制御情報書き換え対象以外の制御装置
に伝送させた後に、書き換え完了後に監視開始指令を制
御情報書き換え対象の制御装置に発し、この監視開始指
令を制御情報書き換え対象以外の制御装置に発すること
で、制御情報書き換え装置と制御情報書き換え対象以外
の制御装置との間に特別の通信の付設することなく、制
御装置の異常発生の誤検出を制御情報書き換え装置によ
り確実に防止することができるという効果がある。
According to the present invention, the monitoring stop means issues a monitoring stop command to the control device to be rewritten for control information to stop the monitoring operation before starting the rewriting of the control information. After transmission to a control device other than the rewrite target, after the rewrite is completed, a monitoring start command is issued to the control information rewrite target control device, and the monitoring start command is issued to the control device other than the control information rewrite target, thereby rewriting the control information. There is an effect that erroneous detection of occurrence of an abnormality in the control device can be reliably prevented by the control information rewriting device without providing special communication between the device and the control device other than the control information rewriting target.

【0062】この発明によれば、車両に搭載され相互に
動作を監視する機能を有したマイコン利用の複数の制御
装置と、これら制御装置の車両制御プログラムの仕様変
更の際に該当制御装置のメモリに記憶された制御情報を
オンボードにて書き換える制御情報書き換え装置とを備
え、この制御情報書き換え装置は、制御情報の書き換え
終了後に、制御情報書き換え対象以外の制御装置に対し
て得られた制御装置の故障情報を消去する故障情報消去
手段を含むことで、制御装置によって誤判定された異常
発生を消去することができるという効果がある。
According to the present invention, a plurality of control devices using a microcomputer which are mounted on a vehicle and have a function of mutually monitoring operations, and a memory of the control device when a specification of a vehicle control program of these control devices is changed. And a control information rewriting device for rewriting the control information stored in the control information on-board, and the control information rewriting device obtains the control information obtained for the control device other than the control information rewriting target after the rewriting of the control information. Including the failure information erasing means for erasing the failure information described above, there is an effect that the occurrence of an abnormality erroneously determined by the control device can be eliminated.

【0063】この発明によれば、監視情報消去手段が、
制御情報の書き換え終了後に制御情報書き換え対象以外
の制御装置に対し、得られた制御装置の故障情報の消去
指令を直接伝送することで、制御装置によって誤判定さ
れた異常発生を確実に消去することができるという効果
がある。
According to the present invention, the monitoring information erasing means includes:
After the rewriting of the control information is completed, by directly transmitting a command to delete the obtained failure information of the control device to the control device other than the control information rewriting target, it is possible to surely delete the occurrence of an error that is erroneously determined by the control device. There is an effect that can be.

【0064】この発明によれば、監視情報消去手段が、
制御情報の書き換え終了後に、制御情報書き換え対象の
制御装置に対して故障情報の消去指令を発し、この消去
指令を制御情報書き換え対象以外の制御装置に伝送させ
ることで、制御情報書き換え装置と制御情報書き換え対
象以外の制御装置との間に特別の通信の付設することな
く、制御装置によって誤判定された異常発生を確実に消
去することができるという効果がある。
According to the present invention, the monitoring information erasing means comprises:
After rewriting the control information, the control information rewriting device issues a failure information erasure command to the control device to be rewritten, and transmits the erasure command to a control device other than the control information rewrite device. There is an effect that the occurrence of an abnormality erroneously determined by the control device can be reliably erased without providing special communication with the control device other than the rewrite target.

【0065】この発明によれば、監視情報消去手段が、
制御情報書き換え対象以外の制御装置に対して、制御情
報書き換え対象の制御装置に関連する動作監視情報のみ
を消去することで、通常制御動作を行っている制御装置
の監視情報を確保することができるという効果がある。
According to the present invention, the monitoring information erasing means comprises:
By erasing only the operation monitoring information related to the control device whose control information is to be rewritten, the monitoring information of the control device performing the normal control operation can be secured for the control devices other than the control information rewriting target. This has the effect.

【0066】この発明によれば、車両に搭載され相互に
動作を監視する機能を有したマイコン利用の複数の制御
装置と、これら制御装置の車両制御プログラムの仕様変
更の際に該当制御装置のメモリに記憶された制御情報を
オンボードにて書き換える制御情報書き換え装置とを備
え、この制御情報書き換え装置は、制御情報の書き換え
開始前に、制御情報書き換え対象以外の制御装置の電源
を遮断することで、容易に、且つ、制御装置によって誤
判定された異常発生を確実に消去することができるとい
う効果がある。
According to the present invention, a plurality of control devices using a microcomputer which are mounted on a vehicle and have a function of monitoring operations mutually, and a memory of the control device when a specification of a vehicle control program of these control devices is changed. A control information rewriting device that rewrites the control information stored in the on-board control device. The control information rewriting device shuts off the power of the control device other than the control information rewriting target before starting the rewriting of the control information. In addition, there is an effect that the occurrence of an abnormality erroneously determined by the control device can be easily and reliably eliminated.

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

【図1】 実施の形態1における車載パワートレイン制
御装置の構成である。
FIG. 1 is a configuration of an onboard powertrain control device according to a first embodiment.

【図2】 実施の形態1における第2の制御装置の通信
チェックの手順を示すフローチャートである。
FIG. 2 is a flowchart showing a procedure of a communication check of a second control device according to the first embodiment.

【図3】 この発明の実施の形態2における車載パワー
トレイン制御装置の構成である。
FIG. 3 shows a configuration of a vehicle-mounted power train control device according to Embodiment 2 of the present invention.

【図4】 実施の形態2におけるプログラム書き換え装
置のメモリ内容書き換え手順を示すフローチャートであ
る。
FIG. 4 is a flowchart showing a memory content rewriting procedure of the program rewriting device according to the second embodiment.

【図5】 実施の形態2における第2の制御装置の通信
チェックの手順を示すフローチャートである。
FIG. 5 is a flowchart showing a procedure of a communication check of a second control device according to the second embodiment.

【図6】 実施の形態3における第1の制御装置の初期
化処理を説明するフローチャートである。
FIG. 6 is a flowchart illustrating an initialization process of a first control device according to a third embodiment.

【図7】 実施の形態4における第2の制御装置の初期
化処理を説明するフローチャートである。
FIG. 7 is a flowchart illustrating an initialization process of a second control device according to the fourth embodiment.

【図8】 実施の形態5における車載パワートレイン制
御装置の構成である。
FIG. 8 shows a configuration of an in-vehicle power train control device according to a fifth embodiment.

【図9】 従来の車載パワートレイン制御装置の構成で
ある。
FIG. 9 shows a configuration of a conventional onboard powertrain control device.

【図10】 従来の第1の制御装置の初期化処理を説明
するフローチャートである。
FIG. 10 is a flowchart illustrating a conventional initialization process of a first control device.

【図11】 従来のプログラム書き換え装置のメモリ内
容書き換え手順を示すフローチャートである。
FIG. 11 is a flowchart showing a memory content rewriting procedure of a conventional program rewriting device.

【図12】 従来の第2の制御装置の通信チェックの手
順を示すフローチャートである。
FIG. 12 is a flowchart illustrating a procedure of a communication check of the second control device in the related art.

【図13】 従来のプログラム書き換え装置のメモリ内
容書き換え手順を示すフローチャートである。
FIG. 13 is a flowchart showing a memory content rewriting procedure of a conventional program rewriting device.

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

1 第1の制御装置、2,2A,2B メモリ書き換え
装置、3 制御対象、4 第2の制御装置、10,10
A マイコン、101 CPU、103 フラッシュE
EPROM。
REFERENCE SIGNS LIST 1 first control device, 2, 2A, 2B memory rewriting device, 3 control target, 4 second control device, 10, 10
A microcomputer, 101 CPU, 103 flash E
EPROM.

───────────────────────────────────────────────────── フロントページの続き (58)調査した分野(Int.Cl.7,DB名) G06F 11/30 310 G06F 11/30 F02D 45/00 310 F02D 45/00 376 ──────────────────────────────────────────────────続 き Continued on the front page (58) Field surveyed (Int.Cl. 7 , DB name) G06F 11/30 310 G06F 11/30 F02D 45/00 310 F02D 45/00 376

Claims (5)

(57)【特許請求の範囲】(57) [Claims] 【請求項1】 車両に搭載され相互に動作を監視する機
能を有したマイコン利用の複数の制御装置と、これら制
御装置の車両制御プログラムの仕様変更の際に該当制御
装置のメモリに記憶された制御情報をオンボードにて書
き換える制御情報書き換え装置とを備え、この制御情報
書き換え装置は、制御情報の書き換え終了後に、制御情
報書き換え対象以外の制御装置に対し、記憶された故障
情報を消去する故障情報消去手段を含むことを特徴とす
る車載パワートレイン制御装置。
1. A plurality of control devices using a microcomputer which are mounted on a vehicle and have a function of monitoring operations mutually, and which are stored in a memory of the control device when a specification of a vehicle control program of these control devices is changed. A control information rewriting device that rewrites the control information on-board. The control information rewriting device, after the rewriting of the control information, performs a fault for erasing stored fault information to a control device other than the control information rewriting target. An in-vehicle power train control device comprising information erasing means.
【請求項2】 監視情報消去手段は、制御情報の書き換
え終了後に制御情報書き換え対象以外の制御装置に、記
憶された故障情報の消去指令を直接伝送することを特徴
とする請求項に記載の車載パワートレイン制御装置。
2. A monitoring information erasing means, the control device other than the control information rewritten after completion of rewriting of the control information, according to claim 1, characterized in that transmitting the erase command of the stored failure information directly In-vehicle powertrain control device.
【請求項3】 監視情報消去手段は、制御情報の書き換
え終了後に、制御情報書き換え対象の制御装置に対して
故障情報の消去指令を発し、この消去指令を制御情報書
き換え対象以外の制御装置に伝送させることを特徴とす
る請求項に記載の車載パワートレイン制御装置。
3. The monitoring information erasing means, after the rewriting of the control information, issues a command for erasing the failure information to the control device to which the control information is to be rewritten, and transmits the erasing command to the control devices other than the control information to be rewritten. The in-vehicle power train control device according to claim 1 , wherein:
【請求項4】 監視情報消去手段は、制御情報書き換え
対象以外の制御装置に対し、記憶された制御情報書き換
え対象である制御装置に関連する動作監視情報のみを消
去することを特徴とする請求項1ないし3のいずれかに
記載の車載パワートレイン制御装置。
4. A monitoring information erasing means for erasing only operation monitoring information relating to a stored control device to be rewritten, for a control device other than the control information rewriting target.
Claims 1, characterized in Rukoto to be removed by to-vehicle power train control apparatus according to any one of 3.
【請求項5】 車両に搭載され相互に動作を監視する機
能を有したマイコン利用の複数の制御装置と、これら制
御装置の車両制御プログラムの仕様変更の際に該当制御
装置のメモリに記憶された制御情報をオンボードにて書
き換える制御情報書き換え装置とを備え、この制御情報
書き換え装置は、制御情報の書き換え開始前に、制御情
報書き換え対象以外の制御装置の電源を遮断することを
特徴とする車載パワートレイン制御装置。
5. A plurality of control devices using a microcomputer which are mounted on a vehicle and have a function of mutually monitoring operations, and which are stored in a memory of the control device when a specification of a vehicle control program of these control devices is changed. A control information rewriting device that rewrites control information on-board, wherein the control information rewriting device shuts off power to a control device other than the control information rewriting target before starting the rewriting of the control information. Powertrain control device.
JP22139096A 1996-08-22 1996-08-22 In-vehicle powertrain control device Expired - Lifetime JP3234772B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP22139096A JP3234772B2 (en) 1996-08-22 1996-08-22 In-vehicle powertrain control device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP22139096A JP3234772B2 (en) 1996-08-22 1996-08-22 In-vehicle powertrain control device

Publications (2)

Publication Number Publication Date
JPH1063542A JPH1063542A (en) 1998-03-06
JP3234772B2 true JP3234772B2 (en) 2001-12-04

Family

ID=16766028

Family Applications (1)

Application Number Title Priority Date Filing Date
JP22139096A Expired - Lifetime JP3234772B2 (en) 1996-08-22 1996-08-22 In-vehicle powertrain control device

Country Status (1)

Country Link
JP (1) JP3234772B2 (en)

Families Citing this family (11)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP4516241B2 (en) * 2001-07-06 2010-08-04 日立オートモティブシステムズ株式会社 Engine control device
JP4254577B2 (en) 2004-03-04 2009-04-15 株式会社デンソー Control device
JP4480449B2 (en) * 2004-04-08 2010-06-16 富士重工業株式会社 In-vehicle electronic control unit communication device
JP2005337017A (en) * 2004-05-24 2005-12-08 Mitsubishi Electric Corp Electronic control device for vehicle
JP4595637B2 (en) 2005-04-11 2010-12-08 株式会社デンソー Vehicle control device and program used for vehicle control device
JP2008155736A (en) * 2006-12-22 2008-07-10 Fujitsu Ten Ltd Electronic control device
JP4557042B2 (en) * 2008-04-23 2010-10-06 株式会社デンソー Electronic control device and vehicle control system
JP4809418B2 (en) * 2008-11-25 2011-11-09 トヨタ自動車株式会社 Software updating apparatus and software updating method
JP4706778B2 (en) 2009-05-20 2011-06-22 株式会社デンソー Electronic control device and vehicle control system
JP5551045B2 (en) * 2010-10-29 2014-07-16 本田技研工業株式会社 Program rewriting system for vehicles
JP6205214B2 (en) * 2013-09-06 2017-09-27 日立オートモティブシステムズ株式会社 Electronic control unit for automobile

Also Published As

Publication number Publication date
JPH1063542A (en) 1998-03-06

Similar Documents

Publication Publication Date Title
US6957136B2 (en) Apparatus for rewriting a memory in a vehicle mounted ECU through communications
EP1992815B1 (en) Eco-Run control device and engine restart method
JP3932654B2 (en) Vehicle control device and vehicle control system
JP3234772B2 (en) In-vehicle powertrain control device
US8406951B2 (en) Electronic control system for vehicles
JPH0883176A (en) Controller
JPH08211915A (en) Controller
JPH11272498A (en) Electronic controller
JP4061694B2 (en) Electronic control device and control system
JPH0588924A (en) Multicomputer system of automobile
JPH0742888B2 (en) Engine controller
JP2000259420A (en) Device for updating learning value for electronic controller
JP2007092621A (en) Electronic control unit
JP3817855B2 (en) Electronic control device
JP2001123874A (en) Program rewrite system or memory rewriting system for electronic control device
JP3972429B2 (en) Memory rewriting device for vehicle control
JP3491358B2 (en) Power cut-off detection device
JP2002041367A (en) Vehicle controller
JP2004210183A (en) In-vehicle program rewrite control device
JP3915411B2 (en) Electronic control device for vehicle
JP3496484B2 (en) Memory rewriting device for vehicle control
JP3672755B2 (en) Control program rewriting system
JPH09171459A (en) Electronic control equipment
JP2010143404A (en) Vehicle communication control device
JP4998816B2 (en) Electronic controller program rewriting system

Legal Events

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

Free format text: PAYMENT UNTIL: 20080921

Year of fee payment: 7

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

Free format text: PAYMENT UNTIL: 20080921

Year of fee payment: 7

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

Free format text: PAYMENT UNTIL: 20090921

Year of fee payment: 8

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

Free format text: PAYMENT UNTIL: 20090921

Year of fee payment: 8

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

Free format text: PAYMENT UNTIL: 20100921

Year of fee payment: 9

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

Free format text: PAYMENT UNTIL: 20110921

Year of fee payment: 10

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

Free format text: PAYMENT UNTIL: 20110921

Year of fee payment: 10

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

Free format text: PAYMENT UNTIL: 20120921

Year of fee payment: 11

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

Free format text: PAYMENT UNTIL: 20130921

Year of fee payment: 12

R250 Receipt of annual fees

Free format text: JAPANESE INTERMEDIATE CODE: R250

EXPY Cancellation because of completion of term