JPH04227118A - Method and device for eliminating data noise - Google Patents

Method and device for eliminating data noise

Info

Publication number
JPH04227118A
JPH04227118A JP41717890A JP41717890A JPH04227118A JP H04227118 A JPH04227118 A JP H04227118A JP 41717890 A JP41717890 A JP 41717890A JP 41717890 A JP41717890 A JP 41717890A JP H04227118 A JPH04227118 A JP H04227118A
Authority
JP
Japan
Prior art keywords
data
sampling
outputs
predetermined number
value
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.)
Withdrawn
Application number
JP41717890A
Other languages
Japanese (ja)
Inventor
Koichi Asanuma
幸一 浅沼
Genichi Machino
町野 元一
Takayuki Kasukabe
春日部 貴之
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.)
Fujitsu Ltd
Fujitsu Integrated Microtechnology Ltd
Original Assignee
Fujitsu Ltd
Fujitsu Integrated Microtechnology 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 Fujitsu Ltd, Fujitsu Integrated Microtechnology Ltd filed Critical Fujitsu Ltd
Priority to JP41717890A priority Critical patent/JPH04227118A/en
Publication of JPH04227118A publication Critical patent/JPH04227118A/en
Withdrawn legal-status Critical Current

Links

Landscapes

  • Measurement Of Current Or Voltage (AREA)
  • Control Of Temperature (AREA)
  • Analogue/Digital Conversion (AREA)

Abstract

PURPOSE:To obtain a method and a device capable of surely eliminating noise on analog data. CONSTITUTION:This device is comprised of sampling step 101 in which the analog data DA is sampled at a period T, sampling number of times count step 102 in which the number (n) of times of sampling in the sampling step 101 is counted and the prescribed number N of times and a data output command SC are outputted when it arrives at the prescribed number N of times, data addition step 103 in which sampling data sampled in the sampling step 101 is added sequentially and from which a data addition result value SIGMA until then is outputted when the data output command SC is issued, and data averaging step 104 in which a data mean value DM at a cycle NT is outputted by computing from outputted prescribed number N of times and the data addition result value SIGMA based on equation DM=SIGMA/N.

Description

【発明の詳細な説明】[Detailed description of the invention]

【0001】0001

【産業上の利用分野】本発明は、アナログデータのノイ
ズを除去する方法及びアナログデータのノイズを除去す
る装置に関する。
BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention relates to a method for removing noise from analog data and an apparatus for removing noise from analog data.

【0002】0002

【従来の技術】従来、アナログデータを、図6に示す方
法により、A/Dコンバータを介してディジタル化し、
マイコン等で読み込むことが一般的に行われている。
2. Description of the Related Art Conventionally, analog data is digitized via an A/D converter by the method shown in FIG.
It is generally read by a microcomputer, etc.

【0003】0003

【発明が解決しようとする課題】しかし、この場合、ア
ナログ回路上のノイズの影響が数値として確実に表われ
る。(図7、8)ノイズの乗ったアナログデータをデジ
タル化し、それを演算に使用すると、結果としてデータ
のばらつきが多くなる。このノイズを除去するため、通
常はコンデンサやノイズフィルタ、シールド等を用い、
アナログ回路上で対策を行なっているが、確実なノイズ
除去は難しくコスト的にも高くなるという問題点があっ
た。
However, in this case, the influence of noise on the analog circuit is definitely expressed numerically. (FIGS. 7 and 8) When analog data containing noise is digitized and used for calculations, the result is that the data varies widely. To remove this noise, capacitors, noise filters, shields, etc. are usually used.
Countermeasures have been taken using analog circuits, but the problem is that reliable noise removal is difficult and costly.

【0004】本発明の目的は、確実にアナログデータの
ノイズを除去しうる方法及び装置を提供することにある
An object of the present invention is to provide a method and apparatus that can reliably remove noise from analog data.

【0005】[0005]

【課題を解決するための手段】上記課題を解決するため
に、請求項1記載の発明は、図1に示すようにアナログ
データDA を周期Tでサンプリングするサンプリング
ステップ101と、サンプリングステップ101におけ
るサンプリング回数nをカウントし、所定の回数Nに達
すると、この所定の回数N及びデータ出力指令SC を
出力するサンプリング回数カウントステップ102と、
サンプリングステップ101においてサンプリングされ
たサンプリングデータを順次加算し、データ出力指令が
出力されると、その時点までのデータ加算結果値Σを出
力するデータ加算ステップ103と、出力された所定の
回数Nとデータ加算結果値Σとから、周期NTにおける
データ均等DM を、下記の式
[Means for Solving the Problems] In order to solve the above problems, the invention according to claim 1 provides a sampling step 101 for sampling analog data DA at a period T, as shown in FIG. a sampling number counting step 102 of counting the number of times n and, when reaching a predetermined number of times N, outputting the predetermined number of times N and a data output command SC;
The sampling data sampled in the sampling step 101 is sequentially added, and when a data output command is output, the data addition step 103 outputs the data addition result value Σ up to that point, and the predetermined number of times N and data that have been output are added. From the addition result value Σ, the data equality DM in the period NT can be calculated using the following formula.

