JP2003194577A - Data processor - Google Patents

Data processor

Info

Publication number
JP2003194577A
JP2003194577A JP2001390681A JP2001390681A JP2003194577A JP 2003194577 A JP2003194577 A JP 2003194577A JP 2001390681 A JP2001390681 A JP 2001390681A JP 2001390681 A JP2001390681 A JP 2001390681A JP 2003194577 A JP2003194577 A JP 2003194577A
Authority
JP
Japan
Prior art keywords
data
storage means
stored
storage
match
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
JP2001390681A
Other languages
Japanese (ja)
Other versions
JP4352647B2 (en
Inventor
Morio Sakai
守雄 酒井
Masaki Mori
正樹 森
Kouji Aoki
甲次 青木
Yasushi Saito
靖 齋藤
Hiromichi Yasunori
裕道 安則
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Aisin Corp
Original Assignee
Aisin Seiki Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Aisin Seiki Co Ltd filed Critical Aisin Seiki Co Ltd
Priority to JP2001390681A priority Critical patent/JP4352647B2/en
Publication of JP2003194577A publication Critical patent/JP2003194577A/en
Application granted granted Critical
Publication of JP4352647B2 publication Critical patent/JP4352647B2/en
Anticipated expiration legal-status Critical
Expired - Fee Related legal-status Critical Current

Links

Landscapes

  • Indication And Recording Devices For Special Purposes And Tariff Metering Devices (AREA)

Abstract

<P>PROBLEM TO BE SOLVED: To improve reliability in data in a data transfer process. <P>SOLUTION: The data processor has first, second, and third storage means. Data are stored to at least three storage locations (a), (b), and (c) of the first storage means. Storage is made to storage locations A, B, and C of the second storage means 6 corresponding to each of three storage locations. At least three data that are stored into the second storage means 6 are compared. According the comparison, classification is made. More specifically, a case (S6) where at least three data coincide one another, cases (S10 and S14) where two data coincide each other, and a case (S12) where entire data do not coincide one another are classified. Based on the classified state, storage to the third storage means 7 is permitted/prohibited to the data that are stored into the second storage means 6. <P>COPYRIGHT: (C)2003,JPO

Description

【発明の詳細な説明】Detailed Description of the Invention

【0001】[0001]

【発明の属する技術分野】本発明は、基準値により被検
出対象物(物体あるいは部材)の状態を検出し、検出さ
れたデータの信頼性を向上させるデータ処理装置に関す
るものである。
BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention relates to a data processing device for detecting the state of an object to be detected (object or member) by a reference value and improving the reliability of the detected data.

【0002】[0002]

【従来の技術】従来、センサの中には、基準となる基準
値に対して、センサ信号におけるLSBの物理的数値の
設定により、検出範囲を設定し、被検出対象物(例え
ば、ある物体や物質、或いは部材等)の状態を検出する
センサが知られており、例えば、変位センサ、回転セン
サ、歪センサ)等が知られている。この様なセンサで
は、被検出対象物の特定状態でのセンサ値を基準値とし
て設定したり、過去に得られたセンサ値に基づき基準値
を算出して、その基準値から検出サレタセンサ値がどれ
だけ離れているかといった、相対的な関係によって、被
検出対象物の状態検出を行っており、この様なセンサか
らのセンサ情報は、一旦、メモリに記憶される。
2. Description of the Related Art Conventionally, in a sensor, a detection range is set by setting a physical numerical value of LSB in a sensor signal with respect to a reference value serving as a reference, and an object to be detected (for example, a certain object or A sensor for detecting the state of a substance, a member, or the like) is known, and for example, a displacement sensor, a rotation sensor, a strain sensor) or the like is known. In such a sensor, the sensor value in a specific state of the detected object is set as a reference value, or the reference value is calculated based on the sensor value obtained in the past, and the detected sales sensor value is calculated from the reference value. The state of the object to be detected is detected based on a relative relationship such as whether the sensor is separated from the sensor. Sensor information from such a sensor is temporarily stored in the memory.

【0003】データをメモリに記憶する場合、メモリに
データを記憶したり、制御装置内のレジスタにデータを
持ってくる過程において、データ転送に伴うデータ伝送
エラー等が発生する場合もあり、必ずしもその様な場合
には正確なデータがメモリあるいはレジスタに記憶され
るとは限らない。その結果、そのデータがセンサ性能を
決める基準値(例えば、零点等)のデータであると、そ
のデータを用いる制御装置に対して、データの信頼性が
良くないものとなってしまう。
When data is stored in a memory, a data transmission error or the like may occur due to data transfer in the process of storing the data in the memory or bringing the data into a register in the control device. In such a case, accurate data is not always stored in the memory or the register. As a result, if the data is data of a reference value (for example, a zero point) that determines the sensor performance, the reliability of the data becomes poor with respect to the control device using the data.

【0004】[0004]

【発明が解決しようとする課題】本発明は上記の問題点
に鑑みてなされたものであり、データ転送過程における
データの信頼性を向上させることを技術的課題とする。
SUMMARY OF THE INVENTION The present invention has been made in view of the above problems, and a technical object thereof is to improve the reliability of data in a data transfer process.

【0005】[0005]

