[go: up one dir, main page]

JP2006039876A - Data storage device - Google Patents

Data storage device Download PDF

Info

Publication number
JP2006039876A
JP2006039876A JP2004217853A JP2004217853A JP2006039876A JP 2006039876 A JP2006039876 A JP 2006039876A JP 2004217853 A JP2004217853 A JP 2004217853A JP 2004217853 A JP2004217853 A JP 2004217853A JP 2006039876 A JP2006039876 A JP 2006039876A
Authority
JP
Japan
Prior art keywords
data
numerical data
numerical
latest
stored
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
Application number
JP2004217853A
Other languages
Japanese (ja)
Other versions
JP4367275B2 (en
Inventor
Mitsuo Uehata
光生 上畑
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.)
Denso Corp
Original Assignee
Denso Corp
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Denso Corp filed Critical Denso Corp
Priority to JP2004217853A priority Critical patent/JP4367275B2/en
Publication of JP2006039876A publication Critical patent/JP2006039876A/en
Application granted granted Critical
Publication of JP4367275B2 publication Critical patent/JP4367275B2/en
Anticipated expiration legal-status Critical
Expired - Fee Related legal-status Critical Current

Links

Images

Landscapes

  • Techniques For Improving Reliability Of Storages (AREA)
  • Read Only Memory (AREA)
  • Air-Conditioning For Vehicles (AREA)
  • Air Conditioning Control Device (AREA)

Abstract

<P>PROBLEM TO BE SOLVED: To reduce a necessary storage area, while securing reliability in storage data, even when a power source is interrupted during writing in a non-volatile memory. <P>SOLUTION: An air-conditioner ECU 40 includes a CPU 44; and an EEPROM 45 for electrically rewriting a storage content. When control data is updated, writing is performed in the EEPROM 45 by defining the updated control data and numerical data, which is changed in response to a prescribed rule, as a group. The EEPROM 45 holds at least three groups of numerical data and control data which become older in order from the latest. Consequently, it is determined whether the control data is normally written or not through the use of the regularity of the numerical data, so that the necessary storage capacity is reduced, while securing the reliability in the control data. <P>COPYRIGHT: (C)2006,JPO&NCIPI

Description

本発明は、データ記憶装置に関する。   The present invention relates to a data storage device.

従来、データの書き込み中に電源が遮断された場合にも、記憶すべきデータを有効に保持しえる半導体記憶装置が提案されている(例えば、特許文献1参照。)。この特許文献1に開示されている半導体記憶装置では、記憶すべきデータが、バックアップデータ及びそのミラーデータの組であり、この1組のバックアップデータ及びそのミラーデータを、不揮発性メモリであるEEPROMの少なくとも2つの記憶領域に順次書き込む。   Conventionally, there has been proposed a semiconductor memory device capable of effectively holding data to be stored even when the power is cut off during data writing (see, for example, Patent Document 1). In the semiconductor memory device disclosed in Patent Document 1, the data to be stored is a set of backup data and its mirror data, and this one set of backup data and its mirror data is stored in an EEPROM as a nonvolatile memory. Write sequentially to at least two storage areas.

例えば、1組のバックアップデータ及びそのミラーデータは、EEPROMにおいて30番地毎に3箇所に記憶される。一例として、バックアップデータは、0番地、30番地、60番地に、ミラーデータは1番地、31番地、61番地に記憶される。   For example, a set of backup data and its mirror data are stored in three locations every 30 addresses in the EEPROM. As an example, backup data is stored at addresses 0, 30, and 60, and mirror data is stored at addresses 1, 31, and 61.

そして、EEPROMへのデータ書き込み処理は、それら6個のアドレスに対して、それぞれ個別に書き込み命令がなされることによって実行される。このため、上述した1組のバックアップデータ及びミラーデータの書き込み処理中に、EEPROMへの電源の供給が遮断されても、その遮断時に書き込まれていたアドレスのデータのみが無効となり、他のアドレスには、更新後のデータもしくは更新前のデータが保持される。
特開平9−293028号公報
The data writing process to the EEPROM is executed by individually writing commands to these six addresses. For this reason, even if the supply of power to the EEPROM is interrupted during the above-described process of writing a set of backup data and mirror data, only the address data written at the time of the interruption becomes invalid, and other addresses are stored. Holds data after update or data before update.
Japanese Patent Laid-Open No. 9-293028

しかしながら、従来装置では、書き込み処理中の電源の遮断にかかわらず、記憶すべきデータを保持するため、バックアップデータを少なくとも2箇所、好ましくは3箇所の番地に記憶する。さらに、このバックアップデータの信頼性を確保するために、バックアップデータのミラーデータも、同数記憶する。   However, in the conventional apparatus, the backup data is stored in at least two, preferably three, addresses in order to retain the data to be stored regardless of the interruption of the power supply during the writing process. Further, in order to ensure the reliability of the backup data, the same number of mirror data of the backup data is stored.

このため、1つのバックアップデータを記憶するために多数の記憶領域が必要となる。従って、記憶すべきデータ数が増えれば、不揮発性メモリにおいて必要な記憶容量も膨大なものとなってしまう。   Therefore, a large number of storage areas are required to store one backup data. Therefore, if the number of data to be stored increases, the storage capacity required in the nonvolatile memory will become enormous.

本発明は、上述した点に鑑みてなされたもので、不揮発性メモリへの書き込み中に電源の遮断が生じた場合であっても、記憶データの信頼性を確保しながら、必要な記憶領域を削減することが可能なデータ記憶装置を提供することを目的とする。   The present invention has been made in view of the above points, and even when a power interruption occurs during writing to a nonvolatile memory, a necessary storage area is secured while ensuring the reliability of stored data. It is an object to provide a data storage device that can be reduced.

上記目的を達成するために、請求項1に記載のデータ記憶装置は、
記憶内容を電気的に書き換え可能な不揮発性メモリと、
所定の記憶データを、不揮発性メモリに書き込むデータ書き込み手段とを備えて、
電源がオフされたときにも、記憶データを保持可能に構成されたデータ記憶装置であって、
データ書き込み手段は、所定の数値範囲において、記憶データの書き込みごとに所定の規則に従って変化する数値データを生成する数値データ生成手段を有し、数値データと記憶データとを組として、不揮発性メモリに書き込むものであり、
不揮発性メモリは、少なくとも3組の数値データ及び記憶データを記憶する領域を有し、さらに、
不揮発性メモリに記憶された少なくとも3組の数値データ及び記憶データを読み出して、その中の数値データを相互比較して、数値データが所定の規則に従って変化しているか否かを判定する判定手段を備え、
判定手段によって、数値データが所定の規則に従って変化していると判定された場合に、数値データにおける最新数値データを特定し、その最新数値データに対応する記憶データを最新の記憶データとすることを特徴とする。
In order to achieve the above object, a data storage device according to claim 1 comprises:
Non-volatile memory that can electrically rewrite the memory contents,
A data writing means for writing predetermined storage data into the nonvolatile memory;
A data storage device configured to retain stored data even when the power is turned off,
The data writing means has numerical data generating means for generating numerical data that changes according to a predetermined rule every time the stored data is written within a predetermined numerical range, and sets the numerical data and the stored data as a set in the nonvolatile memory. Write,
The nonvolatile memory has an area for storing at least three sets of numerical data and storage data, and
Determining means for reading at least three sets of numerical data and stored data stored in a non-volatile memory and comparing the numerical data in the data to determine whether the numerical data is changing according to a predetermined rule; Prepared,
When it is determined by the determination means that the numerical data is changing according to a predetermined rule, the latest numerical data in the numerical data is specified, and the storage data corresponding to the latest numerical data is set as the latest stored data. Features.

上述したように、請求項1に記載のデータ記憶装置では、記憶データが正しく書き込まれているか否かを判別するために、記憶データの書き込みごとに所定の規則で変化する数値データを用いる。ここで、不揮発性メモリに記憶されている数値データを相互比較した結果、所定の規則に従って変化していると判定された場合、その数値データは、不揮発性メモリに正しく書き込まれたと考えられる。記憶データは数値データと組をなして、略同時期に不揮発性メモリに書き込まれるので、数値データの書き込みが正常に行なわれた場合には、記憶データも正常に書き込まれた可能性が非常に高い。このような理由から、数値データを用いて、記憶データが正しく書き込まれたか否かを判別できるのである。従って、不揮発性メモリへの書き込み中に電源の遮断が生じた場合であっても、記憶データの信頼性を確保することができる。   As described above, in the data storage device according to the first aspect, in order to determine whether or not the stored data is correctly written, numerical data that changes according to a predetermined rule every time the stored data is written is used. Here, when it is determined that the numerical data stored in the nonvolatile memory is changed according to a predetermined rule as a result of mutual comparison, it is considered that the numerical data is correctly written in the nonvolatile memory. The stored data is paired with the numerical data and written to the non-volatile memory at approximately the same time. Therefore, if the numerical data is normally written, the stored data may have been written normally. high. For this reason, it is possible to determine whether or not the stored data is correctly written using numerical data. Therefore, the reliability of stored data can be ensured even when the power supply is interrupted during writing to the nonvolatile memory.

そして、数値データを用いることにより、従来のように、1つの記憶データを記憶するために、不揮発性メモリにおいて複数箇所へ書き込みを行なう必要がなくなる。この結果、従来に比較して、保存すべきデータを記憶するための記憶領域を削減することが可能になる。   By using numerical data, there is no need to write in a plurality of locations in the nonvolatile memory in order to store one piece of stored data as in the prior art. As a result, it is possible to reduce a storage area for storing data to be saved, as compared with the conventional case.