【0006】[0006]

【数7】[Math 7]

【0007】に基づいて演算し出力するデータ平均ステ
ップ104と、を含んで構成される。請求項2記載の発
明は、アナログデータDA を周期Tでサンプリングす
るサンプリング手段111と、サンプリング手段111
におけるサンプリング回数nをカウントし、所定の回数
Nに達すると、この所定の回数N及びデータ出力指令S
C を出力するサンプリング回数カウント手段112と
、サンプリング手段111においてサンプリングされた
サンプリングデータを順次加算し、データ出力指令が出
力されると、その時点までのデータ加算結果値Σを出力
するデータ加算手段113と、出力された所定の回数N
とデータ加算結果値Σとから、周期NTにおけるデータ
平均値DM を、下記の式
The data averaging step 104 calculates and outputs data based on . The invention according to claim 2 provides a sampling means 111 for sampling the analog data DA at a period T;
When the number of sampling times n in
A sampling number counting means 112 that outputs C , and a data addition means 113 that sequentially adds the sampling data sampled in the sampling means 111 and, when a data output command is output, outputs the data addition result value Σ up to that point. and the predetermined number of times N
From the data addition result value Σ, the data average value DM in the period NT can be calculated using the following formula.

【0008】[0008]

【数8】[Math. 8]

【0009】に基づいて演算し出力するデータ平均手段
114と、を含んで構成される。請求項3記載の発明は
、データ計測手段とデータ出力手段とを備えた計測装置
において、データ出力手段は、データ計測手段により演
算されたアナログデータDA を周期Tでサンプリング
するサンプリング部111と、サンプリング部111に
おけるサンプリング回数nをカウントし、所定の回数N
に達すると、この所定の回数N及びデータ出力指令SC
 を出力するサンプリング回数カウント部112と、サ
ンプリング部111においてサンプリングされたサンプ
リングデータを順次加算し、データ出力指令が出力され
ると、その時点までのデータ加算結果値Σを出力するデ
ータ加算部113と、出力された所定の回数Nと前記デ
ータ加算結果値Σとから、周期NTにおけるデータ平均
値DM を、下記の式
The data averaging means 114 calculates and outputs data based on . The invention according to claim 3 is a measuring device comprising a data measuring means and a data outputting means, wherein the data outputting means includes a sampling section 111 that samples the analog data DA calculated by the data measuring means at a period T; The number of samplings n in the section 111 is counted, and a predetermined number of times N
When it reaches this predetermined number of times N and data output command SC
a sampling number counting section 112 that outputs the data, and a data addition section 113 that sequentially adds the sampling data sampled in the sampling section 111 and outputs the data addition result value Σ up to that point when a data output command is output. , from the predetermined number of outputs N and the data addition result value Σ, the data average value DM in the period NT is calculated using the following formula.

【0010】0010

【数9】[Math. 9]

【0011】に基づいて演算し出力するデータ平均部1
14と、を含んで構成される。請求項4記載の発明は、
電圧値計測手段と電圧値出力手段とを備えた電圧計にお
いて、電圧値出力手段は、電圧値計測手段により測定さ
れたアナログ電圧データDA を周期Tでサンプリング
するサンプリング部111と、サンプリング部111に
おけるサンプリング回数nをカウントし、所定の回数N
に達すると、この所定の回数N及びデータ出力指令SC
 を出力するサンプリング回数カウント部112と、サ
ンプリング部111においてサンプリングされたサンプ
リングデータを順次加算し、データ出力指令が出力され
ると、その時点までのデータ加算結果値Σを出力するデ
ータ加算部113と、出力された所定の回数Nとデータ
加算結果値Σとから、周期NTにおける電圧データ均等
DM を、下記の式
Data averaging unit 1 which calculates and outputs based on
14. The invention according to claim 4 is:
In a voltmeter including a voltage value measuring means and a voltage value outputting means, the voltage value outputting means includes a sampling section 111 that samples analog voltage data DA measured by the voltage value measuring means at a period T; Count the number of sampling times n, and perform a predetermined number of times N.
When it reaches this predetermined number of times N and data output command SC
a sampling number counting section 112 that outputs the data, and a data addition section 113 that sequentially adds the sampling data sampled in the sampling section 111 and outputs the data addition result value Σ up to that point when a data output command is output. , from the predetermined number of outputs N and the data addition result value Σ, the voltage data equality DM in the period NT can be calculated using the following formula.

【0012】0012

【数10】[Math. 10]

【0013】に基づいて演算し出力するデータ平均部1
14と、を含んで構成される。請求項5記載の発明は、
電流値計測手段と電流値出力手段とを備えた電流計にお
いて、電流値出力手段は、電流値計測手段により計測さ
れたアナログ電流データDA を周期Tでサンプリング
するサンプリング部111と、サンプリング部111に
おけるサンプリング回数nをカウントし、所定の回数N
に達すると、この所定の回数N及びデータ出力指令SC
 を出力するサンプリング回数カウント部112と、サ
