JP2001084002A - Control device - Google Patents

Control device

Info

Publication number
JP2001084002A
JP2001084002A JP25780299A JP25780299A JP2001084002A JP 2001084002 A JP2001084002 A JP 2001084002A JP 25780299 A JP25780299 A JP 25780299A JP 25780299 A JP25780299 A JP 25780299A JP 2001084002 A JP2001084002 A JP 2001084002A
Authority
JP
Japan
Prior art keywords
data
control
blocks
control data
control 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.)
Pending
Application number
JP25780299A
Other languages
Japanese (ja)
Inventor
Hironori Iwase
広典 岩瀬
Tomomitsu Terakawa
智充 寺川
Tatsuya Jumonji
達也 十文字
Tsukasa Iida
司 飯田
Shinya Kojima
慎也 小島
Masaki Ogawa
正樹 小川
Katsuhiro Suzuki
勝博 鈴木
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.)
Aisin Corp
Original Assignee
Aisin Seiki Co 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 Aisin Seiki Co Ltd filed Critical Aisin Seiki Co Ltd
Priority to JP25780299A priority Critical patent/JP2001084002A/en
Priority to DE2000144505 priority patent/DE10044505B4/en
Publication of JP2001084002A publication Critical patent/JP2001084002A/en
Pending legal-status Critical Current

Links

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/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/249Methods for preventing the loss of data
    • GPHYSICS
    • G11INFORMATION STORAGE
    • G11CSTATIC STORES
    • G11C16/00Erasable programmable read-only memories
    • G11C16/02Erasable programmable read-only memories electrically programmable
    • G11C16/06Auxiliary circuits, e.g. for writing into memory
    • G11C16/10Programming or data input circuits
    • G11C16/12Programming voltage switching circuits
    • GPHYSICS
    • G11INFORMATION STORAGE
    • G11CSTATIC STORES
    • G11C16/00Erasable programmable read-only memories
    • G11C16/02Erasable programmable read-only memories electrically programmable
    • G11C16/06Auxiliary circuits, e.g. for writing into memory
    • G11C16/30Power supply circuits
    • GPHYSICS
    • G11INFORMATION STORAGE
    • G11CSTATIC STORES
    • G11C5/00Details of stores covered by group G11C11/00
    • G11C5/14Power supply arrangements, e.g. power down, chip selection or deselection, layout of wirings or power grids, or multiple supply levels
    • G11C5/147Voltage reference generators, voltage or current regulators; Internally lowered supply levels; Compensation for voltage drops
    • 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/02Circuit arrangements for generating control signals
    • F02D41/021Introducing corrections for particular conditions exterior to the engine
    • F02D41/0215Introducing corrections for particular conditions exterior to the engine in relation with elements of the transmission
    • F02D41/022Introducing corrections for particular conditions exterior to the engine in relation with elements of the transmission in relation with the clutch status

Abstract

PROBLEM TO BE SOLVED: To provide a control device capable of accurately writing and reading control data without using a backup RAM. SOLUTION: A clutch control unit (ECU) 1 is provided with a CPU 10 and an EEPROM 11. The EEPROM 11 stores the same control data in plural blocks, and even when the voltage of a battery 3 is interrupted, holds the stored data. The CPU 10 successively writes the same control data in plural blocks of the EEPROM 11. The CPU 10 judges the existence of instan-taneous power interruption/instantaneous power reduction generated on the way of writing data in any one of plural blocks and reads any one of control data stored in plural blocks on the basis of the judged result.

Description

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

【0001】[0001]

【発明の属する技術分野】本発明は、制御データを不揮
発性メモリに記憶し、その記憶データを制御に反映させ
る制御装置に関するものである。
BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention relates to a control device that stores control data in a nonvolatile memory and reflects the stored data in control.

【0002】[0002]

【従来の技術】従来、不揮発性メモリ(EEPROM)
を備える制御装置として、例えば、車両におけるクラッ
チ制御装置が知られている。このクラッチ制御装置は、
エンジンの駆動力をトランスミッションに伝達するため
の装置であり、クラッチ作動前の初期位置からクラッチ
締結位置までの位置データ(例えば、クラッチストロー
ク)を検出し、その位置データを用いてクラッチを的確
に制御するように構成されている。このクラッチ制御装
置において、クラッチの摩擦面が摩耗することで、制御
データとしての前記位置データが変化してしまう。その
ため、位置データを不揮発性メモリに記憶・保持し、そ
のデータを電源投入時にEEPROMから読み出してク
ラッチ制御に反映させるようになっている。
2. Description of the Related Art Conventionally, nonvolatile memories (EEPROM)
For example, a clutch control device in a vehicle is known as a control device including This clutch control device
A device for transmitting the driving force of the engine to the transmission. Detects position data (eg, clutch stroke) from the initial position before clutch operation to the clutch engagement position, and controls the clutch accurately using the position data. It is configured to be. In this clutch control device, the position data as control data changes due to wear of the friction surface of the clutch. Therefore, the position data is stored and held in a non-volatile memory, and the data is read from the EEPROM when the power is turned on and is reflected in the clutch control.

【0003】[0003]

【発明が解決しようとする課題】ところで、上述したよ
うにEEPROMの記憶データを制御に反映させる制御
装置においては、電源の瞬断・瞬低等によって、EEP
ROMへのデータの誤書き込みの虞がある。そのため、
特開平5−79397号公報に開示されているようにE
EPROMの他にバックアップRAMを備える構成とな
っている。つまり、バックアップRAMを用いること
で、EEPROMへのデータの誤書き込みを防止して、
間違ったデータを制御に反映しないようになっている。
As described above, in the control device for reflecting the data stored in the EEPROM in the control, as described above, the EEPROM is controlled by an instantaneous interruption of the power supply or an instantaneous voltage drop.
There is a risk of erroneous writing of data to the ROM. for that reason,
As disclosed in JP-A-5-79397, E
The backup RAM is provided in addition to the EPROM. That is, by using the backup RAM, erroneous writing of data to the EEPROM is prevented,
Wrong data is not reflected in control.

【0004】ところが、EEPROMに加えてバックア
ップRAMを備える装置(冗長系の装置)では、バック
アップRAMのための電源回路が別途必要となってしま
う。そのため、回路規模が増大してコストの増加を招い
てしまう。
However, in a device having a backup RAM in addition to the EEPROM (redundant device), a power supply circuit for the backup RAM is required separately. As a result, the circuit scale increases and the cost increases.

【0005】本発明は上記問題点を解決するためになさ
れたものであって、その目的は、バックアップRAMを
用いることなく、制御データの書き込み及び読み出しを
的確に行うことができる制御装置を提供することにあ
る。
SUMMARY OF THE INVENTION The present invention has been made to solve the above problems, and an object of the present invention is to provide a control device capable of accurately writing and reading control data without using a backup RAM. It is in.

【0006】[0006]

【課題を解決するための手段】上記問題点を解決するた
めに、請求項1に記載の発明は、複数のブロックに分割
された記憶領域にデータを記憶し、電源が遮断されても
記憶データを保持する不揮発性メモリと、電源供給中に
前記複数のブロックに同一制御データを順次書き込む制
御手段とを備え、前記制御手段は、前記複数のブロック
のうちいずれかのブロックの書き込み途中に発生した電
源の瞬断・瞬低の有無を判定し、その判定結果に基づい
て前記複数のブロックに記憶された制御データのうちい
ずれかの制御データを読み込むようにしたことを要旨と
する。
In order to solve the above-mentioned problem, the invention according to claim 1 stores data in a storage area divided into a plurality of blocks, and stores the data even when power is cut off. And a control means for sequentially writing the same control data to the plurality of blocks during power supply, wherein the control means is generated during writing of any of the plurality of blocks. The gist is that it is determined whether or not there is an instantaneous interruption or sag of the power supply, and one of the control data stored in the plurality of blocks is read based on the determination result.

