JP2008196441A - Control device for vehicle - Google Patents

Control device for vehicle Download PDF

Info

Publication number
JP2008196441A
JP2008196441A JP2007034709A JP2007034709A JP2008196441A JP 2008196441 A JP2008196441 A JP 2008196441A JP 2007034709 A JP2007034709 A JP 2007034709A JP 2007034709 A JP2007034709 A JP 2007034709A JP 2008196441 A JP2008196441 A JP 2008196441A
Authority
JP
Japan
Prior art keywords
learning value
learning
failure
control
storage device
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.)
Withdrawn
Application number
JP2007034709A
Other languages
Japanese (ja)
Inventor
Yasuhiro Oi
康広 大井
Koji Ide
宏二 井手
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.)
Toyota Motor Corp
Original Assignee
Toyota Motor Corp
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Toyota Motor Corp filed Critical Toyota Motor Corp
Priority to JP2007034709A priority Critical patent/JP2008196441A/en
Priority to PCT/IB2008/000343 priority patent/WO2008099276A1/en
Publication of JP2008196441A publication Critical patent/JP2008196441A/en
Withdrawn legal-status Critical Current

Links

Images

Classifications

    • FMECHANICAL ENGINEERING; LIGHTING; HEATING; WEAPONS; BLASTING
    • F02COMBUSTION ENGINES; HOT-GAS OR COMBUSTION-PRODUCT ENGINE PLANTS
    • F02DCONTROLLING COMBUSTION ENGINES
    • F02D41/00Electrical control of supply of combustible mixture or its constituents
    • F02D41/22Safety or indicating devices for abnormal conditions
    • BPERFORMING OPERATIONS; TRANSPORTING
    • B60VEHICLES IN GENERAL
    • B60WCONJOINT CONTROL OF VEHICLE SUB-UNITS OF DIFFERENT TYPE OR DIFFERENT FUNCTION; CONTROL SYSTEMS SPECIALLY ADAPTED FOR HYBRID VEHICLES; ROAD VEHICLE DRIVE CONTROL SYSTEMS FOR PURPOSES NOT RELATED TO THE CONTROL OF A PARTICULAR SUB-UNIT
    • B60W50/00Details of control systems for road vehicle drive control not related to the control of a particular sub-unit, e.g. process diagnostic or vehicle driver interfaces
    • B60W50/02Ensuring safety in case of control system failures, e.g. by diagnosing, circumventing or fixing failures
    • B60W50/0205Diagnosing or detecting failures; Failure detection models
    • BPERFORMING OPERATIONS; TRANSPORTING
    • B60VEHICLES IN GENERAL
    • B60WCONJOINT CONTROL OF VEHICLE SUB-UNITS OF DIFFERENT TYPE OR DIFFERENT FUNCTION; CONTROL SYSTEMS SPECIALLY ADAPTED FOR HYBRID VEHICLES; ROAD VEHICLE DRIVE CONTROL SYSTEMS FOR PURPOSES NOT RELATED TO THE CONTROL OF A PARTICULAR SUB-UNIT
    • B60W50/00Details of control systems for road vehicle drive control not related to the control of a particular sub-unit, e.g. process diagnostic or vehicle driver interfaces
    • B60W50/08Interaction between the driver and the control system
    • B60W50/14Means for informing the driver, warning the driver or prompting a driver intervention
    • FMECHANICAL ENGINEERING; LIGHTING; HEATING; WEAPONS; BLASTING
    • F02COMBUSTION ENGINES; HOT-GAS OR COMBUSTION-PRODUCT ENGINE PLANTS
    • F02DCONTROLLING COMBUSTION ENGINES
    • F02D41/00Electrical control of supply of combustible mixture or its constituents
    • F02D41/24Electrical control of supply of combustible mixture or its constituents characterised by the use of digital means
    • F02D41/2406Electrical control of supply of combustible mixture or its constituents characterised by the use of digital means using essentially read only memories
    • F02D41/2425Particular ways of programming the data
    • F02D41/2487Methods for rewriting
    • F02D41/2493Resetting of data to a predefined set of values
    • FMECHANICAL ENGINEERING; LIGHTING; HEATING; WEAPONS; BLASTING
    • F02COMBUSTION ENGINES; HOT-GAS OR COMBUSTION-PRODUCT ENGINE PLANTS
    • F02DCONTROLLING COMBUSTION ENGINES
    • F02D41/00Electrical control of supply of combustible mixture or its constituents
    • F02D41/22Safety or indicating devices for abnormal conditions
    • F02D2041/228Warning displays
    • FMECHANICAL ENGINEERING; LIGHTING; HEATING; WEAPONS; BLASTING
    • F02COMBUSTION ENGINES; HOT-GAS OR COMBUSTION-PRODUCT ENGINE PLANTS
    • F02DCONTROLLING COMBUSTION ENGINES
    • F02D41/00Electrical control of supply of combustible mixture or its constituents
    • F02D41/24Electrical control of supply of combustible mixture or its constituents characterised by the use of digital means
    • F02D41/2406Electrical control of supply of combustible mixture or its constituents characterised by the use of digital means using essentially read only memories
    • F02D41/2425Particular ways of programming the data
    • F02D41/2429Methods of calibrating or learning
    • F02D41/2441Methods of calibrating or learning characterised by the learning conditions
    • F02D41/2448Prohibition of learning
    • FMECHANICAL ENGINEERING; LIGHTING; HEATING; WEAPONS; BLASTING
    • F16ENGINEERING ELEMENTS AND UNITS; GENERAL MEASURES FOR PRODUCING AND MAINTAINING EFFECTIVE FUNCTIONING OF MACHINES OR INSTALLATIONS; THERMAL INSULATION IN GENERAL
    • F16HGEARING
    • F16H61/00Control functions within control units of change-speed- or reversing-gearings for conveying rotary motion ; Control of exclusively fluid gearing, friction gearing, gearings with endless flexible members or other particular types of gearing
    • F16H61/12Detecting malfunction or potential malfunction, e.g. fail safe; Circumventing or fixing failures

