JP6442326B2 - Vehicle control device - Google Patents

Vehicle control device Download PDF

Info

Publication number
JP6442326B2
JP6442326B2 JP2015039788A JP2015039788A JP6442326B2 JP 6442326 B2 JP6442326 B2 JP 6442326B2 JP 2015039788 A JP2015039788 A JP 2015039788A JP 2015039788 A JP2015039788 A JP 2015039788A JP 6442326 B2 JP6442326 B2 JP 6442326B2
Authority
JP
Japan
Prior art keywords
stored
storage
data
volatile
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.)
Active
Application number
JP2015039788A
Other languages
Japanese (ja)
Other versions
JP2016159753A (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.)
Hitachi Astemo Ltd
Original Assignee
Hitachi Automotive Systems Ltd
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 Hitachi Automotive Systems Ltd filed Critical Hitachi Automotive Systems Ltd
Priority to JP2015039788A priority Critical patent/JP6442326B2/en
Publication of JP2016159753A publication Critical patent/JP2016159753A/en
Application granted granted Critical
Publication of JP6442326B2 publication Critical patent/JP6442326B2/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • YGENERAL TAGGING OF NEW TECHNOLOGICAL DEVELOPMENTS; GENERAL TAGGING OF CROSS-SECTIONAL TECHNOLOGIES SPANNING OVER SEVERAL SECTIONS OF THE IPC; TECHNICAL SUBJECTS COVERED BY FORMER USPC CROSS-REFERENCE ART COLLECTIONS [XRACs] AND DIGESTS
    • Y02TECHNOLOGIES OR APPLICATIONS FOR MITIGATION OR ADAPTATION AGAINST CLIMATE CHANGE
    • Y02TCLIMATE CHANGE MITIGATION TECHNOLOGIES RELATED TO TRANSPORTATION
    • Y02T10/00Road transport of goods or passengers
    • Y02T10/10Internal combustion engine [ICE] based vehicles
    • Y02T10/40Engine management systems

Landscapes

  • Electrical Control Of Air Or Fuel Supplied To Internal-Combustion Engine (AREA)
  • Combined Controls Of Internal Combustion Engines (AREA)

Description

本発明は車両用制御装置に関し、特に不揮発性メモリ保存方法を備えたものに関する。   The present invention relates to a vehicle control apparatus, and more particularly, to a vehicle control apparatus having a nonvolatile memory storage method.

データ保存方法手段を有するものとしては、例えば特許文献1があり、不具合データを保存すると同時に不揮発性メモリに登録することを行っている。保存方法としては、最低2か所保存領域を持ちそのうち一か所を初回不具合発生時に使用し永久に保存させ、もう一方の領域は、不具合発生毎に書き換えて使用していくものである。   For example, Japanese Patent Application Laid-Open No. 2004-228561 has a data storage method means that stores defect data and registers it in a nonvolatile memory at the same time. As a storage method, there are at least two storage areas, one of which is used when the first malfunction occurs and is permanently stored, and the other area is rewritten and used every time a malfunction occurs.

特開2005‐41273号JP 2005-41273 A

しかし、一つの不具合データに複数の要因が関連している場合、上記特許文献の技術では、不具合発生時のデータは残すことが可能であるが、瞬低などが発生し、マイコンが再起動した場合、不揮発性メモリから不具合記憶領域に書き込みを行うため、初回不具合発生時のデータとOBDで規定される通常イグニッション投入時クリアされない揮発性メモリに保存される不具合登録情報と不整合となる欠点がある。   However, when multiple factors are related to one defect data, the technology of the above-mentioned patent document can leave the data at the time of the defect occurrence, but an instantaneous drop etc. occurred and the microcomputer restarted In this case, since data is written from the non-volatile memory to the defect storage area, there is a disadvantage that it is inconsistent with the data at the time of the first defect occurrence and the defect registration information stored in the volatile memory that is not cleared when the normal ignition is specified by OBD. is there.

そこで本発明は、初回不具合発生時に記憶したデータを瞬低が発生した場合に上記揮発性メモリに保存される情報と不揮発性メモリの情報の不整合をなくす車両用制御装置を提案することを目的とする。   Therefore, the present invention has an object to propose a vehicle control device that eliminates inconsistency between information stored in the volatile memory and information in the non-volatile memory when an instantaneous drop occurs in data stored at the time of the first malfunction. And

上記課題を解決するために本発明は、車両の各種センサ類または各種アクチュエータ類からの信号に基づいて異常を検出し、その検出結果を揮発性記憶装置に保存する揮発性メモリ保存手段と、保持用電源の供給が途絶えても記憶される不揮発性記憶装置に保存する不揮発性メモリ保存手段と、を備えた車両用制御装置において、前記揮発性メモリ保存手段により、一つの異常事象に対して複数の検出要因を紐づけた保存データを前記揮発性記憶装置に記憶し、前記不揮発性メモリ保存手段により、前記保存データを規定のタイミングで前記不揮発性記憶装置に保存すると共に、前記不揮発性記憶装置から読み出した保存データを前記揮発性記憶装置に保存しないことを特徴とする。   In order to solve the above-described problems, the present invention detects an abnormality on the basis of signals from various sensors or actuators of a vehicle and stores the detection result in a volatile storage device, and holds And a non-volatile memory storage means for storing in a non-volatile storage device that is stored even if the supply of power for the vehicle is interrupted. Is stored in the volatile storage device, and the nonvolatile memory storage means stores the storage data in the nonvolatile storage device at a prescribed timing, and the nonvolatile storage device The storage data read from is not stored in the volatile storage device.

また、前記揮発性メモリ保存手段は前記揮発性記憶装置の、前記不揮発性メモリ保存手段は前記不揮発性記憶装置の状態を確認し、書き込み可能と判断できた時に前記保存データを記憶することが望ましい。   Preferably, the volatile memory storage means stores the stored data when the state of the volatile storage device is confirmed and the nonvolatile memory storage means confirms the state of the nonvolatile storage device and can determine that writing is possible. .