【0007】請求項2に記載の発明は、請求項1に記載
の発明において、前記制御手段は、前記ブロックへの制
御データの書き込みが正しく実施されるまで、書き込み
処理を所定回数繰り返して実施するようにしたことを要
旨とする。
According to a second aspect of the present invention, in the first aspect of the present invention, the control means repeats the write process a predetermined number of times until the control data is correctly written to the block. The gist is that they have done so.

【0008】請求項3に記載の発明は、請求項1又は請
求項2に記載の発明において、前記不揮発性メモリの記
憶領域に、書き込み回数をカウントする前カウンタと後
カウンタを前記複数のブロック毎に設定し、前記制御手
段は、前カウンタ、ブロック、後カウンタの順に各デー
タを書き込むようにしたことを要旨とする。
According to a third aspect of the present invention, in the first or second aspect of the present invention, a pre-counter and a post-counter for counting the number of times of writing are stored in the storage area of the nonvolatile memory for each of the plurality of blocks. And the control means writes each data in the order of a front counter, a block, and a rear counter.

【0009】請求項4に記載の発明は、請求項1〜請求
項3のいずれか一項に記載の発明において、前記制御手
段は、前記複数のブロックに記憶される制御データを比
較し、その制御データのうち過半数以上ある同じデータ
を読み込むようにしたことを要旨とする。
According to a fourth aspect of the present invention, in the first aspect of the present invention, the control means compares control data stored in the plurality of blocks, and The gist of the invention is that the same data that is a majority of the control data is read.

【0010】請求項5に記載の発明は、請求項4に記載
の発明において、前記不揮発性メモリは、前記複数のブ
ロックを含む組を2組備え、前記制御手段は、その2組
に交互に制御データを書き込み、一方の組の複数ブロッ
クに記憶される制御データを比較して、読み込みデータ
を決定できないとき、他方の組に記憶された前回の制御
データを読み込むようにしたことを要旨とする。
According to a fifth aspect of the present invention, in the fourth aspect of the present invention, the nonvolatile memory includes two sets each including the plurality of blocks, and the control means alternately selects the two sets. The gist is that control data is written, control data stored in a plurality of blocks in one set is compared, and when read data cannot be determined, the previous control data stored in the other set is read. .

【0011】請求項6に記載の発明は、請求項1〜5の
いずれか一項に記載の発明において、前記制御手段は、
前記ブロックへの書き込み回数が保証回数を超えたと
き、別のブロックへ制御データを書き込むようにしたこ
とを要旨とする。
According to a sixth aspect of the present invention, in the first aspect of the invention, the control means includes:
When the number of times of writing to the block exceeds the guaranteed number of times, control data is written to another block.

【0012】請求項7に記載の発明は、車両に搭載され
る請求項1〜6に記載の発明において、前記制御データ
は、エンジンの駆動力をトランスミッションに伝達する
クラッチ制御のためのデータであり、前記制御手段は、
エンジン停止時に前記制御データを前記複数のブロック
に書き込み、その後、エンジン始動時に前記制御データ
を前記複数のブロックから読み出すようにしたことを要
旨とする。
According to a seventh aspect of the present invention, in the first to sixth aspects of the invention mounted on a vehicle, the control data is data for clutch control for transmitting a driving force of an engine to a transmission. , The control means comprises:
The gist is that the control data is written into the plurality of blocks when the engine is stopped, and thereafter, the control data is read from the plurality of blocks when the engine is started.

【0013】(作用)請求項1に記載の発明によれば、
不揮発性メモリの記憶領域が複数のブロックに分割さ
れ、そのブロックに同一制御データが順次書き込まれ
る。そして、制御手段により電源の遮断・瞬低が発生し
たときに書き込み途中であったブロックが判定され、そ
の判定結果に基づいて複数のブロックに記憶された制御
データのうちいずれかの制御データが読み込まれる。そ
の結果、的確な制御データを制御に反映させることが可
能となり、その制御性が向上される。
(Operation) According to the first aspect of the present invention,
The storage area of the nonvolatile memory is divided into a plurality of blocks, and the same control data is sequentially written in the blocks. Then, the control unit determines which block was being written when the power supply was cut off or a momentary voltage dip occurred, and based on the determination result, reads any of the control data stored in the plurality of blocks. It is. As a result, accurate control data can be reflected in control, and the controllability is improved.

【0014】請求項2に記載の発明によれば、ブロック
への制御データの書き込みが正しく実施されるまで、書
き込み処理が所定回数繰り返して実施される。つまり、
制御データの書き込みが確実に実施される。
According to the second aspect of the present invention, the writing process is repeated a predetermined number of times until the control data is correctly written in the block. That is,
The writing of the control data is reliably performed.

【0015】請求項3に記載の発明によれば、不揮発性
メモリの記憶領域において、ブロック毎に書き込み回数
をカウントする前カウンタと後カウンタが設けられる。
そして、前カウンタ、ブロック、後カウンタの順に各デ
ータが書き込まれる。この場合、前カウンタと後カウン
タの値を比較して、その値が一致するときは電源の瞬断
・瞬低が無く制御データが的確に書き込まれたと判定さ
れる。一方、前カウンタと後カウンタとの値が不一致の
ときは、電源の瞬断・瞬低があり制御データが誤って書
き込まれたと判定される。
According to the third aspect of the present invention, in the storage area of the nonvolatile memory, a before counter and a after counter for counting the number of times of writing are provided for each block.
Then, each data is written in the order of the front counter, the block, and the rear counter. In this case, the values of the front counter and the rear counter are compared, and when the values match, it is determined that there is no instantaneous interruption or sag of the power supply and the control data has been accurately written. On the other hand, when the values of the front counter and the rear counter do not match, it is determined that the control data has been erroneously written due to an instantaneous interruption / sag of power.

【0016】請求項4に記載の発明によれば、複数のブ
ロックに記憶される制御データが比較され、その制御デ
ータのうち過半数以上ある同じデータが読み込まれる。
従って、的確な制御データを読み込むことができ、その
データを制御に反映させることで、制御性が向上され
る。
According to the fourth aspect of the present invention, control data stored in a plurality of blocks is compared, and the same data having a majority or more of the control data is read.
Therefore, accurate control data can be read, and controllability is improved by reflecting the data in control.

【0017】請求項5に記載の発明によれば、一方の組
の複数ブロックに記憶される制御データが比較され、読
み込みデータを決定できないとき、つまり、多数決によ
り読み出しデータを決定できないとき、他方の組に記憶
された前回の制御データがバックアップデータとして読
み出される。そして、このデータを制御に反映させるこ
とで、その制御性が保たれる。
According to the fifth aspect of the present invention, the control data stored in one of the plurality of blocks is compared, and when the read data cannot be determined, that is, when the read data cannot be determined by the majority decision, the other data is determined. The previous control data stored in the set is read as backup data. Then, by reflecting this data in the control, the controllability is maintained.