【課題を解決するための手段】上記の課題を解決するた
めに講じた技術的手段は、第1記憶手段、第2記憶手段
および第3記憶手段を有し、一データを前記第1記憶手
段の少なくとも3つの記憶場所に記憶させ、前記3つの
記憶場所にそれぞれ対応する前記第2記憶手段の記憶場
所に記憶させた後、前記第2記憶手段に記憶された少な
くとも3つのデータの比較を行い、比較によって、少な
くとも3つのデータが一致した場合、2つのデータが一
致した場合、全てのデータが一致しない場合に区分し、
区分された状態に基づき、前記第2記憶手段に記憶した
データに対して、前記第3記憶手段への記憶を許可/禁
止としたことである。
[Means for Solving the Problems] Technical means taken to solve the above-mentioned problems include a first storage means, a second storage means and a third storage means, and one data is stored in the first storage means. In at least three storage locations of the second storage means, and after storing in the storage locations of the second storage means corresponding to the three storage locations respectively, at least three data stored in the second storage means are compared. , By comparison, if at least three data match, if two data match, if not all data, then divide
Based on the divided state, the data stored in the second storage means is permitted / prohibited to be stored in the third storage means.

【0006】上記の手段によれば、一データを、最初に
第1記憶手段の少なくとも3つの記憶場所に記憶させ
る。そして、3つの記憶場所にそれぞれ対応する第2記
憶手段の記憶場所に記憶させた後、第2記憶手段に記憶
された少なくとも3つのデータの比較が行われる。この
比較によって、少なくとも3つのデータが一致した場
合、2つのデータが一致した場合、全てのデータが一致
しない場合に区分され、区分された状態に基づき、第2
記憶手段に記憶したデータに対して、第3記憶手段への
記憶を許可/禁止としたので、少なくとも3つのデータ
が一致した場合のみ、第2記憶手段に記憶したデータ
を、第3記憶手段に記憶させることが可能となる。よっ
て、第2記憶手段において不確かなデータは第3記憶手
段への記憶は禁止され、第3記憶手段には記憶されない
ものとすることが可能となり、データの信頼性が向上す
る。
According to the above means, one data is first stored in at least three storage locations of the first storage means. Then, after the data is stored in the storage locations of the second storage means respectively corresponding to the three storage locations, the comparison of at least three data stored in the second storage means is performed. According to this comparison, at least three pieces of data are matched, two pieces of data are matched, and all the pieces of data are not matched.
Since the storage in the third storage means is permitted / prohibited with respect to the data stored in the storage means, the data stored in the second storage means is stored in the third storage means only when at least three pieces of data match. It becomes possible to memorize. Therefore, uncertain data in the second storage means is prohibited from being stored in the third storage means, and can be prevented from being stored in the third storage means, so that the reliability of the data is improved.

【0007】この場合、第2記憶手段に記憶された少な
くとも3つのデータが一致した場合、第3記憶手段への
記憶を許可し、第2記憶手段に記憶されるデータを前記
第3記憶手段の少なくとも2つの記憶場所に記憶させ、
更に第3記憶手段に記憶させたデータが一致する場合、
そのデータを正常データとすれば、少なくとも3つのデ
ータが一致した場合には、第3記憶手段への記憶が許可
される。そして、第3記憶手段への記憶が許可される
と、第2記憶手段に記憶されるデータを第3記憶手段の
少なくとも2つの記憶場所に記憶させ、更に、第3記憶
手段に記憶させたデータが一致する場合、そのデータを
正常データと見なせるので、第3記憶手段に記憶された
データは第3記憶手段での再度のデータ比較により、デ
ータの信頼性がより向上する。
In this case, when at least three pieces of data stored in the second storage means match, storage in the third storage means is permitted, and the data stored in the second storage means is stored in the third storage means. Store in at least two memory locations,
Furthermore, when the data stored in the third storage means match,
If the data is regarded as normal data, storage in the third storage means is permitted when at least three data match. When the storage in the third storage means is permitted, the data stored in the second storage means is stored in at least two storage locations of the third storage means, and further the data stored in the third storage means. If they match, the data can be regarded as normal data, so that the data stored in the third storage means is further compared in the third storage means, and the reliability of the data is further improved.

【0008】また、第2記憶手段に記憶された2つのデ
ータが一致した場合、第3記憶手段へのデータの記憶を
禁止し、第2記憶手段の不一致となった記憶場所に、一
致したデータを書き込み、書き込まれたデータを含めて
第2記憶手段に記憶された少なくとも3つのデータの比
較を行い、少なくとも3つのデータが一致した場合、第
2記憶手段に記憶されたデータを第3記憶手段の少なく
とも2つの記憶場所に記憶させ、更に第3記憶手段に記
憶させたデータが一致する場合、そのデータを正常デー
タとすることにより、2つのデータが一致し、1データ
が異なる場合(データが不確かな場合)には、第3記憶
手段へのデータの記憶を禁止する。一方、1データが異
なっていてもデータが一致しない不確かなデータの記憶
場所に、一致したデータの書き込みを行う。そして、書
き込まれたデータを含めて第2記憶手段に記憶された少
なくとも3つのデータが一致する場合には、データの信
頼性がある程度はあるものと見なし、第3記憶手段への
記憶が許可され、第2記憶手段に記憶されたデータを第
3記憶手段の少なくとも2つの記憶場所に記憶させる。
そして、第3記憶手段に記憶させたデータが一致する場
合には、信頼性があるデータと見なしてそのデータを正
常データとすることによって、データの信頼性がより向
上する。
When the two data stored in the second storage means match, the storage of the data in the third storage means is prohibited, and the matched data is stored in the mismatched storage location of the second storage means. Is written, and at least three data stored in the second storage means including the written data are compared. If at least three data match, the data stored in the second storage means is changed to the third storage means. In the case where the data stored in at least two storage locations of the above and the data stored in the third storage means match, if the data are normal data, the two data match and one data is different (data is If it is uncertain), the storage of data in the third storage means is prohibited. On the other hand, even if one data is different, the matched data is written to the storage location of the uncertain data where the data does not match. Then, when at least three pieces of data stored in the second storage means, including the written data, match, it is considered that the reliability of the data is to some extent, and the storage in the third storage means is permitted. , Storing the data stored in the second storage means in at least two storage locations of the third storage means.
Then, when the data stored in the third storage unit match, the reliability of the data is further improved by regarding the data as reliable data and normalizing the data.