また、前記揮発性記憶装置及び前記不揮発性記憶装置が前記保存データを記憶していない状態である初期状態においてのみ前記保存データを記憶可能とすることが望ましい。   In addition, it is desirable that the volatile storage device and the nonvolatile storage device can store the stored data only in an initial state where the stored data is not stored.

また、前記揮発性記憶装置に前記保存データを記憶した状態において、前記不揮発性記憶装置が前記保存データを記憶していない状態でなければ、前記保存データを前記不揮発性記憶装置に記憶することを禁止することが望ましい。   Further, in the state in which the storage data is stored in the volatile storage device, the storage data is stored in the nonvolatile storage device unless the nonvolatile storage device stores the storage data. It is desirable to ban.

また、前記保存データの前記検出要因に基づき、前記不揮発性メモリ保存手段により、保存可能なタイミングにおいてすべての検出要因を保存するとともに、データの論理和を利用することにより保存に必要なコストを最小化することが望ましい。   Further, based on the detection factor of the stored data, the non-volatile memory storage unit stores all detection factors at a storable timing, and minimizes the cost required for storage by using the logical OR of the data. It is desirable to make it.

また、前記揮発性メモリ保存手段は毎異常検出時に使用され、最新の異常検出情報を揮発性記憶装置に保存すると共に、前記不揮発性メモリ保存手段により、保存可能なタイミングにおいて、該異常検出情報を前記不揮発性記憶装置にも保存可能であることが望ましい。   Further, the volatile memory storage means is used at the time of detecting each abnormality, and the latest abnormality detection information is stored in a volatile storage device, and the abnormality detection information is stored at a timing that can be stored by the nonvolatile memory storage means. It is desirable that the data can be stored in the nonvolatile storage device.

上記本発明の解決手段によれば、複数の要因から一つの不具合データ作成するデータに関して、発生初回時の要因が明確に判明でき、保存された不具合データとの関連性も保証でき、不具合解析の効率向上することが可能である。   According to the above solution of the present invention, it is possible to clearly find out the factor at the first occurrence of the data for creating one defect data from a plurality of factors, guarantee the relevance with the stored defect data, Efficiency can be improved.

本発明による火花点火内燃機関と制御装置の模式図。1 is a schematic diagram of a spark ignition internal combustion engine and a control device according to the present invention. コントロールユニットの内部構成図。The internal block diagram of a control unit. 本発明の実施例の構成を説明する制御ブロック図The control block diagram explaining the structure of the Example of this invention 本発明の実施例でのデータ割り当てを説明するデータ割り当て図Data allocation diagram for explaining data allocation in an embodiment of the present invention NG発生時不揮発性メモリにNG要因を保存する方法を示したフローチャートA flowchart showing a method of storing NG factors in a nonvolatile memory when NG occurs 初回NG要因保存処理方法を示したフローチャートFlow chart showing the first NG factor storage processing method NG要因履歴処理方法を示したフローチャートFlow chart showing NG factor history processing method 最新NG要因保存処理方法を示したフローチャートFlow chart showing the latest NG factor storage processing method 不揮発性メモリ書き込み処理方法を示したフローチャートFlowchart showing nonvolatile memory write processing method

以下、本発明の実施例について図面を用いて説明する。本実施例は車両用制御装置に関し、不揮発性メモリ保存手段を備え、特に複数要因による一つのラベル操作時要因が供給電源により消去されないことおよび既存の前記一つのラベルが変化したタイミングと要因をリンクさせNG原因調査を容易にするものに関する。   Embodiments of the present invention will be described below with reference to the drawings. The present embodiment relates to a vehicle control device, and includes a nonvolatile memory storage means, and in particular, links a factor when one label operation due to a plurality of factors is not erased by a power supply, and a timing and factor when the one existing label is changed. It is related with what makes NG cause investigation easy.

本実施例の制御装置は、車両に搭載され、車両の各種センサ類または各種アクチュエータ類からの信号に基づいて異常を検出し、その検出結果をマイコンの揮発性記憶装置に保存する手段(以下、「メモリ保存手段」という)と、保持用電源の供給が途絶えても記憶される不揮発性記憶装置に保存する手段(以下、「不揮発性メモリ保存手段」という)を備える。また制御装置は、一つの異常事象に対して複数の検出要因を紐づけた状態で管理する情報(以下、「保存データ」という)を記憶装置に保存する保存方法に関するものである。メモリ保存手段により、前記保存データを記憶し、該保存データの要因を個別に記憶し、前記不揮発性メモリ保存手段により、該保存データを規定のタイミングで不揮発性記憶装置に保存すると共に、不揮発性記憶装置から読み出した保存データを揮発性記憶装置に情報を保存しないことを特徴とする。   The control device according to the present embodiment is mounted on a vehicle, detects an abnormality based on signals from various sensors or actuators of the vehicle, and stores the detection result in a volatile storage device of the microcomputer (hereinafter referred to as “the control device”). And a means for storing in a non-volatile storage device (hereinafter referred to as “non-volatile memory storage means”) that is stored even if the supply of holding power is interrupted. The control device also relates to a storage method for storing, in a storage device, information (hereinafter referred to as “stored data”) that is managed in a state where a plurality of detection factors are associated with one abnormal event. The storage data is stored by the memory storage means, the factors of the storage data are individually stored, the storage data is stored in the nonvolatile storage device at a predetermined timing by the nonvolatile memory storage means, and the nonvolatile storage The storage data read from the storage device is not stored in the volatile storage device.

つまり不具合状態を保存するマイコン記憶メモリと不揮発性メモリを持つこととし、初回不具合発生時には、初回のみ不具合状態が保存されるマイコン記憶メモリへ保存し、以降同一イグニッションキーON中に不具合が発生した場合には保存させないようにする。不揮発性メモリへの保存は、イグニッションキーOFF時に実施する。次回のイグニッションキーON時には、不揮発性メモリからマイコン記憶メモリへは、保存せずマイコン記憶メモリへは前回値へ上書き可能とした。   In other words, when there is a microcomputer storage memory and non-volatile memory to save the failure status, when the first failure occurs, it is saved to the microcomputer storage memory where the failure status is saved only for the first time, and then a failure occurs while the same ignition key is ON Do not let me save. Saving to the non-volatile memory is performed when the ignition key is OFF. When the ignition key is turned on the next time, the microcomputer memory can be overwritten to the previous value without saving from the nonvolatile memory to the microcomputer memory.