【0018】請求項6に記載の発明によれば、不揮発性
メモリは、書き込み回数に制限があるため、書き込み回
数が不揮発性メモリの保証回数を超えたとき、別のブロ
ックへ制御データが書き込まれる。この場合、制御デー
タの書き込みが確実に実施される。
According to the invention described in claim 6, since the nonvolatile memory has a limit on the number of times of writing, when the number of times of writing exceeds the guaranteed number of times of the nonvolatile memory, control data is written to another block. . In this case, the writing of the control data is reliably performed.

【0019】請求項7に記載の発明によれば、エンジン
停止時に制御データが複数のブロックに書き込まれ、そ
の後、エンジン始動時に制御データが複数のブロックか
ら読み出される。つまり、クラッチ制御のための的確な
制御データを読み込むことができ、そのデータをクラッ
チ制御に反映することで、その制御性が向上される。
According to the present invention, the control data is written into the plurality of blocks when the engine is stopped, and thereafter, the control data is read from the plurality of blocks when the engine is started. That is, accurate control data for clutch control can be read, and the controllability is improved by reflecting the data in clutch control.

【0020】[0020]

【発明の実施の形態】(第1実施形態)以下、本発明を
クラッチ制御装置に具体化した実施形態を図面に従って
説明する。
DESCRIPTION OF THE PREFERRED EMBODIMENTS (First Embodiment) An embodiment in which the present invention is embodied in a clutch control device will be described below with reference to the drawings.

【0021】本実施形態におけるクラッチ制御装置(以
下、ECUという)は車両に搭載され、同ECUにより
クラッチ制御が実施されることにより、エンジンの駆動
力がトランスミッションに伝達されるようになってい
る。
The clutch control device (hereinafter, referred to as ECU) in the present embodiment is mounted on a vehicle, and the clutch control is performed by the ECU so that the driving force of the engine is transmitted to the transmission.

【0022】図1に示すように、ECU1は、イグニッ
ションスイッチ2を介してバッテリ3に接続されてい
る。つまり、エンジン始動時にイグニッションスイッチ
2がオンされると、ECU1にバッテリ電圧が供給され
る。また、ECU1には、クラッチストロークセンサ4
が接続され、図示しないクラッチの位置が検出できるよ
うになっている。つまり、クラッチストロークセンサ4
の出力信号に基づいてクラッチストロークが検出され
る。さらに、ECU1には、アクチュエータ5が接続さ
れ、前記クラッチストローク等に応じてアクチュエータ
5が駆動されて、クラッチが的確に締結されるようにな
っている。
As shown in FIG. 1, the ECU 1 is connected to a battery 3 via an ignition switch 2. That is, when the ignition switch 2 is turned on at the time of starting the engine, the battery voltage is supplied to the ECU 1. The ECU 1 also includes a clutch stroke sensor 4
Is connected so that the position of a clutch (not shown) can be detected. That is, the clutch stroke sensor 4
The clutch stroke is detected based on the output signal. Further, an actuator 5 is connected to the ECU 1, and the actuator 5 is driven in accordance with the clutch stroke or the like, so that the clutch is properly engaged.

【0023】ECU1は、制御手段としての中央処理装
置(CPU)10と、電源電圧が遮断されても記憶デー
タを保持する不揮発性メモリ(EEPROM)11とを
有して構成されている。本実施形態のCPU10は、演
算結果等を一時記憶するためのランダムアクセスメモリ
(RAM)12を備えている。
The ECU 1 includes a central processing unit (CPU) 10 as control means, and a non-volatile memory (EEPROM) 11 that retains stored data even when the power supply voltage is cut off. The CPU 10 of the present embodiment includes a random access memory (RAM) 12 for temporarily storing a calculation result and the like.

【0024】CPU10は、制御データ(クラッチスト
ローク)をEEPROM11に記憶・保持し、イグニッ
ションスイッチ2のオン時において、EEPROM11
に記憶された制御データを読み出して、その制御データ
に基づいてアクチュエータを的確に駆動制御する。つま
り、学習データとしてのクラッチストロークをEEPR
OM11に記憶し、このデータを制御に反映させること
により、クラッチの締結が円滑に行われるようになって
いる。
The CPU 10 stores and holds the control data (clutch stroke) in the EEPROM 11 and, when the ignition switch 2 is turned on, the EEPROM 11
The control data stored in the controller is read out, and the actuator is appropriately driven and controlled based on the control data. That is, the clutch stroke as the learning data is set to the EEPR
By storing the data in the OM 11 and reflecting this data in the control, the clutch can be smoothly engaged.

【0025】なお、本実施形態のECU1は、図示しな
い電源保持回路を有しており、イグニッションスイッチ
2がオフしたとき、その電源保持回路によって所定時間
だけCPU10に電源が供給され、その所定時間内にE
EPROM11への制御データの書き込みが実施される
ようになっている。
The ECU 1 of this embodiment has a power holding circuit (not shown). When the ignition switch 2 is turned off, power is supplied to the CPU 10 for a predetermined time by the power holding circuit. To E
Writing of control data to the EPROM 11 is performed.

【0026】また、本実施形態では、CPU10は、E
EPROM11間のデータの読み出し/書き込みを一本
の信号線を用いて実施するように構成されており、デー
タ書き込み時間、読み出し時間が長くなってしまう。そ
れ故、バッテリ電圧の瞬断・瞬低や、突発的ノイズなど
が発生すると、制御データの書き込み/読み出しが正確
に実施できなくなる虞がある。よって、本実施形態で
は、EEPROM11のデータ格納領域を複数のブロッ
クに分割し、同一データを書き込む構成とすることで、
的確な制御データが得られるようにしている。
In the present embodiment, the CPU 10
The data reading / writing between the EPROMs 11 is configured to be performed using one signal line, so that the data writing time and the reading time become longer. Therefore, when instantaneous interruption or sag of the battery voltage or sudden noise occurs, there is a possibility that writing / reading of control data may not be performed accurately. Therefore, in the present embodiment, the data storage area of the EEPROM 11 is divided into a plurality of blocks, and the same data is written therein.
Accurate control data is obtained.

【0027】具体的には、EEPROM11は、図2に
示すように、2つの組X,Yを備え、その各組X,Y
は、それぞれ3つのブロックX1,X2,X3,Y1,
Y2,Y3に分割されている。そして、この3つのブロ
ック毎に同一の制御データが書き込まれるようになって
いる。また、各ブロックX1,X2,X3,Y1,Y
2,Y3の前後の領域にデータの書き込み回数を記憶す
るための前カウンタX1f,X2f,X3f,Y1f,
Y2f,Y3fと後カウンタX1b,X2b,X3b,
Y1b,Y2b,Y3bがそれぞれ設けられている。
Specifically, as shown in FIG. 2, the EEPROM 11 has two sets X and Y, and each set X and Y is provided.
Are three blocks X1, X2, X3, Y1,
It is divided into Y2 and Y3. The same control data is written for each of the three blocks. In addition, each block X1, X2, X3, Y1, Y
2, counters X1f, X2f, X3f, Y1f, for storing the number of times of data writing in the area before and after Y3.
Y2f, Y3f and rear counters X1b, X2b, X3b,
Y1b, Y2b, and Y3b are provided, respectively.