Abstract

<P>PROBLEM TO BE SOLVED: To prevent a learning value receiving influence of a failure from being continuously used after repair of an apparatus when the apparatus relating to control of a vehicle fails in relation to a control device for a vehicle executing learning control. <P>SOLUTION: The control device for the vehicle executing learning control for correcting error components regularly inheriting in parameters relating to control of the vehicle is provided with; nonvolatile memory capable of retaining stored date even if electric power supply is shut off; a learning value storage means storing learning value calculated in the learning control into a first storage device; a failure detection means detecting a failure of the apparatus relating to learning control, and a learning value delete means deleting learning value stored in the nonvolatile memory if a failure of the apparatus is detected by the failure detection means. <P>COPYRIGHT: (C)2008,JPO&INPIT

Description

この発明は、学習制御が行われる車両の制御装置に係り、特に、電気的にデータの書き換えが可能な不揮発性メモリを備えた車両の制御装置に関する。   The present invention relates to a vehicle control apparatus in which learning control is performed, and more particularly to a vehicle control apparatus including a nonvolatile memory capable of electrically rewriting data.

従来、例えば、特開平10−252547号公報に開示されるように、制御データを一時的に記憶するSRAMと、電気的にデータの書き換えが可能な不揮発性メモリ(以下、「EEPROM」と称す)とを備えた車両制御装置が知られている。SRAMはバッテリ電圧による電源バックアップが施されたメモリであり、EEPROMは電源が遮断されても記憶したデータを消失せずに保持することのできるメモリである。   Conventionally, for example, as disclosed in Japanese Patent Application Laid-Open No. 10-252547, an SRAM that temporarily stores control data and a nonvolatile memory (hereinafter referred to as “EEPROM”) that can electrically rewrite data. There is known a vehicle control device including The SRAM is a memory that is backed up by a battery voltage, and the EEPROM is a memory that can retain stored data without being lost even when the power is cut off.

上記従来の車両制御装置では、センサやアクチュエータ等に代表される制御対象の経年劣化や個体差などの影響を排斥するために、過去の制御結果を評価して制御パラメータや制御論理を修正する学習制御が行われる。この学習制御では、SRAMに記憶されている学習値が適当なタイミングでEEPROMに書き込まれる。これにより、バッテリがクリアされた場合等、SRAMに記憶されていた学習値が消失した場合であっても、EEPROMのデータを読み出すことにより、過去に算出した学習値を継続して使用できる。   In the above conventional vehicle control device, learning to evaluate past control results and correct control parameters and control logic to eliminate the influence of aging degradation and individual differences of the control target represented by sensors and actuators. Control is performed. In this learning control, the learning value stored in the SRAM is written into the EEPROM at an appropriate timing. Thereby, even when the learning value stored in the SRAM disappears, such as when the battery is cleared, the learning value calculated in the past can be continuously used by reading the data in the EEPROM.

特開平10−252547号公報Japanese Patent Laid-Open No. 10-252547 特開平6−75866号公報JP-A-6-75866

ところで、車両の制御システムでは、車両の制御に係るセンサやアクチュエータなどの機器の故障診断制御(ダイアグノーシス)が行われる。これにより、これらの機器の故障を逸早く使用者に通知し、誤ったセンサ信号に基づいて車両の制御が継続されてしまう事態を効果的に回避することとしている。   By the way, in a vehicle control system, failure diagnosis control (diagnosis) of devices such as sensors and actuators related to vehicle control is performed. Thereby, it is supposed to notify a user of the failure of these apparatuses quickly and to effectively avoid the situation where the control of the vehicle is continued based on an erroneous sensor signal.

ここで、上記機器の故障が検出された場合、当該機器に関連する制御の学習値は故障の影響を受けている可能性が高い。このため、当該機器を交換等した場合には学習値を継続して使用することはできない。しかしながら、EPPROMは不揮発性のメモリであるため、故障機器の交換の際に電源電圧が遮断されても当該メモリに記憶されている学習値は消失しない。このため、システムの復帰後に故障時の学習値が継続して使用されると、誤った学習制御が実行されてしまい、エンジンが始動しない等の不具合が生じるおそれがある。このような事態を回避するために、交換作業と同時に手動で学習値を消去する方法が考えられるが、近年のシステムは非常に複雑であるため作業工程が大幅に増加してしまう。   Here, when a failure of the device is detected, there is a high possibility that the learning value of control related to the device is affected by the failure. For this reason, when the said apparatus is replaced | exchanged etc., a learning value cannot be used continuously. However, since the EPPROM is a non-volatile memory, the learning value stored in the memory does not disappear even if the power supply voltage is interrupted when the failed device is replaced. For this reason, if the learning value at the time of failure is continuously used after the system is restored, erroneous learning control is executed, and there is a possibility that problems such as the engine not starting may occur. In order to avoid such a situation, a method of manually erasing the learning value simultaneously with the exchange work is conceivable. However, since the system in recent years is very complicated, the number of work steps is greatly increased.

この発明は、上述のような課題を解決するためになされたもので、車両の制御に係る機器に故障が発生した場合に、故障の影響を受けている学習値が、当該機器の修理後に継続して使用されることを防止することのできる車両の制御装置を提供することを目的とする。   The present invention has been made to solve the above-described problems. When a failure occurs in a device related to vehicle control, the learning value affected by the failure continues after the repair of the device. It is an object of the present invention to provide a control device for a vehicle that can be prevented from being used.