【0009】更に、第3記憶手段の2つの記憶場所に記
憶させたデータが一致しない場合、第3記憶手段へのデ
ータの記憶を禁止し、第1記憶手段および第2記憶手段
に記憶されたデータをクリアするので、第3記憶手段に
おける不確かなデータはクリアされ、データ処理装置か
らは出力されない。よって、第2記憶手段および第3記
憶手段での多段での比較によって、データの信頼性が向
上する。
Further, when the data stored in the two storage locations of the third storage means do not match, the storage of the data in the third storage means is prohibited, and the data is stored in the first storage means and the second storage means. Since the data is cleared, the uncertain data in the third storage means is cleared and is not output from the data processing device. Therefore, the reliability of the data is improved by the multistage comparison in the second storage means and the third storage means.

【0010】更にその上、第2記憶手段に記憶された全
てのデータが互いに一致しない場合、第3記憶手段への
データの記憶は行わず、第1記憶手段および第2記憶手
段に記憶されたデータをクリアするので、データが完全
に不確かな場合にはデータはクリアされ、不確かなデー
タはデータ処理装置から出力されない。よってデータに
信頼性は向上する。
Furthermore, if all the data stored in the second storage means do not match each other, the data is not stored in the third storage means, but stored in the first storage means and the second storage means. Since the data is cleared, the data is cleared when the data is completely uncertain, and the uncertain data is not output from the data processing device. Therefore, the reliability of the data is improved.

【0011】[0011]

【発明の実施の形態】以下、本発明の一実施形態につい
て、図面を参照して説明する。図1はセンサ2からの信
号(データ)を、制御装置3に正確なデータを出力する
データ処理装置2のデータ伝送の流れを示すブロック図
である。尚、本実施形態においては、データ処理装置2
は基準値(例えば、零点)を設定し、制御装置3において
センサ2の検出範囲におけるLSBを予め設定し、零点
からどれだけ検出された数値データが離れているかによ
り、センサ2により検出を行う被検出対象物(例えば、
物体または部材)の状態を検出するが、本実施形態で
は、被検出対象物の状態検出にセンサ2を使用し、セン
サ2からの出力信号をデータとして以下に説明するが、
これに限定されるものではない。この様なセンサ2は基
準値となる零点と言った基準データが必要になり、正確
に零点を決めないと、そのセンサ2からのデータを使用
する制御装置3の信頼性が悪くなってしまう。
BEST MODE FOR CARRYING OUT THE INVENTION An embodiment of the present invention will be described below with reference to the drawings. FIG. 1 is a block diagram showing a flow of data transmission of a signal (data) from the sensor 2 of the data processing device 2 which outputs accurate data to the control device 3. In the present embodiment, the data processing device 2
Set a reference value (for example, a zero point), preset the LSB in the detection range of the sensor 2 in the control device 3, and perform detection by the sensor 2 depending on how far the detected numerical data is from the zero point. Detection target (for example,
The state of an object or a member) is detected. In the present embodiment, the sensor 2 is used to detect the state of an object to be detected, and an output signal from the sensor 2 will be described below as data.
It is not limited to this. Such a sensor 2 requires reference data such as a zero that is a reference value, and unless the zero is accurately determined, the reliability of the control device 3 that uses the data from the sensor 2 deteriorates.

【0012】そこで、制御装置3に対するデータの信頼
性を向上させることを目的として、センサ2の零点等に
代表されるデータ(ここでは、基準データと称す)を正
確に制御装置3へと出力するデータ処理装置1につい
て、図2を参照して説明する。
Therefore, for the purpose of improving the reliability of the data for the control device 3, the data represented by the zero point of the sensor 2 (herein referred to as reference data) is accurately output to the control device 3. The data processing device 1 will be described with reference to FIG.

【0013】データ処理装置1は、大別してデータを記
憶する為に3つの記憶手段を有し、メモリ5,7および
データを演算時に一時的に記憶するレジスタ6を有す
る。本実施形態においては、CPU外部の不揮発性のE
EPROMをメモリ(第1記憶手段)5とし、CPU内
部の揮発性のレジスタ(第2記憶手段)6およびCPU
内部の揮発性の内部メモリ(第3記憶手段)7を使用す
るものとして説明するが、これらのメモリ5,7および
レジスタ6は、センサ2からのデータをデータ伝送の過
程において少なくとも一時的に記憶できれば良く、特定
のメモリ領域であっても良い。また、この場合メモリの
数またはデータを記憶する記憶領域(バイト数)は、こ
れに限定されないものとする。
The data processing device 1 is roughly divided into three storage means for storing data, and has memories 5, 7 and a register 6 for temporarily storing data during calculation. In this embodiment, a nonvolatile E external to the CPU is used.
The EPROM is used as the memory (first storage means) 5, and the volatile register (second storage means) 6 inside the CPU and the CPU
Although description will be made assuming that the internal volatile internal memory (third storage means) 7 is used, these memories 5 and 7 and the register 6 at least temporarily store the data from the sensor 2 in the process of data transmission. It may be a specific memory area if possible. Further, in this case, the number of memories or the storage area (the number of bytes) for storing data is not limited to this.