【0028】次に、CPU10により実施される各処理
のうち、EEPROM11へのデータ書き込み処理と、
EEPROM11からのデータ読み出し処理を図3及び
図4を用いて説明する。なお、図3の処理は、エンジン
停止時においてイグニッションスイッチ2がオフされた
ときに実行され、図4の処理は、エンジン始動時におい
てイグニッションスイッチ2がオンされたときに実行さ
れる。
Next, of the processes executed by the CPU 10, a process of writing data to the EEPROM 11 and
The process of reading data from the EEPROM 11 will be described with reference to FIGS. The process in FIG. 3 is executed when the ignition switch 2 is turned off when the engine is stopped, and the process in FIG. 4 is executed when the ignition switch 2 is turned on when the engine is started.

【0029】先ず、図3のステップ100において、C
PU10は、RAM12内に記憶保持されている前カウ
ンタ及び後カウンタのカウント値を1インクリメントす
る。例えば、今回初めてEEPROM11への書き込み
を実施する場合では、「0」→「1」とする。
First, in step 100 of FIG.
The PU 10 increments the count values of the front counter and the rear counter stored in the RAM 12 by one. For example, when writing to the EEPROM 11 is performed for the first time this time, "0" is changed to "1".

【0030】次いで、CPU10は、ステップ110に
おいて、書き込む組とブロックNoを設定する。具体的
には、組XのブロックX1(ブロックNo=1)を設定
する。そして、CPU10は、ステップ120におい
て、前カウンタX1f→ブロックX1→後カウンタX1
bの順に各データの書き込みを実施する。ここで、ブロ
ックX1にはクラッチ制御のための制御データを、前カ
ウンタX1f及び後カウンタX1bにはステップ100
にてカウントされたRAM12のカウント値を書き込
む。
Next, in step 110, the CPU 10 sets a writing group and a block number. Specifically, a block X1 (block No. 1) of the set X is set. Then, the CPU 10 determines in step 120 that the front counter X1f → the block X1 → the rear counter X1.
Each data is written in the order of b. Here, the control data for clutch control is stored in the block X1.
Write the count value of the RAM 12 counted by.

【0031】前カウンタX1f、ブロックX1、後カウ
ンタX1bに各データを書き込んだ後、CPU10はス
テップ130に移行し、EEPROM11から今回書き
込んだデータ(記憶データ)をRAM12に読み出す。
そして、ステップ140において、書き込みが正常に実
施されたか否かを判定する。つまり、RAM12に保持
されている書き込みデータと、記憶データを比較して一
致すれば、正常データがEEPROM11に書き込まれ
た旨を判定してステップ150に移行する。一方、書き
込みデータと記憶データとが一致しなければ、ステップ
120に戻り、再度ステップ120〜ステップ140の
処理を繰り返し実行する。なお、本実施形態においてC
PU10は、同処理を3回繰り返し、それでもステップ
140にて肯定判別されない場合は、ステップ150に
移行する。
After writing the data to the front counter X1f, the block X1, and the rear counter X1b, the CPU 10 proceeds to step 130 and reads the data (storage data) written this time from the EEPROM 11 to the RAM 12.
Then, in step 140, it is determined whether or not the writing has been normally performed. In other words, if the write data held in the RAM 12 is compared with the stored data and they match, it is determined that normal data has been written to the EEPROM 11 and the process proceeds to step 150. On the other hand, if the write data and the stored data do not match, the process returns to step 120, and the processes of steps 120 to 140 are repeatedly executed again. In this embodiment, C
The PU 10 repeats the same process three times. If the affirmative determination is still not made in step 140, the PU 10 proceeds to step 150.

【0032】このようにしてブロックX1の書き込み処
理が実施された後、CPU10はステップ150におい
て、書き込みブロックNoを「1」→「2」にインクリ
メントしてステップ160に移行する。そして、CPU
10は、そのブロックNo=2に基づいてブロックX2
の書き込み処理を実施すべくステップ120に移行す
る。
After the write processing of the block X1 is performed as described above, the CPU 10 increments the write block No. from “1” to “2” in step 150, and proceeds to step 160. And CPU
10 is a block X2 based on the block No = 2.
Then, the process proceeds to step 120 to execute the writing process.

【0033】その後、ステップ120〜140の処理に
より、ブロックX2及び前後カウンタX2f,X2bへ
のデータ書き込みが実施され、ステップ150におい
て、CPU10はブロックNoを「2」→「3」にイン
クリメントする。同様に、CPU10はステップ160
において、そのブロックNo=3に基づいてブロックX
3の書き込み処理を実施すべくステップ120に移行し
て、ステップ120〜140の処理により、ブロックX
3及び前後カウンタX3f,X3bへのデータ書き込み
を実施する。また、CPU10はステップ150におい
て、ブロックNoを「3」→「4」にインクリメントし
た後、ステップ160に移行する。
Thereafter, data is written to the block X2 and the front / rear counters X2f and X2b by the processing of steps 120 to 140, and in step 150, the CPU 10 increments the block number from “2” to “3”. Similarly, the CPU 10 determines in step 160
, The block X based on the block No = 3
Then, the process proceeds to step 120 to execute the write process of block 3, and the process of steps 120 to 140
3 and the data writing to the front / rear counters X3f and X3b. In step 150, the CPU 10 increments the block number from “3” to “4”, and then proceeds to step 160.

【0034】そして、CPU10は、ステップ160に
おいて、ブロックNo=4となったか否かを判定し、ブ
ロックNo=4となり、ブロックX3の書き込み完了を
判定したとき、本ルーチンを終了する。
Then, in step 160, the CPU 10 determines whether or not block No. = 4. When it is determined that block No. = 4 and it is determined that the writing of the block X3 has been completed, this routine ends.

【0035】このように各ブロックX1,X2,X3に
制御データが書き込まれるとき、その際に、前カウンタ
→各ブロック→後カウンタの順に書き込みが実施されて
いる。この場合、ブロックにおける制御データの書き込
みが正確に実施されたとき、前カウンタ及び後カウンタ
のカウント値が一致する。一方、バッテリ電圧の瞬断・
瞬低等によりブロックにおける制御データの誤書き込み
が発生するとき、前カウンタ及び後カウンタの値が一致
しない。
As described above, when the control data is written in each of the blocks X1, X2, and X3, the writing is performed in the order of the front counter → the respective blocks → the rear counter. In this case, when the control data is correctly written in the block, the count values of the front counter and the rear counter match. On the other hand, momentary interruption of battery voltage
When erroneous writing of control data in a block occurs due to an instantaneous drop or the like, the values of the front counter and the rear counter do not match.

【0036】なお、次回のイグニッションスイッチ2の
オフ時では、EEPROM11における組Yの各ブロッ
クY1,Y2,Y3、前後カウンタY1f,Y1b,Y
2f,Y2b,Y3f,Y3bへのデータ書き込み処理
が同様に実施される。つまり、エンジン停止毎に組Xの
各ブロックX1,X2,X3及び組Yの各ブロックY
1,Y2,Y3に交互に制御データが書き込まれるよう
になっている。
When the ignition switch 2 is turned off next time, each block Y1, Y2, Y3 of the set Y in the EEPROM 11 and the front / rear counters Y1f, Y1b, Y
The process of writing data to 2f, Y2b, Y3f, and Y3b is similarly performed. That is, each time the engine is stopped, each block X1, X2, X3 of the set X and each block Y of the set Y
The control data is written alternately in 1, Y2 and Y3.