第1の発明は、上記の目的を達成するため、車両の制御装置であって、
車両の制御に係るパラメータに定常的に内在する誤差成分を補正するための学習制御を実行する車両の制御装置において、
電源供給が遮断された場合も記憶していたデータを保持することが可能な第1の記憶装置と、
前記学習制御において算出された学習値を前記第1の記憶装置に記憶する学習値記憶手段と、
前記学習制御に係わる機器の故障を検出する故障検出手段と、
前記故障検出手段により前記機器の故障が検出された場合には、前記第1の記憶装置に記憶されている学習値を消去する学習値消去手段と、
を備えることを特徴とする。
In order to achieve the above object, a first invention is a control device for a vehicle,
In a vehicle control apparatus that executes learning control for correcting an error component that is steadily included in a parameter related to vehicle control,
A first storage device capable of holding stored data even when power supply is interrupted;
Learning value storage means for storing the learning value calculated in the learning control in the first storage device;
A failure detection means for detecting a failure of the device related to the learning control;
When a failure of the device is detected by the failure detection means, learned value erasure means for erasing the learned value stored in the first storage device;
It is characterized by providing.

また、第2の発明は、第1の発明において、
前記第1の記憶装置は、電気的にデータの書き換えが可能な不揮発性メモリであることを特徴とする。
The second invention is the first invention, wherein
The first storage device is a nonvolatile memory capable of electrically rewriting data.

また、第3の発明は、第1または2の発明において、
前記学習値記憶手段は、電源供給が遮断された場合に記憶していたデータを消失する第2の記憶装置に記憶されている前記学習値を、前記第1の記憶装置にバックアップとして記憶する手段であり、
前記第2の記憶装置への電源供給が一端遮断された後に復旧した場合に、前記第1の記憶装置に記憶されている学習値を前記第2の記憶装置に復帰させる学習値復帰手段を更に備えることを特徴とする。
The third invention is the first or second invention, wherein
The learning value storage means stores the learning value stored in the second storage device that loses the stored data when power supply is interrupted as a backup in the first storage device. And
Learning value return means for returning the learning value stored in the first storage device to the second storage device when the power supply to the second storage device is restored after being interrupted once. It is characterized by providing.

また、第4の発明は、第3の発明において、
前記故障検出手段により前記機器の故障が検出された場合には、前記第2の記憶装置に記憶されている前記学習値を保持する学習値保持手段を更に備えることを特徴とする。
Moreover, 4th invention is set in 3rd invention,
The apparatus further comprises learning value holding means for holding the learning value stored in the second storage device when a failure of the device is detected by the failure detecting means.

第1の発明によれば、学習制御において算出された学習値は第1の記憶装置に記憶されている。そして、学習制御に係る機器の故障が検出された場合に、第1の記憶装置に記憶されていた学習値が消去される。このため、本発明によれば、当該機器の故障の影響を受けた学習値が、当該機器の修理後に継続して使用される事態を効果的に回避することができる。   According to the first invention, the learning value calculated in the learning control is stored in the first storage device. And when the failure of the apparatus which concerns on learning control is detected, the learning value memorize | stored in the 1st memory | storage device is erase | eliminated. For this reason, according to the present invention, it is possible to effectively avoid a situation in which the learning value affected by the failure of the device is continuously used after the device is repaired.

第2の発明によれば、第1の記憶装置として、電気的にデータの書き換えが可能な不揮発性メモリ(EEPROM)を使用することができる。   According to the second invention, a nonvolatile memory (EEPROM) capable of electrically rewriting data can be used as the first storage device.

第3の発明によれば、電源供給が遮断された場合に記憶していたデータを消失する第2の記憶装置に記憶されていた学習値が、バックアップとして第1の記憶装置に記憶される。そして、第2の記憶装置の学習値が消失した場合に第1の記憶装置に記憶されていた学習値が第2の記憶装置に復帰される。このため、本発明によれば、バッテリクリア等により第2の記憶装置に記憶されていた学習値が消失した場合でも、当該学習値を復帰させて継続して使用することができる。   According to the third invention, the learning value stored in the second storage device that loses the stored data when the power supply is interrupted is stored in the first storage device as a backup. Then, when the learning value of the second storage device disappears, the learning value stored in the first storage device is restored to the second storage device. For this reason, according to the present invention, even when the learned value stored in the second storage device disappears due to battery clearing or the like, the learned value can be restored and used continuously.

第4の発明によれば、学習制御に係る機器の故障が検出され、第1の記憶装置に記憶されていた学習値の消去処理が実行された場合に、第2の記憶装置に記憶されている学習値は消去されずに保持される。このため、本発明によれば、当該機器の故障を修理するまでの期間は当該機器の故障による影響を補正する学習値が使用されるので、故障の影響をより補うように学習制御を行うことができる。   According to the fourth invention, when a failure of the device related to the learning control is detected and the learning value stored in the first storage device is erased, the learning value is stored in the second storage device. The learning value is retained without being erased. Therefore, according to the present invention, the learning value for correcting the influence of the failure of the device is used during the period until the failure of the device is repaired, so that the learning control is performed so as to compensate for the influence of the failure more. Can do.

以下、図面に基づいてこの発明の実施の形態について説明する。尚、以下の実施の形態によりこの発明が限定されるものではない。   Embodiments of the present invention will be described below with reference to the drawings. The present invention is not limited to the following embodiments.

実施の形態1.
[実施の形態1の構成]
図1は、本発明の実施の形態の構成を説明するための図を示す。本実施の形態の車両制御装置は、車両に搭載されている内燃機関(エンジン)2を制御するための制御装置である。図1に示すとおり、内燃機関2は制御装置としてECU(Electronic Control Unit)10を備えている。ECU10は複数のセンサによって検出されるエンジンの作動データに基づいて、エンジン2の作動に係わる各種機器を総合的に制御する。ECU10の出力側には、図示しない複数のアクチュエータが接続されている。また、ECU10の入力側には、図示しない複数のセンサや機器が接続されている。ECU10はこれらのセンサからの入力信号に基づいて、燃料噴射制御、点火時期制御、スロットル制御、ダイアグノーシス等、エンジン2の様々な制御を実行する。以下、ECU10の構成について詳細に説明する。
Embodiment 1 FIG.
[Configuration of Embodiment 1]
FIG. 1 is a diagram for explaining the configuration of an embodiment of the present invention. The vehicle control device of the present embodiment is a control device for controlling an internal combustion engine (engine) 2 mounted on a vehicle. As shown in FIG. 1, the internal combustion engine 2 includes an ECU (Electronic Control Unit) 10 as a control device. The ECU 10 comprehensively controls various devices related to the operation of the engine 2 based on engine operation data detected by a plurality of sensors. A plurality of actuators (not shown) are connected to the output side of the ECU 10. In addition, a plurality of sensors and devices (not shown) are connected to the input side of the ECU 10. The ECU 10 executes various controls of the engine 2 such as fuel injection control, ignition timing control, throttle control, and diagnosis based on input signals from these sensors. Hereinafter, the configuration of the ECU 10 will be described in detail.

