JP2005301671A - Data restoration apparatus - Google Patents

Data restoration apparatus Download PDF

Info

Publication number
JP2005301671A
JP2005301671A JP2004116821A JP2004116821A JP2005301671A JP 2005301671 A JP2005301671 A JP 2005301671A JP 2004116821 A JP2004116821 A JP 2004116821A JP 2004116821 A JP2004116821 A JP 2004116821A JP 2005301671 A JP2005301671 A JP 2005301671A
Authority
JP
Japan
Prior art keywords
data
stored
default value
correction
areas
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
JP2004116821A
Other languages
Japanese (ja)
Other versions
JP4244847B2 (en
Inventor
Yoshihisa Fujii
敬久 藤井
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 JP2004116821A priority Critical patent/JP4244847B2/en
Publication of JP2005301671A publication Critical patent/JP2005301671A/en
Application granted granted Critical
Publication of JP4244847B2 publication Critical patent/JP4244847B2/en
Anticipated expiration legal-status Critical
Expired - Fee Related legal-status Critical Current

Links

Images

Landscapes

  • Techniques For Improving Reliability Of Storages (AREA)
  • Error Detection And Correction (AREA)

Abstract

<P>PROBLEM TO BE SOLVED: To provide a data restoration apparatus capable of restoring three data into proper data as correction values even if none of the three data match while erroneous data are being restored. <P>SOLUTION: A determination is made as to whether or not the data stored in three areas A-C match one another; if two of the data match while the remaining one data does not match, the unmatched data is rewritten into the matching data. If none of the three data match, a determination is made as to whether or not a default value has been set; when the default value has been set, the data are rewritten into the default value. When no default value has been set, the data are rewritten into the results of bit majority vote. In this way the use of the default value can overcome the disadvantage of the result of bit majority vote not necessarily providing the right correction value. <P>COPYRIGHT: (C)2006,JPO&NCIPI

Description

本発明は、一つのデータを複数の記憶領域にそれぞれ記憶させる記憶媒体において、記憶された各データが正しいデータでは無いと検出された場合に、それを修復するデータ修復装置に関するものである。   The present invention relates to a data restoration apparatus that restores data stored in a plurality of storage areas when it is detected that each stored data is not correct data.

従来、各種データの1つずつを記憶媒体内における3つのエリアに冗長的に記憶させておき、3つのデータを読み出したときに、2つ以上一致したデータを正しいデータと想定して、センサ出力の補正値に用いている。そして、3つのデータのうち、2つのみが一致し、残る1つが一致しなかった場合には、その一致しなかったデータが正しいデータでは無いとして、一致したデータに書き換え、正しいデータに修復させるようにしている(例えば、特許文献1参照)。
特開平2002−55885号公報
Conventionally, each of various data is stored redundantly in three areas in a storage medium, and when three data are read, two or more matched data are assumed to be correct data, and the sensor output It is used for the correction value. If only two of the three data match and the remaining one does not match, it is determined that the mismatched data is not correct data, and is rewritten to match data to be restored to correct data. (For example, refer to Patent Document 1).
Japanese Patent Laid-Open No. 2002-55885

しかしながら、上記3つのデータすべてが異なるデータとなっていた場合、3つのデータが不一致のままとなり、正しい値を得ることができず、正しいデータへの書き換えを行うこともできないという問題がある。   However, when all the three data are different, there is a problem that the three data remain inconsistent, a correct value cannot be obtained, and the correct data cannot be rewritten.

このような問題の解決方法として、例えば、各データとして記憶されている内容を各ビット単位で多数決を取り、3つのエリアそれぞれに記憶されたビットの多数決結果を正しいビットと想定して、3つのエリアすべてを正しいと想定されるビットの組み合わせから得られるデータに書き換えるというものが考えられる。しかしながら、想定されるビットの組み合わせからなるデータが必ずしも正しいとは言えず、そのデータの内容次第では、補正値として適していないものに変わってしまっている可能性もある。   As a method for solving such a problem, for example, the content stored as each data is subjected to a majority vote in each bit unit, and the majority vote result of bits stored in each of the three areas is assumed to be a correct bit, It is conceivable to rewrite all the areas with data obtained from combinations of bits that are assumed to be correct. However, it can be said that the data composed of assumed bit combinations is not necessarily correct, and depending on the contents of the data, there is a possibility that the data is not suitable as a correction value.

本発明は上記点に鑑みて、誤ったデータの修復を行いつつ、3つのデータすべてが不一致であったときにも、補正値として適正なデータに3つのデータを修復できるデータ修復装置を提供することを目的とする。   In view of the above points, the present invention provides a data restoration device capable of restoring three data to correct data as correction values even when all three data are inconsistent while restoring wrong data. For the purpose.

上記目的を達成するため、請求項1または2に記載の発明では、複数のデータ1つずつを3つのエリアに記憶するデータ記憶手段と、複数のデータの少なくとも一部に対応して、そのデータに代わるデフォルト値を記憶したデフォルト値記憶手段と、3つのエリアそれぞれに記憶されたデータが一致するか否かを判定するデータ正誤判定手段と、このデータ正誤判定手段によって、3つのエリアに記憶されたすべてのデータが不一致であると判定された場合に、デフォルト値記憶部に、データに対応したデフォルト値が記憶されているか否かを判定するデフォルト値判定手段と、3つのエリアにおけるビット毎の多数決を行うビット多数決手段とを備え、デフォルト値判定手段によって、データに対応したデフォルト値が記憶されていると判定された場合には、データ記憶手段に記憶されたデータがデフォルト値に書き換えられることで修復され、記憶されていると判定されなかった場合には、データ記憶手段に記憶されたデータがビット多数決手段での多数決結果に書き換えられることで修復されるようになっていることを特徴としている。   In order to achieve the above object, according to the invention described in claim 1 or 2, the data storage means for storing each of a plurality of data in three areas, and the data corresponding to at least a part of the plurality of data Stored in the three areas by the default value storage means for storing the default value instead of the data, the data correctness determination means for determining whether the data stored in each of the three areas match, and the data correctness determination means. When it is determined that all the data are inconsistent, the default value storage means for determining whether or not a default value corresponding to the data is stored in the default value storage unit, and for each bit in the three areas Bit majority means for making a majority decision, and the default value judging means determines that a default value corresponding to the data is stored. If it is determined that the data stored in the data storage means is restored to the default value and is not stored, the data stored in the data storage means is the bit majority means. It is characterized by being repaired by being rewritten into the majority result in.

このような構成によれば、補正値として適正なデフォルト値に3つのデータを修復できる。このように、3つのエリアに記憶されたデータがすべて不一致であった場合に、デフォルト値を用いることで、ビット多数決の結果が必ずしも正しい補正値になるとは限らないという欠点を補うことが可能となる。これにより、フェールセーフに優れたデータ修復装置とすることが可能となる。   According to such a configuration, three data can be restored to default values appropriate as correction values. In this way, when all the data stored in the three areas are inconsistent, it is possible to compensate for the disadvantage that the result of the bit majority vote is not always a correct correction value by using the default value. Become. As a result, it is possible to provide a data restoration device that is excellent in fail-safe.

このようなデータ修復装置は、例えば、請求項3に示されるように、センサユニットに適用され、センサユニットにおけるセンサ部からの検出信号を補正するための補正値をデータとして記憶し、そのデータの補修を行うものとして用いることが可能である。   Such a data restoration device is applied to a sensor unit, for example, as shown in claim 3, stores a correction value for correcting a detection signal from a sensor unit in the sensor unit as data, and the data It can be used for repair.

なお、上記各手段の括弧内の符号は、後述する実施形態に記載の具体的手段との対応関係を示すものである。   In addition, the code | symbol in the bracket | parenthesis of each said means shows the correspondence with the specific means as described in embodiment mentioned later.

以下、本発明の実施形態について図に基づいて説明する。なお、以下の各実施形態相互において、互いに同一もしくは均等である部分には、図中、同一符号を付してある。   Hereinafter, embodiments of the present invention will be described with reference to the drawings. In the following embodiments, the same or equivalent parts are denoted by the same reference numerals in the drawings.

(第1実施形態)
本発明の一実施形態におけるデータ修復装置を備えたセンサユニットのブロック構成を図1に示す。このセンサユニットは、例えば車両に搭載され、このセンサユニットによってセンシングされた物理量が車両の走行状態制御などに用いられる。以下、図1に基づいて、センサユニットの構成を説明する。
(First embodiment)
FIG. 1 shows a block configuration of a sensor unit including a data restoration device according to an embodiment of the present invention. This sensor unit is mounted on, for example, a vehicle, and a physical quantity sensed by the sensor unit is used for vehicle running state control and the like. Hereinafter, the configuration of the sensor unit will be described with reference to FIG.

図1に示されるように、センサ部1と信号処理部2とによってセンサユニットが構成されている。   As shown in FIG. 1, a sensor unit is configured by the sensor unit 1 and the signal processing unit 2.

センサ部1は、例えば、ヨーレートセンサと加速度センサを組み合わせたイナーシャセンサ等であり、センサからの検出信号がアナログ値として信号処理部2に出力されるようになっている。   The sensor unit 1 is, for example, an inertia sensor combining a yaw rate sensor and an acceleration sensor, and a detection signal from the sensor is output to the signal processing unit 2 as an analog value.

信号処理部2は、CPU、ROM、RAM、I/Oなどを備えた周知のマイクロコンピュータによって構成されるもので、ROMに記憶されたプログラムに従って、各種処理を実行するようになっている。具体的には、信号処理部2は、図1に示されるように、A/Dコンバータ2a、外部記憶媒体2bおよび補正処理部2cを有した構成となっている。   The signal processing unit 2 is configured by a known microcomputer including a CPU, a ROM, a RAM, an I / O, and the like, and executes various processes according to a program stored in the ROM. Specifically, as shown in FIG. 1, the signal processing unit 2 includes an A / D converter 2a, an external storage medium 2b, and a correction processing unit 2c.

A/Dコンバータ2aは、センサ部1からアナログ値として送られてくる検出信号をデジタル値に変換するものである。   The A / D converter 2a converts the detection signal sent as an analog value from the sensor unit 1 into a digital value.

外部記憶媒体2bは、デジタル値に変換されたセンサ部1からの検出信号のオフセットの補正、いわゆる零点補正を実行するための補正値が記憶されたものである。図2は、この外部記憶媒体2bにおける補正値のデータ構造例を示したものである。この図に示されるように、各種データが1つずつ記憶媒体2b内における3つのエリアに冗長的に記憶させている。具体的には、補正値1が(A)〜(C)の3つのエリア、補正値2も(A)〜(C)の3つのエリアというように、各補正値毎に(A)〜(C)の3つのエリアが設定されており、この3つのエリアに同じように、同じデータとなる補正値が記憶された状態となっている。   The external storage medium 2b stores a correction value for performing offset correction of the detection signal from the sensor unit 1 converted into a digital value, that is, so-called zero point correction. FIG. 2 shows an example of the data structure of correction values in the external storage medium 2b. As shown in this figure, various data are stored redundantly in three areas in the storage medium 2b one by one. Specifically, (A) to (A) to (A) to (C) for each correction value, such that the correction value 1 is three areas (A) to (C) and the correction value 2 is also three areas (A) to (C). The three areas C) are set, and the correction values that are the same data are stored in the three areas in the same manner.

