JP2018073161A - 電子制御装置 - Google Patents
電子制御装置 Download PDFInfo
- Publication number
- JP2018073161A JP2018073161A JP2016212894A JP2016212894A JP2018073161A JP 2018073161 A JP2018073161 A JP 2018073161A JP 2016212894 A JP2016212894 A JP 2016212894A JP 2016212894 A JP2016212894 A JP 2016212894A JP 2018073161 A JP2018073161 A JP 2018073161A
- Authority
- JP
- Japan
- Prior art keywords
- data
- ram
- reset
- written
- electronic control
- 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.)
- Granted
Links
- 238000013500 data storage Methods 0.000 claims abstract description 12
- 230000007423 decrease Effects 0.000 claims description 5
- 238000000034 method Methods 0.000 description 14
- 239000000446 fuel Substances 0.000 description 5
- 238000010586 diagram Methods 0.000 description 4
- 230000005540 biological transmission Effects 0.000 description 3
- 239000007858 starting material Substances 0.000 description 3
- 238000002347 injection Methods 0.000 description 2
- 239000007924 injection Substances 0.000 description 2
- 230000000717 retained effect Effects 0.000 description 2
- 230000002159 abnormal effect Effects 0.000 description 1
- 230000005856 abnormality Effects 0.000 description 1
- 230000032683 aging Effects 0.000 description 1
- 230000003247 decreasing effect Effects 0.000 description 1
- 230000006866 deterioration Effects 0.000 description 1
- 230000006870 function Effects 0.000 description 1
- 238000011084 recovery Methods 0.000 description 1
- 230000008672 reprogramming Effects 0.000 description 1
- 238000004092 self-diagnosis Methods 0.000 description 1
Classifications
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F12/00—Accessing, addressing or allocating within memory systems or architectures
- G06F12/02—Addressing or allocation; Relocation
- G06F12/0223—User address space allocation, e.g. contiguous or non contiguous base addressing
- G06F12/023—Free address space management
- G06F12/0238—Memory management in non-volatile memory, e.g. resistive RAM or ferroelectric memory
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F12/00—Accessing, addressing or allocating within memory systems or architectures
- G06F12/02—Addressing or allocation; Relocation
- G06F12/0223—User address space allocation, e.g. contiguous or non contiguous base addressing
- G06F12/023—Free address space management
- G06F12/0238—Memory management in non-volatile memory, e.g. resistive RAM or ferroelectric memory
- G06F12/0246—Memory management in non-volatile memory, e.g. resistive RAM or ferroelectric memory in block erasable memory, e.g. flash memory
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F11/00—Error detection; Error correction; Monitoring
- G06F11/07—Responding to the occurrence of a fault, e.g. fault tolerance
- G06F11/14—Error detection or correction of the data by redundancy in operation
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F12/00—Accessing, addressing or allocating within memory systems or architectures
- G06F12/16—Protection against loss of memory contents
-
- G—PHYSICS
- G11—INFORMATION STORAGE
- G11C—STATIC STORES
- G11C11/00—Digital stores characterised by the use of particular electric or magnetic storage elements; Storage elements therefor
- G11C11/02—Digital stores characterised by the use of particular electric or magnetic storage elements; Storage elements therefor using magnetic elements
- G11C11/16—Digital stores characterised by the use of particular electric or magnetic storage elements; Storage elements therefor using magnetic elements using elements in which the storage effect is based on magnetic spin effect
- G11C11/165—Auxiliary circuits
- G11C11/1697—Power supply circuits
-
- G—PHYSICS
- G11—INFORMATION STORAGE
- G11C—STATIC STORES
- G11C11/00—Digital stores characterised by the use of particular electric or magnetic storage elements; Storage elements therefor
- G11C11/56—Digital stores characterised by the use of particular electric or magnetic storage elements; Storage elements therefor using storage elements with more than two stable states represented by steps, e.g. of voltage, current, phase, frequency
- G11C11/5621—Digital stores characterised by the use of particular electric or magnetic storage elements; Storage elements therefor using storage elements with more than two stable states represented by steps, e.g. of voltage, current, phase, frequency using charge storage in a floating gate
- G11C11/5642—Sensing or reading circuits; Data output circuits
-
- G—PHYSICS
- G11—INFORMATION STORAGE
- G11C—STATIC STORES
- G11C16/00—Erasable programmable read-only memories
- G11C16/02—Erasable programmable read-only memories electrically programmable
- G11C16/06—Auxiliary circuits, e.g. for writing into memory
- G11C16/26—Sensing or reading circuits; Data output circuits
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F11/00—Error detection; Error correction; Monitoring
- G06F11/07—Responding to the occurrence of a fault, e.g. fault tolerance
- G06F11/14—Error detection or correction of the data by redundancy in operation
- G06F11/1402—Saving, restoring, recovering or retrying
- G06F11/1446—Point-in-time backing up or restoration of persistent data
- G06F11/1448—Management of the data involved in backup or backup restore
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F11/00—Error detection; Error correction; Monitoring
- G06F11/07—Responding to the occurrence of a fault, e.g. fault tolerance
- G06F11/14—Error detection or correction of the data by redundancy in operation
- G06F11/1402—Saving, restoring, recovering or retrying
- G06F11/1446—Point-in-time backing up or restoration of persistent data
- G06F11/1458—Management of the backup or restore process
- G06F11/1466—Management of the backup or restore process to make the backup process non-disruptive
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F11/00—Error detection; Error correction; Monitoring
- G06F11/30—Monitoring
- G06F11/3055—Monitoring arrangements for monitoring the status of the computing system or of the computing system component, e.g. monitoring if the computing system is on, off, available, not available
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F2212/00—Indexing scheme relating to accessing, addressing or allocation within memory systems or architectures
- G06F2212/10—Providing a specific technical effect
- G06F2212/1032—Reliability improvement, data loss prevention, degraded operation etc
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F2212/00—Indexing scheme relating to accessing, addressing or allocation within memory systems or architectures
- G06F2212/72—Details relating to flash memory management
- G06F2212/7203—Temporary buffering, e.g. using volatile buffer or dedicated buffer blocks
-
- G—PHYSICS
- G11—INFORMATION STORAGE
- G11C—STATIC STORES
- G11C16/00—Erasable programmable read-only memories
- G11C16/02—Erasable programmable read-only memories electrically programmable
- G11C16/06—Auxiliary circuits, e.g. for writing into memory
- G11C16/22—Safety or protection circuits preventing unauthorised or accidental access to memory cells
Landscapes
- Engineering & Computer Science (AREA)
- Theoretical Computer Science (AREA)
- Physics & Mathematics (AREA)
- General Engineering & Computer Science (AREA)
- General Physics & Mathematics (AREA)
- Computer Hardware Design (AREA)
- Quality & Reliability (AREA)
- Techniques For Improving Reliability Of Storages (AREA)
- Combined Controls Of Internal Combustion Engines (AREA)
- Retry When Errors Occur (AREA)
- For Increasing The Reliability Of Semiconductor Memories (AREA)
Abstract
【解決手段】電子制御装置10は、動作中に発生したデータをRAM2に格納し、動作を停止するときに該データを不揮発性メモリ3に書き込み、始動するときに前記不揮発性メモリから前記RAMに読み出して、制御対象の制御に供する。そして、制御部1の不正なリセットが予測された場合に、動作中に発生したデータの少なくとも一部を、RAMから前記不揮発性メモリにおけるデータの記憶領域とは異なる待避領域に書き込み、不正なリセットから動作を再開するときに、前記データの記憶領域と前記待避領域に書き込んだデータを前記RAMに読み出すことを特徴とする。
【選択図】図1
Description
図1は、本発明の実施形態に係る電子制御装置(ECU)10の概略構成を示している。このECU10は、自動車の点火装置、燃料ポンプ、自動変速機などを制御する車両用であって、例えばCPU(Central Processing Unit)のようなプロセッサ(制御部)1と、作業領域として用いるRAM(Random Access Memory)2と、EEPROM(Electrically Erasable and Programmable Read Only Memory)3のような電源供給を遮断してもデータを保持できるデータ保存用の不揮発性メモリとを備えている。ここでは、EEPROM3がECU10に内蔵されているが、ECU10に外付けで実装されてもよい。
なお、ステップS6で、電源の瞬断が発生しないと判定された場合には、ステップS3に戻って通常処理を実行する。
従って、待避データの消去は、上記のような長所と短所を考慮し、必要に応じてステップS11とステップS14のうち一方を選択、または両方を選択するとよい。
ここで、所定の条件とは、制御部であるプロセッサ1の動作が停止するレベルまでバッテリ電圧VB(電源電圧)が低下することが予想される場合であり、プロセッサ1による車両の制御で所定値より大きな電流が流れたときにバッテリ電圧VBの低下を予測して実施する、又はバッテリ電圧VBを測定し、その低下を検出して実施する。
時刻t11に初期化が終了すると、続いて通常処理を実行する。時刻t11−t12間の通常処理では、プロセッサ1はRAM2の通常領域を用いて作業を行う。この作業(動作)中に発生した車両の走行サイクルを跨いで使用するデータは、バックアップ領域に書き込む。
なお、リプログラム時やテスタクリア時などに、RAM2のバックアップ領域のデータを消去する場合には、EEPROM3の待避領域のデータも消去する必要がある。
従って、通常のシャットダウン時には、走行サイクルを跨いで使用するデータを、RAM2のバックアップ領域を用いて更新しつつ、EEPROM3の待避領域に書き込んで保持し、従来の通常書き込み処理と同様に初期化、通常処理及びシャットダウン処理を実行できる。
但し、データ量が増大すると書き込みに要する時間が長くなるため、書き込み開始時と完了時とでデータの整合性が取れなくなったり、書き込み中に電源の瞬断が発生してデータが破壊されたりする可能性が生ずる。よって、書き込みの長時間化による上述したようなリスクと、保持したい情報やその重要性、適用する装置などを考慮して待避するデータを決めると良い。
更に、車両用の電子制御装置を例に取って説明したが、他の様々な電子制御装置に適用できるのはもちろんである。
Claims (6)
- 動作中に発生したデータをRAMに格納し、動作を停止するときに該データを不揮発性メモリに書き込み、始動するときに前記不揮発性メモリから前記RAMに読み出して、制御対象の制御に供する電子制御装置であって、
制御部の不正なリセットが予測された場合に、前記動作中に発生したデータの少なくとも一部を、前記RAMから前記不揮発性メモリにおける前記データの記憶領域とは異なる待避領域に書き込み、不正なリセットから動作を再開するときに、前記記憶領域と前記待避領域に書き込んだデータを前記RAMに読み出す、ことを特徴とする電子制御装置。 - 前記動作中に発生したデータは、車両の走行サイクルを跨いで使用するデータである、ことを特徴とする請求項1に記載の電子制御装置。
- 前記待避領域に書き込むデータは、故障情報、学習値、診断ツールの表示用データ、及び故障発生時の記憶情報の少なくともいずれか1つと、前記不揮発性メモリにおける前記記憶領域に書き込んだ最新のデータに対応するカウント値とを含む、ことを特徴とする請求項1又は2に記載の電子制御装置。
- 前記不正なリセットは、制御対象となる車両のイグニッションスイッチがオンの状態で、前記制御部の動作が停止するレベルまで電源電圧が一時的に低下し、動作を再開するときに前記制御部のリセットが行われる動作である、ことを特徴とする請求項1乃至3いずれか1項に記載の電子制御装置。
- 前記不正なリセットの予測は、前記制御部による車両の制御で所定値より大きな電流が流れる場合に、前記制御部の電源電圧の低下を予測して実施する、又は電源電圧の低下を検出して実施する、ことを特徴とする請求項4に記載の電子制御装置。
- 前記不正なリセットが予測され、前記制御部のリセットが行われなかった場合に、前記待避領域に書き込んだデータを消去する、ことを特徴とする請求項1乃至5いずれか1項に記載の電子制御装置。
Priority Applications (5)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
JP2016212894A JP6851110B2 (ja) | 2016-10-31 | 2016-10-31 | 電子制御装置 |
US16/334,339 US11314634B2 (en) | 2016-10-31 | 2017-10-24 | Electronic control unit and data protection method therefor |
CN201780057933.6A CN110023911B (zh) | 2016-10-31 | 2017-10-24 | 电子控制装置及其数据保护方法 |
PCT/JP2017/038322 WO2018079537A1 (ja) | 2016-10-31 | 2017-10-24 | 電子制御装置及びそのデータ保護方法 |
DE112017005483.4T DE112017005483T5 (de) | 2016-10-31 | 2017-10-24 | Elektronische Steuereinheit und Datenschutzverfahren für diese |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
JP2016212894A JP6851110B2 (ja) | 2016-10-31 | 2016-10-31 | 電子制御装置 |
Publications (2)
Publication Number | Publication Date |
---|---|
JP2018073161A true JP2018073161A (ja) | 2018-05-10 |
JP6851110B2 JP6851110B2 (ja) | 2021-03-31 |
Family
ID=62023534
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
JP2016212894A Active JP6851110B2 (ja) | 2016-10-31 | 2016-10-31 | 電子制御装置 |
Country Status (5)
Country | Link |
---|---|
US (1) | US11314634B2 (ja) |
JP (1) | JP6851110B2 (ja) |
CN (1) | CN110023911B (ja) |
DE (1) | DE112017005483T5 (ja) |
WO (1) | WO2018079537A1 (ja) |
Families Citing this family (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US10877700B1 (en) * | 2019-08-16 | 2020-12-29 | Silicon Motion, Inc. | Flash memory controller and method capable of efficiently reporting debug information to host device |
CN110789349A (zh) * | 2019-09-25 | 2020-02-14 | 浙江合众新能源汽车有限公司 | 一种车辆行驶中控制器被重启的处理方法及装置 |
Citations (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JP2014075078A (ja) * | 2012-10-05 | 2014-04-24 | Denso Corp | 電子制御装置 |
JP2014169013A (ja) * | 2013-03-04 | 2014-09-18 | Lecip Holdings Corp | 電源制御装置 |
Family Cites Families (14)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US4763333A (en) * | 1986-08-08 | 1988-08-09 | Universal Vectors Corporation | Work-saving system for preventing loss in a computer due to power interruption |
US20030140261A1 (en) | 2002-01-24 | 2003-07-24 | Minoru Takasaki | Control apparatus |
JP2003216281A (ja) * | 2002-01-24 | 2003-07-31 | Canon Inc | 制御装置 |
JP3960212B2 (ja) | 2002-11-25 | 2007-08-15 | 株式会社デンソー | 電子制御装置 |
JP3968298B2 (ja) * | 2002-12-06 | 2007-08-29 | 株式会社日立製作所 | 電源装置 |
JP4730280B2 (ja) * | 2006-10-23 | 2011-07-20 | トヨタ自動車株式会社 | 車両用電源制御装置 |
DE112009000047B4 (de) * | 2008-03-25 | 2015-12-03 | Aisin Aw Co., Ltd. | Verfahren zum Schreiben von Steuerungsdaten in eine fahrzeugseitige Steuerungseinheit, und die fahrzeugseitige Steuerungseinheit |
JP5081076B2 (ja) * | 2008-06-23 | 2012-11-21 | 株式会社リコー | メモリ管理装置、画像形成装置及びメモリ管理方法 |
JP2011100416A (ja) * | 2009-11-09 | 2011-05-19 | Denso Corp | 車載電子制御装置およびメモリ制御方法 |
JP5212391B2 (ja) * | 2010-01-27 | 2013-06-19 | 日産自動車株式会社 | アイドルストップ制御装置 |
JP2014061793A (ja) * | 2012-09-21 | 2014-04-10 | Hitachi Automotive Systems Ltd | 自動車用電子制御装置 |
JP2015141575A (ja) * | 2014-01-29 | 2015-08-03 | 京セラドキュメントソリューションズ株式会社 | 画像形成装置および制御方法 |
CN108025646B (zh) * | 2015-08-20 | 2020-10-02 | 马自达汽车株式会社 | 车辆的显示装置 |
US10049004B2 (en) * | 2015-12-09 | 2018-08-14 | Samsung Electronics Co., Ltd. | Electronic system with memory data protection mechanism and method of operation thereof |
-
2016
- 2016-10-31 JP JP2016212894A patent/JP6851110B2/ja active Active
-
2017
- 2017-10-24 WO PCT/JP2017/038322 patent/WO2018079537A1/ja active Application Filing
- 2017-10-24 US US16/334,339 patent/US11314634B2/en active Active
- 2017-10-24 DE DE112017005483.4T patent/DE112017005483T5/de active Pending
- 2017-10-24 CN CN201780057933.6A patent/CN110023911B/zh active Active
Patent Citations (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JP2014075078A (ja) * | 2012-10-05 | 2014-04-24 | Denso Corp | 電子制御装置 |
JP2014169013A (ja) * | 2013-03-04 | 2014-09-18 | Lecip Holdings Corp | 電源制御装置 |
Also Published As
Publication number | Publication date |
---|---|
CN110023911A (zh) | 2019-07-16 |
DE112017005483T5 (de) | 2019-07-18 |
WO2018079537A1 (ja) | 2018-05-03 |
US11314634B2 (en) | 2022-04-26 |
CN110023911B (zh) | 2023-07-28 |
US20190278702A1 (en) | 2019-09-12 |
JP6851110B2 (ja) | 2021-03-31 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
JP5176728B2 (ja) | 車両用電子制御装置 | |
JP4572751B2 (ja) | 電子制御装置 | |
JP4636118B2 (ja) | 電子機器及びプログラム | |
JP4345708B2 (ja) | 車両用電子制御装置 | |
US9110842B2 (en) | Control device for vehicle and error processing method in control device for vehicle | |
US7003382B2 (en) | Electronic control unit for a vehicle | |
US8209078B2 (en) | Electronic control unit and vehicle control system | |
EP2020497A2 (en) | Electronic control unit | |
JP2012241645A (ja) | 車両用電子制御装置 | |
WO2018079537A1 (ja) | 電子制御装置及びそのデータ保護方法 | |
JP4001088B2 (ja) | 電子制御装置 | |
JP6323044B2 (ja) | 車両情報記録装置及びプログラム | |
JP4281808B2 (ja) | 車両の制御装置およびその制御方法 | |
JP2018134964A (ja) | 自動車用電子制御装置 | |
WO2008099276A1 (en) | Vehicle control device | |
JP2007062632A (ja) | 電子制御ユニットおよび異常発生時記憶用データの記憶方法 | |
JP5635941B2 (ja) | 自動車用電子制御装置 | |
JP2004151944A (ja) | 不揮発性記憶装置へのデータの書き込み方法、プログラム、および装置、ならびに車載電子制御装置 | |
JP3644058B2 (ja) | 車載エンジンの電子制御装置及びeepromのデータ再書込制御装置 | |
JP7029366B2 (ja) | 自動車用電子制御装置 | |
JP5872982B2 (ja) | 車両用制御装置 | |
JP5930745B2 (ja) | データの書き込み異常判断装置 | |
US8095262B2 (en) | Vehicular control apparatus and program storage medium | |
JP2015162102A (ja) | 車両用制御装置 | |
JPH09161493A (ja) | 書換え可能な不揮発性メモリの管理方法 |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
A621 | Written request for application examination |
Free format text: JAPANESE INTERMEDIATE CODE: A621 Effective date: 20190304 |
|
A131 | Notification of reasons for refusal |
Free format text: JAPANESE INTERMEDIATE CODE: A131 Effective date: 20200609 |
|
A521 | Request for written amendment filed |
Free format text: JAPANESE INTERMEDIATE CODE: A523 Effective date: 20200806 |
|
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: 20210202 |
|
A61 | First payment of annual fees (during grant procedure) |
Free format text: JAPANESE INTERMEDIATE CODE: A61 Effective date: 20210304 |
|
R150 | Certificate of patent or registration of utility model |
Ref document number: 6851110 Country of ref document: JP Free format text: JAPANESE INTERMEDIATE CODE: R150 |
|
R250 | Receipt of annual fees |
Free format text: JAPANESE INTERMEDIATE CODE: R250 |