【0014】メモリ5の内部には、3つのデータを記憶
できるメモリa,b,c・・・を有し、レジスタ6には
レジスタA,B,C・・・を有する。更に、CPUには
内部メモリ7に、複数のメモリA1,A2・・を有する
ものとする。
The memory 5 has memories a, b, c ... Which can store three data, and the register 6 has registers A, B, C. Further, the CPU has a plurality of memories A1, A2 ... In the internal memory 7.

【0015】次に、データ処理装置1の処理について、
図3に示すフローチャートを参照して説明する。尚、図
3はデータ処理装置1のデータ処理におけるフローチャ
ートであり、データ処理装置1は通常では所定周期(数
msec)でセンサ2からのデータを入力し、制御装置
3へと正確なデータを伝達する様、機能する。また、図
3ではデータ処理装置1に入力されるデータを基準デー
タとして説明を行う。
Next, regarding the processing of the data processing device 1,
This will be described with reference to the flowchart shown in FIG. 3 is a flowchart of data processing of the data processing device 1. Normally, the data processing device 1 inputs data from the sensor 2 in a predetermined cycle (several msec) and transmits accurate data to the control device 3. It works like you do. Further, in FIG. 3, description will be given with the data input to the data processing device 1 as reference data.

【0016】図3におけるデータ処理では、センサ2か
らのデータ(ここでは、基準データ)が送られてくる
と、ステップS1では、基準データが既にメモリ5の内
部のメモリa,b,cに記憶されているかが、最初に判
断される。ここで、基準データが既にメモリ5に記憶さ
れている場合には、以下に比較を行う初期データが既に
記憶されているものとして、ステップS3に進む。しか
し、ステップS1にて、基準データがまだメモリ5に記
憶されていない場合には、ステップS2において初期デ
ータとして、基準データのメモリ5の内部に書き込みを
行う。この場合、一データを少なくとも3つのメモリ
a,b,cに書き込み、記憶させる。そして、メモリ
a,b,cに記憶されたデータは、ステップS3にて、
CPU内部のレジスタA,B,Cに伝達され、レジスタ
A,B,Cに記憶される。具体的には、メモリaはレジ
スタA、メモリbはレジスタB、メモリcはレジスタC
にデータが移された後、レジスタA,B,CにおいてC
PU内部でのデータ比較がなされる。
In the data processing shown in FIG. 3, when data (here, reference data) from the sensor 2 is sent, the reference data is already stored in the memories a, b and c inside the memory 5 in step S1. It is first judged whether it has been done. Here, if the reference data is already stored in the memory 5, it is assumed that the initial data to be compared below is already stored, and the process proceeds to step S3. However, if the reference data is not yet stored in the memory 5 in step S1, the reference data is written in the memory 5 as initial data in step S2. In this case, one data is written and stored in at least three memories a, b, c. Then, the data stored in the memories a, b and c are
It is transmitted to the registers A, B and C inside the CPU and stored in the registers A, B and C. Specifically, memory a is register A, memory b is register B, and memory c is register C.
After the data is transferred to the
Data comparison is performed inside the PU.

【0017】ステップS4では、最初、レジスタAとレ
ジスタBのデータが比較される。ここで、レジスタAと
レジスタBのデータが一致する場合には、ステップS5
に進み、一致しない場合にはステップS9に進む。ステ
ップS5では今度レジスタAとレジスタCとのデータ比
較がなされ、レジスタAとレジスタCのデータが一致す
る場合にはステップS6に進み、一致しない場合にはス
テップS14に進む。
In step S4, the data in registers A and B are first compared. Here, if the data in the register A and the data in the register B match, step S5
If not, go to step S9. In step S5, the data of the register A and the register C are compared with each other. If the data of the register A and the data of the register C match, the process proceeds to step S6. If they do not match, the process proceeds to step S14.

【0018】つまり、ステップS5までの処理では、一
データを異なるレジスタA,B,Cに同時に記憶させ
る。そして、その3つのレジスタA,B,Cに記憶され
た同一のデータが3つとも等しい場合には、ステップS
6において、レジスタAのデータを、今度は内部メモリ
7の中のメモリA1,A2に共に同一データを記憶さ
せ、データの2重チェックを行うようにする。
That is, in the processing up to step S5, one data is stored in different registers A, B and C at the same time. If the same data stored in the three registers A, B, and C are all equal, then step S
6, the data of the register A is stored in the memories A1 and A2 in the internal memory 7 this time, and the double check of the data is performed.