例えば、ここでいう補正値として、温度補正値などが挙げられ、温度に対応した補正値が例えば1℃毎に順に外部記憶媒体2bに記憶された状態になっている。   For example, the correction value mentioned here includes a temperature correction value and the like, and the correction value corresponding to the temperature is stored in the external storage medium 2b in order, for example, every 1 ° C.

なお、本実施形態では、この外部記憶媒体2bが本発明でいうデータ記憶手段に相当する。   In the present embodiment, the external storage medium 2b corresponds to the data storage means referred to in the present invention.

補正処理部2cは、外部記憶媒体2bに記憶された補正値の読み出し及び修正処理を実行すると共に、その補正値を用いてデジタル値に変換されたセンサ部1からの検出信号の零点補正を行うものである。例えば、センサ部1からの検出信号のデジタル値から補正値を差し引くことにより、零点補正が行われる。そして、このような零点補正が実行された補正後のデータがセンサデータとして出力され、車両走行制御等に用いられるようになっている。この補正処理部2cには、補正値の読み出し及び修正処理を実行するためのプログラムが記憶されており、このプログラム中に、後述する補正値に代わるデフォルト値も記憶している。   The correction processing unit 2c reads out and corrects the correction value stored in the external storage medium 2b, and performs zero correction of the detection signal from the sensor unit 1 converted into a digital value using the correction value. Is. For example, zero correction is performed by subtracting the correction value from the digital value of the detection signal from the sensor unit 1. Then, the corrected data after such zero point correction is output as sensor data and used for vehicle travel control and the like. The correction processing unit 2c stores a program for executing correction value reading and correction processing, and also stores a default value in place of a correction value to be described later.