本実施の形態のECU10は、CPU12を備えている。CPU12はエンジンを制御するための様々な処理を実行する。また、ECU10は、CPU12により実行されるプログラムを格納するROM22と、CPU12による制御演算結果等を一時的に記憶する演算作業用のRAMとして、NRAM24とSRAM26とを備えている。NRAM24は、バッテリ電圧による電源バックアップが施されていないメモリであり、イグニッションがオフとされると記憶していたデータを消失するメモリである。一方、SRAM26はバッテリ電圧によるバックアップが施されたメモリであり、イグニッションがオフとされても記憶していたデータを消失しないメモリである。また、図1に示すとおり、ECU10は、EEPROM28を備えている。EEPROM28は、電気的にデータの書き換えが可能な不揮発性のメモリであり、電源の供給が遮断されてもデータを保持することができる。   ECU10 of this Embodiment is provided with CPU12. The CPU 12 executes various processes for controlling the engine. The ECU 10 also includes a ROM 22 that stores a program executed by the CPU 12, and an NRAM 24 and an SRAM 26 as RAM for calculation work that temporarily stores control calculation results and the like by the CPU 12. The NRAM 24 is a memory that is not backed up by a battery voltage, and is a memory that loses stored data when the ignition is turned off. On the other hand, the SRAM 26 is a memory that is backed up by a battery voltage, and does not lose the stored data even when the ignition is turned off. Further, as shown in FIG. 1, the ECU 10 includes an EEPROM 28. The EEPROM 28 is a non-volatile memory in which data can be electrically rewritten, and can retain data even when power supply is interrupted.

図1に示すとおり、ECU10は入力回路14と出力回路16とを備えている。入力回路14は、回転数センサ、水温センサ等の図示しない種々のセンサの出力信号をCPU12に入力する。また、出力回路16は、CPU12から出力される駆動信号に基づいて、インジェクタ、リレー等の図示しない種々のアクチュエータを作動させる。また、ECU10は、電源回路18を備えている。電源回路18は、図示しないバッテリから図示しないイグニッションスイッチを介して供給されるイグニッション電圧を受けて、CPU12、ROM22、NRAM24、SRAM26、およびEEPROM28へ動作電圧を出力するとともに、バッテリからイグニッションスイッチを介さずに直接供給されるバッテリ電圧を受けて、SRAM26へデータ保持用のバックアップ電圧を出力する。   As shown in FIG. 1, the ECU 10 includes an input circuit 14 and an output circuit 16. The input circuit 14 inputs output signals of various sensors (not shown) such as a rotation speed sensor and a water temperature sensor to the CPU 12. The output circuit 16 operates various actuators (not shown) such as an injector and a relay based on a drive signal output from the CPU 12. The ECU 10 includes a power supply circuit 18. The power supply circuit 18 receives an ignition voltage supplied from a battery (not shown) via an ignition switch (not shown), outputs an operating voltage to the CPU 12, ROM 22, NRAM 24, SRAM 26, and EEPROM 28, and does not pass from the battery via the ignition switch. In response to the battery voltage directly supplied to the SRAM 26, a backup voltage for data retention is output to the SRAM 26.

[実施の形態1における動作]
次に、本実施の形態の動作について説明する。上述した構成を有するECU10においては、ROM22に格納されたプログラムに従い、燃料噴射制御、点火時期制御、スロットル制御、ダイアグノーシス等のエンジン制御が実行される。より具体的には、イグニッションスイッチがオンされると電源回路18からCPU12、ROM22、NRAM24、SRAM26、およびEEPROM28へ動作電圧が出力される。そして、ROM22に格納されたプログラムに従いエンジン制御処理が実行され、入力回路14に入力された各種センサの信号に基づいて、出力回路16を介して種々のアクチュエータが作動される。
[Operation in Embodiment 1]
Next, the operation of the present embodiment will be described. In the ECU 10 having the above-described configuration, engine control such as fuel injection control, ignition timing control, throttle control, and diagnosis is executed in accordance with a program stored in the ROM 22. More specifically, when the ignition switch is turned on, the operating voltage is output from the power supply circuit 18 to the CPU 12, ROM 22, NRAM 24, SRAM 26, and EEPROM 28. Engine control processing is executed in accordance with a program stored in the ROM 22, and various actuators are operated via the output circuit 16 based on signals from various sensors input to the input circuit 14.

ここで、ECU10が実施する内燃機関2の制御では、定常的な誤差成分を補正するための学習制御が実施される。具体的には、センサやアクチュエータの経年劣化や個体差などに起因して、エンジン制御に係わるパラメータに重畳する定常的な誤差成分を、制御結果の履歴に基づいて学習して補正する。学習値は新たな値が算出される毎に随時更新され、NRAM24に記憶される。ここで、上述したとおり、NRAM24はイグニッションがオフされると記憶したデータが消失してしまうので、NRAM24に記憶された学習値は定期的にSRAM26に書き込まれる。これにより、イグニッションがオフされても学習値を保持することができるので、次回のイグニッションオン時に当該学習値を使用して継続して学習制御を行うことができる。   Here, in the control of the internal combustion engine 2 performed by the ECU 10, learning control for correcting a steady error component is performed. Specifically, a steady error component superimposed on a parameter related to engine control due to aging deterioration or individual difference of a sensor or actuator is learned and corrected based on a history of control results. The learning value is updated as needed each time a new value is calculated and stored in the NRAM 24. Here, as described above, the stored data is lost in the NRAM 24 when the ignition is turned off. Therefore, the learning value stored in the NRAM 24 is periodically written in the SRAM 26. As a result, the learning value can be held even when the ignition is turned off, so that the learning control can be continuously performed using the learning value when the ignition is turned on next time.