請求項2に記載したように、車両に搭載された車載機器を制御する制御部を備え、記憶データは、制御部が車載機器の制御に使用する制御データであることが好ましい。通常、車両に搭載された車載機器やその制御部は、イグニッションスイッチがオフされたときに電源の供給が停止される。車両の運転者によっていつイグニッションスイッチがオフされるかは予測できないので、車載機器を制御するために制御部が使用する制御データを記憶するために、上述した構成を採用することが好ましい。   According to a second aspect of the present invention, it is preferable that a control unit for controlling the in-vehicle device mounted on the vehicle is provided, and the stored data is control data used by the control unit for controlling the in-vehicle device. Normally, the on-vehicle equipment mounted on the vehicle and its control unit stop supplying power when the ignition switch is turned off. Since it cannot be predicted when the ignition switch is turned off by the driver of the vehicle, it is preferable to employ the above-described configuration in order to store control data used by the control unit to control the in-vehicle device.

請求項3に記載したように、数値データのデータサイズは、記憶データのデータサイズより小さいことが好ましい。これにより、不揮発性メモリにおける必要な記憶容量をより削減することができる。   As described in claim 3, the data size of the numerical data is preferably smaller than the data size of the stored data. Thereby, the required storage capacity in the nonvolatile memory can be further reduced.

請求項4に記載したように、データ書き込み手段は、不揮発性メモリが最新の少なくとも3組の数値データ及び記憶データを記憶できるように、最も古い1組の数値データ及び記憶データを記憶している領域に、最新の1組の数値データ及び記憶データを上書き書き込みすることが好ましい。このように、最も古い1組の数値データ及び記憶データに対して最新の1組の数値データ及び記憶データを上書きすることにより、必要な記憶領域のサイズを小さく保ちながら、常に、最新の少なくとも3組の数値データ及び記憶データを記憶することができる。   The data writing means stores the oldest set of numerical data and stored data so that the nonvolatile memory can store at least the latest three sets of numerical data and stored data. It is preferable to overwrite the latest set of numerical data and stored data in the area. In this way, by overwriting the latest set of numerical data and storage data with respect to the oldest set of numerical data and storage data, the size of the necessary storage area is always kept small, and the latest at least 3 A set of numerical data and stored data can be stored.

請求項5に記載したように、データ書き込み手段は、記憶データ、数値データの順に不揮発性メモリに書き込むことが好ましい。数値データ、記憶データの順に不揮発性メモリに書き込む場合、数値データの書き込み後、記憶データの書き込み中に電源が遮断されると、数値データの書き込みは正常であるが、記憶データは異常な書き込みがなされる場合がありえる。この場合、数値データは所定の規則に従って変化しているにも係らず、記憶データに異常が生じてしまう。このような問題の発生は、記憶データ、数値データの順に不揮発性メモリに書き込むことにより、防止することができる。   According to a fifth aspect of the present invention, the data writing means preferably writes the storage data and numerical data in the nonvolatile memory in this order. When writing numerical data in the order of stored data to the nonvolatile memory, if the power is turned off while the stored data is being written after the numerical data is written, the numerical data is written normally, but the stored data is written abnormally. It can be done. In this case, although the numerical data changes in accordance with a predetermined rule, an abnormality occurs in the stored data. Such a problem can be prevented by writing the stored data and the numerical data in the nonvolatile memory in this order.

請求項6に記載したように、不揮発性メモリは、データ書き込み手段によって最初の1組の数値データ及び記憶データが書き込まれる前に、数値データを記憶する全ての領域に、数値範囲における初期値が書き込まれていることが好ましい。これにより、少なくとも3組の数値データ及び記憶データが不揮発性メモリに書き込まれる以前においても、判定手段は、この初期値を数値データとして読み出し、数値データが所定の規則に従って変化しているか否かを判定することができる。   According to the sixth aspect of the present invention, the initial value in the numerical range is stored in all the areas storing the numerical data before the first set of numerical data and stored data is written by the data writing means. It is preferably written. Thereby, even before at least three sets of numerical data and stored data are written in the non-volatile memory, the determination means reads the initial value as numerical data, and determines whether the numerical data changes according to a predetermined rule. Can be determined.

請求項7に記載したように、データ書き込み手段は、次に書き込むべき数値データが所定の数値範囲における限界値を超える場合、初期値を不揮発性メモリに書き込むことが好ましい。これにより、所定の数値範囲において、数値データは、記憶データの書き込みごとに所定の規則に従う変化を繰り返すことができる。   The data writing means preferably writes the initial value in the nonvolatile memory when the numerical data to be written next exceeds a limit value in a predetermined numerical range. Thereby, in the predetermined numerical range, the numerical data can repeat the change according to the predetermined rule every time the stored data is written.

請求項8に記載したように、判定手段は、数値データが限界値と初期値とを含む場合、数値データは所定の規則に従って変化していると判定することが好ましい。これにより、判定手段は、限界値と初期値とを相互比較したときに、所定の規則に従って変化していないと誤って判定することを防止することができる。   Preferably, the determination means determines that the numerical data changes according to a predetermined rule when the numerical data includes a limit value and an initial value. Thereby, the determination means can prevent erroneously determining that it has not changed according to a predetermined rule when the limit value and the initial value are compared with each other.

請求項9に記載したように、判定手段は、3つの数値データの中から、2つの数値データを順次選んで比較することにより、計3回の数値データの相互比較を行なうものであり、この計3回の相互比較において、数値データが所定の規則に従って変化しているとの判定が2回なされたとき、3組の数値データ及び記憶データの書き込みが正常であるとみなし、3組の数値データ及び記憶データの中から、最新数値データを特定するとともに、その最新数値データに対応する記憶データを最新の記憶データとすることが好ましい。   As described in claim 9, the determination means performs a mutual comparison of the numerical data three times in total by sequentially selecting and comparing the two numerical data from the three numerical data. In a total of three inter-comparisons, when it is determined twice that the numerical data has changed according to a predetermined rule, it is considered that the writing of three sets of numerical data and stored data is normal, and three sets of numerical values It is preferable that the latest numerical data is specified from the data and the stored data, and the storage data corresponding to the latest numerical data is the latest stored data.

3つの数値データがすべて正しく書き込まれている場合、3つの数値データの中から2つの数値データを順次選んで計3回の数値データの相互比較を行なうと、最新の数値データと前回の数値データ、及び前回の数値データと前々回の数値データとの比較においては、所定の規則に従う変化を示すことになる。それに対して、最新の数値データと前々回の数値データとの比較においては、所定の規則とは異なる変化を示す。このように、計3回の数値データの相互比較において、数値データが所定の規則に従って変化しているとの判定が2回なされた場合には、3つの数値データのすべてが正しく書き込まれているとみなすことができる。   If all three numerical data are written correctly, the two numerical data are selected from the three numerical data in sequence and the numerical data is compared three times in total. In the comparison between the previous numerical data and the previous numerical data, changes according to a predetermined rule are shown. On the other hand, in the comparison between the latest numerical data and the previous numerical data, changes different from the predetermined rule are shown. In this way, in the mutual comparison of the numerical data for a total of three times, when it is determined twice that the numerical data is changing according to a predetermined rule, all three numerical data are correctly written. Can be considered.

請求項10に記載したように、計3回の相互比較において、数値データが所定の規則に従って変化しているとの判定が1回なされたとき、1組の数値データ及び記憶データの書き込みが異常であるが、2組の数値データ及び記憶データの書き込みが正常であるとみなし、2組の数値データ及び記憶データの中から、最新数値データを特定するとともに、その最新数値データに対応する記憶データを最新の記憶データとすることが好ましい。   As described in claim 10, when a determination is made that the numerical data has changed in accordance with a predetermined rule in a total of three intercomparisons, writing of one set of numerical data and stored data is abnormal. However, the writing of two sets of numerical data and stored data is considered normal, and the latest numerical data is specified from the two sets of numerical data and stored data, and the stored data corresponding to the latest numerical data Is the latest stored data.

3つの数値データの内、1つの数値データの書き込みが異常であると、その1つの数値データは他の2つの数値データとそれぞれ比較されるので、所定の規則とは異なる変化をしているとの判定が2回なされることになる。換言すれば、3つの数値データの内、1つの数値データの書き込みが異常であると、所定の規則に従って変化しているとの判定は1回のみしかなされない。   If the writing of one numerical data is abnormal among the three numerical data, the one numerical data is compared with the other two numerical data, respectively. This determination is made twice. In other words, if writing of one numerical data out of three numerical data is abnormal, it is determined only once that it has changed according to a predetermined rule.

ただし、この場合、3つの数値データのうち2つの数値データは正常に書き込まれていると考えられるので、その2つの数値データにおける最新数値データを特定することにより、その最新数値データに対応する記憶データを最新の記憶データとすることが可能である。この場合、実際には最新の記憶データではない可能性もあるが、少なくとも前回の記憶データが最新の記憶データとされる。   However, in this case, it is considered that two of the three numerical data are normally written. Therefore, by specifying the latest numerical data in the two numerical data, the memory corresponding to the latest numerical data is stored. The data can be the latest stored data. In this case, although there is a possibility that it is not actually the latest stored data, at least the previous stored data is the latest stored data.

このように、少なくとも3つの数値データを用いることにより、1つの数値データに異常が生じても、最新の記憶データもしくはそれに近似した記憶データを保持することが可能になる。   As described above, by using at least three numerical data, even if an abnormality occurs in one numerical data, it is possible to hold the latest stored data or stored data approximate thereto.

請求項11に記載したように、計3回の相互比較において、数値データが所定の規則に従って変化していないとの判定が3回なされたとき、3組の数値データ及び記憶データの書き込みが異常であるとみなし、予め定められたデフォルトデータを最新の記憶データとすることが好ましい。   As described in claim 11, when it is determined that the numerical data is not changed in accordance with a predetermined rule in three times of total comparison, writing of three sets of numerical data and stored data is abnormal. It is preferable that the default data set in advance be the latest stored data.