この構成では、不具合データ発生時には、マイコン記憶メモリに要因と不具合データが登録された時点のデータを保存することができるので不具合データ複数回発生時に初回の要因を明確にすることが可能である。イグニッションキーOFF時に不揮発性メモリに書き込むこととしているので、この場合は電源を外されてもバックアップRAM上は消去されるが、不揮発性メモリに保存されたものが存在するので、原因解析に有用となる。   In this configuration, when fault data is generated, the factor and the data at the time when the fault data is registered can be stored in the microcomputer storage memory, so that the first factor can be clarified when the fault data occurs multiple times. Since the data is written to the non-volatile memory when the ignition key is turned off, the backup RAM is erased even if the power is removed in this case, but there is something stored in the non-volatile memory, which is useful for cause analysis. Become.

また、不揮発性メモリに保存するタイミングをイグニッションOFF時としたことで、不具合が発生しイグニッションOFFまでに何等かの影響で、マイコン記憶メモリが消えるような事態が発生した場合も不具合データも消去されるので、データの整合性を保つことが可能である。   In addition, since the timing of saving to the non-volatile memory is when the ignition is off, the malfunction data is also erased when a malfunction occurs and the microcomputer storage memory disappears for some reason before the ignition is turned off. Therefore, it is possible to maintain data consistency.

また、本実施例の制御装置は、前記メモリ保存手段は揮発性記憶装置の、前記不揮発性メモリ保存手段は不揮発性記憶装置の状態を確認し、書き込み可能と判断できた時に保存データを記憶することが望ましい。このように初回不具合発生時に初回分のみ保存し、以降の発生不具合は保存させないことにより、OBD法規で定めた保存データと関連性を維持することが可能としている。   In the control device of this embodiment, the memory storage unit is a volatile storage device, and the nonvolatile memory storage unit checks the state of the nonvolatile storage device, and stores the stored data when it can be determined that writing is possible. It is desirable. As described above, when the first defect occurs, only the first defect is stored, and subsequent defects are not stored, so that it is possible to maintain the relationship with the stored data defined by the OBD regulations.

また本実施例の制御装置は、上記の書き込み可能の判断に関して、各記憶装置が保存データを記憶していない状態である初期状態においてのみ保存データを記憶可能とし、すなわち揮発性記憶装置に保存データを記憶した状態であっても、不揮発性記憶装置が初期状態になければ該保存データを該不揮発性記憶装置に記憶することを禁止することが望ましい。このように発生履歴を保存することによって、同一不具合が発生したとしても原因が一つなのか複数なのかが判別でき、原因対策に役立てることが可能となっている。   Further, the control device according to the present embodiment enables the storage data to be stored only in the initial state in which each storage device does not store the storage data, that is, the storage data is stored in the volatile storage device. Even if the non-volatile storage device is in the initial state, it is desirable to prohibit the storage data from being stored in the non-volatile storage device. By storing the occurrence history in this way, it is possible to determine whether there is one cause or a plurality of causes even if the same failure occurs, and it can be used for countermeasures against the cause.

また本実施例の制御装置は、前記メモリ保存手段により記憶された保存データの検出要因に基づき、前記不揮発性メモリ保存手段により、保存可能なタイミングにおいてすべての検出要因を保存するとともに、データの論理和などを利用する事により保存に必要なコストを最小化する事が望ましい。このように最新の不具合データを保存することにより、請求項2および3の保存内容を確認しながら、最新不具合状態を過去に発生した状態と比較しながら解析することが可能である。   Further, the control device according to the present embodiment stores all detection factors at a storable timing by the nonvolatile memory storage unit based on the detection factors of the stored data stored by the memory storage unit, and the logic of the data. It is desirable to minimize the cost required for storage by using sums. By storing the latest defect data in this manner, it is possible to analyze the latest defect state while comparing the stored contents of claims 2 and 3 with a state in which the latest defect has occurred in the past.

さらに本実施例の制御装置は、前記メモリ保存手段は毎異常検出時に使用され、最新の異常検出情報を揮発性記憶装置に保存すると共に、前記不揮発性メモリ保存手段により、保存可能なタイミングにおいて、該異常検出情報を不揮発性記憶装置にも保存可能な手段を有することが望ましい。   Furthermore, in the control device of the present embodiment, the memory storage unit is used at the time of detecting each abnormality, and the latest abnormality detection information is stored in the volatile storage device, and at the timing that can be stored by the nonvolatile memory storage unit, It is desirable to have means for storing the abnormality detection information in a nonvolatile storage device.

つまり以上の内容によれば、不具合データ発生時には、マイコン記憶メモリに要因と不具合データが登録された時点のデータを保存し不具合データ複数回発生時に初回の要因を明確にすることが可能とし、イグニッションキーOFF時に不揮発性メモリに書き込むこととしているので、この場合は電源を外されてもバックアップRAM上は消去されるが、不揮発性メモリに保存されたものが存在するので、原因解析に有用となる。   In other words, according to the above contents, when trouble data occurs, the cause and the data at the time when trouble data was registered can be saved in the microcomputer storage memory, and the first cause can be clarified when trouble data occurs multiple times. Since the data is written to the non-volatile memory when the key is turned off, the backup RAM is erased even if the power is turned off in this case, but there is something stored in the non-volatile memory, which is useful for cause analysis. .

また、不揮発性メモリに保存するタイミングをイグニッションOFF時としたことで、不具合が発生しイグニッションOFFまでに何等かの影響で、マイコン記憶メモリが消えるような事態が発生した場合も不具合データも消去されるので、データの整合性を保つことが可能である。   In addition, since the timing of saving to the non-volatile memory is when the ignition is off, the malfunction data is also erased when a malfunction occurs and the microcomputer storage memory disappears for some reason before the ignition is turned off. Therefore, it is possible to maintain data consistency.