【0019】一方、ステップS5にてレジスタAとレジ
スタCのデータが異なる場合、つまり、3つのレジスタ
A,B,Cに記憶させたデータの内、レジスタCのみ異
なる場合には、ステップS14にてレジスタCのデータ
を2つのデータが一致したデータに書き換えて、レジス
タCに記憶させる。そして、ステップS15にて再度、
レジスタAとレジスタCのデータ比較を行い、両者のデ
ータが一致した場合にはステップS6に進み、内部メモ
リ7への書き込みを行うが、レジスタAとレジスタCの
データが一致しない場合には、このデータは不確かなデ
ータと見なし、ステップS16に進み、ステップS16
において基準データ無としてメモリa,b,cおよびレ
ジスタA,B,Cに既に記憶されたデータのクリアを行
う。その後、ステップS1へと戻り、再度、ステップS
1からの処理を繰り返す。
On the other hand, if the data in the register A and the data in the register C are different in step S5, that is, if only the register C among the data stored in the three registers A, B, and C is different, in step S14. The data in the register C is rewritten to the data in which the two data match, and stored in the register C. Then, in step S15,
When the data of the register A and the data of the register C are compared, and when the data of both are matched, the process proceeds to step S6, and the writing to the internal memory 7 is performed. The data is regarded as uncertain data, the process proceeds to step S16, and step S16
At, the data already stored in the memories a, b, and c and the registers A, B, and C without any reference data is cleared. After that, the process returns to step S1 and again to step S1.
The process from 1 is repeated.

【0020】一方、ステップS4にてレジスタAとレジ
スタBのデータが一致しない場合には、今度はステップ
S9においてレジスタAとレジスタCのデータ比較を行
う。ここで、レジスタAとレジスタCのデータが一致す
る場合にはステップS10に進むが、レジスタAとレジ
スタCのデータが一致しない場合にはステップS12に
進む。つまり、ステップS3,ステップS4,ステップ
S9を行う中でステップS10を行うのは、3つのレジ
スタA,B,Cに同時に記憶させたデータに対して、レ
ジスタBのみ異なる場合であるが、この場合にはレジス
タBに2つのデータが一致したデータをメモリaに書き
込み、ステップS11にてレジスタAとレジスタBとを
データ比較する。そして、このステップS11におい
て、レジスタAとレジスタBのデータが一致する場合に
はステップS6に進み、一致しない場合にはステップS
16に進む。つまり、ステップS11ではデータとて不
確かなレジスタBのデータを2つのデータが一致し、正
常と思われるデータに書き換えて、再度、データ比較を
行う。そして、3つのレジスタA,B,Cのデータが一
致すれば内部メモリ7への記憶を許可して、内部メモリ
7への記憶を行うが、1つでもデータが異なる場合に
は、そのデータは不確かなデータとして、内部メモリ7
への記憶を禁止して、メモリ5およびレジスタ6のクリ
アを行う様にしている。
On the other hand, if the data in the register A and the data in the register B do not match in step S4, then the data in the register A and the data in the register C are compared in step S9. If the data in the register A and the data in the register C match, the process proceeds to step S10. If the data in the register A and the register C do not match, the process proceeds to step S12. That is, step S10 is performed among steps S3, S4, and S9 when only the register B is different from the data stored in the three registers A, B, and C at the same time. In step S11, the data in which the two data match is written in the memory a, and the data of the register A and the data of the register B are compared in step S11. Then, in step S11, if the data in the register A and the data in the register B match, the process proceeds to step S6.
Proceed to 16. That is, in step S11, the data in the register B, which is uncertain as the data, is rewritten to the data that the two data match and is considered normal, and the data comparison is performed again. If the data in the three registers A, B, and C match, the storage in the internal memory 7 is permitted, and the data is stored in the internal memory 7. However, if even one data is different, the data is As uncertain data, internal memory 7
Is prohibited, and the memory 5 and the register 6 are cleared.

【0021】一方、ステップS12では3つのレジスタ
A,B,Cに同時に記憶させたデータに対して、レジス
タAのみ異なる場合であるが、この場合には2つのデー
タが一致し、正常と思われるデータを書き込む。つま
り、レジスタAにメモリbのデータを書き込み、ステッ
プS13にてレジスタAとレジスタBとをデータ比較す
る。このステップS13において、レジスタAとレジス
タBのデータが一致する場合には内部メモリ7への記憶
を許可して、内部メモリ7への記憶を行うステップS6
に進むが、一致しない場合にはそのデータは不確かなデ
ータとして、内部メモリ7への記憶を禁止して、メモリ
5およびレジスタ6のクリアを行うステップS16に進
む。
On the other hand, in step S12, only the register A is different from the data stored in the three registers A, B, and C at the same time. In this case, the two data match and it is considered normal. Write the data. That is, the data of the memory b is written into the register A, and the data of the register A and the register B are compared in step S13. In this step S13, if the data in the register A and the data in the register B match, the storage in the internal memory 7 is permitted, and the storage in the internal memory 7 is performed.
However, if they do not match, the data is regarded as uncertain data, the storage in the internal memory 7 is prohibited, and the process proceeds to step S16 for clearing the memory 5 and the register 6.

【0022】その後、内部メモリ7にある程度は正確な
データとしてメモリA1,A2に記憶されたデータは、
ステップS7においてデータ比較がなされる。通常、同
一データを書き込む為、両者のデータは一致するかが最
終判断され、ここで、メモリA1,A2のデータが一致
しない場合には、そのデータは不確かなデータとして、
上記と同様にクリアされるステップS16に進むが、メ
モリA1,A2のデータが共に一致する場合にはステッ
プS8にて信頼性がおける正常なデータとして制御装置
3に出力した後、この処理を終了する。
Thereafter, the data stored in the memories A1 and A2 as accurate data to some extent in the internal memory 7 are
Data comparison is performed in step S7. Normally, since the same data is written, it is finally determined whether the two data match, and if the data in the memories A1 and A2 do not match, the data is uncertain.
The process proceeds to step S16 where the data is cleared in the same manner as above, but if the data in the memories A1 and A2 are the same, in step S8 the data is output to the control device 3 as reliable normal data, and then this process ends. To do.

【0023】[0023]