ンプリング部111においてサンプリングされたサンプ
リングデータを順次加算し、データ出力指令が出力され
ると、その時点までのデータ加算結果値Σを出力するデ
ータ加算部113と、出力された所定の回数Nとデータ
加算結果値Σとから、周期NTにおける電流データ平均
値DM を、下記の式
Data averaging unit 1 that calculates and outputs based on
14. The invention according to claim 5 is:
In an ammeter including a current value measuring means and a current value outputting means, the current value outputting means includes a sampling section 111 that samples analog current data DA measured by the current value measuring means at a period T; Count the number of sampling times n, and perform a predetermined number of times N.
When it reaches this predetermined number of times N and data output command SC
a sampling number counting section 112 that outputs the data, and a data addition section 113 that sequentially adds the sampling data sampled in the sampling section 111 and, when a data output command is output, outputs the data addition result value Σ up to that point. , from the predetermined number of outputs N and the data addition result value Σ, the current data average value DM in the period NT can be calculated using the following formula.

【0014】[0014]

【数11】[Math. 11]

【0015】に基づいて演算し出力するデータ平均部1
14と、を含んで構成される。本請求項6記載の発明は
、被測定物の温度を測定しアナログ温度データを出力す
る温度測定手段と、アナログ温度データをディジタル温
度データに変換するデータ変換手段と、ディジタル温度
データと予め設定された設定温度データとを比較し、こ
の比較結果に応じて制御信号を出力する制御手段と、制
御信号に基づき被測定物の温度を調節する温度調節手段
と、を備えた温度調節装置であって、データ変換手段は
、アナログ温度データDA を周期Tでサンプリングす
るサンプリング部111と、サンプリングステップ11
1におけるサンプリング回数nをカウントし、所定の回
数Nに達すると、この所定の回数N及びデータ出力指令
SC を出力するサンプリング回数カウント部112と
、サンプリング部111においてサンプリングされたサ
ンプリングデータを順次加算し、データ出力指令が出力
されると、その時点までのデータ加算結果値Σを出力す
るデータ加算部113と、出力された所定の回数Nとデ
ータ加算結果値Σとから、周期NTにおける温度データ
平均値DM を、下記の式
Data averaging unit 1 that calculates and outputs based on
14. The invention as set forth in claim 6 provides a temperature measuring means for measuring the temperature of the object to be measured and outputting analog temperature data, a data converting means for converting the analog temperature data into digital temperature data, and a preset digital temperature data. A temperature adjustment device comprising: a control means for comparing the set temperature data and outputting a control signal according to the comparison result; and a temperature adjustment means for adjusting the temperature of the object to be measured based on the control signal. , the data conversion means includes a sampling section 111 that samples the analog temperature data DA at a period T, and a sampling step 11.
1, and when a predetermined number N is reached, a sampling number counting section 112 outputs the predetermined number N and a data output command SC, and the sampling data sampled in the sampling section 111 are sequentially added. , when a data output command is output, the data addition unit 113 outputs the data addition result value Σ up to that point, and calculates the temperature data average in the period NT from the predetermined number of outputs N and the data addition result value Σ. The value DM is expressed as

【0016】[0016]

【数12】[Math. 12]

【0017】に基づいて演算し出力するデータ平均部1
14と、を含んで構成される。
Data averaging unit 1 that calculates and outputs based on
14.

【0018】[0018]

【作用】通常のデータサンプリングは、図8に示すよう
に行われ、図7に示すノイズの影響が顕著に現れ、デー
タのばらつきDp 、Dq 、Dr 等が生ずるが、図
8に示すサンプリング周期Tがそのシステムにおいて必
要な周期よりも十分に速い場合、例えばそのシステムと
しては1秒/回のサンプリング周期でも十分であるが能
力としては0.1秒/回でサンプリングが行なえる場合
には、時間NT(この場合は10T)の時間中のデータ
を順次加算してΣDi を得、この加算値を用いて、
[Operation] Normal data sampling is performed as shown in FIG. 8, and the influence of noise shown in FIG. 7 appears prominently, causing data variations Dp, Dq, Dr, etc., but the sampling period T shown in FIG. If the sampling period is sufficiently faster than the required period in the system, for example, a sampling period of 1 second/time is sufficient for the system, but if sampling can be performed at 0.1 second/time, the time Sequentially add the data during the time of NT (10T in this case) to obtain ΣDi, and using this added value,


0019】
[
0019

【数13】[Math. 13]

【0020】を演算する。この平均値DM を図5に示
すように周期NTのサンプリングデータとすることによ
りノイズの影響を除去しデータのばらつきを少なくする
ことができる。
Calculate . By using this average value DM as sampling data with a period NT as shown in FIG. 5, the influence of noise can be removed and data variations can be reduced.

【0021】[0021]

【実施例】以下に、本発明の好適な実施例を図面に基づ
いて説明する。 第1実施例 図2に本発明の第1実施例を示す。本実施例は請求項1
記載の発明をデータサンプリングフローチャートに応用
した例を開示したものである。本実施例は、図6に示す
従来のデータサンプリング方法と比較して、通常のサン
プリング(ステップ202)後、データを順次加算し(
ステップ203)、サンプリング回数がN=10に達す
ると(ステップ204)、それまでの加算結果ΣDi 
をNで除して平均し(ステップ205)、平均値
DESCRIPTION OF THE PREFERRED EMBODIMENTS Preferred embodiments of the present invention will be described below with reference to the drawings. First Embodiment FIG. 2 shows a first embodiment of the present invention. This embodiment is claim 1
An example in which the described invention is applied to a data sampling flowchart is disclosed. Compared to the conventional data sampling method shown in FIG. 6, this embodiment sequentially adds data after normal sampling (step 202).
Step 203) When the number of samplings reaches N=10 (Step 204), the addition result ΣDi
is divided by N and averaged (step 205), and the average value