しかしながら、バッテリクリア等によりバックアップ電圧が遮断されると、SRAM26に記憶されていた学習値は消失してしまう。そこで、本実施の形態のシステムでは、SRAM26に記憶されていた学習値が定期的にEEPROM28に書き込まれる。具体的には、SRAM26に記憶されていた学習値が新たな値に更新された場合、その後のイグニッションがオフ時にEEPROM28への学習値の書き込み動作が実行される。これにより、SRAM26に記憶されていた学習値が誤って消失された場合でも、EEPROM28に記憶されている学習値をSRAM26へ復帰させる動作を行うことにより、学習値を復帰させることができる。   However, when the backup voltage is interrupted by clearing the battery or the like, the learning value stored in the SRAM 26 is lost. Therefore, in the system according to the present embodiment, the learning value stored in the SRAM 26 is periodically written in the EEPROM 28. Specifically, when the learning value stored in the SRAM 26 is updated to a new value, the learning value is written into the EEPROM 28 when the subsequent ignition is turned off. Thereby, even if the learning value stored in the SRAM 26 is accidentally lost, the learning value can be restored by performing the operation of restoring the learning value stored in the EEPROM 28 to the SRAM 26.

[本実施の形態の特徴的動作]
次に、本実施の形態の特徴的動作について説明する。ECU10では、当該制御装置に接続されているセンサやアクチュエータ等の機器の故障診断制御が行われる。具体的には、センサ類は、例えば入力信号を常時監視して比較することにより、故障、断線、短絡等が検知される。また、アクチュエータ類は、電流の限界値等を利用して故障診断が実施される。故障が検出された場合には、速やかに使用者に通知される。
[Characteristic operation of this embodiment]
Next, a characteristic operation of the present embodiment will be described. In the ECU 10, failure diagnosis control of devices such as sensors and actuators connected to the control device is performed. Specifically, the sensors detect failure, disconnection, short circuit, and the like by constantly monitoring and comparing input signals, for example. In addition, the actuators are subjected to failure diagnosis using a current limit value or the like. If a failure is detected, the user is promptly notified.

ここで、上記故障診断制御により機器の故障が発見された場合において、断線等の突然発生した故障であれば、故障を検知した後即座に学習を禁止することにより、故障の影響が学習値に重畳することを防止することが可能である。しかしながら、例えば、機器の経年劣化により徐々にその性能が低下し、最終的に故障と判断されるに至った場合には、当該機器の経年劣化の影響が既に学習値に重畳しているため、かかる学習値を修理後に使用することはできない。   Here, when a failure of a device is discovered by the above-described failure diagnosis control, if the failure has occurred suddenly, such as a disconnection, the learning is immediately prohibited after the failure is detected, so that the influence of the failure becomes a learned value. It is possible to prevent overlapping. However, for example, when the performance gradually declines due to aging of the device, and finally it is determined to be a failure, the influence of aging of the device is already superimposed on the learning value, Such learning values cannot be used after repair.

また、仮に学習値がSRAM26のみに記憶されている場合には、修理作業におけるバッテリクリア時に、SRAM26に記憶されていたデータがすべて消失するため、修理後に修理前の学習値が使用されてしまう問題は発生しない。しかしながら、本実施の形態のシステムように、EEPROMに学習値をバックアップしている場合には、バッテリクリアされても記憶されている学習値が消失しないため、システムが復帰した後にかかる学習値が使用されてしまい、誤った学習制御による機器の誤作動を引き起こすおそれがある。   Further, if the learning value is stored only in the SRAM 26, all the data stored in the SRAM 26 is lost when the battery is cleared in the repair work, and the learning value before repair is used after repair. Does not occur. However, when the learning value is backed up in the EEPROM as in the system of the present embodiment, the learning value stored is not lost even if the battery is cleared. May cause malfunction of the device due to incorrect learning control.

そこで、本実施の形態のシステムでは、故障検出がされた場合に、EEPROM28に記憶されている学習値を消去することとする。これにより、修理後のエンジン制御において、故障の影響が重畳した学習値が使用される事態を回避することができる。   Therefore, in the system of the present embodiment, when a failure is detected, the learning value stored in the EEPROM 28 is deleted. Thereby, in the engine control after repair, the situation where the learning value on which the influence of the failure is superimposed can be avoided.

尚、EEPROM28の学習値を消去した場合には、SRAM26に記憶されている学習値はそのまま保持することとする。これにより、故障が検出されてから修理されるまでの期間は、故障の影響を補うように学習された学習値を使用して学習制御を行うことができ、故障に起因する誤作動を効果的に抑制することができる。   When the learning value in the EEPROM 28 is erased, the learning value stored in the SRAM 26 is held as it is. As a result, during the period from when a failure is detected to when it is repaired, learning control can be performed using a learning value that has been learned to compensate for the effects of the failure, effectively preventing malfunctions caused by the failure. Can be suppressed.

[実施の形態1における具体的処理]
次に、図2を参照して、本実施の形態において実行する処理の具体的内容について説明する。図2は、ECU10が、エンジン2の制御に係わる学習値の書き込み或いは読み込みの処理を実行するルーチンのフローチャートである。先ず、SRAM26からEEPROM28への学習値バックアップ処理のルーチンについて説明する。
[Specific Processing in Embodiment 1]
Next, with reference to FIG. 2, the specific content of the process performed in this Embodiment is demonstrated. FIG. 2 is a flowchart of a routine in which the ECU 10 executes learning value writing or reading processing related to the control of the engine 2. First, a routine for learning value backup processing from the SRAM 26 to the EEPROM 28 will be described.