なお、本実施形態では、この補正処理部2cが本発明でいう補正処理手段、デフォルト値記憶手段、デフォルト値判定手段およびビット多数決手段に相当するものである。   In the present embodiment, the correction processing unit 2c corresponds to the correction processing means, default value storage means, default value determination means, and bit majority decision means in the present invention.

以下、ここでいう補正値の読み出し及び修正処理について説明する。図3は、補正値の読み出し及び修正処理のフローチャートを示したものである。この処理は、信号処理部2に図示しない電源が投入されると共に実行されるもので、例えば、所定の制御周期毎に各種データにおける補正値毎に実行される。したがって、外部記憶媒体2bに記憶された補正値の種類分、この処理が実行されることになる。   Hereinafter, the correction value reading and correction processing described here will be described. FIG. 3 shows a flowchart of correction value reading and correction processing. This process is executed when a power source (not shown) is turned on in the signal processing unit 2, and is executed, for example, for each correction value in various data every predetermined control cycle. Therefore, this process is executed for the types of correction values stored in the external storage medium 2b.

まず、ステップ100〜190において、バイト多数決の処理が実行される。ステップ100では、(A)のエリアに記憶された補正値と(B)のエリアに記憶された補正値とが一致するか否かが判定される。ここで肯定判定された場合には、補正値として記憶されたデータのうち少なくとも2つが同じであることから、そのデータが正しいと想定される。このため、この場合には、ステップ110に進んで、補正値として(A)のエリアに記憶されたものが正しい補正値として採用される。   First, in steps 100 to 190, byte majority processing is executed. In step 100, it is determined whether or not the correction value stored in the area (A) matches the correction value stored in the area (B). If an affirmative determination is made here, it is assumed that at least two of the data stored as correction values are the same, so that the data is correct. Therefore, in this case, the process proceeds to step 110, and the correction value stored in the area (A) is adopted as the correct correction value.