【発明の効果】本発明によれば、一データを、最初に第
1記憶手段の少なくとも3つの記憶場所に記憶させ、3
つの記憶場所にそれぞれ対応する第2記憶手段の記憶場
所に記憶させた後、第2記憶手段に記憶された少なくと
も3つのデータの比較が行う。そして少なくとも3つの
データが一致した場合、2つのデータが一致した場合、
全てのデータが一致しない場合に区分され、区分された
状態に基づき、第2記憶手段に記憶したデータに対し、
第3記憶手段への記憶を許可/禁止とする。以上より、
少なくとも3つのデータが一致した場合のみ、第2記憶
手段に記憶したデータを、第3記憶手段に記憶させるこ
とができる。この場合、第2記憶手段において不確かな
データは第3記憶手段への記憶が禁止され、第3記憶手
段には記憶されず、データの信頼性が向上する。従っ
て、データ処理装置からのデータ出力は、正確なデータ
のみ出力されるものとなり、正確なデータが出力できる
データ処理装置とすることができる。
According to the present invention, one data is first stored in at least three storage locations of the first storage means, and 3 is stored.
After storing in the storage locations of the second storage means respectively corresponding to the one storage location, at least three data stored in the second storage means are compared. And if at least three data match, if two data match,
When all the data do not match, the data is divided, and based on the divided state, with respect to the data stored in the second storage means,
The storage in the third storage means is permitted / prohibited. From the above,
Only when at least three pieces of data match, the data stored in the second storage means can be stored in the third storage means. In this case, uncertain data in the second storage means is prohibited from being stored in the third storage means and is not stored in the third storage means, and the reliability of the data is improved. Therefore, the data output from the data processing device is only accurate data, and the data processing device can output accurate data.

【0024】そしてこの場合、第2記憶手段に記憶させ
た少なくとも3つのデータが一致した場合、第3記憶手
段への記憶を許可し、第2記憶手段に記憶されるデータ
を前記第3記憶手段の少なくとも2つの記憶場所に記憶
させる。更に第3記憶手段に記憶させたデータが一致す
る場合、そのデータを正常データとすれば、少なくとも
3つのデータが一致した場合には、第3記憶手段への記
憶が許可される。第3記憶手段への記憶が許可される
と、第2記憶手段に記憶されるデータを第3記憶手段の
少なくとも2つの記憶場所に記憶させる。そして第3記
憶手段に記憶させたデータが一致する場合、そのデータ
を正常データと見なすことができるので、データの信頼
性がより向上する様にできる。
In this case, when at least three data stored in the second storage means match, the storage in the third storage means is permitted, and the data stored in the second storage means is stored in the third storage means. In at least two memory locations of. Further, when the data stored in the third storage means match, if the data is regarded as normal data, the storage in the third storage means is permitted when at least three data match. When the storage in the third storage unit is permitted, the data stored in the second storage unit is stored in at least two storage locations of the third storage unit. Then, when the data stored in the third storage means match, the data can be regarded as normal data, so that the reliability of the data can be further improved.

【0025】また、第2記憶手段に記憶された2つのデ
ータが一致した場合、第3記憶手段へのデータの記憶を
禁止し、第2記憶手段の不一致となった記憶場所に、一
致したデータを書き込む。そして書き込まれたデータを
含めて第2記憶手段に記憶された少なくとも3つのデー
タの比較を行い、少なくとも3つのデータが一致した場
合、第2記憶手段に記憶されたデータを第3記憶手段の
少なくとも2つの記憶場所に記憶させる。そして更に第
3記憶手段に記憶させたデータが一致する場合、そのデ
ータを正常データとする。以上より2つのデータが一致
し、データが不確かな場合には、第3記憶手段へのデー
タの記憶を禁止するため、データの信頼性が向上する。
この場合、1データが異なっていてもデータが一致しな
い不確かなデータの記憶場所に、一致したデータの書き
込みを行う。そして書き込まれたデータが第2記憶手段
に記憶された他データと一致する場合には、データの信
頼性がある程度はあるものと見なし、第3記憶手段への
記憶が許可する。そして第2記憶手段に記憶されたデー
タを第3記憶手段の少なくとも2つの記憶場所に記憶さ
せる。そして第3記憶手段に記憶させたデータが一致す
る場合には、信頼性があるデータとみなしてそのデータ
を正常データとする。よって、データの信頼性をより向
上させることができる。
When the two data stored in the second storage means match, the storage of the data in the third storage means is prohibited and the matched data is stored in the mismatched storage location of the second storage means. Write. Then, at least three data stored in the second storage means including the written data are compared, and if at least three data match, the data stored in the second storage means is stored in at least the third storage means. Store in two memory locations. Then, when the data stored in the third storage means match each other, the data is regarded as normal data. As described above, when the two data match and the data is uncertain, the storage of the data in the third storage means is prohibited, so that the reliability of the data is improved.
In this case, even if one data is different, the matched data is written to the storage location of the uncertain data where the data does not match. Then, when the written data matches the other data stored in the second storage means, it is considered that the data has a certain degree of reliability, and the storage in the third storage means is permitted. Then, the data stored in the second storage means is stored in at least two storage locations of the third storage means. If the data stored in the third storage means match, the data is regarded as reliable and the data is regarded as normal data. Therefore, the reliability of the data can be further improved.