【00
22】
00
22]

【数14】[Math. 14]

【0023】を得、この平均値DM をデータ格納する
(ステップ206)という点で異なっている。 第2実施例 次に、本発明の第2実施例について説明する。本実施例
は、請求項2、3及び6記載の発明を温度調節装置に応
用した例を開示したものである。
The difference is that the average value DM is obtained and stored as data (step 206). Second Embodiment Next, a second embodiment of the present invention will be described. This embodiment discloses an example in which the invention according to claims 2, 3, and 6 is applied to a temperature control device.

【0024】図3に示すように、この温度調節装置9は
、CPU1と、ROM2と、RAM3と、A/Dコンバ
ータ4と、アナログ増幅部5と、マルチプレクサ6と、
加熱部7と、温度センサ8とを備えている。加熱部7は
水を満した水漕Aに設置されている。水漕Aの水中には
温度測定用の温度センサ8が設置されており水温データ
を電圧値に変換してマルチプレクサ6に出力する。 マルチプレクサ6は各センサからのデータをCPU1の
指令により切替えてアナログ増幅部5に出力する。
As shown in FIG. 3, this temperature control device 9 includes a CPU 1, a ROM 2, a RAM 3, an A/D converter 4, an analog amplifier 5, a multiplexer 6,
It includes a heating section 7 and a temperature sensor 8. The heating unit 7 is installed in a water tank A filled with water. A temperature sensor 8 for temperature measurement is installed in the water of the water tank A, converts water temperature data into a voltage value, and outputs the voltage value to the multiplexer 6. The multiplexer 6 switches data from each sensor according to a command from the CPU 1 and outputs it to the analog amplification section 5.

【0025】アナログ増幅部5は、入力された電圧値を
比較基準値と比較し、基準値を超えた値(この例では、
水温が基準水温より低くなった場合の差の値)を抽出し
つつ増幅してA/Dコンバータ4に出力する。A/Dコ
ンバータ4はアナログ増幅部5で抽出されたアナログの
差出力をディジタル値に変換してCPU1に送る。CP
U1には、ROM2とRAM3とが接続されている。C
PU1は、ROM2に格納された図2の演算プログラム
により、A/Dコンバータ4から出力されるディジタル
値から、データ平均値を算出する。演算の中間結果等は
RAM3に格納される。CPU1は前記のデータ平均さ
れた温度低下を示すディジタル値より加熱部7に指令を
発して加熱させ水漕A内の水温が一定値になるように上
昇させる。
The analog amplifying section 5 compares the input voltage value with a comparison reference value, and detects a value exceeding the reference value (in this example,
The difference value when the water temperature becomes lower than the reference water temperature) is extracted, amplified, and output to the A/D converter 4. The A/D converter 4 converts the analog differential output extracted by the analog amplifier 5 into a digital value and sends it to the CPU 1. C.P.
ROM2 and RAM3 are connected to U1. C
The PU 1 calculates a data average value from the digital value output from the A/D converter 4 using the calculation program shown in FIG. 2 stored in the ROM 2. Intermediate results of calculations etc. are stored in RAM3. The CPU 1 issues a command to the heating unit 7 based on the digital value indicating the averaged temperature drop to heat the water tank A and raise the water temperature in the water tank A to a constant value.

【0026】図4は、図3におけるアナログ増幅部の構
成を示した図である。このアナログ増幅部5は、温度セ
ンサ8から入力される電圧値VACT と比較基準電圧
VREF を比較するコンパレータ部と、基準値を超え
た差出力に対しバッファアンプとして動作するバッファ
アンプ部とから構成されている。入力電圧VACT は
、133.8〜582.8mVの範囲の値をとる。また
、ここに、R1 〜R4 は200kΩR5 は300
kΩ、VR1 は200Ω、VR2 は3kΩの値に設
定されている。
FIG. 4 is a diagram showing the configuration of the analog amplification section in FIG. 3. This analog amplification section 5 is composed of a comparator section that compares the voltage value VACT inputted from the temperature sensor 8 with a comparison reference voltage VREF, and a buffer amplifier section that operates as a buffer amplifier for the differential output exceeding the reference value. ing. The input voltage VACT takes values in the range of 133.8 to 582.8 mV. Also, here, R1 to R4 are 200kΩR5 is 300kΩ
kΩ, VR1 is set to 200Ω, and VR2 is set to 3kΩ.