この後、ステップ120に進み、(A)のエリアに記憶された補正値と(C)のエリアに記憶された補正値とが一致するか否かが判定される。ここで肯定判定された場合には、補正値として記憶されたデータの3つすべてが同じであることから、すべてのデータが誤っておらず正しいと想定される。このため、この場合には、そのまま処理を終了する。逆に、ここで否定判定された場合には、(C)のエリアに記憶された補正値が誤っていると想定されることから、ステップ130に進む。そして、(C)のエリアに記憶された補正値を(A)のエリアに記憶された補正値に書き換えることで、(C)のエリアに記憶された補正値が修正される。   Thereafter, the process proceeds to step 120, and it is determined whether or not the correction value stored in the area (A) matches the correction value stored in the area (C). If an affirmative determination is made here, since all three of the data stored as correction values are the same, it is assumed that all data is correct and correct. Therefore, in this case, the process is terminated as it is. On the other hand, if a negative determination is made here, the correction value stored in the area (C) is assumed to be incorrect, and the routine proceeds to step 130. Then, the correction value stored in the area (C) is corrected by rewriting the correction value stored in the area (C) with the correction value stored in the area (A).

一方、ステップ100で否定判定された場合には、(A)、(B)いずれかのエリアに記憶された補正値が誤っていると考えられるため、ステップ140に進み、(A)のエリアに記憶された補正値と(C)のエリアに記憶された補正値とが一致するか否かが判定される。ここで肯定判定された場合には、(A)および(C)のエリアに記憶された補正値が正しく、(B)のエリアに記憶された補正値が誤っていると想定される。このため、この場合には、ステップ150に進んで、補正値として(C)のエリアに記憶されたものが正しい補正値として採用される。そして、ステップ160に進み、(B)のエリアに記憶された補正値を(C)のエリアに記憶された補正値に書き換えることで、(B)のエリアに記憶された補正値が修正される。   On the other hand, if a negative determination is made in step 100, the correction value stored in either area (A) or (B) is considered to be incorrect, so the process proceeds to step 140, and the area (A) is entered. It is determined whether or not the stored correction value matches the correction value stored in the area (C). If an affirmative determination is made here, it is assumed that the correction values stored in the areas (A) and (C) are correct and the correction values stored in the area (B) are incorrect. For this reason, in this case, the process proceeds to step 150, and the correction value stored in the area (C) is adopted as the correct correction value. Then, the process proceeds to step 160, and the correction value stored in the area (B) is corrected by rewriting the correction value stored in the area (B) with the correction value stored in the area (C). .