【0037】次いで、EEPROM11からのデータ読
み出し処理を図4を用いて説明する。なおここでは、エ
ンジン停止時に組Xの各ブロックX1,X2,X3に制
御データが書き込まれ、その後エンジンが始動したとき
におけるデータ読み出し処理を詳述する。
Next, a process of reading data from the EEPROM 11 will be described with reference to FIG. Here, the control data is written into the blocks X1, X2, and X3 of the set X when the engine is stopped, and the data reading process when the engine is started after that will be described in detail.

【0038】先ず、CPU10は、ステップ200にお
いて、各ブロックX1,X2,X3毎に設けられている
前後カウンタX1f,X1b,X2f,X2b,X3
f,X3bをRAM12に読み出しステップ210に移
行する。そして、各カウンタX1f,X1b,X2f,
X2b,X3f,X3bのカウント値が一致する場合、
データ書き込み時におけるバッテリ電圧の瞬断・瞬低が
ないと判定して、ステップ220に移行する。
First, in step 200, the CPU 10 sets the front / rear counters X1f, X1b, X2f, X2b, X3 provided for each of the blocks X1, X2, X3.
The values f and X3b are read out to the RAM 12, and the process proceeds to step 210. Then, each of the counters X1f, X1b, X2f,
When the count values of X2b, X3f, and X3b match,
It is determined that there is no instantaneous interruption or drop of the battery voltage at the time of data writing, and the process proceeds to step 220.

【0039】そして、CPU10は、ステップ220に
おいて各ブロックX1,X2,X3のデータを読み出し
た後、ステップ230に移行してそのデータの多数決を
とる。ここで、各ブロックX1,X2,X3のデータが
一致する場合、CPU10はそのデータを制御データと
して読み込み、本ルーチンを終了する。また、各ブロッ
クX1,X2,X3のデータのうちいずれか一のみが異
なる場合、過半数の同一データを制御データとして読み
込み、本ルーチンを終了する。
After reading the data of each of the blocks X1, X2, and X3 in step 220, the CPU 10 proceeds to step 230 to determine the majority of the data. If the data in the blocks X1, X2, and X3 match, the CPU 10 reads the data as control data, and ends this routine. When only one of the data of the blocks X1, X2, and X3 is different, the majority of the same data is read as control data, and the routine ends.

【0040】一方、3つのブロックX1,X2,X3の
データがともに不一致の場合では、CPU10は、ステ
ップ240に移行して他組Yの各ブロックY1,Y2,
Y3のデータを読み出し、ステップ250において、多
数決をとって過半数の同一データを制御データとして読
み込み、本ルーチンを終了する。つまり、クラッチ制御
における制御データ(クラッチストローク)は、車両を
長時間運転する場合では、クラッチの摩耗により大きく
変化するが、短時間の運転では、ほとんど変化しない。
このため、全てのデータがともに不一致の場合では、前
回の制御データを書き込んだ他組Yのデータをバックア
ップ値として読み込み、そのデータをクラッチ制御に反
映することで制御性を保つようにしている。
On the other hand, if the data in the three blocks X1, X2, and X3 do not match, the CPU 10 proceeds to step 240 and proceeds to step 240, where the blocks Y1, Y2,
The data of Y3 is read out, and in step 250, majority decision is made to read the majority of the same data as control data, and this routine ends. That is, the control data (clutch stroke) in the clutch control greatly changes due to the wear of the clutch when the vehicle is operated for a long time, but hardly changes when the vehicle is operated for a short time.
Therefore, when all the data do not match, the data of the other group Y in which the previous control data has been written is read as a backup value, and the data is reflected in the clutch control to maintain controllability.

【0041】一方、ステップ210にて、バッテリ電圧
の瞬断・瞬低が有りと判定した場合、CPU10はステ
ップ260に移行して、ブロックX2の書き込み時にお
けるバッテリ電圧の瞬断・瞬低か否かを判定する。つま
り、前カウンタX2fと後カウンタX2bの値が異なる
か否かを判定する。そして、前カウンタX2fと後カウ
ンタX2bの値が一致する場合、即ちブロックX1また
はブロックX3の書き込み時にバッテリ電圧の瞬断・瞬
低が有った場合では、CPU10はステップ220に移
行して、上述したステップ230〜250の処理を実施
することにより制御データを読み込む。
On the other hand, if it is determined in step 210 that there is an instantaneous interruption or sag of the battery voltage, the CPU 10 proceeds to step 260 to determine whether there is an instantaneous interruption or sag of the battery voltage when writing the block X2. Is determined. That is, it is determined whether or not the values of the front counter X2f and the rear counter X2b are different. If the values of the front counter X2f and the rear counter X2b match, that is, if there is an instantaneous interruption or sag of the battery voltage at the time of writing to the block X1 or the block X3, the CPU 10 proceeds to step 220, and The control data is read by executing the processing of steps 230 to 250 described above.

【0042】また、前カウンタX2fと後カウンタX2
bの値が異なり、ステップ260にて、ブロックX2の
書き込み時におけるバッテリ電圧の瞬断・瞬低と判定さ
れたとき、制御データとしてブロックX1のデータを読
み込み、本ルーチンを終了する。
The front counter X2f and the rear counter X2
When the value of b is different and it is determined in step 260 that the battery voltage is momentarily interrupted or dropped during writing of the block X2, the data of the block X1 is read as control data, and this routine ends.

【0043】なお、次回のイグニッションスイッチ2の
オン時では、EEPROM11における組Yの各ブロッ
クY1,Y2,Y3、前後カウンタY1f,Y1b,Y
2f,Y2b,Y3f,Y3bからのデータの読み出し
処理が同様に実施される。
When the ignition switch 2 is turned on next time, each block Y1, Y2, Y3 of the set Y in the EEPROM 11 and the front / rear counters Y1f, Y1b, Y
The process of reading data from 2f, Y2b, Y3f, and Y3b is similarly performed.

【0044】このように、前後カウンタの値によりデー
タの誤書き込みを判定でき、その判定結果に基づいて制
御データが的確に読み込まれる。具体的には、ブロック
X1又はブロックY1での書き込み時に誤書き込みが発
生した場合、正確に書き込まれた他のブロックX2,X
3又はブロックY2,Y3の制御データが読み込まれ
る。また、ブロックX2又はブロックY2での書き込み
時に誤書き込みが発生した場合、正確に書き込まれたブ
ロックX1又はブロックY1の制御データが読み込まれ
る。さらに、ブロックX3又はブロックY3での書き込
み時に誤書き込みが発生した場合、正確に書き込まれた
他のブロックX1,X2又はブロックY1,Y2の制御
データが読み込まれる。そして、このようにして読み込
まれた的確な制御データ(クラッチストローク)がクラ
ッチ制御に反映され、その制御性が向上される。
As described above, erroneous data writing can be determined based on the values of the front and rear counters, and the control data is accurately read based on the determination result. Specifically, if an erroneous write occurs during writing in the block X1 or the block Y1, the other blocks X2, X
3 or the control data of blocks Y2 and Y3 are read. If an erroneous write occurs at the time of writing in the block X2 or the block Y2, the control data of the correctly written block X1 or Y1 is read. Further, when an erroneous write occurs at the time of writing in the block X3 or the block Y3, the control data of the other block X1, X2 or the block Y1, Y2 which has been correctly written is read. Then, the accurate control data (clutch stroke) read in this way is reflected in the clutch control, and the controllability is improved.