図2に示すルーチンでは、先ず、イグニッションがオンされたか否かが判定される(ステップ100)。ここでは、具体的には、イグニッションスイッチがオンされ、バッテリ電圧が、ROM22、NRAM24、SRAM26、およびEEPROM28に供給されたか否かが判定される。   In the routine shown in FIG. 2, it is first determined whether or not the ignition is turned on (step 100). Specifically, it is determined whether or not the ignition switch is turned on and the battery voltage is supplied to the ROM 22, NRAM 24, SRAM 26, and EEPROM 28.

上記ステップ100において、イグニッションがオフされたと判定された場合には、次のステップに移行し、直前のトリップにおいて学習値に変更があったか否かが判定される(ステップ102)。ここでは、具体的には、直前のトリップにおいて、SRAM26に記憶されている学習値データが新たなデータに更新されたか否かが判定される。その結果、学習値が更新されたと判定された場合には、次のステップに移行し、SRAM26に記憶されている学習値データがEEPROM28に書き込まれる(ステップ104)。次いで、本ルーチンがイグニッションオフであったことを示すフラグがオンとされ(ステップ106)、本ルーチンは終了される。一方、上記ステップ102において、学習値データが更新されていないと判定された場合には、特にEEPROM28に記憶された学習値データを更新する必要はないと判断され、上記ステップ106の処理を実行した後に本ルーチンは終了される。   When it is determined in step 100 that the ignition is turned off, the process proceeds to the next step, and it is determined whether or not the learning value has been changed in the immediately preceding trip (step 102). Here, specifically, it is determined whether or not the learning value data stored in the SRAM 26 has been updated to new data in the previous trip. As a result, when it is determined that the learning value has been updated, the process proceeds to the next step, and the learning value data stored in the SRAM 26 is written into the EEPROM 28 (step 104). Next, a flag indicating that this routine is ignition off is turned on (step 106), and this routine is terminated. On the other hand, if it is determined in step 102 that the learning value data is not updated, it is determined that it is not necessary to update the learning value data stored in the EEPROM 28, and the processing in step 106 is executed. This routine is terminated later.

以上説明した処理によれば、直前のトリップにおいて更新された学習値をEEPROM28に書き込むことができる。これにより、EEPROM28に記憶されている学習値データを常に最新に保つことができる。   According to the processing described above, the learning value updated in the immediately preceding trip can be written in the EEPROM 28. Thereby, the learning value data stored in the EEPROM 28 can always be kept up-to-date.

次に、EEPROM28からSRAM26への学習値復帰処理のルーチンについて説明する。上記ステップ100において、イグニッションがオンされたと判定された場合には、次のステップに移行し、イグニッションがオンされた直後のルーチンか否かが判定される(ステップ108)。ここでは、具体的には、上記ステップ106におけるフラグがオンか否かが判定される。その結果、当該フラグがオンである場合には、イグニッションがオンされた直後のルーチンであると判断され、次のステップに移行し、SRAM26のミラーチェックが行われる(ステップ110)。ここでは、具体的には、直前トリップの終了時と現在とのSRAM26のデータが比較され、バッテリクリア等によりSRAM26のデータが消失していないか否かが判定される。   Next, a learning value return processing routine from the EEPROM 28 to the SRAM 26 will be described. If it is determined in step 100 that the ignition is turned on, the process proceeds to the next step, and it is determined whether or not the routine is immediately after the ignition is turned on (step 108). Specifically, it is determined whether or not the flag in step 106 is ON. As a result, if the flag is on, it is determined that the routine is immediately after the ignition is turned on, the process proceeds to the next step, and the mirror check of the SRAM 26 is performed (step 110). Specifically, the data in the SRAM 26 at the end of the last trip and the current are compared, and it is determined whether or not the data in the SRAM 26 is lost due to battery clearing or the like.

上記ステップ110において、SRAM26のデータが消失していると判定された場合には、次のステップに移行し、EEPROM28に記憶されている学習値データがSRAM26に書き込まれる(ステップ112)。次いで、本ルーチンがイグニッションオフであったことを示すフラグがオフとされ(ステップ114)、本ルーチンは終了される。一方、上記ステップ110においてSRAM26のデータが消失していないと判定された場合には、特にSRAM26のデータを書き換える必要性はないと判断され、本ルーチンは速やかに終了される。   If it is determined in step 110 that the data in the SRAM 26 has been lost, the process proceeds to the next step, and the learning value data stored in the EEPROM 28 is written in the SRAM 26 (step 112). Next, the flag indicating that the routine is ignition off is turned off (step 114), and the routine is terminated. On the other hand, if it is determined in step 110 that the data in the SRAM 26 has not disappeared, it is determined that there is no need to rewrite the data in the SRAM 26 in particular, and this routine is immediately terminated.

以上説明した処理によれば、イグニッションがオフとされている期間にバッテリクリア等が行われ、SRAM26に記憶されていた学習値データが消失した場合には、EEPROM28に記憶されていた学習値データがSRAM26に復帰される。これにより、バッテリクリア前の学習値を継続して使用することができる。   According to the process described above, when the battery is cleared during the period when the ignition is off and the learned value data stored in the SRAM 26 disappears, the learned value data stored in the EEPROM 28 is stored. It is returned to the SRAM 26. Thereby, the learning value before battery clear can be used continuously.

次に、部品故障が検出された場合のEEPROM28の学習値消去処理のルーチンについて説明する。上記ステップ100において、イグニッションがオンされたと判定された場合には、上記ステップ108に移行し、イグニッションがオンされた直後のルーチンか否かが判定される。その結果、フラグがオフである場合には、次のステップに移行し、学習制御に係る機器の故障が検出されたか否かが判定される(ステップ116)。ここでは、具体的には、ECU10において別途実行されている故障診断制御において、これらの機器の故障が検出されたか否かが判断される。   Next, a learning value erasing process routine of the EEPROM 28 when a component failure is detected will be described. If it is determined in step 100 that the ignition is turned on, the process proceeds to step 108, and it is determined whether or not the routine is immediately after the ignition is turned on. As a result, when the flag is off, the process proceeds to the next step, and it is determined whether or not a failure of the device related to the learning control is detected (step 116). Specifically, it is determined whether or not a failure of these devices has been detected in the failure diagnosis control separately executed in the ECU 10.