また、ステップ140で否定判定された場合には、ステップ170に進み、今度は、(B)のエリアに記憶された補正値と(C)のエリアに記憶された補正値とが一致するか否かが判定される。ここで肯定判定された場合には、(B)および(C)のエリアに記憶された補正値が正しく、(A)のエリアに記憶された補正値が誤っていると想定される。このため、この場合には、ステップ180に進んで、補正値として(B)のエリアに記憶されたものが正しい補正値として採用される。そして、ステップ190に進み、(A)のエリアに記憶された補正値を(B)のエリアに記憶された補正値に書き換えることで、(A)のエリアに記憶された補正値が修正される。   If a negative determination is made in step 140, the process proceeds to step 170, and this time, whether or not the correction value stored in the area (B) matches the correction value stored in the area (C). Is determined. When an affirmative determination is made here, it is assumed that the correction values stored in the areas (B) and (C) are correct, and the correction values stored in the area (A) are incorrect. Therefore, in this case, the process proceeds to step 180, and the correction value stored in the area (B) is adopted as the correct correction value. Then, the process proceeds to step 190, and the correction value stored in the area (A) is corrected by rewriting the correction value stored in the area (A) with the correction value stored in the area (B). .

続いて、ステップ170でも否定判定された場合には、(A)〜(C)のいずれのエリアに記憶された補正値も不一致であることから、3つとも不一致の場合の処理が実行される。   Subsequently, if a negative determination is also made in step 170, the correction values stored in any of the areas (A) to (C) are inconsistent, and therefore, the processing in the case where all three do not match is executed. .

まず、ステップ200において、デフォルト値があるか否かが設定される。ここでいうデフォルト値は、例えば、補正処理部2cにおけるプログラム内などに記憶されたもので、(A)〜(C)の3つのエリアに記憶された補正値すべてが不一致の場合に用いられるものである。このデフォルト値としては、「その値を補正値の代わりに使用した場合、正しい補正値が使用される場合のように最適とは言えないが、誤った補正値を使用するよりは、使用した方が良い」と言える値が設定される。このようなデフォルト値は、補正値として誤ったものが使用されると好ましくないようなものに対して付けられている。   First, in step 200, it is set whether or not there is a default value. The default value here is stored in, for example, a program in the correction processing unit 2c, and is used when all the correction values stored in the three areas (A) to (C) do not match. It is. The default value is: “If that value is used instead of the correction value, it is not optimal as if the correct correction value is used, but it is better to use it than using the wrong correction value. A value that can be said to be “good” is set. Such a default value is assigned to a value that is not preferable if an incorrect correction value is used.

そして、補正処理部2cにおけるプログラム中などにデフォルト値が記憶されており、ステップ200において肯定判定された場合には、ステップ210に進み、(A)〜(C)のエリアに記憶された補正値がデフォルト値に書き換えられ、補正値が修復される。これにより、一律的に補正値としてデフォルト値が設定される。   Then, a default value is stored in the program in the correction processing unit 2c, and when an affirmative determination is made in step 200, the process proceeds to step 210 and the correction value stored in the areas (A) to (C). Is rewritten to the default value, and the correction value is restored. Thereby, a default value is uniformly set as a correction value.

一方、デフォルト値が設定されていない場合には、ステップ200で否定判定され、ステップ220に進んでビット多数決が行われる。このビット多数決について、図3を参照して説明する。   On the other hand, if the default value is not set, a negative determination is made in step 200, and the process proceeds to step 220 where a bit majority decision is made. This bit majority decision will be described with reference to FIG.