【0027】図3、4において、入力されるアナログ電
圧レベルは、約1.3mV/℃と低く、また温度センサ
8とオペアンプ10までの距離が1m以上あることから
、ノイズの影響を受けやすい。プログラムによる各チャ
ンネルのサンプリング周期は約1msecであるが、温
度制御出力の変化はそれほど速くなくてもよいので図2
のプログラムにより10回のサンプリングデータを平均
したものをデータとして使用した。図3、4で示される
回路においては、従来方式では、サンプリングしたデー
タのノイズによるばらつきは約3℃(A/Dコンバータ
を介して読み込んだデータ)であったものが本実施例の
ように10回のサンプリングデータを平均化することに
より、約1℃となり、ノイズ除去効果があることがわか
った。
In FIGS. 3 and 4, the input analog voltage level is as low as about 1.3 mV/° C., and since the distance between the temperature sensor 8 and the operational amplifier 10 is 1 m or more, it is easily affected by noise. The sampling period of each channel according to the program is approximately 1 msec, but the change in temperature control output does not need to be so fast, so Figure 2
The average of 10 sampling data was used as data using the program. In the circuits shown in FIGS. 3 and 4, in the conventional method, the variation due to noise in the sampled data was about 3°C (data read through the A/D converter), but in this embodiment, the variation due to noise is about 10°C. It was found that by averaging the sampling data of 2 times, the result was approximately 1°C, which was found to be effective in removing noise.

【0028】ここに、CPU1、ROM2、RAM3及
びA/Dコンバータ4は、請求項2記載のデータノイズ
除去装置に対応している。また、CPU1、ROM2、
RAM3、A/Dコンバータ4、アナログ増幅部5、マ
ルチプレクサ6及び温度センサ8は、請求項3記載の計
測装置に対応している。なお、本発明は本実施例のよう
な温度調整装置のみならず、請求項4記載の電圧計、請
求項5記載の電流計、あるいは他の計測装置に応用可能
である。このような転用を行う場合には対応するデータ
をそれぞれの装置のデータに適合させることにより本発
明が理解される。
Here, the CPU 1, ROM 2, RAM 3, and A/D converter 4 correspond to the data noise removing device according to claim 2. In addition, CPU1, ROM2,
The RAM 3, A/D converter 4, analog amplification section 5, multiplexer 6, and temperature sensor 8 correspond to the measuring device according to claim 3. Note that the present invention is applicable not only to the temperature adjustment device as in this embodiment, but also to the voltmeter according to claim 4, the ammeter according to claim 5, or other measuring devices. In the case of such diversion, the invention can be understood by adapting the corresponding data to the data of the respective device.

【0029】[0029]

【発明の効果】以上説明したように、本発明によれば、
ハードウェアによらずソフトウェアによってデータ処理
を行うことによりアナログデータノイズを確実に除去す
ることができ、A/D変換後のデータのばらつきも除去
しうるという利点を有している。
[Effects of the Invention] As explained above, according to the present invention,
By performing data processing by software rather than by hardware, analog data noise can be reliably removed, and variations in data after A/D conversion can also be removed, which is an advantage.

【図面の簡単な説明】[Brief explanation of the drawing]

【図1】本発明の原理説明図であり、図1(A)はデー
タノイズ除去方法を示し、図1(B)はデータノイズ除
去装置を示している。
FIG. 1 is a diagram explaining the principle of the present invention; FIG. 1(A) shows a data noise removal method, and FIG. 1(B) shows a data noise removal device.

【図2】本発明の第1実施例のサンプリング方法の構成
を示すフローチャート図である。
FIG. 2 is a flowchart showing the configuration of a sampling method according to the first embodiment of the present invention.

【図3】本発明の第2実施例の温度調節装置の構成を示
す図である。
FIG. 3 is a diagram showing the configuration of a temperature control device according to a second embodiment of the present invention.

【図4】図3におけるアナログ増幅部の構成を示す図で
ある。
FIG. 4 is a diagram showing the configuration of an analog amplification section in FIG. 3;

【図5】本発明の実施例により処理されたデータの状態
を示す図である。
FIG. 5 is a diagram illustrating the state of data processed according to an embodiment of the present invention.

【図6】従来のサンプリング方法を示すフローチャート
図である。
FIG. 6 is a flowchart diagram illustrating a conventional sampling method.

【図7】ノイズを含むアナログデータを示す図である。FIG. 7 is a diagram showing analog data including noise.

【図8】図7のデータを周期Tでサンプリングした場合
のデータの状態を示す図である。
8 is a diagram showing the state of data when the data in FIG. 7 is sampled at a period T; FIG.

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