上記ステップ116において、故障が検出されたと判定された場合には、次のステップに移行し、EEPROM28の学習値消去処理が実行される(ステップ118)。ここでは、具体的には、EEPROM28に記憶されている学習値データがすべて消去される。そして、上記ステップ106の処理を実行した後に本ルーチンは終了される。一方、上記ステップ116において、故障が検出されないと判定された場合には、特にEEPROM28に記憶された学習値データを消去する必要はないと判断され、上記ステップ106の処理を実行した後に本ルーチンは終了される。   If it is determined in step 116 that a failure has been detected, the process proceeds to the next step, and the learning value erasure process of the EEPROM 28 is executed (step 118). Here, specifically, all the learning value data stored in the EEPROM 28 is erased. Then, after executing the processing of step 106, this routine is terminated. On the other hand, if it is determined in step 116 that no failure has been detected, it is determined that it is not necessary to delete the learning value data stored in the EEPROM 28, and after executing the processing of step 106, this routine is executed. Is terminated.

以上説明した処理によれば、内燃機関2の学習制御に係る機器に故障が検出された場合には、EEPROM28に記憶されている学習値のデータが消去される。EEPROM28に記憶されているデータは、修理時にバッテリをオフとするだけでは消失しない。このため、当該故障の影響が重畳した学習値を修理に先立って消去することにより、修理後に当該学習値が使用される事態を回避することができ、誤作動を防止することができる。   According to the processing described above, when a failure is detected in a device related to learning control of the internal combustion engine 2, the learning value data stored in the EEPROM 28 is erased. The data stored in the EEPROM 28 is not lost simply by turning off the battery at the time of repair. For this reason, by deleting the learning value on which the influence of the failure is superimposed prior to the repair, it is possible to avoid a situation in which the learned value is used after the repair, and to prevent a malfunction.

ところで、上述した実施の形態1においては、学習制御に係る機器の故障が検出された場合に、EEPROM28に記憶されている学習値をすべて消去することとしているが、消去する学習値はこれに限られない。すなわち、EEPROM28に記憶されている学習値データの中で、故障した機器の制御に関連する学習値のみを特定して消去することとしてもよい。   By the way, in Embodiment 1 described above, when a failure of a device related to learning control is detected, all the learning values stored in the EEPROM 28 are erased. However, the learning values to be erased are not limited to this. I can't. That is, only the learning value related to the control of the failed device may be specified and deleted from the learning value data stored in the EEPROM 28.

尚、上述した実施の形態1においては、EEPROM28が前記第1の発明における「第1の記憶装置」に相当しているとともに、ECU10が、上記ステップ104の処理を実行することにより前記第1の発明における「学習値記憶手段」が、上記ステップ116の処理を実行することにより前記第1の発明における「学習値消去手段」が、それぞれ実現されている。   In the first embodiment described above, the EEPROM 28 corresponds to the “first storage device” in the first aspect of the invention, and the ECU 10 executes the process of step 104 to execute the first step. The “learned value erasing means” according to the first aspect of the present invention is realized by the “learning value storage means” according to the invention executing the processing of step 116.

また、上述した実施の形態1においては、SRAM26が前記第3の発明における「第2の記憶装置」に相当しているとともに、ECU10が、上記ステップ112の処理を実行することにより前記第3の発明における「学習値復帰手段」が実現されている。   In the first embodiment described above, the SRAM 26 corresponds to the “second storage device” in the third aspect of the invention, and the ECU 10 executes the process of step 112 above to execute the third step. The “learning value return means” in the invention is realized.

本発明の実施形態1の制御装置としてのECU10の構成を説明するための図である。It is a figure for demonstrating the structure of ECU10 as a control apparatus of Embodiment 1 of this invention. 本発明の実施の形態1において実行されるルーチンのフローチャートである。It is a flowchart of the routine performed in Embodiment 1 of the present invention.

符号の説明Explanation of symbols

2 内燃機関(エンジン)
10 ECU(Electronic Control Unit)
12 CPU
14 入力回路
16 出力回路
18 電源回路
22 ROM
24 NRAM
26 SRAM
28 EEPROM
2 Internal combustion engine
10 ECU (Electronic Control Unit)
12 CPU
14 Input circuit 16 Output circuit 18 Power supply circuit 22 ROM
24 NRAM
26 SRAM
28 EEPROM

Claims (4)

車両の制御に係るパラメータに定常的に内在する誤差成分を補正するための学習制御を実行する車両の制御装置において、
電源供給が遮断された場合も記憶していたデータを保持することが可能な第1の記憶装置と、
前記学習制御において算出された学習値を前記第1の記憶装置に記憶する学習値記憶手段と、
前記学習制御に係わる機器の故障を検出する故障検出手段と、
前記故障検出手段により前記機器の故障が検出された場合には、前記第1の記憶装置に記憶されている学習値を消去する学習値消去手段と、
を備えることを特徴とする車両の制御装置。
In a vehicle control apparatus that executes learning control for correcting an error component that is steadily included in a parameter related to vehicle control,
A first storage device capable of holding stored data even when power supply is interrupted;
Learning value storage means for storing the learning value calculated in the learning control in the first storage device;
A failure detection means for detecting a failure of the device related to the learning control;
When a failure of the device is detected by the failure detection means, learned value erasure means for erasing the learned value stored in the first storage device;
A vehicle control apparatus comprising:
前記第1の記憶装置は、電気的にデータの書き換えが可能な不揮発性メモリであることを特徴とする請求項1記載の車両の制御装置。   The vehicle control device according to claim 1, wherein the first storage device is a nonvolatile memory capable of electrically rewriting data. 前記学習値記憶手段は、電源供給が遮断された場合に記憶していたデータを消失する第2の記憶装置に記憶されている前記学習値を、前記第1の記憶装置にバックアップとして記憶する手段であり、
前記第2の記憶装置への電源供給が一端遮断された後に復旧した場合に、前記第1の記憶装置に記憶されている学習値を前記第2の記憶装置に復帰させる学習値復帰手段を更に備えることを特徴とする請求項1または2記載の車両の制御装置。
The learning value storage means stores the learning value stored in the second storage device that loses the stored data when power supply is interrupted as a backup in the first storage device. And
Learning value return means for returning the learning value stored in the first storage device to the second storage device when the power supply to the second storage device is restored after being interrupted once. The vehicle control device according to claim 1, further comprising a vehicle control device.
前記故障検出手段により前記機器の故障が検出された場合には、前記第2の記憶装置に記憶されている前記学習値を保持する学習値保持手段を更に備えることを特徴とする請求項3記載の車両の制御装置。   4. The apparatus according to claim 3, further comprising learning value holding means for holding the learning value stored in the second storage device when a failure of the device is detected by the failure detecting means. Vehicle control device.
JP2007034709A 2007-02-15 2007-02-15 Control device for vehicle Withdrawn JP2008196441A (en)