図3は、ビット多数決の一例を示したものである。この図に示されるように、ビット多数決では、(A)〜(C)の各エリアに補正値として記憶された内容について、各エリアのビット毎に多数決が取られる。図中では、(A)〜(C)の各エリアの第1ビットが0、1、1となっていることから、多数決結果は1となる。このような多数決がビット毎に実行され、最終的にすべてのビットの多数決結果が得られる。この図に示される例の場合には、最終的な1110が多数決結果となる。   FIG. 3 shows an example of the bit majority vote. As shown in this figure, in the bit majority decision, the majority decision is taken for each bit of each area with respect to the contents stored as the correction value in each area (A) to (C). In the figure, since the first bit of each area (A) to (C) is 0, 1, and 1, the majority result is 1. Such a majority vote is executed for each bit, and finally a majority result of all bits is obtained. In the case of the example shown in this figure, the final 1110 is the majority result.

このようなビット多数決がステップ220で実行されると、(A)〜(C)の各エリアに記憶された補正値がビット多数決の結果に書き換えられ、補正値が修復される。この場合、ビット多数決の結果が必ずしも正しい補正値を示しているとは言えないが、このようなビット多数決を用いるべきではない場合には、上述したようにデフォルト値が設定されるようになっていることから、もしも、ビット多数決による補正値が誤っていたとしても、その補正値が使用されても重要な問題は発生しない。   When such bit majority is executed in step 220, the correction values stored in the areas (A) to (C) are rewritten into the result of bit majority and the correction values are restored. In this case, it cannot be said that the result of the bit majority vote always indicates a correct correction value, but when such a bit majority vote should not be used, the default value is set as described above. Therefore, even if the correction value by the bit majority decision is incorrect, no significant problem occurs even if the correction value is used.

以上説明したように、本実施形態では、バイト多数決処理において(A)〜(C)の各エリアに記憶された補正値がすべて不一致であった場合に、デフォルト値を用いることで、ビット多数決の結果が必ずしも正しい補正値になるとは限らないという欠点を補うことが可能となる。これにより、フェールセーフに優れたデータ修復装置とすることが可能となる。   As described above, in the present embodiment, when all the correction values stored in the areas (A) to (C) are inconsistent in the byte majority process, the default value is used to determine the bit majority. It is possible to compensate for the drawback that the result is not always a correct correction value. As a result, it is possible to provide a data restoration device that is excellent in fail-safe.

(他の実施形態)
上記実施形態では、1つのセンシング部からの検出信号がセンサ部1から出力されるような形態について説明したが、これは単なる一例である。例えば、上述したように、センサ部1にヨーレートセンサや加速度センサの2つのセンシング部が備えられるような場合には、これらそれぞれに対応して、A/Dコンバータ2a、補正処理部2c、外部記憶媒体2bが備えられることになる。
(Other embodiments)
In the above-described embodiment, the form in which the detection signal from one sensing unit is output from the sensor unit 1 has been described, but this is merely an example. For example, as described above, when the sensor unit 1 includes two sensing units such as a yaw rate sensor and an acceleration sensor, the A / D converter 2a, the correction processing unit 2c, the external storage, and the like corresponding to each of them. The medium 2b is provided.

また、上記実施形態では、デフォルト値を補正処理部2cにおけるプログラム中に記憶された例を示したが、各データを記憶する3つのエリアとは別に4つ目のエリアを設定し、その4つ目のエリアに各データに代わるデフォルト値を記憶させるようにしても良い。この場合、外部記憶媒体2bが本発明でいうデフォルト値記憶手段に相当することになる。   In the above-described embodiment, the default value is stored in the program in the correction processing unit 2c. However, a fourth area is set separately from the three areas for storing each data, and the four areas are set. A default value in place of each data may be stored in the eye area. In this case, the external storage medium 2b corresponds to the default value storage means in the present invention.

なお、各図中に示したステップは、各種処理を実行する手段に対応するものである。   The steps shown in each figure correspond to means for executing various processes.