1…CPU 2…ROM 3…RAM 4…A/Dコンバータ 5…アナログ増幅部 6…マルチプレクサ 7…加熱部 8…温度センサ 9…温度調節装置 10、11…オペアンプ 100…データノイズ除去方法 101…サンプリングステップ 102…サンプリング回数カウントステップ103…デ
ータ加算ステップ 104…データ平均ステップ 110…データノイズ除去装置 111…サンプリング手段 112…サンプリング回数カウント手段113…データ
加算手段 114…データ平均手段 201〜206…ステップ 301〜303…ステップ A…水漕 DM …平均値 R…抵抗 SC …データ出力指令 VR…可変抵抗
1...CPU 2...ROM 3...RAM 4...A/D converter 5...analog amplification section 6...multiplexer 7...heating section 8...temperature sensor 9...temperature adjustment device 10, 11...operational amplifier 100...data noise removal method 101...sampling Step 102...Sampling number counting step 103...Data addition step 104...Data averaging step 110...Data noise removal device 111...Sampling means 112...Sampling number counting means 113...Data addition means 114...Data averaging means 201-206...Step 301- 303...Step A...Water tank DM...Average value R...Resistance SC...Data output command VR...Variable resistance

Claims (6)

【特許請求の範囲】[Claims] 【請求項1】  アナログデータ(DA )を周期Tで
サンプリングするサンプリングステップ(101)と、
前記サンプリングステップ(101)におけるサンプリ
ング回数(n)をカウントし、所定の回数Nに達すると
、当該所定の回数(N)及びデータ出力指令(SC )
を出力するサンプリング回数カウントステップ(102
)と、前記サンプリングステップ(101)においてサ
ンプリングされたサンプリングデータを順次加算し、前
記データ出力指令(SC )が出力されると、その時点
までのデータ加算結果値Σを出力するデータ加算ステッ
プ(103)と、出力された前記所定の回数Nと前記デ
ータ加算結果値Σとから、周期NTにおけるデータ平均
値DM を、下記の式 【数1】 に基づいて演算し出力するデータ平均ステップ(104
)と、を含むことを特徴とするデータノイズ除去方法。
1. A sampling step (101) of sampling analog data (DA) at a period T;
The number of sampling times (n) in the sampling step (101) is counted, and when a predetermined number of times N is reached, the predetermined number of times (N) and a data output command (SC) are counted.
sampling count step (102
) and the sampling data sampled in the sampling step (101), and when the data output command (SC) is output, the data addition step (103) outputs the data addition result value Σ up to that point. ), a data averaging step (104
); and a data noise removal method.
【請求項2】  アナログデータ(DA )を周期Tで
サンプリングするサンプリング手段(111)と、前記
サンプリング手段(111)におけるサンプリング回数
(n)をカウントし、所定の回数Nに達すると、当該所
定の回数(N)及びデータ出力指令(SC )を出力す
るサンプリング回数カウント手段(112)と、前記サ
ンプリング手段(111)においてサンプリングされた
サンプリングデータを順次加算し、前記データ出力指令
(SC )が出力されると、その時点までのデータ加算
結果値Σを出力するデータ加算手段(113)と、出力
された前記所定の回数Nと前記データ加算結果値Σとか
ら、周期NTにおけるデータ平均値DM を、下記の式
【数2】 に基づいて演算し出力するデータ平均手段(114)と
、を備えたことを特徴とするデータノイズ除去装置。
2. A sampling means (111) that samples the analog data (DA) at a period T, and counts the number of sampling times (n) in the sampling means (111), and when a predetermined number N is reached, the predetermined A sampling number counting means (112) for outputting the number of times (N) and a data output command (SC) and the sampling data sampled by the sampling means (111) are sequentially added, and the data output command (SC) is outputted. Then, from the data addition means (113) that outputs the data addition result value Σ up to that point, the outputted predetermined number of times N, and the data addition result value Σ, the data average value DM in the period NT is calculated as follows. A data noise removal device characterized by comprising: data averaging means (114) that calculates and outputs the calculation based on the following formula [Equation 2].
【請求項3】  データ計測手段とデータ出力手段とを
備えた計測装置において、前記データ出力手段は、前記
データ計測手段により演算されたアナログデータ(DA
 )を周期Tでサンプリングするサンプリング部(11
1)と、前記サンプリング部(111)におけるサンプ
リング回数(n)をカウントし、所定の回数Nに達する
と、当該所定の回数(N)及びデータ出力指令(SC 
)を出力するサンプリング回数カウント部(112)と
、前記サンプリング部(111)においてサンプリング
されたサンプリングデータを順次加算し、前記データ出
力指令(SC )が出力されると、その時点までのデー
タ加算結果値Σを出力するデータ加算部(113)と、
出力された前記所定の回数Nと前記データ加算結果値Σ
とから、周期NTにおけるデータ平均値DM を、下記
の式【数3】 に基づいて演算し出力するデータ平均部(114)と、
を有することを特徴とする計測装置。
3. In a measuring device comprising a data measuring means and a data outputting means, the data outputting means receives analog data (DA) calculated by the data measuring means.
) sampling section (11
1) and the number of sampling times (n) in the sampling section (111) are counted, and when a predetermined number of times N is reached, the predetermined number of times (N) and the data output command (SC) are counted.
) and the sampling data sampled in the sampling unit (111) are sequentially added, and when the data output command (SC) is output, the data addition result up to that point is a data addition unit (113) that outputs the value Σ;
The predetermined number of times N outputted and the data addition result value Σ
a data averaging unit (114) that calculates and outputs the data average value DM in the period NT based on the following formula [Equation 3];
A measuring device characterized by having:
【請求項4】電圧値計測手段と電圧値出力手段とを備え
た電圧計において、前記電圧値出力手段は、前記電圧値
計測手段により測定されたアナログ電圧データ(DA 
)を周期Tでサンプリングするサンプリング部(111
)と、前記サンプリング部(111)におけるサンプリ
ング回数(n)をカウントし、所定の回数Nに達すると
、当該所定の回数(N)及びデータ出力指令(SC )
を出力するサンプリング回数カウント部(112)と、
前記サンプリング部(111)においてサンプリングさ
れたサンプリングデータを順次加算し、前記データ出力
指令(SC )が出力されると、その時点までのデータ
加算結果値Σを出力するデータ加算部(113)と、出
力された前記所定の回数Nと前記データ加算結果値Σと
から、周期NTにおける電圧データ平均値DMを、下記
の式【数4】 に基づいて演算し出力するデータ平均部(114)と、
を有することを特徴とする電圧計。
4. A voltmeter comprising a voltage value measuring means and a voltage value outputting means, wherein the voltage value outputting means receives analog voltage data (DA) measured by the voltage value measuring means.
) sampling section (111
) and the number of sampling times (n) in the sampling section (111) are counted, and when a predetermined number of times N is reached, the predetermined number of times (N) and a data output command (SC) are counted.
a sampling number counting section (112) that outputs
a data addition unit (113) that sequentially adds the sampling data sampled in the sampling unit (111) and, when the data output command (SC) is output, outputs the data addition result value Σ up to that point; a data averaging unit (114) that calculates and outputs a voltage data average value DM in a period NT from the outputted predetermined number of times N and the data addition result value Σ based on the following formula [Equation 4];
A voltmeter characterized by having:
【請求項5】  電流値計測手段と電流値出力手段とを
備えた電流計において、前記電流値出力手段は、前記電
流値計測手段により計測されたアナログ電流データ(D
A )を周期Tでサンプリングするサンプリング部(1
11)と、前記サンプリング部(111)におけるサン
プリング回数(n)をカウントし、所定の回数Nに達す
ると、当該所定の回数(N)及びデータ出力指令(SC
)を出力するサンプリング回数カウント部(112)と
、前記サンプリング部(111)においてサンプリング
されたサンプリングデータを順次加算し、前記データ出
力指令(SC )が出力されると、その時点までのデー
タ加算結果値Σを出力するデータ加算部(113)と、
出力された前記所定の回数Nと前記データ加算結果値Σ
とから、周期NTにおける電流データ平均値DMを、下
記の式 【数5】 に基づいて演算し出力するデータ平均部(114)と、
を有することを特徴とする電流計。
5. An ammeter comprising a current value measuring means and a current value outputting means, wherein the current value outputting means receives analog current data (D) measured by the current value measuring means.
A sampling section (1
11) and the number of sampling times (n) in the sampling section (111), and when a predetermined number of times N is reached, the predetermined number of times (N) and the data output command (SC) are counted.
) and the sampling data sampled in the sampling unit (111) are sequentially added, and when the data output command (SC) is output, the data addition result up to that point is a data addition unit (113) that outputs the value Σ;
The predetermined number of times N outputted and the data addition result value Σ
a data averaging unit (114) that calculates and outputs the current data average value DM in the period NT based on the following formula [Equation 5];
An ammeter characterized by having:
【請求項6】被測定物の温度を測定しアナログ温度デー
タを出力する温度測定手段と、前記アナログ温度データ
をディジタル温度データに変換するデータ変換手段と、
前記ディジタル温度データと予め設定された設定温度デ
ータとを比較し、当該比較結果に応じて制御信号を出力
する制御手段と、前記制御信号に基づき前記被測定物の
温度を調節する温度調節手段と、を備えた温度調節装置
であって、前記データ変換手段は、アナログ温度データ
(DA )を周期Tでサンプリングするサンプリング部
(111)と、前記サンプリングステップ(111)に
おけるサンプリング回数(n)をカウントし、所定の回
数Nに達すると、当該所定の回数(N)及びデータ出力
指令(SC )を出力するサンプリング回数カウント部
(112)と、前記サンプリング部(111)において
サンプリングされたサンプリングデータを順次加算し、
前記データ出力指令(SC )が出力されると、その時
点までのデータ加算結果値Σを出力するデータ加算部(
113)と、出力された前記所定の回数Nと前記データ
加算結果値Σとから、周期NTにおける温度データ平均
値DM を、下記の式 【数6】 に基づいて演算し出力するデータ平均部(114)と、
を有することを特徴とする温度調節装置。
6. Temperature measurement means for measuring the temperature of the object to be measured and outputting analog temperature data; and data conversion means for converting the analog temperature data into digital temperature data.
a control device that compares the digital temperature data with preset temperature data and outputs a control signal according to the comparison result; and a temperature adjustment device that adjusts the temperature of the object to be measured based on the control signal. , wherein the data conversion means includes a sampling section (111) that samples analog temperature data (DA) at a period T, and a sampling section (111) that counts the number of sampling times (n) in the sampling step (111). When a predetermined number of times N is reached, a sampling number counting section (112) outputs the predetermined number of times (N) and a data output command (SC), and the sampling data sampled in the sampling section (111) is sequentially outputted. Add and
When the data output command (SC) is output, the data addition unit (SC) outputs the data addition result value Σ up to that point.
113), and a data averaging unit (113) which calculates and outputs the temperature data average value DM in the period NT from the outputted predetermined number of times N and the data addition result value Σ based on the following formula [Equation 6]. 114) and
A temperature control device characterized by having:
JP41717890A 1990-12-29 1990-12-29 Method and device for eliminating data noise Withdrawn JPH04227118A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP41717890A JPH04227118A (en) 1990-12-29 1990-12-29 Method and device for eliminating data noise

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP41717890A JPH04227118A (en) 1990-12-29 1990-12-29 Method and device for eliminating data noise