【0026】更に、第3記憶手段の2つの記憶場所に記
憶させたデータが一致しない場合、第3記憶手段へのデ
ータの記憶を禁止し、第1記憶手段および第2記憶手段
に記憶されたデータをクリアする。このため第3記憶手
段における不確かなデータはクリアされ、データ処理装
置からは出力されない。よって、第2記憶手段および第
3記憶手段での多段での比較によって、データの信頼性
が向上する。
Further, when the data stored in the two storage locations of the third storage means do not match, the storage of the data in the third storage means is prohibited and the data is stored in the first storage means and the second storage means. Clear the data. Therefore, the uncertain data in the third storage means is cleared and is not output from the data processing device. Therefore, the reliability of the data is improved by the multistage comparison in the second storage means and the third storage means.

【0027】更にその上、第2記憶手段に記憶された全
てのデータが互いに一致しない場合、第3記憶手段への
データの記憶を禁止し、第1記憶手段および第2記憶手
段に記憶されたデータをクリアする。よって、データが
完全に不確かな場合にはデータはクリアされ、不確かな
データはデータ処理装置から出力されない。従ってデー
タの信頼性が向上する。
Furthermore, if all the data stored in the second storage means do not match each other, storing of the data in the third storage means is prohibited and the data is stored in the first storage means and the second storage means. Clear the data. Therefore, when the data is completely uncertain, the data is cleared and the uncertain data is not output from the data processing device. Therefore, the reliability of the data is improved.

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

【図1】本発明の一実施形態におけるデータ処理装置に
接続されるセンサからのデータの流れを示すブロック図
である。
FIG. 1 is a block diagram showing a flow of data from a sensor connected to a data processing device according to an embodiment of the present invention.

【図2】図1に示すデータ処理装置でのデータの流れを
示すブロック図である。
FIG. 2 is a block diagram showing a data flow in the data processing device shown in FIG.

【図3】図1に示すデータ処理装置のデータ処理を示す
フローチャートである。
FIG. 3 is a flowchart showing data processing of the data processing device shown in FIG.

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

1 データ処理装置 2 センサ 3 制御装置 5 メモリ(第1記憶手段) 6 レジスタ(第2記憶手段) 7 内部メモリ(第3記憶手段) 1 Data processing device 2 sensors 3 control device 5 memory (first storage means) 6 registers (second storage means) 7 Internal memory (third storage means)

───────────────────────────────────────────────────── フロントページの続き (72)発明者 齋藤 靖 愛知県刈谷市朝日町2丁目1番地 アイシ ン精機株式会社内 (72)発明者 安則 裕道 愛知県刈谷市昭和町2丁目3番地 アイシ ン・エンジニアリング株式会社内 Fターム(参考) 2F075 AA10 5B083 BB01 CC04 CC06 CE01 CE02 GG04    ─────────────────────────────────────────────────── ─── Continued front page    (72) Inventor Yasushi Saito             Aichi, 2-chome, Asahi-cho, Kariya city, Aichi prefecture             Within Seiki Co., Ltd. (72) Inventor Hiromichi Yasunori             Aishi, 2-3, Showa-cho, Kariya city, Aichi prefecture             Inside Engineering Co., Ltd. F-term (reference) 2F075 AA10                 5B083 BB01 CC04 CC06 CE01 CE02                       GG04

Claims (5)

【特許請求の範囲】[Claims] 【請求項1】 第1記憶手段、第2記憶手段および第3
記憶手段を有し、一データを前記第1記憶手段の少なく
とも3つの記憶場所に記憶させ、前記3つの記憶場所に
それぞれ対応する前記第2記憶手段の記憶場所に記憶さ
せた後、前記第2記憶手段に記憶された少なくとも3つ
のデータの比較を行い、比較によって、少なくとも3つ
のデータが一致した場合、2つのデータが一致した場
合、全てのデータが一致しない場合に区分し、区分され
た状態に基づき、前記第2記憶手段に記憶したデータの
前記第3記憶手段への記憶を許可/禁止とすることを特
徴とするデータ処理装置。
1. A first storage means, a second storage means, and a third storage means.
A second storage unit having storage means, storing one data in at least three storage locations of the first storage means, and storing the data in storage locations of the second storage means respectively corresponding to the three storage locations; At least three pieces of data stored in the storage means are compared with each other, and at least three pieces of data are matched, two pieces of data are matched, and all the pieces of data are not matched by the comparison. Based on the above, the data processing device is characterized by permitting / prohibiting the storage of the data stored in the second storage means in the third storage means.
【請求項2】 前記第2記憶手段に記憶された少なくと
も3つのデータが一致した場合、前記第3記憶手段への
記憶を許可し、前記第2記憶手段に記憶されるデータを
前記第3記憶手段の少なくとも2つの記憶場所に記憶さ
せ、更に前記第3記憶手段に記憶させたデータが一致す
る場合、該データを正常データとすることを特徴とする
請求項1に記載のデータ処理装置。
2. When at least three pieces of data stored in the second storage means match, storage in the third storage means is permitted, and the data stored in the second storage means is stored in the third storage. The data processing apparatus according to claim 1, wherein when the data stored in at least two storage locations of the means and further stored in the third storage means match, the data is regarded as normal data.
【請求項3】 前記第2記憶手段に記憶された2つのデ
ータが一致した場合、前記第3記憶手段へのデータの記
憶を禁止し、前記第2記憶手段の不一致となった記憶場
所に、一致したデータを書き込み、該書き込まれたデー
タを含めて前記第2記憶手段に記憶された少なくとも3
つのデータの比較を行い、少なくとも3つのデータが一
致した場合、前記第2記憶手段に記憶されたデータを前
記第3記憶手段の少なくとも2つの記憶場所に記憶さ
せ、更に前記第3記憶手段に記憶させたデータが一致す
る場合、該データを正常データとすることを特徴とする
請求項1または請求項2に記載のデータ処理装置。
3. When the two data stored in the second storage means match, the storage of the data in the third storage means is prohibited, and in the storage location in which the second storage means does not match, At least 3 pieces of written coincident data are stored in the second storage means including the written data.
When two data are compared and at least three data match, the data stored in the second storage means is stored in at least two storage locations of the third storage means, and further stored in the third storage means. The data processing device according to claim 1 or 2, wherein, when the matched data match, the data is regarded as normal data.
【請求項4】 前記第3記憶手段の2つの記憶場所に
記憶させたデータが一致しない場合、前記第3記憶手段
へのデータの記憶を禁止し、前記第1記憶手段および前
記第2記憶手段に記憶されたデータをクリアすることを
特徴とする請求項1乃至請求項3のいずれかに記載のデ
ータ処理装置。
4. When the data stored in the two storage locations of the third storage means do not match, storage of the data in the third storage means is prohibited, and the first storage means and the second storage means. 4. The data processing device according to claim 1, wherein the data stored in is cleared.
【請求項5】 前記第2記憶手段に記憶させた全てのデ
ータが互いに一致しない場合、前記第3記憶手段へのデ
ータの記憶を禁止し、前記第1記憶手段および前記第2
記憶手段に記憶されたデータをクリアすることを特徴と
する請求項1乃至請求項4のいずれかに記載のデータ処
理装置。
5. When all the data stored in the second storage means do not match each other, storage of the data in the third storage means is prohibited, and the first storage means and the second storage means are prohibited.
The data processing device according to claim 1, wherein the data stored in the storage means is cleared.
JP2001390681A 2001-12-21 2001-12-21 Data processing device Expired - Fee Related JP4352647B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2001390681A JP4352647B2 (en) 2001-12-21 2001-12-21 Data processing device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2001390681A JP4352647B2 (en) 2001-12-21 2001-12-21 Data processing device