本発明の第1実施形態におけるデータ修復装置を備えたセンサユニットのブロック構成を示す図である。It is a figure which shows the block configuration of the sensor unit provided with the data restoration apparatus in 1st Embodiment of this invention. 図1に示すセンサユニットに備えられた外部記憶媒体に記憶されたデータ構造例を示した図である。It is the figure which showed the example of a data structure memorize | stored in the external storage medium with which the sensor unit shown in FIG. 1 was equipped. 図1に示すセンサユニットに備えられる補正処理部が実行する補正値の読み出し及び修正処理のフローチャートである。3 is a flowchart of correction value reading and correction processing executed by a correction processing unit provided in the sensor unit shown in FIG. 1. ビット多数決の一例を示した模式図である。It is the schematic diagram which showed an example of the bit majority vote.

符号の説明Explanation of symbols

1…センサ部、2…信号処理部、2a…A/Dコンバータ、
2b…外部記憶媒体、2c…補正処理部。
DESCRIPTION OF SYMBOLS 1 ... Sensor part, 2 ... Signal processing part, 2a ... A / D converter,
2b: external storage medium, 2c: correction processing unit.

Claims (3)

複数のデータ1つずつを3つのエリアに記憶するデータ記憶手段と、
前記複数のデータの少なくとも一部に対応して、そのデータに代わるデフォルト値を記憶したデフォルト値記憶手段と、
前記3つのエリアそれぞれに記憶された前記データが一致するか否かを判定するデータ正誤判定手段と、
前記データ正誤判定手段によって、前記3つのエリアに記憶されたすべてのデータが不一致であると判定された場合に、前記デフォルト値記憶部に、前記データに対応した前記デフォルト値が記憶されているか否かを判定するデフォルト値判定手段と、
前記3つのエリアにおけるビット毎の多数決を行うビット多数決手段とを備え、
前記デフォルト値判定手段によって、前記データに対応した前記デフォルト値が記憶されていると判定された場合には、前記データ記憶手段に記憶された前記データが前記デフォルト値に書き換えられることで修復され、記憶されていると判定されなかった場合には、前記データ記憶手段に記憶された前記データが前記ビット多数決手段での多数決結果に書き換えられることで修復されるようになっていることを特徴とするデータ修復装置。
Data storage means for storing a plurality of data one by one in three areas;
Corresponding to at least a part of the plurality of data, default value storage means storing a default value in place of the data;
Data correctness determination means for determining whether or not the data stored in each of the three areas match;
Whether or not the default value corresponding to the data is stored in the default value storage unit when it is determined by the data correctness determination means that all data stored in the three areas do not match. A default value determining means for determining whether or not
A bit majority means for making a majority vote for each bit in the three areas,
When it is determined by the default value determination means that the default value corresponding to the data is stored, the data stored in the data storage means is repaired by being rewritten to the default value, If it is not determined that the data is stored, the data stored in the data storage means is repaired by being rewritten into a majority result in the bit majority means. Data recovery device.
前記データ正誤判定手段によって、前記3つのエリアに記憶された前記データのうち2つが一致しており、1つが不一致であると判定された場合に、不一致と判定された1つのデータが一致していると判定された2つのデータに書き換えられるようになっていることを特徴とする請求項1に記載のデータ修復装置。 When the data correctness determination unit determines that two of the data stored in the three areas match and one of the data does not match, one data determined to be inconsistent matches 2. The data restoration device according to claim 1, wherein the data is rewritten to two data determined to be present. 請求項1または2に記載のデータ修復装置を備えると共に、
物理量の検出を行い、その物理量に応じた検出信号を出力するセンサ部と、
前記センサ部からの検出信号を補正する補正処理手段とを備え、
前記データ記憶手段に、前記補正処理手段によって前記検出信号の補正を行うための補正値を記憶するようになっていることを特徴とするセンサユニット。
A data restoration device according to claim 1 or 2 is provided,
A sensor unit that detects a physical quantity and outputs a detection signal corresponding to the physical quantity;
Correction processing means for correcting the detection signal from the sensor unit,
A sensor unit, wherein a correction value for correcting the detection signal by the correction processing means is stored in the data storage means.
JP2004116821A 2004-04-12 2004-04-12 Data recovery device Expired - Fee Related JP4244847B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2004116821A JP4244847B2 (en) 2004-04-12 2004-04-12 Data recovery device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2004116821A JP4244847B2 (en) 2004-04-12 2004-04-12 Data recovery device