計3回の相互比較において、数値データが所定の規則に従って変化していないとの判定が3回なされるのは、少なくとも2つの数値データに異常が生じている状況である。この場合、いずれの数値データが正常であるか特定できないので、3組の数値データ及び記憶データの書き込みが異常であったとみなす。そして、記憶されている記憶データから最新の記憶データを特定することができないので、予め定められたデフォルトデータを最新の記憶データとする。   In a total of three mutual comparisons, it is determined that the numerical data is not changed according to a predetermined rule three times because there is an abnormality in at least two numerical data. In this case, since it cannot be specified which numerical data is normal, it is considered that writing of the three sets of numerical data and stored data is abnormal. Since the latest stored data cannot be specified from the stored data, the default data set in advance is set as the latest stored data.

以下、本発明の好ましい実施形態について図面を参照して説明する。本実施形態では、データ記憶装置が車両用制御装置としてのオートエアコン制御装置100に適用された例を説明する。オートエアコン制御装置100は、乗員が車室内の温度を希望の温度に設定すると、空調システムの吹き出し温度、風量、風の吹き出しパターンなどを自動調節することにより車室外の温度や日射の強さによる影響を自動補正し、車室内温度を常に一定に保つようにコントロールするシステムである。図1は、本実施形態によるオートエアコン制御装置100の概略構成を示すブロック図である。以下、本実施形態によるオートエアコン制御装置100について詳細に説明する。   Hereinafter, preferred embodiments of the present invention will be described with reference to the drawings. In the present embodiment, an example will be described in which the data storage device is applied to an automatic air conditioner control device 100 as a vehicle control device. When the occupant sets the temperature in the passenger compartment to a desired temperature, the automatic air conditioner control device 100 automatically adjusts the air outlet temperature, the air volume, the air blowing pattern, etc. of the air conditioning system according to the temperature outside the passenger compartment and the intensity of solar radiation. It is a system that automatically corrects the influence and controls the vehicle interior temperature to be kept constant. FIG. 1 is a block diagram showing a schematic configuration of an automatic air conditioner control apparatus 100 according to the present embodiment. Hereinafter, the automatic air conditioner control apparatus 100 according to the present embodiment will be described in detail.

図1に示すように、オートエアコン制御装置100のエアコンECU40には、スイッチ入力回路10、センサ入力回路20、及びパネル表示回路30が接続されている。さらに、モータ駆動回路50、リレー駆動回路60、及び風量調整用パワートランジスタ駆動回路70が接続されている。   As shown in FIG. 1, a switch input circuit 10, a sensor input circuit 20, and a panel display circuit 30 are connected to the air conditioner ECU 40 of the automatic air conditioner control device 100. Further, a motor drive circuit 50, a relay drive circuit 60, and an air volume adjusting power transistor drive circuit 70 are connected.

スイッチ入力回路10は、オートエアコンの操作パネル(図示せず)の操作に対応するスイッチ信号をエアコンECU40に入力する回路である。例えば、操作パネルには、温度設定スイッチの他、コンプレッサをオン/オフするエアコンスイッチ、風量調節スイッチ、吹き出し口切換スイッチ、外気導入、内気循環の切換スイッチ等が設けられている。これらのスイッチのいずれかが操作されると、その操作に対応するスイッチ信号がエアコンECU40に入力される。   The switch input circuit 10 is a circuit that inputs a switch signal corresponding to an operation of an operation panel (not shown) of the automatic air conditioner to the air conditioner ECU 40. For example, in addition to the temperature setting switch, the operation panel is provided with an air conditioner switch for turning on / off the compressor, an air volume adjustment switch, a blowout port changeover switch, an outside air introduction switch, an inside air circulation changeover switch, and the like. When any one of these switches is operated, a switch signal corresponding to the operation is input to the air conditioner ECU 40.

センサ入力回路20は、A/D変換回路等からなり、車室内外の温度を検出する内外気温センサの検出値、日射量を検出する日射センサの検出値等をデジタル信号に変化して、エアコンECU40に入力する。   The sensor input circuit 20 is composed of an A / D conversion circuit or the like, and changes the detected value of the inside / outside air temperature sensor that detects the temperature inside and outside the vehicle interior, the detected value of the solar radiation sensor that detects the amount of solar radiation, etc. into a digital signal. Input to the ECU 40.

パネル表示回路30は、エアコンECU40から入力された表示信号に基づく表示内容を、操作パネルの表示装置(図示せず)に表示する回路である。例えば、エアコンECU40は、乗員によって設定された温度や、外気温センサによって検出された外気温度、さらには、風量、風の吹き出しパターンなどを、操作パネルの表示装置に表示させる。   The panel display circuit 30 is a circuit that displays display contents based on a display signal input from the air conditioner ECU 40 on a display device (not shown) of the operation panel. For example, the air conditioner ECU 40 displays the temperature set by the occupant, the outside air temperature detected by the outside air temperature sensor, the air volume, the wind blowing pattern, and the like on the display device of the operation panel.

次に、オートエアコン制御装置100のエアコンECU40の構成について、図2を用いて説明する。図2は、本実施形態によるエアコンECU40の構成を示すブロック図である。同図に示すようにエアコンECU40は、定電圧回路43、CPU44、EEPROM45、及びシリアル通信線46によって構成され、キースイッチ42を介して、車両に搭載されたバッテリ41から電力を供給されることによって動作する。   Next, the configuration of the air conditioner ECU 40 of the automatic air conditioner control device 100 will be described with reference to FIG. FIG. 2 is a block diagram illustrating a configuration of the air conditioner ECU 40 according to the present embodiment. As shown in the figure, the air conditioner ECU 40 includes a constant voltage circuit 43, a CPU 44, an EEPROM 45, and a serial communication line 46, and is supplied with electric power from a battery 41 mounted on the vehicle via a key switch 42. Operate.

キースイッチ42は、バッテリ41の電力をオートエアコン制御装置100に供給し又は遮断するために設けられている。キースイッチ42をオンすることにより、オートエアコン制御装置100はバッテリ41からの電力の供給を受けて、動作をすることができる。なお、キースイッチ41としては、エンジン始動に伴って自動的にオンにされるものや、直接ユーザーが操作することによるスイッチ等がある。   The key switch 42 is provided to supply or cut off the power of the battery 41 to the automatic air conditioner control device 100. By turning on the key switch 42, the automatic air conditioner control device 100 can operate by receiving power supplied from the battery 41. The key switch 41 includes a switch that is automatically turned on when the engine is started, a switch that is directly operated by the user, and the like.

定電圧回路43は、キースイッチ42を介して、バッテリ41から12Vの直流電圧を受けて5Vの定電圧を発生する。   The constant voltage circuit 43 receives a 12V DC voltage from the battery 41 via the key switch 42 and generates a 5V constant voltage.

CPU44は、所定のプログラムに従って、各種の演算処理を実行して、後述するモータ駆動回路50、リレー駆動回路60、及び風量調整用パワートランジスタ駆動回路70を制御するための制御信号を算出する。具体的には、CPU44は、オートエアコンの操作パネルからのスイッチ信号、各所に設置されたセンサからのセンサ信号に基づいて、各駆動回路50,60,70に対する制御信号を算出する。   The CPU 44 executes various arithmetic processes according to a predetermined program, and calculates control signals for controlling a motor drive circuit 50, a relay drive circuit 60, and an air volume adjusting power transistor drive circuit 70 described later. Specifically, the CPU 44 calculates control signals for the drive circuits 50, 60, and 70 based on switch signals from the operation panel of the auto air conditioner and sensor signals from sensors installed in various places.

EEPROM45は、記憶内容を電気的に書き換え可能な不揮発性メモリの1種である。このEEPROM45には、オートエアコンの制御において使用される制御データ(例えば、設定温度データ、エアコンスイッチオン/オフデータ等)と、制御データの更新ごとに、所定の規則に従って変化する数値データとを組として、制御データの種類ごとに、少なくとも3組の数値データ及び制御データが記憶される。このEEPROM45は、CPU44がシリアル通信線46を介して接続されており、CPU44によってデータの書き込み及び読出しがなされる。   The EEPROM 45 is one type of nonvolatile memory that can electrically rewrite the stored contents. The EEPROM 45 includes control data (for example, set temperature data, air conditioner switch on / off data, etc.) used in the control of the auto air conditioner and numerical data that changes according to a predetermined rule every time the control data is updated. For each type of control data, at least three sets of numerical data and control data are stored. The EEPROM 45 is connected to a CPU 44 via a serial communication line 46, and data is written and read by the CPU 44.

上述した制御データはオートエアコン制御の実行時において更新されることがある。そして、キースイッチ42がいったんオフされ、再びオンとされた後にオートエアコン制御を実行する場合、前回までのオートエアコン制御実行時において更新された最新の制御データに従って、制御を開始する必要がある。このため、CPU44は制御データをEEPROM45に記憶させることにより、制御データのバックアップを行なう。そして、キースイッチ42がオンされた直後に、CPU44はEEPROM45に記憶された制御データを読み込んで、その制御データに基づいてオートエアコン制御を開始するのである。   The above-described control data may be updated when the automatic air conditioner control is executed. When the auto air conditioner control is executed after the key switch 42 is turned off and turned on again, it is necessary to start the control according to the latest control data updated at the time of the previous auto air conditioner control execution. Therefore, the CPU 44 backs up the control data by storing the control data in the EEPROM 45. Immediately after the key switch 42 is turned on, the CPU 44 reads the control data stored in the EEPROM 45 and starts the automatic air conditioner control based on the control data.