Publications (1)

Publication Number Publication Date
JPH04227118A true JPH04227118A (en) 1992-08-17

Family

ID=18525307

Family Applications (1)

Application Number Title Priority Date Filing Date
JP41717890A Withdrawn JPH04227118A (en) 1990-12-29 1990-12-29 Method and device for eliminating data noise

Country Status (1)

Country Link
JP (1) JPH04227118A (en)

Cited By (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2008016999A (en) * 2006-07-04 2008-01-24 Matsushita Electric Ind Co Ltd Semiconductor device
JP2008066857A (en) * 2006-09-05 2008-03-21 Oki Electric Ind Co Ltd Sampling data averaging circuit
JPWO2007004655A1 (en) * 2005-07-05 2009-01-29 パナソニック株式会社 Sampling circuit
JP2019121851A (en) * 2017-12-28 2019-07-22 セイコーエプソン株式会社 Circuit device, vibration device, electronic apparatus, and movable body
JP2019121850A (en) * 2017-12-28 2019-07-22 セイコーエプソン株式会社 Circuit device, vibration device, electronic apparatus, and movable body
JP2021135269A (en) * 2020-02-28 2021-09-13 ラピスセミコンダクタ株式会社 Semiconductor device and measurement processing system

Cited By (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPWO2007004655A1 (en) * 2005-07-05 2009-01-29 パナソニック株式会社 Sampling circuit
US8229988B2 (en) 2005-07-05 2012-07-24 Panasonic Corporation Sampling circuit
JP2008016999A (en) * 2006-07-04 2008-01-24 Matsushita Electric Ind Co Ltd Semiconductor device
JP2008066857A (en) * 2006-09-05 2008-03-21 Oki Electric Ind Co Ltd Sampling data averaging circuit
JP4686420B2 (en) * 2006-09-05 2011-05-25 Okiセミコンダクタ株式会社 Sampling data averaging circuit
JP2019121851A (en) * 2017-12-28 2019-07-22 セイコーエプソン株式会社 Circuit device, vibration device, electronic apparatus, and movable body
JP2019121850A (en) * 2017-12-28 2019-07-22 セイコーエプソン株式会社 Circuit device, vibration device, electronic apparatus, and movable body
JP2021135269A (en) * 2020-02-28 2021-09-13 ラピスセミコンダクタ株式会社 Semiconductor device and measurement processing system

Similar Documents

Publication Publication Date Title
KR910015089A (en) Digital signal processing method and apparatus. Power system signal processing device and its control device
KR860007548A (en) METHOD AND APPARATUS FOR MEASUREMENT OF FLOW FLOW
CN109654125A (en) Displacement correction device, magnetic suspension bearing system and displacement correction method thereof
KR970707485A (en) DIGITAL TRIMMING OF ON-CHIP ANALOG COMPONENTS
US4063112A (en) Induction motor load monitor and control apparatus
JPH04227118A (en) Method and device for eliminating data noise
GB1572850A (en) Electronic instrumentation and method for measuring load conditions
CN209687938U (en) Displacement correction device and magnetic suspension bearing system
JP2678528B2 (en) Semiconductor sensor and adjusting method thereof
RU226110U1 (en) NEURAL NETWORK DETECTOR OF THE BEGINNING OF NONLINEAR DISTORTIONS OF THE ELECTRICAL SIGNAL
SU1161903A1 (en) Device for automatic measuring of noise factor of four-terminal network
JPH01198213A (en) Digital protective relay
JPS5815159A (en) Digital speed detecting system
SU1345222A1 (en) Device for checking operation of vehicle
JPS5817405B2 (en) signal measurement device
CN107122534B (en) Method and device for calculating power multiplication period of nuclear reactor
JPS6219689B2 (en)
JPS5850434A (en) Vibration monitor
JPH0682280A (en) Processing device for alarm
JPH0682111B2 (en) Conductivity measurement device with measured value temperature correction circuit
JPH0142386B2 (en)
SU1073706A1 (en) Non-stationary signal average value measuring method
JPH0743403B2 (en) Insulation resistance measurement method
JPS6122564Y2 (en)
SU1654757A1 (en) Method and device for determine squall

Legal Events

Date Code Title Description
A300 Application deemed to be withdrawn because no request for examination was validly filed

Free format text: JAPANESE INTERMEDIATE CODE: A300

Effective date: 19980312