図1は、本発明に係る火花点火内燃機関とその制御装置の基本構成図である。本説明では以下、筒内噴射式火花点火内燃機関を用いて説明を進めていくが、ポート噴射式火花点火内燃機関や、筒内噴射とポート噴射の両方を備えたデュアル噴射式火花点火内燃機関においても適用可能である。   FIG. 1 is a basic configuration diagram of a spark ignition internal combustion engine and its control device according to the present invention. In the following description, the description will be given using a cylinder injection type spark ignition internal combustion engine. However, a port injection type spark ignition internal combustion engine and a dual injection type spark ignition internal combustion engine equipped with both cylinder injection and port injection. It is also applicable to.

図において、エンジン1には、ピストン2、吸気バルブ3、排気バルブ4が備えられ、吸気は、空気流量計(AFM)18を通過して絞り弁17に入り、分岐部であるコレクタ14より吸気管10、吸気バルブ3を介してエンジン1の燃焼室19に供給される。燃料は、燃料噴射弁5から、エンジン1の燃焼室19に噴射供給され、点火コイル7、点火プラグ6で点火される。燃焼後の排気ガスは排気バルブ4を介して排気管11に排出され、排気管11には排気ガス浄化のための三元触媒12が備えられている。エンジンコントロールユニット9には、エンジン1のクランク角度センサ15の信号、AFM18の空気量信号、排気ガス中の空燃比を検出する空燃比センサ13の信号、アクセル開度センサ20のアクセル開度等の信号が入力される。エンジンコントロールユニット9はアクセル開度センサ20の信号からエンジンへの要求トルクの算出、アイドル状態の判定等を行ない、エンジン1に必要な吸入空気量を算出し、それに見合った開度信号を絞り弁17に出力する。また燃料噴射弁5へは燃料噴射信号が、点火プラグ6へは点火信号が出力される。
さらにエンジン1に取り付けられたノックセンサ8が、エンジン1の異常燃焼時に発生する異音(ノッキング)を検出し、点火信号をフィードバック制御している。
In the figure, the engine 1 is provided with a piston 2, an intake valve 3, and an exhaust valve 4. The intake air passes through an air flow meter (AFM) 18 and enters a throttle valve 17, and is taken in from a collector 14 which is a branch portion. It is supplied to the combustion chamber 19 of the engine 1 through the pipe 10 and the intake valve 3. The fuel is injected and supplied from the fuel injection valve 5 to the combustion chamber 19 of the engine 1 and ignited by the ignition coil 7 and the spark plug 6. The exhaust gas after combustion is discharged to the exhaust pipe 11 through the exhaust valve 4, and the exhaust pipe 11 is provided with a three-way catalyst 12 for purifying the exhaust gas. The engine control unit 9 includes a signal of the crank angle sensor 15 of the engine 1, an air amount signal of the AFM 18, a signal of the air-fuel ratio sensor 13 for detecting the air-fuel ratio in the exhaust gas, an accelerator opening of the accelerator opening sensor 20, and the like. A signal is input. The engine control unit 9 calculates the required torque to the engine from the signal of the accelerator opening sensor 20, determines the idling state, etc., calculates the intake air amount necessary for the engine 1, and calculates the opening signal corresponding to the intake air amount. 17 to output. A fuel injection signal is output to the fuel injection valve 5 and an ignition signal is output to the spark plug 6.
Further, a knock sensor 8 attached to the engine 1 detects an abnormal sound (knocking) generated during abnormal combustion of the engine 1 and feedback controls the ignition signal.

図2はエンジンコントロールユニット9の内部構成を示したものである。
エンジンコントロールユニット9は、入力回路201、A/D変換部202、中央演算部203、ROM204、RAM205、不揮発性メモリ208および出力回路206を含んだマイクロコンピュータにより構成されている。入力回路201は、入力信号200がアナログ信号の場合(例えば、AFM18、アクセル開度センサ20等からの信号)、信号からノイズ成分の除去等を行い、当該信号をA/D変換部202に出力するためのものである。
FIG. 2 shows the internal configuration of the engine control unit 9.
The engine control unit 9 includes a microcomputer including an input circuit 201, an A / D conversion unit 202, a central processing unit 203, a ROM 204, a RAM 205, a nonvolatile memory 208, and an output circuit 206. When the input signal 200 is an analog signal (for example, a signal from the AFM 18, the accelerator opening sensor 20, etc.), the input circuit 201 removes a noise component from the signal and outputs the signal to the A / D converter 202. Is to do.

中央演算部203は、A/D変換結果を取り込み、ROM204等の媒体に記憶された、燃料噴射制御プログラムやその他の制御プログラムを実行することによって、各制御及び診断等を実行する機能を備えている。なお演算結果、及び、前記A/D変換結果は、RAM205に一時保管されるとともに、演算結果は、出力回路206を通じて制御信号207として出力され、燃料噴射弁5、点火コイル7等の制御に用いられる。
図3は、本実施形態を制御ブロック図で表したものである。
The central processing unit 203 has a function of executing each control, diagnosis, and the like by fetching the A / D conversion result and executing a fuel injection control program and other control programs stored in a medium such as the ROM 204. Yes. The calculation result and the A / D conversion result are temporarily stored in the RAM 205, and the calculation result is output as a control signal 207 through the output circuit 206 and used for controlling the fuel injection valve 5, the ignition coil 7, and the like. It is done.
FIG. 3 is a control block diagram illustrating this embodiment.