モータ駆動回路50は、オートエアコンにおいて使用される各サーボモータに関して、モータ正転/逆転の切替え、目標位置での停止、モータロック時の過電流保護(モータ印加電圧の遮断)を行なう回路である。具体的には、モータ駆動回路50は、エアコンECU40からの制御信号に基づいて、吹き出し温度を調節するエアミックス開度調節用サーボモータ、吹出し口切替え用サーボモータ、及び吸込み口切替え用サーボモータを制御する。   The motor drive circuit 50 is a circuit that performs forward / reverse motor switching, stop at a target position, and overcurrent protection (motor voltage cut-off) when the motor is locked for each servo motor used in an automatic air conditioner. . Specifically, the motor drive circuit 50 includes an air mix opening degree adjusting servo motor for adjusting the blowing temperature, a blowout port switching servo motor, and a suction port switching servo motor based on a control signal from the air conditioner ECU 40. Control.

リレー駆動回路60は、エアコンECU40からの制御信号に基づいて、コンプレッサとエンジンとの連結/遮断を切り換える電磁クラッチへの通電を制御するものである。具体的には、エアコンスイッチがオンされたとき、エアコンECU40からコンプレッサとエンジンとを連結するための制御信号が出力され、これを受けてリレー駆動回路は、電磁クラッチの通電回路におけるリレースイッチをオンする。これにより、電磁クラッチが作動して、コンプレッサはエンジンの回転によって駆動される状態となる。   The relay drive circuit 60 controls energization to the electromagnetic clutch that switches connection / disconnection between the compressor and the engine based on a control signal from the air conditioner ECU 40. Specifically, when the air conditioner switch is turned on, the air conditioner ECU 40 outputs a control signal for connecting the compressor and the engine, and in response to this, the relay drive circuit turns on the relay switch in the energization circuit of the electromagnetic clutch. To do. As a result, the electromagnetic clutch is operated, and the compressor is driven by the rotation of the engine.

風量調整用パワートランジスタ駆動回路70は、エアコンECU40からデジタル信号で出力された風量信号をアナログ信号に変換して、送風機の速度調節用パワートランジスタを制御する回路である。これにより、吹き出し口から車室内に送出される風量が制御される。   The air volume adjusting power transistor drive circuit 70 is a circuit that converts the air volume signal output as a digital signal from the air conditioner ECU 40 into an analog signal and controls the speed adjusting power transistor of the blower. As a result, the amount of air sent from the outlet to the vehicle compartment is controlled.

次に、本実施形態におけるEEPROM45への数値データ及び制御データの書き込みに関して説明する。   Next, the writing of numerical data and control data to the EEPROM 45 in this embodiment will be described.

本実施形態では、EEPROM45の記憶領域に書き込まれた1つの制御データが異常であった場合であっても、EEPROM45による制御データのバックアップ機能が維持されるように、制御データの種類ごとに、最新の1組の数値データ及び制御データの他に、少なくとも2組の前回及び前々回の数値データ及び制御データを記憶させる。すなわち、EEPROM45では、各制御データに関して、少なくとも最新及び過去の3組の数値データ及び制御データを記憶するための領域が確保されている。   In the present embodiment, the latest data for each type of control data is maintained so that the control data backup function by the EEPROM 45 is maintained even if one control data written in the storage area of the EEPROM 45 is abnormal. In addition to the one set of numerical data and control data, at least two sets of previous numerical data and control data are stored. That is, in the EEPROM 45, an area for storing at least the latest and past three sets of numerical data and control data is secured for each control data.

CPU44は、制御データの書き込みごとに所定の規則で変化する数値データを生成し、制御データとともに、EEPROM45に書き込む。この際、CPU44は、EEPROM45に既に書き込まれている数値データを読み出して、この数値データに基づいて、所定の規則に従って変化する、次に書き込むべき数値データを生成する。さらに、読み出した数値データから、最も古い数値データと制御データの組を特定し、それに上書きするように、最新の1組の数値データと制御データとを書き込む。これにより、EEPROM45は、必要な記憶領域のサイズを小さく保ちながら、常に、最新のものから順に古くなる少なくとも3組の数値データ及び記憶データを記憶することができる。   The CPU 44 generates numerical data that changes according to a predetermined rule every time the control data is written, and writes the numerical data in the EEPROM 45 together with the control data. At this time, the CPU 44 reads the numerical data already written in the EEPROM 45, and generates the numerical data to be written next, which changes according to a predetermined rule, based on the numerical data. Furthermore, the oldest set of numerical data and control data is specified from the read numerical data, and the latest set of numerical data and control data is written so as to overwrite it. Thus, the EEPROM 45 can always store at least three sets of numerical data and storage data that become older in order from the latest one, while keeping the size of the necessary storage area small.

なお、本実施形態における、制御データのデータサイズは4バイトであり、数値データのデータサイズは1バイトである。この数値データは、制御データの正常/異常を判別するためにも利用される。本実施形態では、このように、制御データよりもデータサイズの小さい数値データを用いて、制御データの正常/異常を判別するようにしている。このため、制御データの信頼性を確保しながら、EEPROM45における制御データの記憶に必要な記憶容量をより低減させることができる。   In this embodiment, the data size of the control data is 4 bytes, and the data size of the numerical data is 1 byte. This numerical data is also used to determine whether the control data is normal or abnormal. In the present embodiment, normal / abnormal control data is determined using numerical data having a data size smaller than that of the control data. For this reason, the storage capacity required for storing the control data in the EEPROM 45 can be further reduced while ensuring the reliability of the control data.

ここで、数値データを利用した、制御データの正常/異常の判別原理について説明する。上述したように、数値データとして、制御データの書き込みごとに所定の規則で変化する数値データが生成され、制御データとともにEEPROM45に記憶される。一方、EEPROM45には、最新のものから順に古くなる少なくとも3組の数値データ及び記憶データが記憶されている。このEEPROM45に記憶されている少なくとも3つの数値データを読み出して相互比較した結果、所定の規則に従って変化していると判定された場合、それらの数値データは、EEPROM45に正しく書き込まれたと考えられる。   Here, the principle of control data normality / abnormality using numerical data will be described. As described above, numerical data that changes according to a predetermined rule every time the control data is written is generated as numerical data, and is stored in the EEPROM 45 together with the control data. On the other hand, the EEPROM 45 stores at least three sets of numerical data and storage data that become older in order from the latest. As a result of reading and comparing the at least three numerical data stored in the EEPROM 45, it is considered that the numerical data is correctly written in the EEPROM 45 when it is determined that the data has changed according to a predetermined rule.

制御データは数値データと組をなして、略同時期にEEPROM45に書き込まれるので、数値データの書き込みが正常に行なわれた場合には、制御データもEEPROM45に正常に書き込まれた可能性が非常に高い。このような理由から、数値データの規則性を用いて、制御データが正しく書き込まれたか否かを判別できるのである。   Since the control data forms a pair with the numerical data and is written into the EEPROM 45 at substantially the same time, if the numerical data is normally written, there is a possibility that the control data is also normally written into the EEPROM 45. high. For this reason, it is possible to determine whether or not the control data has been correctly written using the regularity of the numerical data.

また、本実施形態では、CPU44は、制御データ、数値データの順にEEPROM45に書き込むようにしている。これは、数値データは正常であるが、制御データが異常となる状況を確実に回避するためである。詳しく説明すると、数値データ、制御データの順に不揮発性メモリに書き込む場合において、数値データの書き込み後、制御データの書き込み中に電源が遮断されると、数値データの書き込みは正常であるが、制御データは異常な書き込みがなされる場合がありえる。この場合、数値データは所定の規則に従って変化しているにも係らず、制御データに異常が生じてしまう。このため、本実施形態では、制御データ、数値のデータの順にEEPROM45に書き込むようにしているのである。   In this embodiment, the CPU 44 writes the control data and numerical data in the EEPROM 45 in this order. This is for avoiding a situation where the numerical data is normal but the control data is abnormal. In more detail, when writing numerical data and control data to the nonvolatile memory in this order, if the power is turned off while the control data is being written after the numerical data is written, the numerical data is written normally. May be written abnormally. In this case, although the numerical data changes according to a predetermined rule, an abnormality occurs in the control data. For this reason, in this embodiment, control data and numerical data are written in the EEPROM 45 in this order.

さらに、本実施形態では、EEPROM45は、CPU44によって最初の1組の数値データ及び制御データが書き込まれる前に、数値データを記憶する全ての記憶領域に、数値データの数値範囲「00〜FF」における初期値「00」が書き込まれている。これにより、少なくとも3組の数値データ及び制御データがEEPROM45に書き込まれる以前においても、CPU44は、この初期値「00」を数値データとして読み出し、数値データが所定の規則に従って変化しているか否かを判定することができる。   Further, in the present embodiment, the EEPROM 45 stores the numerical data in the numerical value range “00 to FF” in all the storage areas for storing the numerical data before the CPU 44 writes the first set of numerical data and control data. The initial value “00” is written. Thus, even before at least three sets of numerical data and control data are written in the EEPROM 45, the CPU 44 reads the initial value “00” as numerical data, and determines whether or not the numerical data has changed according to a predetermined rule. Can be determined.

次に、本実施形態における、数値データに関する所定の規則について具体的に説明する。本実施形態における所定の規則は、制御データの更新ごとに、更新前の最新数値データに「01」を加算するというものである。具体的には、制御データの1回目の更新がされた場合、初期値「00」に「01」を加算することによって、更新された数値データは「01」になる。制御データの2回目の更新がされた場合、更新前の最新数値データ「01」に「01」を加算することによって、更新された数値データは「02」になる。   Next, specific rules regarding numerical data in the present embodiment will be specifically described. The predetermined rule in this embodiment is to add “01” to the latest numerical data before update every time the control data is updated. Specifically, when the control data is updated for the first time, the updated numerical data becomes “01” by adding “01” to the initial value “00”. When the control data is updated for the second time, the updated numerical data becomes “02” by adding “01” to the latest numerical data “01” before the update.