【0045】なお、本実施形態におけるクラッチ制御装
置では、イグニッションスイッチ2のオフタイミング毎
にEEPROM11への書き込みを実施している。ま
た、イグニッションスイッチ2の作動保証回数は5万回
としている。従って、EEPROM11の書き込み保証
回数がこの5万回よりも少ない場合では、前記組X,Y
のブロックとは別に予備のブロックを備え、EEPRO
M11への書き込み回数が保証回数を超えたとき、その
予備ブロックに書き込みを実施するように構成してもよ
い。この場合、制御データの書き込みを確実に実施でき
る。
In the clutch control device according to the present embodiment, writing to the EEPROM 11 is performed every time the ignition switch 2 is turned off. The number of times the ignition switch 2 is guaranteed to operate is 50,000 times. Therefore, if the guaranteed number of write operations of the EEPROM 11 is less than 50,000, the sets X, Y
A spare block is provided separately from the block of
When the number of times of writing to M11 exceeds the guaranteed number of times, writing to the spare block may be performed. In this case, the writing of the control data can be reliably performed.

【0046】以上記述したように、本実施の形態によれ
ば、以下の特徴を奏する。 (1)従来技術のようにバックアップRAMを用いるこ
となくEEPROM11のみで、制御データの書き込み
及び読み出しを的確に行うことができる。そして、その
制御データをクラッチ制御に反映することで、その制御
性を向上できる。つまり、本実施形態のECU1は、バ
ックアップRAMやそのバックアップRAMための電源
回路を追加する必要はなく、コスト的に有利なものとな
る。また、バックアップRAMにて消費される電力も低
減でき、実用上好ましいものとなる。
As described above, the present embodiment has the following features. (1) Control data can be written and read accurately using only the EEPROM 11 without using a backup RAM as in the prior art. Then, by reflecting the control data in the clutch control, the controllability can be improved. That is, the ECU 1 of the present embodiment does not need to add a backup RAM or a power supply circuit for the backup RAM, which is advantageous in cost. Also, the power consumed by the backup RAM can be reduced, which is practically preferable.

【0047】(2)各ブロックに制御データが正確に書
き込まれるまで、ステップ120〜ステップ140の書
き込み処理が3回数繰り返し実施されるため、制御デー
タを確実に書き込むことができる。
(2) Since the write processing of steps 120 to 140 is repeated three times until the control data is accurately written in each block, the control data can be written reliably.

【0048】(3)複数のブロックの前後の領域に、前
カウンタ及び後カウンタを設け、データ書き込み時にお
いて、前カウンタ、ブロック、後カウンタの順に各デー
タを書き込むようにした。この場合、前カウンタと後カ
ウンタの値によりバッテリ電圧の瞬断・瞬低が判定でき
る。
(3) A front counter and a rear counter are provided in an area before and after a plurality of blocks, and when writing data, each data is written in the order of the front counter, the block, and the rear counter. In this case, the instantaneous interruption / sag of the battery voltage can be determined based on the values of the front counter and the rear counter.

【0049】(4)3つのブロックに記憶される制御デ
ータのうち過半数以上ある同じデータを読み出すように
した。この場合、的確なデータをクラッチ制御に反映で
きる。
(4) Of the control data stored in the three blocks, the same data that is more than a majority is read. In this case, accurate data can be reflected in clutch control.

【0050】(5)組Xの3つのブロックX1,X2,
X3と組Yの3つのブロックY1,Y2,Y3をエンジ
ン停止毎に交互に書き込み、データ読み出し時において
一方の組の複数ブロックに記憶される制御データの多数
決により読み出しデータを決定できないとき、他方の組
に記憶された前回の制御データを読み出すようにした。
つまり、今回書き込まれたデータに基づいて的確な制御
データを読み出すことができないとき前回書き込まれた
他組の制御データをクラッチ制御に反映するようにした
ので、その制御性を保つことができる。
(5) Three blocks X1, X2, X3 of set X
The three blocks Y1, Y2, and Y3 of the set X3 and the set Y are alternately written each time the engine is stopped. When reading data cannot be determined by majority decision of control data stored in a plurality of blocks of one set when reading data, the other is used. The previous control data stored in the set is read.
In other words, when accurate control data cannot be read based on the data written this time, the control data of the other group written last time is reflected in the clutch control, so that the controllability can be maintained.

【0051】尚、上記各実施形態は、以下の態様で実施
してもよい。 ○上記実施形態では、書き込み回数をカウントする前後
カウンタにより制御データの書き込み途中におけるバッ
テリ電圧の瞬断・瞬低を判定したが、これに限定するも
のではない。例えば、カウンタに代えてフラグ等により
バッテリ電圧の瞬断・瞬低を判定してもよい。この場合
も、バッテリ電圧の瞬断・瞬低の判定結果に応じて制御
データを的確に読み出すことができる。但し、上記実施
形態のように、前後カウンタによりバッテリ電圧の瞬断
・瞬低を判定できる構成とした場合、その前後カウンタ
によりデータの書き込み回数がモニタできるので、実用
上好ましいものとなる。
Each of the above embodiments may be implemented in the following manner. In the above embodiment, the instantaneous interruption / shortage of the battery voltage during the writing of the control data is determined by the counter before and after counting the number of times of writing, but the present invention is not limited to this. For example, the instantaneous interruption or instantaneous drop of the battery voltage may be determined using a flag or the like instead of the counter. Also in this case, the control data can be accurately read according to the determination result of the instantaneous interruption or instantaneous drop of the battery voltage. However, when the instantaneous interruption or instantaneous drop of the battery voltage is determined by the front / rear counter as in the above embodiment, the number of times of data writing can be monitored by the front / rear counter, which is practically preferable.

【0052】○上記実施形態では、クラッチ制御装置に
適用したが、これに限定するものではない。要は、制御
データをEEPROMに記憶して、電源が再投入された
ときEEPROMに記憶されたデータを用いて制御を開
始するものであればよい。勿論、自動車以外に、家電製
品等における制御装置に適用するものでもよい。
In the above embodiment, the present invention is applied to the clutch control device. However, the present invention is not limited to this. The point is that the control data may be stored in the EEPROM, and the control may be started using the data stored in the EEPROM when the power is turned on again. Needless to say, the present invention may be applied to a control device for a home electric appliance or the like in addition to an automobile.

【0053】[0053]

【発明の効果】以上詳述したように、本発明によれば、
バックアップRAMを用いることなく、制御データの書
き込み及び読み出しを的確に行うことができる。
As described in detail above, according to the present invention,
Control data can be written and read accurately without using a backup RAM.

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

【図1】 実施形態におけるクラッチ制御装置の概略構
成図。
FIG. 1 is a schematic configuration diagram of a clutch control device according to an embodiment.

【図2】 実施形態におけるEEPROMのブロック
図。
FIG. 2 is a block diagram of an EEPROM according to the embodiment.

【図3】 書き込み処理を説明するためのフローチャー
ト。
FIG. 3 is a flowchart illustrating a writing process.

【図4】 読み出し処理を説明するためのフローチャー
ト。
FIG. 4 is a flowchart illustrating a reading process.

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