エンジン動作に関わるパラメータを、入力値処理手段301にて取得する。取得した入力値に対して各入力値NG検出手段302にて入力値が異常か否かを判定する。また、マイコン動作判定処理手段303にてマイコンが正常に動作しているか否かの判定を実施する。各入力値NG検出手段302またはマイコン動作判定処理手段303にてNGと判定されたことをまとめてひとつの保存データとして保存するNG発生時保存データ311。NG発生時保存データ311の発生要因を保存する先として、当該NG発生が初回だった場合に保存するNG初回発生要因保存手段304、当該NG発生の要因の履歴を保存するNG発生要因履歴保存手段305、当該最新NG発生要因の保存先としての最新NG要因保存手段306。   Parameters relating to engine operation are acquired by the input value processing means 301. Each input value NG detection unit 302 determines whether or not the input value is abnormal with respect to the acquired input value. Further, the microcomputer operation determination processing means 303 determines whether or not the microcomputer is operating normally. Stored data 311 at the time of occurrence of NG that collectively stores the determination as NG by each input value NG detection unit 302 or the microcomputer operation determination processing unit 303 as one stored data. As a destination for storing the generation factor of the NG generation storage data 311, an NG first generation factor storage unit 304 that stores when the NG generation is the first time, an NG generation factor history storage unit that stores a history of the NG generation factor 305, latest NG factor storage means 306 as a storage destination of the latest NG occurrence factor.

NG初回発生要因保存手段304、NG発生要因履歴保存手段305、最新NG要因保存手段306のデータを保存するためにイグニッション SW ON ←→OFF認識手段307および保存要因データクリア手段308からの情報を取り込み、書き込み方法を制御するNG発生バックアップRAM書き込み手段309、最終的に不揮発性メモリに保存するためのデータ保存方法をイグニッション SW ON ←→OFF認識手段307および保存要因データクリア手段308からの情報を取り込み、制御する不揮発性メモリ書き込み手段310を有す。   Information from the ignition SW ON ← → OFF recognition unit 307 and the storage factor data clear unit 308 is captured in order to store the data of the NG first generation factor storage unit 304, the NG generation factor history storage unit 305, and the latest NG factor storage unit 306. NG generation backup RAM writing means 309 for controlling the writing method, and finally the data saving method for saving in the nonvolatile memory is taken in the information from the ignition SW ON ← → OFF recognition means 307 and the storage factor data clear means 308 And a non-volatile memory writing means 310 for controlling.

上記NG初回発生要因保存手段304、NG発生要因履歴保存手段305、最新NG要因保存手段306および不揮発性メモリ書き込み手段310で使用されるデータの構成を図4に示す。NG初回発生要因保存手段304で使用されるデータ構成は、初回NG履歴用のバックアップRAM領域の401に示す。401の構成内容は、各要因の保存領域とその要因が保存されたタイミングを保存する保存タイミング情報の領域からなっている。初回NG履歴用の不揮発性メモリ領域402のデータ構成も401と同一の構成となっている。NG発生要因履歴保存手段305で使用されるデータ構成は、発生NG履歴用のバックアップRAM領域の403に示す。403の構成内容は、各要因に対する保存領域のみである。発生NG履歴用の不揮発性メモリ領域404のデータ構成は403と同一の構成となっている。最新NG要因保存手段306で使用されるデータ構成は、最新NG履歴用のバックアップRAM領域の405に示す。405の構成内容は、各要因の保存領域とその要因が保存されたタイミングを保存する保存タイミング情報の領域からなっている。最新NG履歴用の不揮発性メモリ領域406のデータ構成も405と同一の構成となっている。   FIG. 4 shows the configuration of data used in the NG first generation factor storage unit 304, the NG generation factor history storage unit 305, the latest NG factor storage unit 306, and the nonvolatile memory writing unit 310. The data structure used by the NG first generation factor storage unit 304 is indicated by 401 in the backup RAM area for the first NG history. The configuration content 401 includes a storage area for each factor and a storage timing information area for storing the timing at which the factor is stored. The data structure of the nonvolatile memory area 402 for the initial NG history is the same as 401. The data structure used by the NG occurrence factor history storage unit 305 is indicated by reference numeral 403 in the backup RAM area for the occurrence NG history. The configuration content 403 is only a storage area for each factor. The data structure of the non-volatile memory area 404 for generated NG history is the same as that of 403. The data structure used by the latest NG factor storage means 306 is shown in the backup RAM area 405 for the latest NG history. The configuration content 405 includes a storage area for each factor and a storage timing information area for storing the timing at which the factor is stored. The data structure of the nonvolatile memory area 406 for the latest NG history is the same as that of 405.