また、本実施形態では、CPU44は、次に書き込むべき数値データが、数値範囲「00〜FF」における限界値「FF」を超える場合、初期値「00」をEEPROM45に書き込む。これにより、「00〜FF」において、数値データは、制御データの更新ごとに所定の規則に従って変化を繰り返すことができる。   In the present embodiment, the CPU 44 writes the initial value “00” in the EEPROM 45 when the numerical data to be written next exceeds the limit value “FF” in the numerical value range “00 to FF”. Thereby, in “00 to FF”, the numerical data can be changed in accordance with a predetermined rule every time the control data is updated.

なお、本実施形態では、数値データが限界値「FF」を超える場合、初期値「00」をEEPROM45に書き込むので、少なくとも3つの数値データが限界値「FF」と初期値「00」とを含む場合、数値データ「00」と「FF」は所定の規則に従って変化していると判定する。これにより、CPU44は、限界値「FF」と初期値「00」とを相互比較し、初期値「00」が所定の規則に従って変化していないと誤って判定することを防止することができる。   In the present embodiment, when the numerical data exceeds the limit value “FF”, the initial value “00” is written in the EEPROM 45, so that at least three numerical data include the limit value “FF” and the initial value “00”. In this case, it is determined that the numerical data “00” and “FF” are changed according to a predetermined rule. Thus, the CPU 44 can compare the limit value “FF” with the initial value “00” and prevent erroneous determination that the initial value “00” has not changed according to a predetermined rule.

次に、数値データと制御データとを組としたデータの、EEPROM45への書き込みの一例を、図3を用いて具体的に説明する。図3は、EEPROM45のアドレスマップを示す図である。   Next, an example of writing data, which is a set of numerical data and control data, into the EEPROM 45 will be specifically described with reference to FIG. FIG. 3 is a diagram showing an address map of the EEPROM 45.

図3の例に示すように、制御データの種類ごとに、1組の数値データ及び制御データを記憶する記憶領域が3つずつ割り当てられている。例えば、エアコンスイッチオン/オフデータに関しては、0番地、10番地、20番地の3つの記憶領域が割り当てられている。なお、これら3つの記憶領域において、最新の1組の数値データ及び制御データを書き込む順番は予め定められている。例えば、エアコンスイッチオフ/オンデータに関しては、制御データの更新ごとに、0番地、10番地、20番地、0番地の順に、最新の1組の数値データ及び制御データが書き込まれる。図3の例では、0番地には、数値データ「01」及び制御データ「DA1」が書き込まれており、この1組のデータは前々回のデータである。また、10番地には、数値データ「02」及び制御データ「DA2」が書き込まれており、この1組のデータは前回のデータである。さらに、20番地には、数値データ「03」及び制御データ「DA3」が書き込まれており、この1組のデータは最新のデータである。この最新の制御データ「DA3」が更新され、最新の制御データが「DA4」になった場合、CPU44は、記憶されている数値データにおける最新のデータ「03」に基づいて、所定の規則(前回の数値データに「01」を加算する)に従って変化する、次に書き込むべき数値データ「04」を生成する。CPU44は、この最新の1組の数値データ「04」及び制御データ「DA4」を、書き込み順に従って、0番地の記憶領域に上書き書き込みする。   As shown in the example of FIG. 3, for each type of control data, three storage areas for storing one set of numerical data and control data are allocated. For example, regarding the air conditioner switch on / off data, three storage areas of address 0, address 10, and address 20 are allocated. In these three storage areas, the order in which the latest set of numerical data and control data is written is predetermined. For example, for the air conditioner switch off / on data, each time the control data is updated, the latest set of numerical data and control data is written in the order of address 0, address 10, address 20, and address 0. In the example of FIG. 3, numerical data “01” and control data “DA1” are written at address 0, and this one set of data is the data of the last time. Further, numerical data “02” and control data “DA2” are written at the 10th address, and this one set of data is the previous data. Furthermore, numerical data “03” and control data “DA3” are written at the 20th address, and this set of data is the latest data. When the latest control data “DA3” is updated and the latest control data becomes “DA4”, the CPU 44 determines a predetermined rule (previous time) based on the latest data “03” in the stored numerical data. Numerical data “04” to be written next is generated. The CPU 44 overwrites and writes the latest set of numerical data “04” and control data “DA4” in the storage area at address 0 in the order of writing.

次に、本実施形態における、数値データを用いたデータ整合性チェック処理について、図4及び図5のフローチャートと図6の説明図とを用いて詳細に説明する。なお、図4は、データ整合性チェック処理の前半部分を示すフローチャートであり、図5は、データ整合性チェック処理の後半部分を示すフローチャートである。また、図6は、数値データ及び制御データの相互関係を説明するための説明図である。   Next, the data consistency check process using numerical data in this embodiment will be described in detail with reference to the flowcharts of FIGS. 4 and 5 and the explanatory diagram of FIG. FIG. 4 is a flowchart showing the first half of the data consistency check process, and FIG. 5 is a flowchart showing the second half of the data consistency check process. FIG. 6 is an explanatory diagram for explaining the mutual relationship between the numerical data and the control data.

図6に示す例では、書き込み順を示す矢印「イ」、「ロ」、「ハ」の順に従って、CPU44は、「数値データN11と制御データD11」、「数値データN12と制御データD12」、「数値データN13と制御データD13」を、制御データの更新ごとにEEPROM45に書き込んでいる。なお、本実施形態では、図6に示すように、3組の数値データ及び制御データがEEPROM45に記憶されている場合の例を用いて説明する。   In the example shown in FIG. 6, the CPU 44 performs “numerical data N11 and control data D11”, “numerical data N12 and control data D12” in the order of arrows “I”, “B”, and “c” indicating the writing order. “Numeric data N13 and control data D13” are written in the EEPROM 45 every time the control data is updated. In the present embodiment, description will be made using an example in which three sets of numerical data and control data are stored in the EEPROM 45 as shown in FIG.

まず、図4のステップS10では、CPU44は、記憶されているデータの読み出しを行なう。具体的には、例えば、図6に示すように、「数値データN11と制御データD11」、「数値データN12と制御データD12」、及び「数値データN13と制御データD13」がEEPROM45に書き込まれており、CPU44は、この3組の数値データ及び制御データの読み出しを行なう。   First, in step S10 of FIG. 4, the CPU 44 reads stored data. Specifically, for example, as shown in FIG. 6, “numerical data N11 and control data D11”, “numerical data N12 and control data D12”, and “numerical data N13 and control data D13” are written in the EEPROM 45. The CPU 44 reads the three sets of numerical data and control data.

ステップS20では、書き込み順「イ」に従って、数値データN12が所定の規則に従って、数値データN11から変化しているか否かを判定する。所定の規則に従って変化していると判定された場合、ステップS30に進む。ステップS30では、書き込み順「ロ」に従って、数値データN13が所定の規則に従って、数値データN12から変化しているか否かを判定する。所定の規則に従って変化していると判定された場合、ステップS40に進む。   In step S20, it is determined whether or not the numerical data N12 has changed from the numerical data N11 according to a predetermined rule according to the writing order “A”. If it is determined that the change has occurred according to the predetermined rule, the process proceeds to step S30. In step S30, it is determined whether or not the numerical data N13 has changed from the numerical data N12 according to a predetermined rule according to the writing order “B”. If it is determined that the change has occurred according to the predetermined rule, the process proceeds to step S40.

ステップS40では、数値データN11と数値データN12との比較、及び数値データN12と数値データN13との比較において、それぞれ所定の規則に従って変化しているとの判定がなされたので、CPU44は、3組の数値データN11〜N13及び制御データD11〜D13のすべてが正常に書き込まれているとみなす。   In step S40, in the comparison between the numerical data N11 and the numerical data N12 and in the comparison between the numerical data N12 and the numerical data N13, it is determined that the values have changed according to predetermined rules. It is assumed that all the numerical data N11 to N13 and the control data D11 to D13 are written normally.

ここで、3つの数値データの中から2つの数値データを順次選んで数値データの相互比較を行なうと、計3回の比較が行なわれ得る。そして、3つの数値データがすべて正しく書き込まれている場合、最新の数値データと前回の数値データ、及び前回の数値データと前々回の数値データとの比較においては、所定の規則に従う変化を示すことになる。このように、計3回の数値データの相互比較において、数値データが所定の規則に従って変化しているとの判定が2回なされた場合には、3つの数値データのすべてが正しく書き込まれているとみなすことができるのである。   Here, when two numerical data are sequentially selected from the three numerical data and the mutual comparison of the numerical data is performed, a total of three comparisons can be performed. And when all three numerical data are written correctly, the latest numerical data and the previous numerical data, and the comparison between the previous numerical data and the numerical data of the previous time, show changes according to a predetermined rule. Become. In this way, in the mutual comparison of the numerical data for a total of three times, when it is determined twice that the numerical data is changing according to a predetermined rule, all three numerical data are correctly written. Can be considered.

例えば、上述のケースは、図7に示すように、書き込み順「イ」、「ロ」に従って、数値データが「01(N11)」から「02(N12)」、さらに「03(N13)」へと変化している場合が該当する。この場合、3個の数値データは所定の規則に従って変化しているので、その3つの数値データの中から最新の数値データを特定することができる。具体的には、数値データN11と数値データN12との比較、及び数値データN12と数値データN13との比較において、それぞれ所定の規則に従って変化しているとの判定がなされたので、この場合、図7に示すように、数値データ「03(N13)」が、最新数値データとして特定される。   For example, in the above case, as shown in FIG. 7, the numerical data is changed from “01 (N11)” to “02 (N12)” and further to “03 (N13)” according to the writing order “A” and “B”. It corresponds to the case where it has changed. In this case, since the three numerical data changes according to a predetermined rule, the latest numerical data can be specified from the three numerical data. Specifically, in the comparison between the numerical data N11 and the numerical data N12 and in the comparison between the numerical data N12 and the numerical data N13, it is determined that the values change according to predetermined rules. As shown in FIG. 7, numerical data “03 (N13)” is specified as the latest numerical data.