1…制御装置としてのECU、3…電源としてのバッテ
リ、10…制御手段としてのCPU、11…不揮発性メ
モリ、X,Y…組、X1,X2,X3,Y1,Y2,Y
3…ブロック、X1f,X2f,X3f,Y1f,Y2
f,Y3f…前カウンタ、X1b,X2b,X3b,Y
1b,Y2b,Y3b…後カウンタ。
DESCRIPTION OF SYMBOLS 1 ... ECU as a control device, 3 ... Battery as a power supply, 10 ... CPU as a control means, 11 ... Non-volatile memory, X, Y ... set, X1, X2, X3, Y1, Y2, Y
3. Block, X1f, X2f, X3f, Y1f, Y2
f, Y3f: Previous counter, X1b, X2b, X3b, Y
1b, Y2b, Y3b... After counter.

───────────────────────────────────────────────────── フロントページの続き (51)Int.Cl.7 識別記号 FI テーマコート゛(参考) G06F 12/16 340 F16D 25/14 640Z (72)発明者 十文字 達也 愛知県刈谷市朝日町2丁目1番地 アイシ ン精機 株式会社内 (72)発明者 飯田 司 愛知県刈谷市朝日町2丁目1番地 アイシ ン精機 株式会社内 (72)発明者 小島 慎也 愛知県刈谷市昭和町2丁目3番地 アイシ ン・エンジニアリング 株式会社内 (72)発明者 小川 正樹 愛知県豊田市トヨタ町1番地 トヨタ自動 車株式会社内 (72)発明者 鈴木 勝博 愛知県豊田市トヨタ町1番地 トヨタ自動 車株式会社内 Fターム(参考) 3G084 BA00 CA01 DA04 DA26 EA07 EA11 EB02 EB06 EB07 FA03 FA06 FA36 3J057 BB02 GA12 GB03 GB12 GB40 GE01 GE11 HH01 5B018 GA06 HA06 HA23 HA35 LA06 LA07 NA06 QA05 RA04 RA11 5H209 AA10 DD13 FF02 GG04 HH01 HH21 JJ09 ──────────────────────────────────────────────────続 き Continued on the front page (51) Int.Cl. 7 Identification FI FI Theme Court ゛ (Reference) G06F 12/16 340 F16D 25/14 640Z (72) Inventor Tatsuya Jumon 2-1-1 Asahimachi, Kariya City, Aichi Prefecture Aisin Seiki Co., Ltd. (72) Inventor Tsukasa Iida 2-1-1 Asahi-cho, Kariya City, Aichi Prefecture Aisin Seiki Co., Ltd. (72) Inventor Shinya 2-3-3 Showa-cho, Kariya City, Aichi Prefecture Aisin Engineering (72) Inventor Masaki Ogawa 1 Toyota Town, Toyota City, Aichi Prefecture Inside Toyota Motor Corporation (72) Inventor Katsuhiro Suzuki 1 Toyota Town, Toyota City, Aichi Prefecture Toyota Motor Corporation F-term (reference) 3G084 BA00 CA01 DA04 DA26 EA07 EA11 EB02 EB06 EB07 FA03 FA06 FA36 3J057 BB02 GA12 GB03 GB12 GB40 GE01 G E11 HH01 5B018 GA06 HA06 HA23 HA35 LA06 LA07 NA06 QA05 RA04 RA11 5H209 AA10 DD13 FF02 GG04 HH01 HH21 JJ09

Claims (7)

【特許請求の範囲】[Claims] 【請求項1】 複数のブロックに分割された記憶領域に
データを記憶し、電源が遮断されても記憶データを保持
する不揮発性メモリと、電源供給中に前記複数のブロッ
クに同一制御データを順次書き込む制御手段とを備え、 前記制御手段は、前記複数のブロックのうちいずれかの
ブロックの書き込み途中に発生した電源の瞬断・瞬低の
有無を判定し、その判定結果に基づいて前記複数のブロ
ックに記憶された制御データのうちいずれかの制御デー
タを読み込むようにしたことを特徴とする制御装置。
1. A nonvolatile memory that stores data in a storage area divided into a plurality of blocks and retains stored data even when power is cut off, and sequentially supplies the same control data to the plurality of blocks during power supply. Control means for writing, wherein the control means determines the presence or absence of an instantaneous interruption or sag of a power supply occurring during writing of any of the plurality of blocks, and based on the determination result, A control device wherein one of control data stored in a block is read.
【請求項2】 請求項1に記載の制御装置において、 前記制御手段は、前記ブロックへの制御データの書き込
みが正しく実施されるまで、書き込み処理を所定回数繰
り返して実施するようにしたことを特徴とする制御装
置。
2. The control device according to claim 1, wherein the control means repeats the write process a predetermined number of times until the control data is correctly written in the block. Control device.
【請求項3】 請求項1又は請求項2に記載の制御装置
において、 前記不揮発性メモリの記憶領域に、書き込み回数をカウ
ントする前カウンタと後カウンタを前記複数のブロック
毎に設定し、 前記制御手段は、前カウンタ、ブロック、後カウンタの
順に各データを書き込むようにしたことを特徴とする制
御装置。
3. The control device according to claim 1, wherein a before-counter and a after-counter for counting the number of times of writing are set for each of the plurality of blocks in a storage area of the nonvolatile memory. The control device is characterized in that the means writes each data in the order of a front counter, a block, and a rear counter.
【請求項4】 請求項1〜請求項3のいずれか一項に記
載の制御装置において、 前記制御手段は、前記複数のブロックに記憶される制御
データを比較し、その制御データのうち過半数以上ある
同じデータを読み込むようにしたことを特徴とする制御
装置。
4. The control device according to claim 1, wherein the control unit compares control data stored in the plurality of blocks, and controls a majority of the control data. A control device wherein the same data is read.
【請求項5】 請求項4に記載の制御装置において、 前記不揮発性メモリは、前記複数のブロックを含む組を
2組備え、 前記制御手段は、その2組に交互に制御データを書き込
み、一方の組の複数ブロックに記憶される制御データを
比較して、読み込みデータを決定できないとき、他方の
組に記憶された前回の制御データを読み込むようにした
ことを特徴とする制御装置。
5. The control device according to claim 4, wherein the non-volatile memory includes two sets each including the plurality of blocks, and the control unit writes control data alternately in the two sets. A control unit configured to read the previous control data stored in the other set when the read data cannot be determined by comparing the control data stored in a plurality of blocks of the set.
【請求項6】 請求項1〜5のいずれか一項に記載の制
御装置において、 前記制御手段は、前記ブロックへの書き込み回数が保証
回数を超えたとき、別のブロックへ制御データを書き込
むようにしたことを特徴とする制御装置。
6. The control device according to claim 1, wherein the control unit writes control data to another block when the number of times of writing to the block exceeds the guaranteed number of times. A control device, characterized in that:
【請求項7】 車両に搭載される請求項1〜6に記載の
制御装置において、 前記制御データは、エンジンの駆動力をトランスミッシ
ョンに伝達するクラッチ制御のためのデータであり、 前記制御手段は、エンジン停止時に前記制御データを前
記複数のブロックに書き込み、その後、エンジン始動時
に前記制御データを前記複数のブロックから読み出すよ
うにしたことを特徴とする制御装置。
7. The control device according to claim 1, which is mounted on a vehicle, wherein the control data is data for controlling a clutch for transmitting a driving force of an engine to a transmission. A control device, wherein the control data is written into the plurality of blocks when the engine is stopped, and then the control data is read from the plurality of blocks when the engine is started.
JP25780299A 1999-09-10 1999-09-10 Control device Pending JP2001084002A (en)