図5以降に動作方法をフローチャートを用いて説明する。ステップ501でバックアップデータ領域のクリアコマンドが入力されたか否かを判定する。入力されたと判定された場合、ステップ502へ進み、先述した401、403、405のバックアップRAM領域のデータをクリアする。その後ステップ507へ進む。クリアコマンドが入力されていない場合、ステップ503のNGを検出判定へ進む。ここでNGを検出した場合、ステップ504の初回NG要因保存処理(動作は図6に示す)、ステップ505のNG要因履歴処理(動作は図7に示す)、ステップ506の最新NG要因保存処理(動作は図8に示す)を実施する。その後ステップ507へ行く。ステップ503でNG検出がない場合は、そのままステップ507へ移行する。ステップ507においてイグニッションSWがOFFかどうか判定する。OFFの場合、ステップ508の不揮発性メモリ書き込み処理(動作は図9に示す)を実施し、イグニッションSWがOFFでないならば、そのまま本動作を終了する。   The operation method will be described with reference to flowcharts in FIG. In step 501, it is determined whether a backup data area clear command has been input. If it is determined that the data has been input, the process proceeds to step 502 to clear the data in the backup RAM area 401, 403, and 405 described above. Thereafter, the process proceeds to step 507. If the clear command has not been input, the process proceeds to step 503 for detecting NG. When NG is detected here, the initial NG factor storage process in step 504 (operation is shown in FIG. 6), the NG factor history process in step 505 (operation is shown in FIG. 7), and the latest NG factor storage process in step 506 ( The operation is shown in FIG. Then go to step 507. If there is no NG detection in step 503, the process proceeds to step 507 as it is. In step 507, it is determined whether the ignition SW is OFF. In the case of OFF, the non-volatile memory writing process (the operation is shown in FIG. 9) in step 508 is performed. If the ignition SW is not OFF, this operation is finished as it is.

図6に初回NG要因保存処理を示す。図5において初回NG要因保存処理の実行が呼び出されるとステップ601を実施する。ステップ601では、初回NG保存用エリアに既にNGが登録されているか否かの判定を実施する。登録されていれば本処理を終了する。登録されていない場合ステップ602へ移動し初回NG保存用バックアップRAMNG要因を保存する。保存が終了したらステップ603へ移動し図3、311に示すNG発生時保存データとのリンクをとるための情報(エンジン始動してからの時間、イグニッションSWのON/OFF回数等)を保存する。保存後終了する。   FIG. 6 shows the initial NG factor storage process. In FIG. 5, when the execution of the initial NG factor saving process is called, step 601 is executed. In step 601, it is determined whether or not NG has already been registered in the initial NG storage area. If it is registered, the process is terminated. If not registered, the process moves to step 602 to store the initial NG storage backup RAMNG factor. When the storage is completed, the process moves to step 603 to store information for linking with the data stored when NG occurs as shown in FIGS. 3 and 311 (time after engine start, number of times of ignition SW ON / OFF, etc.). Exit after saving.

図7にNG要因履歴処理の処理を示す。図5においてNG要因履歴処理が呼び出されるとステップ701を実施する。ステップ701では、保存すべきNGコードであるかの判定を行い、保存すべきNGコードでは場合、本処理を終了し、保存すべきデータならばステップ702へ移動するfが登録されているか否かの判定を実施する。登録されていれば本処理を終了する。登録されていない場合ステップ602へ移動し初回NG保存用バックアップRAMNG要因を保存する。保存が終了したらステップ603へ移動し図3の311に示すNG発生時保存データとのリンクをとるための情報(エンジン始動してからの時間、イグニッションSWのON/OFF回数等)を保存し本処理を終了する。   FIG. 7 shows the processing of the NG factor history processing. In FIG. 5, when the NG factor history process is called, step 701 is performed. In step 701, it is determined whether it is an NG code to be stored. If it is an NG code to be stored, this processing is terminated, and if it is data to be stored, whether or not f moving to step 702 is registered. Perform the determination. If it is registered, the process is terminated. If not registered, the process moves to step 602 to store the initial NG storage backup RAMNG factor. When the storage is completed, the process moves to step 603 to store information for linking with the storage data at the time of occurrence of NG shown by 311 in FIG. 3 (time after engine start, number of times of ignition SW ON / OFF, etc.) The process ends.

図8に最新NG要因保存処理の処理を示す。図5において最新NG要因保存処理が呼び出されるとステップ801を実施する。ステップ801では、最新NG保存用バックアップRAMエリアに既に他の要因が保存されているかをチェックする。保存されていない場合ステップ802へ進み、発生したNG要因を最新NG履歴用バックアップRAMへ保存しステップ805へ進む。ステップ801にてバックアップRAMエリアに何か要因が保存されていた場合、ステップ803へ進む。ステップ803においては、最新のNG要因のみを保存するのが目的であるため、最新NG保存用バックアップエリアをクリアする。その後ステップ804へ進み、クリアされた最新NG保存用バックアップRAMエリアに最新値を保存する。保存後はステップ805へ進む。ステップ805では図3の311に示すNG発生時保存データとのリンクをとるための情報(エンジン始動してからの時間、イグニッションSWのON/OFF回数等)を保存し本処理を終了する。   FIG. 8 shows the latest NG factor storage process. In FIG. 5, when the latest NG factor saving process is called, step 801 is executed. In step 801, it is checked whether other factors are already stored in the latest NG storage backup RAM area. If not stored, the process proceeds to step 802, the generated NG factor is stored in the latest NG history backup RAM, and the process proceeds to step 805. If any factor is stored in the backup RAM area in step 801, the process proceeds to step 803. In step 803, since the purpose is to save only the latest NG factor, the backup area for saving the latest NG is cleared. Thereafter, the process proceeds to step 804, where the latest value is stored in the cleared latest NG storage backup RAM area. After saving, the process proceeds to step 805. In step 805, information for linking to the data stored at the time of occurrence of NG indicated by 311 in FIG. 3 (time since engine start, number of times of ignition SW ON / OFF, etc.) is stored, and this processing is terminated.

図9に不揮発性メモリ書き込み処理について記載する。図5において最新NG要因保存処理が呼び出されるとステップ901を実施する。ステップ901では不揮発性目のり領域の初回NG保存用データに既に他の要因データが保存されているかどうかを判定する。保存されている場合ステップ903を実行し、保存されていないと判定された場合、ステップ902へ移行する。902では初回NG発生要因を保存するため、バックアップRAM領域の初回NG保存用データを不揮発性メモリ領域のNG要因保存用データへ要因データおよび保存タイミング情報を保存する。保存後はステップ903へ移行する。
ステップ903では、NG履歴を不揮発性メモリに保存するため、不揮発性メモリ領域の発生NG履歴用の要因保存領域404へ発生NG履歴用の要因保存領域404とバックアップRAM領域の発生NG履歴用の要因保存領域403とのOR(論理和)をとったものを保存する。このことによりNG発生要因の履歴を積み上げることが可能となる。保存終了後、ステップ904へ移行する。ステップ904では、最新のNGデータを不揮発性メモリに保存することを目的としており、バックアップRAM領域にの最新NG保存用データに保存された要因とタイミング情報405を不揮発性メモリ領域の最新NG保存用406へ保存する。保存終了後は本処理を終了する。
FIG. 9 describes the nonvolatile memory writing process. In FIG. 5, when the latest NG factor storage process is called, step 901 is performed. In step 901, it is determined whether other factor data is already stored in the initial NG storage data in the non-volatile area. If it is stored, step 903 is executed. If it is determined that it is not stored, the process proceeds to step 902. In 902, in order to save the initial NG occurrence factor, the initial NG saving data in the backup RAM area is saved as the NG factor saving data in the nonvolatile memory area. After saving, the process proceeds to step 903.
In step 903, in order to save the NG history in the nonvolatile memory, the factor storage area 404 for the generated NG history and the factor for the generated NG history in the backup RAM area are transferred to the factor storage area 404 for the generated NG history in the nonvolatile memory area. An OR (logical sum) with the storage area 403 is stored. This makes it possible to accumulate NG generation factor histories. After saving, the process proceeds to step 904. In step 904, the latest NG data is stored in the non-volatile memory, and the factors and timing information 405 stored in the latest NG storing data in the backup RAM area are stored in the non-volatile memory area. Save to 406. After saving, this process is terminated.

以上、本発明の一実施形態について、詳述したが、本発明は、前記実施形態に限定されるものではなく、特許請求の範囲に記載された本発明の精神を逸脱することなく、設計において種々の変更ができるものである。
As mentioned above, although one Embodiment of this invention was explained in full detail, this invention is not limited to the said embodiment, In design, without deviating from the mind of this invention described in the claim Various changes can be made.

1・・・エンジン
2・・・ピストン
3・・・吸気バルブ
4・・・排気バルブ
5・・・燃料噴射弁
6・・・点火プラグ
7・・・点火コイル
8・・・ノックセンサ
9・・・ECU(エンジンコントロールユニット)
10・・・吸気管
11・・・排気管
12・・・三元触媒
13・・・空燃比センサ
14・・・コレクタ
15・・・クランク角度センサ
16・・・シグナルプレート
17・・・絞り弁
18・・・AFM
19・・・燃焼室
20・・・アクセル開度センサ
DESCRIPTION OF SYMBOLS 1 ... Engine 2 ... Piston 3 ... Intake valve 4 ... Exhaust valve 5 ... Fuel injection valve 6 ... Spark plug 7 ... Ignition coil 8 ... Knock sensor 9 ...・ ECU (Engine Control Unit)
DESCRIPTION OF SYMBOLS 10 ... Intake pipe 11 ... Exhaust pipe 12 ... Three-way catalyst 13 ... Air-fuel ratio sensor 14 ... Collector 15 ... Crank angle sensor 16 ... Signal plate 17 ... Throttle valve 18 ... AFM
19 ... Combustion chamber 20 ... Accelerator opening sensor

Claims (6)

車両の各種センサ類または各種アクチュエータ類からの信号に基づいて異常を検出し、その検出結果を揮発性記憶装置に保存する揮発性メモリ保存手段と、
保持用電源の供給が途絶えても記憶される不揮発性記憶装置に保存する不揮発性メモリ保存手段と、を備えた車両用制御装置において、
前記揮発性メモリ保存手段により、一つの異常事象に対して複数の検出要因を紐づけた保存データを前記揮発性記憶装置に記憶し、
前記揮発性記憶装置は、前記保存データが前記揮発性メモリ保存手段によって保存されるための領域であるバックアップRAM領域であり、
前記バックアップRAM領域は、前記不揮発性メモリ保存手段によって前記不揮発性記憶装置に保存するための前記保存データが保存される不揮発性メモリ領域アクセス用メモリ領域と、NG発生時保存データを保存する領域と、を有し、
前記不揮発性メモリ保存手段により、不揮発性メモリ領域アクセス用メモリ領域の保存データを規定のタイミングで前記不揮発性記憶装置に保存すると共に、
前記不揮発性記憶装置から読み出した保存データは、前記不揮発性メモリ領域アクセス用メモリ領域に保存され、前記揮発性記憶装置のNG発生時保存データ領域に保存しないことを特徴とする車両用制御装置。
Volatile memory storage means for detecting an abnormality based on signals from various sensors or actuators of the vehicle and storing the detection result in a volatile storage device;
In a vehicle control device comprising: a non-volatile memory storing means for storing in a non-volatile storage device that is stored even if supply of holding power is interrupted,
By the volatile memory storage means, stored data associated with a plurality of detection factors for one abnormal event is stored in the volatile storage device,
The volatile storage device is a backup RAM area that is an area for storing the storage data by the volatile memory storage means ,
The backup RAM area includes a nonvolatile memory area access memory area for storing the storage data to be stored in the nonvolatile storage device by the nonvolatile memory storage means, and an area for storing storage data when an NG occurs. , has a,
The non-volatile memory storage means stores the storage data of the non-volatile memory area access memory area in the non-volatile storage device at a specified timing,
The stored data read from the nonvolatile storage device is stored in the nonvolatile memory region access memory region and is not stored in the storage data region when an NG occurs in the volatile storage device.
請求項1に記載の車両用制御装置において、
前記揮発性メモリ保存手段は前記揮発性記憶装置の、前記不揮発性メモリ保存手段は前記不揮発性記憶装置の状態を確認し、書き込み可能と判断できた時に前記保存データを記憶することを特徴とする車両用制御装置。
The vehicle control device according to claim 1,
The volatile memory storage means is the volatile storage device, and the nonvolatile memory storage means confirms the state of the nonvolatile storage device and stores the stored data when it can be determined that writing is possible. Vehicle control device.
請求項1に記載の車両用制御装置において、
前記揮発性記憶装置及び前記不揮発性記憶装置が前記保存データを記憶していない状態である初期状態においてのみ前記保存データを記憶可能とすることを特徴とする車両用制御装置。
The vehicle control device according to claim 1,
The vehicle control device, wherein the volatile storage device and the nonvolatile storage device can store the stored data only in an initial state in which the stored data is not stored.
請求項1に記載の車両用制御装置において、
前記揮発性記憶装置に前記保存データを記憶した状態において、前記不揮発性記憶装置が前記保存データを記憶していない状態でなければ、前記保存データを前記不揮発性記憶装置に記憶することを禁止することを特徴とする車両用制御装置。
The vehicle control device according to claim 1,
In the state where the storage data is stored in the volatile storage device, the storage data is prohibited from being stored in the nonvolatile storage device unless the nonvolatile storage device stores the storage data. A control apparatus for a vehicle.
請求項1に記載の車両用制御装置において、
前記保存データの前記検出要因に基づき、前記不揮発性メモリ保存手段により、保存可能なタイミングにおいてすべての検出要因を保存するとともに、データの論理和を利用することにより保存に必要なコストを最小化することを特徴とする車両用制御装置。
The vehicle control device according to claim 1,
Based on the detection factor of the stored data, the non-volatile memory storage unit stores all detection factors at a storable timing, and minimizes the cost required for storage by using the logical OR of the data. A control apparatus for a vehicle.
請求項1に記載の車両用制御装置において、
前記揮発性メモリ保存手段は毎異常検出時に使用され、最新の異常検出情報を揮発性記憶装置に保存すると共に、前記不揮発性メモリ保存手段により、保存可能なタイミングにおいて、該異常検出情報を前記不揮発性記憶装置にも保存可能であることを特徴とする車両用制御装置。
The vehicle control device according to claim 1,
The volatile memory storage means is used at the time of detecting each abnormality, stores the latest abnormality detection information in a volatile storage device, and stores the abnormality detection information in the nonvolatile memory at a timing that can be stored by the nonvolatile memory storage means. A vehicular control device that can also be stored in a storage device.
JP2015039788A 2015-03-02 2015-03-02 Vehicle control device Active JP6442326B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2015039788A JP6442326B2 (en) 2015-03-02 2015-03-02 Vehicle control device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2015039788A JP6442326B2 (en) 2015-03-02 2015-03-02 Vehicle control device

Publications (2)

Publication Number Publication Date
JP2016159753A JP2016159753A (en) 2016-09-05
JP6442326B2 true JP6442326B2 (en) 2018-12-19

Family

ID=56844017

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2015039788A Active JP6442326B2 (en) 2015-03-02 2015-03-02 Vehicle control device

Country Status (1)

Country Link
JP (1) JP6442326B2 (en)

Family Cites Families (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP3505760B2 (en) * 1993-02-18 2004-03-15 株式会社デンソー Vehicle self-diagnosis device
JP3419060B2 (en) * 1994-02-08 2003-06-23 株式会社デンソー Diagnostic device for vehicles
JP3166634B2 (en) * 1996-11-07 2001-05-14 日産自動車株式会社 Fault storage device for vehicle control unit
JPH1185333A (en) * 1997-09-08 1999-03-30 Hanshin Electric Co Ltd On-vehicle microcomputer-using equipment
JP2014085709A (en) * 2012-10-19 2014-05-12 Denso Corp On-vehicle electronic control device

Also Published As

Publication number Publication date
JP2016159753A (en) 2016-09-05

Similar Documents

Publication Publication Date Title
JP4501838B2 (en) Vehicle abnormality diagnosis device
US7933710B2 (en) Abnormality diagnosis device of internal combustion engine
JP4748462B2 (en) Abnormality diagnosis device for internal combustion engine
US20100031941A1 (en) Control device and control method for internal combustion engine
JP4736058B2 (en) Air-fuel ratio control device for internal combustion engine
KR100538375B1 (en) Apparatus detect trouble of internal combustion engine
JP2009047112A (en) Abnormality diagnosis device for internal combustion engine
JP2010106785A (en) Abnormality diagnostic device for emission gas recirculating system
JP5285458B2 (en) Control apparatus and control method
JP6306530B2 (en) Electronic control unit for automobile
JP5208680B2 (en) Control apparatus and control method
JP4868173B2 (en) Abnormality diagnosis device for internal combustion engine
JP2010174872A (en) Malfunction diagnosis device for internal combustion engine secondary air supply system
JP2009024531A (en) Abnormality diagnosis device of cylinder-by-cylinder air-fuel ratio control system for internal combustion engine
WO2006008975A1 (en) Method and device for controlling fuel injection of engine
JP6442326B2 (en) Vehicle control device
JP2010156295A (en) Diagnosis device and control device of multi-cylinder internal combustion engine
JP2014061793A (en) Automotive electronic control unit
JP6770249B2 (en) Engine fuel system failure detector
JP2007198290A (en) Vehicle malfunction diagnosis device
JP2014040781A (en) Vehicle learning data reuse determination device, and vehicle learning data reuse determination method
JP5556589B2 (en) Fault detection device for valve stop mechanism
JP6275790B2 (en) Electronic control unit for automobile
JP2008019818A (en) Control device of internal combustion engine
JP6499958B2 (en) Vehicle fault diagnosis device

Legal Events

Date Code Title Description
RD04 Notification of resignation of power of attorney

Free format text: JAPANESE INTERMEDIATE CODE: A7424

Effective date: 20170117

RD04 Notification of resignation of power of attorney

Free format text: JAPANESE INTERMEDIATE CODE: A7424

Effective date: 20170124

A621 Written request for application examination

Free format text: JAPANESE INTERMEDIATE CODE: A621

Effective date: 20170125

A521 Request for written amendment filed

Free format text: JAPANESE INTERMEDIATE CODE: A523

Effective date: 20170125

A977 Report on retrieval

Free format text: JAPANESE INTERMEDIATE CODE: A971007

Effective date: 20170928

A131 Notification of reasons for refusal

Free format text: JAPANESE INTERMEDIATE CODE: A131

Effective date: 20171003

A521 Request for written amendment filed

Free format text: JAPANESE INTERMEDIATE CODE: A523

Effective date: 20171130

A131 Notification of reasons for refusal

Free format text: JAPANESE INTERMEDIATE CODE: A131

Effective date: 20180403

A521 Request for written amendment filed

Free format text: JAPANESE INTERMEDIATE CODE: A523

Effective date: 20180601

TRDD Decision of grant or rejection written
A01 Written decision to grant a patent or to grant a registration (utility model)

Free format text: JAPANESE INTERMEDIATE CODE: A01

Effective date: 20181030

A61 First payment of annual fees (during grant procedure)

Free format text: JAPANESE INTERMEDIATE CODE: A61

Effective date: 20181126

R150 Certificate of patent or registration of utility model

Ref document number: 6442326

Country of ref document: JP

Free format text: JAPANESE INTERMEDIATE CODE: R150

S533 Written request for registration of change of name

Free format text: JAPANESE INTERMEDIATE CODE: R313533

R350 Written notification of registration of transfer

Free format text: JAPANESE INTERMEDIATE CODE: R350

R250 Receipt of annual fees

Free format text: JAPANESE INTERMEDIATE CODE: R250