そして、この最新数値データ「03(N13)」に対応する制御データ「D13」が最新の制御データとなり、エアコンECU40は、この最新制御データ「D13」を用いてオートエアコンを制御する。これにより、エアコンECU40は、最も新しく更新された制御データに基づいて制御を行なうことができる。   The control data “D13” corresponding to the latest numerical data “03 (N13)” becomes the latest control data, and the air conditioner ECU 40 controls the automatic air conditioner using the latest control data “D13”. Thus, the air conditioner ECU 40 can perform control based on the most recently updated control data.

一方、ステップS30において、数値データは所定の規則に従って変化していないと判定された場合、ステップS50に進む。ステップS50では、書き込み順「ハ」に従って、数値データN11が所定の規則に従って、数値データN13から変化しているか否かを判定する。所定の規則に従って変化していると判定された場合、ステップS60に進む。   On the other hand, if it is determined in step S30 that the numerical data has not changed according to a predetermined rule, the process proceeds to step S50. In step S50, it is determined whether or not the numerical data N11 has changed from the numerical data N13 according to a predetermined rule in accordance with the writing order “c”. If it is determined that the change has occurred according to the predetermined rule, the process proceeds to step S60.

ステップS60においても、数値データが所定の規則に従って変化しているとの判定が2回なされたので、3組の数値データN11〜N13及び制御データD11〜D13はすべて正常に書き込まれているとみなされる。   Also in step S60, since it is determined twice that the numerical data is changed according to a predetermined rule, it is considered that all three sets of numerical data N11 to N13 and control data D11 to D13 are written normally. It is.

ただし、数値データN11と数値データN12との比較、及び数値データN13と数値データN11との比較において、それぞれ所定の規則に従って変化しているとの判定がなされたので、この場合、図8に示すように、数値データ「05(N12)」を最新数値データとして特定する。この結果、最新の制御データも、この最新数値データ「05(N12)」に対応する制御データ「D12」となる。   However, in the comparison between the numerical data N11 and the numerical data N12 and in the comparison between the numerical data N13 and the numerical data N11, it is determined that the values have changed according to predetermined rules. Thus, the numerical data “05 (N12)” is specified as the latest numerical data. As a result, the latest control data is also the control data “D12” corresponding to the latest numerical data “05 (N12)”.

ステップS50において、数値データN13とN11とは所定の規則に従って変化していないと判定された場合、ステップS70に進む。ステップS70では、3回の数値データの比較において、所定の規則に従って変化しているとの判定が1回のみなされたので、1組の数値データ及び制御データの書き込みが異常であるが、2組の数値データ及び制御データの書き込みは正常であるとみなす。   If it is determined in step S50 that the numerical data N13 and N11 have not changed according to a predetermined rule, the process proceeds to step S70. In step S70, in the comparison of the numerical data three times, it is determined that the change has occurred according to a predetermined rule only once, so writing of one set of numerical data and control data is abnormal, but two sets The writing of numerical data and control data is considered normal.

3つの数値データの内、1つの数値データの書き込みが異常であると、その1つの数値データは他の2つの数値データとそれぞれ比較されるので、3回の数値データの相互比較において、所定の規則とは異なる変化をしているとの判定が2回なされることになる。換言すれば、3つの数値データの内、1つの数値データの書き込みが異常であると、所定の規則に従って変化しているとの判定は1回のみしかなされない。   Of the three numerical data, if the writing of one numerical data is abnormal, the numerical data is compared with the other two numerical data, respectively. The determination that the change is different from the rule is made twice. In other words, if writing of one numerical data out of three numerical data is abnormal, it is determined only once that it has changed according to a predetermined rule.

ただし、この場合、3つの数値データのうち2つの数値データは正常に書き込まれていると考えられるので、その2つの数値データにおける最新数値データを特定することができる。例えば、図9に示すように、書き込み順「イ」における数値データN11とN12との比較においてのみ、所定の規則に従って変化しているとの判定が行なわれた場合、数値データN11とN12とは正常に書き込まれており、かつ数値データN12の方がより新しいと判断できる。このためステップS70では、数値データN12を最新数値データとして特定するとともに、その最新数値データN12に対応する制御データD12を最新制御データとする。   However, in this case, it is considered that two numerical data among the three numerical data are normally written, so that the latest numerical data in the two numerical data can be specified. For example, as shown in FIG. 9, when it is determined that the change is made according to a predetermined rule only in the comparison between the numerical data N11 and N12 in the writing order “I”, the numerical data N11 and N12 are It can be determined that the data has been written normally and the numerical data N12 is newer. Therefore, in step S70, the numerical data N12 is specified as the latest numerical data, and the control data D12 corresponding to the latest numerical data N12 is set as the latest control data.

このように、少なくとも3つの数値データを用いることにより、1つの数値データに異常が生じても、記憶された制御データの中から最新の制御データを選別することが可能になる。なお、この場合、選別される制御データは、異常が生じたデータに応じて、実際の最新の制御データ、もしくは、その最新の1つ前の制御データとなる。   As described above, by using at least three numerical data, even if an abnormality occurs in one numerical data, it is possible to select the latest control data from the stored control data. In this case, the selected control data is the actual latest control data or the latest previous control data depending on the data in which an abnormality has occurred.

一方、ステップS20において、数値データN11とN12とが所定の規則に従って変化していないと判定された場合、ステップS80に進む。ステップS80では、書き込み順「ロ」に従って、数値データN12と、数値データN13とを比較する。このとき、所定の規則に従って変化していると判定された場合、ステップS90に進む。ステップS90では、書き込み順「ハ」に従って、数値データN13と数値データN11とを比較する。この判定においても、所定の規則に従って変化していると判定された場合、ステップS100に進む。   On the other hand, if it is determined in step S20 that the numerical data N11 and N12 have not changed according to a predetermined rule, the process proceeds to step S80. In step S80, the numerical data N12 is compared with the numerical data N13 according to the writing order “B”. At this time, if it is determined that the change has occurred according to a predetermined rule, the process proceeds to step S90. In step S90, the numerical data N13 and the numerical data N11 are compared according to the writing order “c”. Also in this determination, when it is determined that the change has occurred according to a predetermined rule, the process proceeds to step S100.

ステップS100では、3組の数値データN11〜N13及び制御データD11〜D13の書き込みが正常であると認識し、最新数値データを「N11」と特定し、この最新数値データ「N11」に対応する制御データ「D11」を最新制御データとする。   In step S100, it is recognized that the writing of the three sets of numerical data N11 to N13 and the control data D11 to D13 is normal, the latest numerical data is identified as “N11”, and the control corresponding to the latest numerical data “N11” is performed. Data “D11” is the latest control data.

すなわち、上述の場合、例えば、図10に示すように、書き込み順「ロ」、「ハ」に従って、数値データが「08(N12)」、「09(N13)」、「10(N11)」と、所定の規則に従って変化しているので、最新の数値データは、数値データ「10(N11)」と特定できるのである。   That is, in the above-described case, for example, as shown in FIG. 10, the numerical data is “08 (N12)”, “09 (N13)”, “10 (N11)” according to the writing order “B” and “C”. Therefore, the latest numerical data can be specified as the numerical data “10 (N11)”.

ステップS90における、数値データN13とN11との比較において、所定の規則に従って変化していないと判定された場合には、ステップS110に進む。この場合、例えば、図11に示すように、書き込み順「ロ」に従って、数値データ「08(N12)」と数値データ「09(N13)」のみが所定の規則に従って変化している状況である。このため、ステップS110では、数値データ「09(N13)」を最新数値データとみなし、この最新数値データ「09(N13)」に対応する制御データ「D13」を最新制御データとする。   If it is determined in step S90 that the numerical data N13 and N11 are not changed according to a predetermined rule, the process proceeds to step S110. In this case, for example, as shown in FIG. 11, according to the writing order “b”, only the numerical data “08 (N12)” and the numerical data “09 (N13)” are changing according to a predetermined rule. Therefore, in step S110, the numerical data “09 (N13)” is regarded as the latest numerical data, and the control data “D13” corresponding to the latest numerical data “09 (N13)” is set as the latest control data.

また、ステップS80における、数値データN12とN13との比較において、所定の規則に従って変化していないと判定された場合には、ステップS120に進む。ステップS120では、数値データN13とN11とが比較される。この判定処理において、数値データN13とN11とが所定の規則に従って変化していると判定された場合、ステップS130に進む。   If it is determined in step S80 that the numerical data N12 and N13 are not changed according to a predetermined rule, the process proceeds to step S120. In step S120, the numerical data N13 and N11 are compared. In this determination process, when it is determined that the numerical data N13 and N11 are changing according to a predetermined rule, the process proceeds to step S130.

この場合、例えば、図12に示すように、書き込み順「ハ」に従って、数値データ「09(N13)」と数値データ「10(N11)」のみが所定の規則に従って変化している状況である。このため、ステップS130では、数値データ「10(N11)」を最新数値データとみなし、この最新数値データ「10(N11)」に対応する制御データ「D11」を最新制御データとする。   In this case, for example, as shown in FIG. 12, according to the writing order “c”, only the numerical data “09 (N13)” and the numerical data “10 (N11)” are changing according to a predetermined rule. Therefore, in step S130, the numerical data “10 (N11)” is regarded as the latest numerical data, and the control data “D11” corresponding to the latest numerical data “10 (N11)” is set as the latest control data.