Priority Applications (2)

Application Number Priority Date Filing Date Title
JP2007034709A JP2008196441A (en) 2007-02-15 2007-02-15 Control device for vehicle
PCT/IB2008/000343 WO2008099276A1 (en) 2007-02-15 2008-02-14 Vehicle control device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2007034709A JP2008196441A (en) 2007-02-15 2007-02-15 Control device for vehicle

Publications (1)

Publication Number Publication Date
JP2008196441A true JP2008196441A (en) 2008-08-28

Family

ID=39510547

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2007034709A Withdrawn JP2008196441A (en) 2007-02-15 2007-02-15 Control device for vehicle

Country Status (2)

Country Link
JP (1) JP2008196441A (en)
WO (1) WO2008099276A1 (en)

Cited By (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2009250693A (en) * 2008-04-02 2009-10-29 Toyota Motor Corp Failure diagnosis information generation device and system
JP2014040781A (en) * 2012-08-21 2014-03-06 Denso Corp Vehicle learning data reuse determination device, and vehicle learning data reuse determination method
JP2014122594A (en) * 2012-12-21 2014-07-03 Toyota Motor Corp Control device for engine
JP2021080974A (en) * 2019-11-15 2021-05-27 トヨタ自動車株式会社 Vehicle control device

Families Citing this family (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
DE102017001904B4 (en) * 2017-02-28 2019-01-03 Mtu Friedrichshafen Gmbh Procedure for monitoring the crankcase pressure

Family Cites Families (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPS562437A (en) * 1979-06-19 1981-01-12 Nippon Denso Co Ltd Air-fuel ratio controller
JPS6131644A (en) * 1984-07-20 1986-02-14 Fuji Heavy Ind Ltd Electronic control for car engine
JPH04269356A (en) * 1991-02-26 1992-09-25 Mitsubishi Electric Corp Correction value holding method in engine control device
JP3613028B2 (en) * 1998-10-08 2005-01-26 株式会社デンソー Memory check device and check method
JP4225645B2 (en) * 1999-08-25 2009-02-18 株式会社日立製作所 Data rewrite device for vehicle control unit
DE10043859A1 (en) * 2000-09-04 2002-03-14 Bosch Gmbh Robert Method of diagnosing mixture formation

Cited By (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2009250693A (en) * 2008-04-02 2009-10-29 Toyota Motor Corp Failure diagnosis information generation device and system
JP4502037B2 (en) * 2008-04-02 2010-07-14 トヨタ自動車株式会社 Information generation apparatus and system for fault diagnosis
JP2014040781A (en) * 2012-08-21 2014-03-06 Denso Corp Vehicle learning data reuse determination device, and vehicle learning data reuse determination method
JP2014122594A (en) * 2012-12-21 2014-07-03 Toyota Motor Corp Control device for engine
US9822725B2 (en) 2012-12-21 2017-11-21 Toyota Jidosha Kabushiki Kaisha Control device and control method of engine
JP2021080974A (en) * 2019-11-15 2021-05-27 トヨタ自動車株式会社 Vehicle control device
JP7136066B2 (en) 2019-11-15 2022-09-13 トヨタ自動車株式会社 vehicle controller

Also Published As

Publication number Publication date
WO2008099276A1 (en) 2008-08-21

Similar Documents

Publication Publication Date Title
JP4572751B2 (en) Electronic control unit
US9110842B2 (en) Control device for vehicle and error processing method in control device for vehicle
JP4937066B2 (en) Electronic control device
JP5176728B2 (en) Electronic control device for vehicle
JP2006307721A (en) Electronic control unit for vehicle
US6401163B1 (en) Apparatus and method for rewriting data from volatile memory to nonvolatile memory
JP2009276820A (en) Electronic apparatus and program
US7003382B2 (en) Electronic control unit for a vehicle
JP2009120054A (en) Vehicular memory management device
US7203581B2 (en) Electronic control unit for controlling updating of data in non-volatile memory
JP2008196441A (en) Control device for vehicle
JPH0237151A (en) Engine controller
JP2006323776A (en) Information processor
JP4552982B2 (en) Electronic control unit
JP5908304B2 (en) Fuel injection control system
JP2002041367A (en) Vehicle controller
JP3968876B2 (en) Electronic control unit
US11314634B2 (en) Electronic control unit and data protection method therefor
JP6663371B2 (en) Electronic control unit
JP2005338955A (en) Electronic control device
JP3644058B2 (en) Electronic control device for vehicle engine and data rewrite control device for EEPROM
JP3960212B2 (en) Electronic control unit
JP2011013737A (en) Electronic controller
JP2001182607A (en) Vehicle controlling device
JP2008077135A (en) Arithmetic processing device and counter value operation method

Legal Events

Date Code Title Description
A761 Written withdrawal of application

Free format text: JAPANESE INTERMEDIATE CODE: A761

Effective date: 20081127