Priority Applications (2)

Application Number Priority Date Filing Date Title
JP25780299A JP2001084002A (en) 1999-09-10 1999-09-10 Control device
DE2000144505 DE10044505B4 (en) 1999-09-10 2000-09-08 Control unit for storing control data in a non-volatile memory

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP25780299A JP2001084002A (en) 1999-09-10 1999-09-10 Control device

Publications (1)

Publication Number Publication Date
JP2001084002A true JP2001084002A (en) 2001-03-30

Family

ID=17311322

Family Applications (1)

Application Number Title Priority Date Filing Date
JP25780299A Pending JP2001084002A (en) 1999-09-10 1999-09-10 Control device

Country Status (2)

Country Link
JP (1) JP2001084002A (en)
DE (1) DE10044505B4 (en)

Cited By (14)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2008291769A (en) * 2007-05-25 2008-12-04 Toyota Motor Corp Control device for actuator
JP2009289049A (en) * 2008-05-29 2009-12-10 Toyota Motor Corp Memory control device
US7744505B2 (en) 2006-11-28 2010-06-29 Jatco Ltd Hydraulic pressure control device for continuously variable transmission
WO2011077519A1 (en) * 2009-12-22 2011-06-30 トヨタ自動車株式会社 Information management device and information management method
US8103403B2 (en) 2007-11-15 2012-01-24 Denso Corporation Vehicular memory management apparatus
JP2013140427A (en) * 2011-12-28 2013-07-18 Daihatsu Motor Co Ltd In-vehicle storage processing device
JP2013161314A (en) * 2012-02-07 2013-08-19 Hi-Lex Corporation Data write abnormality determination device
JP2014029616A (en) * 2012-07-31 2014-02-13 Mega Chips Corp Semiconductor storage device
JP2014035729A (en) * 2012-08-10 2014-02-24 Hitachi Automotive Systems Ltd Vehicle control device
JP2014035747A (en) * 2012-08-10 2014-02-24 Mega Chips Corp Semiconductor memory device
JP2014061793A (en) * 2012-09-21 2014-04-10 Hitachi Automotive Systems Ltd Automotive electronic control unit
JP2015125598A (en) * 2013-12-26 2015-07-06 キヤノン株式会社 Memory control device, memory control method, and program
JP6012918B1 (en) * 2015-11-06 2016-10-25 三菱電機株式会社 Control system and control method
JP2017043354A (en) * 2016-09-05 2017-03-02 日立オートモティブシステムズ株式会社 Automotive electronic control unit

Families Citing this family (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
DE10138602B4 (en) * 2001-08-07 2006-05-11 Robert Bosch Gmbh Vehicle control device and method for operating a vehicle control device
DE10148047B4 (en) * 2001-09-28 2013-06-27 Robert Bosch Gmbh Method and device for securing data in a memory module and memory module
DE102004037785A1 (en) * 2004-08-03 2006-03-16 Endress + Hauser Gmbh + Co. Kg Field device for automation technology
DE102008061091A1 (en) * 2008-12-08 2010-06-10 Robert Bosch Gmbh Method for execution of sequential data access on memory, particularly on flash memory by machine-readable program, involves realizing sequential access on memory by interface
CN106023342B (en) * 2016-05-11 2018-04-13 安徽江淮汽车集团股份有限公司 The data in non-volatile memory management method and system of a kind of automatic gear-box

Family Cites Families (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
DE3616895A1 (en) * 1986-05-20 1987-11-26 Bosch Gmbh Robert METHOD FOR STORING DATA

Cited By (17)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US7744505B2 (en) 2006-11-28 2010-06-29 Jatco Ltd Hydraulic pressure control device for continuously variable transmission
JP2008291769A (en) * 2007-05-25 2008-12-04 Toyota Motor Corp Control device for actuator
US8103403B2 (en) 2007-11-15 2012-01-24 Denso Corporation Vehicular memory management apparatus
JP2009289049A (en) * 2008-05-29 2009-12-10 Toyota Motor Corp Memory control device
US8832537B2 (en) 2009-12-22 2014-09-09 Toyota Jidosha Kabushiki Kaisha Information management apparatus and information managing method
JP5360216B2 (en) * 2009-12-22 2013-12-04 トヨタ自動車株式会社 Information management apparatus and information management method
WO2011077519A1 (en) * 2009-12-22 2011-06-30 トヨタ自動車株式会社 Information management device and information management method
JP2013140427A (en) * 2011-12-28 2013-07-18 Daihatsu Motor Co Ltd In-vehicle storage processing device
JP2013161314A (en) * 2012-02-07 2013-08-19 Hi-Lex Corporation Data write abnormality determination device
JP2014029616A (en) * 2012-07-31 2014-02-13 Mega Chips Corp Semiconductor storage device
JP2014035729A (en) * 2012-08-10 2014-02-24 Hitachi Automotive Systems Ltd Vehicle control device
JP2014035747A (en) * 2012-08-10 2014-02-24 Mega Chips Corp Semiconductor memory device
JP2014061793A (en) * 2012-09-21 2014-04-10 Hitachi Automotive Systems Ltd Automotive electronic control unit
JP2015125598A (en) * 2013-12-26 2015-07-06 キヤノン株式会社 Memory control device, memory control method, and program
JP6012918B1 (en) * 2015-11-06 2016-10-25 三菱電機株式会社 Control system and control method
WO2017077654A1 (en) * 2015-11-06 2017-05-11 三菱電機株式会社 Programmable controller, control system, and control method
JP2017043354A (en) * 2016-09-05 2017-03-02 日立オートモティブシステムズ株式会社 Automotive electronic control unit

Also Published As

Publication number Publication date
DE10044505A1 (en) 2001-03-22
DE10044505B4 (en) 2007-11-29

Similar Documents

Publication Publication Date Title
JP2001084002A (en) Control device
EP2040166B1 (en) Memory management apparatus
US5826211A (en) Electronic controller having excellent control program and control data overwriting capabilities
US20090138137A1 (en) In-vehicle electronic control apparatus having monitoring control circuit
JP5176728B2 (en) Electronic control device for vehicle
US6775609B2 (en) Electronic control unit for vehicle having operation monitoring function and fail-safe function
JP2009145117A (en) Vehicle information storage apparatus
CN114442587B (en) Engine abnormal power-off monitoring method, system and storage medium
JP2001123874A (en) Program rewrite system or memory rewriting system for electronic control device
CN102209960B (en) Method and system for controlling communication between a function computer and a monitoring module
JP2009134497A (en) Reprogramming system for non-volatile memory of in-vehicle control unit
JP2002041367A (en) Vehicle controller
JP3923810B2 (en) Electronic control device for vehicle
US8832537B2 (en) Information management apparatus and information managing method
WO2022262786A1 (en) Method and apparatus for correcting opening degree of accelerator pedal, device, program, medium, controller, and vehicle
JP2009289049A (en) Memory control device
JP5516509B2 (en) Program writing system
JP2003104138A (en) System for monitoring vehicle control device for rewriting of data
JP2012002211A (en) Control system for vehicle
JP2004021520A (en) Electronic controller for vehicle
JP6887277B2 (en) Electronic control device for automobiles
JP5079027B2 (en) Electronic control unit
CN102165385B (en) Controller and method for operating a controller
JP3211708B2 (en) Vehicle control device
JP2006232223A (en) Vehicular electronic control device