ステップS120における、数値データN13とN11との比較において、所定の規則に従って変化していないと判定された場合には、ステップS140に進む。この場合、例えば、図13に示すように、計3回の数値データの相互比較において、1回も所定の規則に従って変化しているとの判定がなされない状況である。   If it is determined in step S120 that the numerical data N13 and N11 are not changed according to a predetermined rule, the process proceeds to step S140. In this case, for example, as shown in FIG. 13, it is a situation in which it is not determined that the data has changed once according to a predetermined rule in the mutual comparison of the numerical data for a total of three times.

このように、計3回の相互比較において、数値データが所定の規則に従って変化しているとの判定が1回もなされないのは、少なくとも2つの数値データに異常が生じている状況である。この場合、いずれの数値データが正常であるか特定できないので、3組の数値データ及び記憶データの書き込みが異常であったとみなす。このため、ステップS140では、エアコンECU40が、予めROM(図示せず)に記憶されている初期制御データ(デフォルトデータ)を用いてオートエアコンを制御する。   Thus, it is a situation where abnormality has occurred in at least two numerical data that the determination that the numerical data has changed in accordance with a predetermined rule is not made once in a total of three mutual comparisons. In this case, since it cannot be specified which numerical data is normal, it is considered that writing of the three sets of numerical data and stored data is abnormal. For this reason, in step S140, the air conditioner ECU 40 controls the automatic air conditioner using initial control data (default data) stored in advance in a ROM (not shown).

以上、説明したように本実施形態によれば、制御データの更新時に、更新された制御データと、所定の規則に従って変化した数値データとを組として、1組の数値データ及び制御データをEEPROM45の1つの記憶領域に書き込む。EEPROM45には、最新から順に古くなる少なくとも3組の数値データ及び制御データを保持しておく。これにより、制御データの信頼性を確保しながら、必要な記憶容量を削減することができる。   As described above, according to the present embodiment, when updating the control data, the updated control data and the numerical data changed according to a predetermined rule are used as a set, and one set of numerical data and control data is stored in the EEPROM 45. Write to one storage area. The EEPROM 45 holds at least three sets of numerical data and control data that become older from the latest. Thereby, the required storage capacity can be reduced while ensuring the reliability of the control data.

なお、本発明は、上述した実施形態になんら制限されることなく、本発明の主旨を逸脱しない範囲において、種々変形して実施することができる。   It should be noted that the present invention is not limited to the above-described embodiment, and various modifications can be made without departing from the spirit of the present invention.

例えば、上述した実施形態においては、1組の数値データ及び制御データを1つの記憶領域に書き込む例を説明した。しかしながら、1つの記憶領域の記憶容量に対して、1組の数値データ及び制御データのデータサイズが大きい場合には、それぞれのデータを異なる記憶領域に書き込んでも良い。例えば、CPU44は、0番地の記憶領域に制御データを書き込み、1番地の記憶領域に数値データを書き込むようにしても良い。   For example, in the above-described embodiment, an example in which one set of numerical data and control data is written in one storage area has been described. However, when the data size of one set of numerical data and control data is larger than the storage capacity of one storage area, the respective data may be written in different storage areas. For example, the CPU 44 may write control data in the storage area at address 0 and write numerical data in the storage area at address 1.

また、上述した実施形態においては、所定の規則として、数値データが1づつ増加する例について説明したが、その数字の変化幅は1以外であっても良いし、数値データが増加ではなく減少するものであっても良い。   In the above-described embodiment, the example in which the numerical data increases by 1 has been described as the predetermined rule. However, the numerical change range may be other than 1, and the numerical data decreases instead of increasing. It may be a thing.

本実施形態によるオートエアコン制御装置100の概略構成を示すブロック図である。It is a block diagram which shows schematic structure of the automatic air-conditioner control apparatus 100 by this embodiment. 本実施形態によるエアコンECU40の構成を示すブロック図である。It is a block diagram which shows the structure of air-conditioner ECU40 by this embodiment. 本実施形態におけるEEPROM45のアドレスマップを説明するための説明図である。It is explanatory drawing for demonstrating the address map of EEPROM45 in this embodiment. 本実施形態における、記憶データ整合性チェック処理の前半部分を示すフローチャートである。It is a flowchart which shows the first half part of the stored data consistency check process in this embodiment. 本実施形態における、記憶データ整合性チェック処理の後半部分を示すフローチャートである。It is a flowchart which shows the second half part of the stored data consistency check process in this embodiment. 本実施形態における、数値データ及び制御データの相互関係を説明するための説明図である。It is explanatory drawing for demonstrating the mutual relationship of numerical data and control data in this embodiment. 本実施形態における、数値データ及び制御データの相互関係を第1の具体例を用いて説明する説明図である。It is explanatory drawing explaining the mutual relationship of numerical data and control data in this embodiment using a 1st specific example. 本実施形態における、数値データ及び制御データの相互関係を第2の具体例を用いて説明する説明図である。It is explanatory drawing explaining the mutual relationship of numerical data and control data in this embodiment using a 2nd example. 本実施形態における、数値データ及び制御データの相互関係を第3の具体例を用いて説明する説明図である。It is explanatory drawing explaining the mutual relationship of numerical data and control data in this embodiment using a 3rd specific example. 本実施形態における、数値データ及び制御データの相互関係を第4の具体例を用いて説明する説明図である。It is explanatory drawing explaining the mutual relationship of numerical data and control data in this embodiment using a 4th example. 本実施形態における、数値データ及び制御データの相互関係を第5の具体例を用いて説明する説明図である。It is explanatory drawing explaining the mutual relationship of numerical data and control data in this embodiment using a 5th example. 本実施形態における、数値データ及び制御データの相互関係を第6の具体例を用いて説明する説明図である。It is explanatory drawing explaining the mutual relationship of numerical data and control data in this embodiment using a 6th specific example. 本実施形態における、数値データ及び制御データの相互関係を第7の具体例を用いて説明する説明図である。It is explanatory drawing explaining the mutual relationship of numerical data and control data in this embodiment using a 7th example.

符号の説明Explanation of symbols

10…スイッチ入力回路
20…センサ入力回路
30…パネル表示回路
40…エアコンECU
41…バッテリ
42…キースイッチ
43…定電圧回路
44…CPU
45…EEPROM
46…シリアル通信線
50…モータ駆動回路
60…リレー駆動回路
70…風量調整用パワートランジスタ駆動回路
DESCRIPTION OF SYMBOLS 10 ... Switch input circuit 20 ... Sensor input circuit 30 ... Panel display circuit 40 ... Air-conditioner ECU
41 ... Battery 42 ... Key switch 43 ... Constant voltage circuit 44 ... CPU
45… EEPROM
46 ... serial communication line 50 ... motor drive circuit 60 ... relay drive circuit 70 ... power transistor drive circuit for air volume adjustment

Claims (11)