Publications (2)

Publication Number Publication Date
JP2005301671A true JP2005301671A (en) 2005-10-27
JP4244847B2 JP4244847B2 (en) 2009-03-25

Family

ID=35333122

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2004116821A Expired - Fee Related JP4244847B2 (en) 2004-04-12 2004-04-12 Data recovery device

Country Status (1)

Country Link
JP (1) JP4244847B2 (en)

Cited By (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2009146062A (en) * 2007-12-12 2009-07-02 Canon Inc Information processor and control method therefor
US8166353B2 (en) 2007-08-03 2012-04-24 Denso Corporation Memory management apparatus
JP2012212392A (en) * 2011-03-31 2012-11-01 Mitsubishi Electric Corp Error correction device, error correction method and error correction program
CN109408287A (en) * 2018-09-28 2019-03-01 昂纳信息技术(深圳)有限公司 A kind of storage and restoration methods, system and device of data reliability
JP2020159994A (en) * 2019-03-28 2020-10-01 株式会社デンソー Detection unit
WO2021161549A1 (en) * 2020-02-12 2021-08-19 オムロン株式会社 Data processing device, control method, and program

Cited By (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US8166353B2 (en) 2007-08-03 2012-04-24 Denso Corporation Memory management apparatus
JP2009146062A (en) * 2007-12-12 2009-07-02 Canon Inc Information processor and control method therefor
JP2012212392A (en) * 2011-03-31 2012-11-01 Mitsubishi Electric Corp Error correction device, error correction method and error correction program
CN109408287A (en) * 2018-09-28 2019-03-01 昂纳信息技术(深圳)有限公司 A kind of storage and restoration methods, system and device of data reliability
JP2020159994A (en) * 2019-03-28 2020-10-01 株式会社デンソー Detection unit
JP7234737B2 (en) 2019-03-28 2023-03-08 株式会社デンソー detection unit
WO2021161549A1 (en) * 2020-02-12 2021-08-19 オムロン株式会社 Data processing device, control method, and program
JP2021128420A (en) * 2020-02-12 2021-09-02 オムロン株式会社 Data processing device, control method, and program

Also Published As

Publication number Publication date
JP4244847B2 (en) 2009-03-25

Similar Documents

Publication Publication Date Title
JP2020184320A5 (en) System, storage medium and method for error detection and correction
CN102346050B (en) Sensing device and electronic apparatus
JP4244847B2 (en) Data recovery device
WO2016182014A1 (en) Operation detection device
KR880001118A (en) Method and apparatus for decrypting code symbol block
JP2016081341A (en) Electronic control device
JP2606862B2 (en) Single error detection and correction method
US8196026B2 (en) Method and computer unit for error detection and logging in a memory
JP6512065B2 (en) Electronic control unit
JP2008191939A (en) Redundant circuit device
JP2000089622A5 (en)
JP4851525B2 (en) Data processing system and driving method thereof
JP5299312B2 (en) Inertial force sensor device
JP4700329B2 (en) Midpoint correction device for angular velocity sensor
JP5158030B2 (en) Electronic control device for vehicle
JP4296888B2 (en) Electronic control unit
US8224882B2 (en) Industrial controller
JP5286916B2 (en) Vehicle behavior sensor temperature correction device
WO2019140888A1 (en) Protection method for error correcting code generator and check matrixes, and matrix storage/generation device
JP2009276072A (en) Abnormality determination method of acceleration sensor
JP6363044B2 (en) Control device
JP6191410B2 (en) Electronic control unit
JP2019045952A (en) Vehicle information memory device
JP2007192167A (en) Internal combustion engine control device
JP2006214748A (en) Correction data creating device of physical quantity sensor

Legal Events

Date Code Title Description
A621 Written request for application examination

Free format text: JAPANESE INTERMEDIATE CODE: A621

Effective date: 20060614

A977 Report on retrieval

Free format text: JAPANESE INTERMEDIATE CODE: A971007

Effective date: 20081210

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

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

R150 Certificate of patent or registration of utility model

Free format text: JAPANESE INTERMEDIATE CODE: R150

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

Free format text: PAYMENT UNTIL: 20120116

Year of fee payment: 3

LAPS Cancellation because of no payment of annual fees