Publications (2)

Publication Number Publication Date
JP2003194577A true JP2003194577A (en) 2003-07-09
JP4352647B2 JP4352647B2 (en) 2009-10-28

Family

ID=27598486

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2001390681A Expired - Fee Related JP4352647B2 (en) 2001-12-21 2001-12-21 Data processing device

Country Status (1)

Country Link
JP (1) JP4352647B2 (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2007004690A (en) * 2005-06-27 2007-01-11 Hitachi Ltd Storage control method, system, and program

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2007004690A (en) * 2005-06-27 2007-01-11 Hitachi Ltd Storage control method, system, and program
JP4531643B2 (en) * 2005-06-27 2010-08-25 株式会社日立製作所 Storage control method, system and program

Also Published As

Publication number Publication date
JP4352647B2 (en) 2009-10-28

Similar Documents

Publication Publication Date Title
FI86921C (en) LOEPBANDLIKNANDE FELKORRIGERINGSSYSTEM
CN100541440C (en) Semiconductor memory apparatus and pseudo SRAM
US8195946B2 (en) Protection of data of a memory associated with a microprocessor
CA1311304C (en) Apparatus for forcing a reload from main memory upon cache memory error
US8621194B2 (en) Processor NAND flash boot system and method
KR102307955B1 (en) Determining match between data values stored by several arrays
JP2003194577A (en) Data processor
US8196026B2 (en) Method and computer unit for error detection and logging in a memory
JP2006344087A (en) Task management device for controller and task management method for controller
KR102395604B1 (en) Determining match between data values stored by three or more arrays
JP2010049722A (en) Content addressable memory data error detecting device and content addressable memory data error detection method, and program
JP2731047B2 (en) Program operand check method
KR100457040B1 (en) Apparatus and method for data processing using multiply-accumulate instructions
JPH07210215A (en) Data check method for eeprom
KR900002436B1 (en) Bypass control system for pipeline processing
JP3695078B2 (en) Programmable controller with pulse output instructions
US7661056B2 (en) Circuit arrangement for processing data
JPS6227829A (en) Control system for multiplex load instruction
JP2702277B2 (en) Microcomputer with built-in PROM
JP3616588B2 (en) Micro program check system
JPS5933551A (en) Operand duplication detecting circuit
WO2007020751A1 (en) Associative memory system, method for controlling associative memory system, and data processor
JPH01284946A (en) Error correction system
JPH0232646A (en) Data link system
JP2004021527A (en) Method for detecting erroneous data of nonvolatile memory

Legal Events

Date Code Title Description
A621 Written request for application examination

Free format text: JAPANESE INTERMEDIATE CODE: A621

Effective date: 20040922

A131 Notification of reasons for refusal

Free format text: JAPANESE INTERMEDIATE CODE: A131

Effective date: 20080408

A521 Request for written amendment filed

Free format text: JAPANESE INTERMEDIATE CODE: A523

Effective date: 20080606

A131 Notification of reasons for refusal

Free format text: JAPANESE INTERMEDIATE CODE: A131

Effective date: 20081202

A521 Request for written amendment filed

Free format text: JAPANESE INTERMEDIATE CODE: A523

Effective date: 20090109

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

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

R151 Written notification of patent or utility model registration

Ref document number: 4352647

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

Year of fee payment: 3

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

Free format text: PAYMENT UNTIL: 20130807

Year of fee payment: 4

LAPS Cancellation because of no payment of annual fees