記憶内容を電気的に書き換え可能な不揮発性メモリと、
所定の記憶データを、前記不揮発性メモリに書き込むデータ書き込み手段とを備えて、
電源がオフされたときにも、前記記憶データを保持可能に構成されたデータ記憶装置であって、
前記データ書き込み手段は、所定の数値範囲において、前記記憶データの書き込みごとに所定の規則に従って変化する数値データを生成する数値データ生成手段を有し、当該数値データと前記記憶データとを組として、前記不揮発性メモリに書き込むものであり、
前記不揮発性メモリは、少なくとも3組の数値データ及び記憶データを記憶する領域を有し、さらに、
前記不揮発性メモリに記憶された少なくとも3組の数値データ及び記憶データを読み出して、その中の数値データを相互比較して、当該数値データが前記所定の規則に従って変化しているか否かを判定する判定手段を備え、
前記判定手段によって、前記数値データが所定の規則に従って変化していると判定された場合に、前記数値データにおける最新数値データを特定し、その最新数値データに対応する記憶データを最新の記憶データとすることを特徴とするデータ記憶装置。
Non-volatile memory that can electrically rewrite the memory contents,
Data storage means for writing predetermined storage data into the nonvolatile memory;
A data storage device configured to retain the stored data even when the power is turned off,
The data writing means has numerical data generating means for generating numerical data that changes in accordance with a predetermined rule every time the stored data is written in a predetermined numerical range, and the numerical data and the stored data are paired. Writing to the non-volatile memory,
The non-volatile memory has an area for storing at least three sets of numerical data and storage data, and
At least three sets of numerical data and stored data stored in the nonvolatile memory are read out, and the numerical data in them are compared with each other to determine whether or not the numerical data has changed according to the predetermined rule. A determination means,
When it is determined by the determining means that the numerical data is changing according to a predetermined rule, the latest numerical data in the numerical data is specified, and the storage data corresponding to the latest numerical data is the latest stored data. A data storage device.
車両に搭載された車載機器を制御する制御部を備え、
前記記憶データは、前記制御部が前記車載機器の制御に使用する制御データであることを特徴とする請求項1に記載のデータ記憶装置。
It has a control unit that controls in-vehicle equipment mounted on the vehicle,
The data storage device according to claim 1, wherein the storage data is control data used by the control unit to control the in-vehicle device.
前記数値データのデータサイズは、前記記憶データのデータサイズより小さいことを特徴とする請求項1または請求項2に記載のデータ記憶装置。   The data storage device according to claim 1 or 2, wherein a data size of the numerical data is smaller than a data size of the storage data. 前記データ書き込み手段は、前記不揮発性メモリが最新の少なくとも3組の数値データ及び記憶データを記憶できるように、最も古い1組の数値データ及び記憶データを記憶している領域に、最新の1組の数値データ及び記憶データを上書き書き込みすることを特徴とする請求項1乃至請求項3のいずれかに記載のデータ記憶装置。   The data writing means has a latest one set in an area storing the oldest one set of numerical data and storage data so that the nonvolatile memory can store at least the latest three sets of numerical data and storage data. 4. The data storage device according to claim 1, wherein the numerical data and the storage data are overwritten. 前記データ書き込み手段は、前記記憶データ、前記数値データの順に前記不揮発性メモリに書き込むことを特徴とする請求項1乃至請求項4のいずれかに記載のデータ記憶装置。   5. The data storage device according to claim 1, wherein the data writing unit writes the storage data and the numerical data in the nonvolatile memory in this order. 前記不揮発性メモリは、前記データ書き込み手段によって最初の1組の数値データ及び記憶データが書き込まれる前に、前記数値データを記憶する全ての領域に、前記数値範囲における初期値が書き込まれていることを特徴とする請求項1乃至請求項5のいずれかに記載のデータ記憶装置。   In the nonvolatile memory, initial values in the numerical value range are written in all areas for storing the numerical data before the first set of numerical data and storage data is written by the data writing means. The data storage device according to claim 1, wherein the data storage device is a data storage device. 前記データ書き込み手段は、次に書き込むべき数値データが前記所定の数値範囲における限界値を超える場合、前記初期値を前記不揮発性メモリに書き込むことを特徴とする請求項6に記載のデータ記憶装置。   The data storage device according to claim 6, wherein the data writing unit writes the initial value into the nonvolatile memory when the numerical data to be written next exceeds a limit value in the predetermined numerical range. 前記判定手段は、前記数値データが前記限界値と前記初期値とを含む場合、当該数値データは前記所定の規則に従って変化していると判定することを特徴とする請求項7に記載のデータ記憶装置。   8. The data storage according to claim 7, wherein when the numerical data includes the limit value and the initial value, the determination means determines that the numerical data is changing according to the predetermined rule. apparatus. 前記判定手段は、3つの数値データの中から、2つの数値データを順次選んで比較することにより、計3回の数値データの相互比較を行なうものであり、
この計3回の相互比較において、数値データが所定の規則に従って変化しているとの判定が2回なされたとき、前記3組の数値データ及び記憶データの書き込みが正常であるとみなし、当該3組の数値データ及び記憶データの中から、最新数値データを特定するとともに、その最新数値データに対応する記憶データを最新の記憶データとすることを特徴とする請求項1乃至請求項8のいずれかに記載のデータ記憶装置。
The determination means performs a mutual comparison of the numerical data three times in total by sequentially selecting and comparing the two numerical data from the three numerical data.
In this total of three comparisons, when it is determined twice that the numerical data has changed according to a predetermined rule, the three sets of numerical data and stored data are regarded as normal, and the 3 9. The latest numerical data is specified from the set of numerical data and stored data, and the stored data corresponding to the latest numerical data is used as the latest stored data. The data storage device described in 1.
計3回の相互比較において、数値データが所定の規則に従って変化しているとの判定が1回なされたとき、1組の数値データ及び記憶データの書き込みが異常であるが、2組の数値データ及び記憶データの書き込みが正常であるとみなし、当該2組の数値データ及び記憶データの中から、最新数値データを特定するとともに、その最新数値データに対応する記憶データを最新の記憶データとすることを特徴とする請求項9に記載のデータ記憶装置。   In a total of three intercomparisons, when it is determined that the numerical data has changed according to a predetermined rule once, writing of one set of numerical data and stored data is abnormal, but two sets of numerical data In addition, it is assumed that the writing of the stored data is normal, and the latest numerical data is specified from the two sets of numerical data and stored data, and the stored data corresponding to the latest numerical data is the latest stored data. The data storage device according to claim 9. 計3回の相互比較において、数値データが所定の規則に従って変化していないとの判定が3回なされたとき、前記3組の数値データ及び記憶データの書き込みが異常であるとみなし、予め定められたデフォルトデータを最新の記憶データとすることを特徴とする請求項9に記載のデータ記憶装置。   In a total of three comparisons, when it is determined that the numerical data has not changed in accordance with a predetermined rule three times, the writing of the three sets of numerical data and stored data is regarded as abnormal, and is determined in advance. 10. The data storage device according to claim 9, wherein the default data is the latest storage data.
JP2004217853A 2004-07-26 2004-07-26 Data storage device Expired - Fee Related JP4367275B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2004217853A JP4367275B2 (en) 2004-07-26 2004-07-26 Data storage device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2004217853A JP4367275B2 (en) 2004-07-26 2004-07-26 Data storage device

Publications (2)

Publication Number Publication Date
JP2006039876A true JP2006039876A (en) 2006-02-09
JP4367275B2 JP4367275B2 (en) 2009-11-18

Family

ID=35904821

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2004217853A Expired - Fee Related JP4367275B2 (en) 2004-07-26 2004-07-26 Data storage device

Country Status (1)

Country Link
JP (1) JP4367275B2 (en)

Cited By (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2008004515A1 (en) * 2006-07-03 2008-01-10 Daikin Industries, Ltd. Control apparatus
JP2009289200A (en) * 2008-05-30 2009-12-10 Denso Corp Onboard electronic control device, and data writing method and data reading method thereof
JP2010025512A (en) * 2008-07-24 2010-02-04 Daikin Ind Ltd Control device of refrigerating device
WO2014002132A1 (en) * 2012-06-26 2014-01-03 三菱電機株式会社 Air conditioner control system
JP2015125598A (en) * 2013-12-26 2015-07-06 キヤノン株式会社 MEMORY CONTROL DEVICE, MEMORY CONTROL METHOD, AND PROGRAM

Cited By (9)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2008004515A1 (en) * 2006-07-03 2008-01-10 Daikin Industries, Ltd. Control apparatus
AU2007270490B2 (en) * 2006-07-03 2010-06-10 Daikin Industries, Ltd. Control device
US8121735B2 (en) 2006-07-03 2012-02-21 Daikin Industries, Ltd. Control device
JP2009289200A (en) * 2008-05-30 2009-12-10 Denso Corp Onboard electronic control device, and data writing method and data reading method thereof
JP2010025512A (en) * 2008-07-24 2010-02-04 Daikin Ind Ltd Control device of refrigerating device
WO2014002132A1 (en) * 2012-06-26 2014-01-03 三菱電機株式会社 Air conditioner control system
JPWO2014002132A1 (en) * 2012-06-26 2016-05-26 三菱電機株式会社 Air conditioner control system
US10001290B2 (en) 2012-06-26 2018-06-19 Mitsubishi Electric Corporation Air-conditioning apparatus control system
JP2015125598A (en) * 2013-12-26 2015-07-06 キヤノン株式会社 MEMORY CONTROL DEVICE, MEMORY CONTROL METHOD, AND PROGRAM

Also Published As

Publication number Publication date
JP4367275B2 (en) 2009-11-18

Similar Documents

Publication Publication Date Title
US9110842B2 (en) Control device for vehicle and error processing method in control device for vehicle
JPH09288573A (en) In-vehicle control device
JP3701776B2 (en) In-vehicle electrical equipment with microcomputer
US20090105927A1 (en) Control system for automotive vehicle having diagnosis function
JP4367275B2 (en) Data storage device
US11314634B2 (en) Electronic control unit and data protection method therefor
US8036786B2 (en) On-vehicle control apparatus
JP4419752B2 (en) Data storage
JP2016126699A (en) Electronic control unit for automobile
KR101199665B1 (en) The Learning Type Control Method for Air Conditioner of Vehicle
JPH08202441A (en) Controller for vehicle with function capable of storing fault information
JP2009116521A (en) Data rewriting method for memory
JP2009126461A (en) Control circuit for setting destination point
JP5247558B2 (en) Control device for electronic equipment and air conditioner using the control device
JP2002106412A (en) Vehicular data storage device
JP2007230452A (en) Vehicular control system
JP2009196395A (en) Vehicle air conditioner
JP7029366B2 (en) Electronic control device for automobiles
JP6886934B2 (en) I/O expansion device and control system
JP2000192844A (en) Engine control device
JP5417931B2 (en) Vehicle control system
CN110716725A (en) Actuator system, vehicle system, and updating method thereof
JP4257046B2 (en) Air conditioner for vehicles
JP2008213782A (en) Electronic control unit
JP5136836B2 (en) Instrument device

Legal Events

Date Code Title Description
A621 Written request for application examination

Free format text: JAPANESE INTERMEDIATE CODE: A621

Effective date: 20061006

A977 Report on retrieval

Free format text: JAPANESE INTERMEDIATE CODE: A971007

Effective date: 20090226

A131 Notification of reasons for refusal

Free format text: JAPANESE INTERMEDIATE CODE: A131

Effective date: 20090303

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: 20090804

A01 Written decision to grant a patent or to grant a registration (utility model)

Free format text: JAPANESE INTERMEDIATE CODE: A01

A61 First payment of annual fees (during grant procedure)

Free format text: JAPANESE INTERMEDIATE CODE: A61

Effective date: 20090817

R151 Written notification of patent or utility model registration

Ref document number: 4367275

Country of ref document: JP

Free format text: JAPANESE INTERMEDIATE CODE: R151

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

Free format text: PAYMENT UNTIL: 20120904

Year of fee payment: 3

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

Free format text: PAYMENT UNTIL: 20120904

Year of fee payment: 3

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

Free format text: PAYMENT UNTIL: 20130904

Year of fee payment: 4

R250 Receipt of annual fees

Free format text: JAPANESE INTERMEDIATE CODE: R250

R250 Receipt of annual fees

Free format text: JAPANESE INTERMEDIATE CODE: R250

R250 Receipt of annual fees

Free format text: JAPANESE INTERMEDIATE CODE: R250

R250 Receipt of annual fees

Free format text: JAPANESE INTERMEDIATE CODE: R250

R250 Receipt of annual fees

Free format text: JAPANESE INTERMEDIATE CODE: R250

R250 Receipt of annual fees

Free format text: JAPANESE INTERMEDIATE CODE: R250

R250 Receipt of annual fees

Free format text: JAPANESE INTERMEDIATE CODE: R250

LAPS Cancellation because of no payment of annual fees