JPH04273014A - Data processing device - Google Patents

Data processing device

Info

Publication number
JPH04273014A
JPH04273014A JP3033808A JP3380891A JPH04273014A JP H04273014 A JPH04273014 A JP H04273014A JP 3033808 A JP3033808 A JP 3033808A JP 3380891 A JP3380891 A JP 3380891A JP H04273014 A JPH04273014 A JP H04273014A
Authority
JP
Japan
Prior art keywords
value
sampled
average value
measured
impulse noise
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
JP3033808A
Other languages
Japanese (ja)
Inventor
Hideyuki Kamiyama
英之 神山
Kazuaki Kawasaki
和亮 川崎
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.)
Stanley Electric Co Ltd
Original Assignee
Stanley Electric 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 Stanley Electric Co Ltd filed Critical Stanley Electric Co Ltd
Priority to JP3033808A priority Critical patent/JPH04273014A/en
Publication of JPH04273014A publication Critical patent/JPH04273014A/en
Withdrawn legal-status Critical Current

Links

Landscapes

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

Abstract

PURPOSE:To carry out accurate measurement and data processing of analog data even in the case when an irregular impulse noise is superimposed by computing an average value excluding the maximum value of a measured value sampled in a specified cycle. CONSTITUTION:A processing device is constituted of a sampling means 1. to sample an input analog signal, a computing means 2 to gain an average value except for the maximum value of a sampled measured value and an impulse detection means 3 to detect an impulse noise contaminated in an input signal. When a corrugated analog signal B with an impulse noise C contaminated in it is input, it is sampled in a specified sampling cycle T, and an average value of each of the measured values is computed. At this time, the maximum value of the sampled measured value is excluded and the average value is computed, and this is processed as measured data. The measured data obtained in this way is not influenced by the impulse noise and its measuring error is small, and it comes to be possible to carry out accurate measurement and data processing.

Description

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

【0001】0001

【産業上の利用分野】この発明は、アナログデータを測
定して処理する処理装置、特にデータのサンプリングを
行って平均値を求めるデータ処理装置に関するものであ
る。
BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention relates to a processing device for measuring and processing analog data, and more particularly to a data processing device for sampling data and finding an average value.

【0002】0002

【従来の技術】測定すべきアナログ信号にノイズが重畳
している場合、例えば図4に示すように、本来の直線状
のアナログ信号Aに対して常時時間的に変化するノイズ
が重畳していると、実際にはアナログ信号Bのようにな
り、波状信号となる。従来のアナログデータ処理装置で
は、この波状となった実際のアナログ信号Bに対し、所
定の周期の時刻(t1 〜t10)でサンプリングを行
い、それらの測定値の平均値を求めている。この時、平
均値は、測定値の合計を測定回数(サンプリング回数)
で割った値となる。そして、この平均値で求めた値を測
定データとしてデータ処理が行われる。
2. Description of the Related Art When noise is superimposed on an analog signal to be measured, for example, as shown in FIG. 4, noise that constantly changes over time is superimposed on the original linear analog signal A. In reality, it becomes analog signal B, which is a waveform signal. In a conventional analog data processing device, sampling is performed on the actual wave-like analog signal B at a predetermined period of time (t1 to t10), and the average value of these measured values is calculated. At this time, the average value is the total number of measured values (sampling number)
The value divided by Then, data processing is performed using the value obtained from this average value as measurement data.

【0003】0003

【発明が解決しようとする課題】ところで、上記のよう
な従来のデータ処理装置にあっては、アナログ信号のサ
ンプリング値を単に平均して求めているだけであるため
、時間に対して不規則なインパルスノイズがアナログ信
号に混入した場合、測定誤差が大きくなり、正確な測定
およびデータ処理ができないという問題点があった。
[Problems to be Solved by the Invention] By the way, in the conventional data processing device as described above, since the sampling values of the analog signal are simply averaged, irregularity with respect to time occurs. When impulse noise mixes into an analog signal, there is a problem in that measurement errors become large and accurate measurements and data processing cannot be performed.

【0004】この発明は、上記のような問題点に着目し
て成されたもので、不規則なインパルスノイズが重畳し
た場合でもアナログデータの正確な測定およびデータ処
理が可能なデータ処理装置を得ることを目的としている
The present invention has been made in view of the above-mentioned problems, and it is an object of the present invention to provide a data processing device capable of accurately measuring and processing analog data even when irregular impulse noise is superimposed. The purpose is to

【0005】[0005]

【課題を解決するための手段】この発明のデータ処理装
置は、入力されたアナログ信号を所定の周期でサンプリ
ングするサンプリング手段と、サンプリングした信号の
測定値の平均値を演算する演算手段を備え、該演算手段
は、サンプリングした測定値の最大値を除いて平均値を
演算するように構成したものである。
[Means for Solving the Problems] A data processing device of the present invention includes sampling means for sampling an input analog signal at a predetermined period, and calculation means for calculating the average value of the measured values of the sampled signals, The calculation means is configured to calculate an average value of the sampled measurement values excluding the maximum value.

【0006】[0006]

【作用】この発明のデータ処理装置においては、アナロ
グ信号を周期的にサンプリングし、そのサンプリングし
た測定値の最大値を除いて平均値を演算し、これを測定
データとしてデータ処理を行なう。
[Operation] In the data processing apparatus of the present invention, an analog signal is periodically sampled, the maximum value of the sampled measurement values is removed, an average value is calculated, and this is used as measurement data to perform data processing.

【0007】[0007]

【実施例】図1はこの発明に係るデータ処理装置の要部
を示す構成図である。図中、1は入力されたアナログ信
号をサンプリングするサンプリング手段、2はサンプリ
ングした信号の測定値の平均値を演算する演算手段で、
サンプリングした測定値の最大値を除いて平均値を求め
、これを測定データとして出力する。3は入力信号に混
入したインパルスノイズを検出するインパルス検出手段
である。
DESCRIPTION OF THE PREFERRED EMBODIMENTS FIG. 1 is a block diagram showing the main parts of a data processing apparatus according to the present invention. In the figure, 1 is a sampling means that samples the input analog signal, 2 is a calculation means that calculates the average value of the measured values of the sampled signal,
The maximum value of the sampled measurement values is removed to obtain the average value, and this is output as measurement data. 3 is an impulse detection means for detecting impulse noise mixed into the input signal.

【0008】このような構成のデータ処理装置において
、図1に示すようなインパルスノイズCの混入した波状
のアナログ信号Bが入力されると、従来と同様この信号
は所定の周期Tでサンプリングされ、各々の測定値の平
均値が演算される。その際、サンプリングした測定値の
最大値は除かれて平均値が演算され、これが測定データ
として処理される。すなわち、サンプリングした測定値
の合計から一番大きなインパルスノイズの値が引かれ、
その値と測定回数(サンプリング回数)から“1”を減
じた値との割り算が行われ、これが測定データとして出
力される。
In a data processing device having such a configuration, when a wave-like analog signal B mixed with impulse noise C as shown in FIG. The average value of each measurement value is calculated. At this time, the maximum value of the sampled measurement values is removed, an average value is calculated, and this is processed as measurement data. That is, the value of the largest impulse noise is subtracted from the sum of the sampled measurements,
This value is divided by a value obtained by subtracting "1" from the number of measurements (sampling number), and this is output as measurement data.

【0009】上記のようにして得られた測定データは、
インパルスノイズの影響がないので測定誤差が小さく、
したがって正確な測定及びデータ処理が可能となる。ま
た、インパルスノイズがない場合にも、当然問題なく正
確な測定ができる。なお、予めインパルスノイズの幅t
がわかっていれば、サンプリングの幅Tをこのインパル
スノイズの幅tより大きくすることで、より正確な測定
が可能となる。また、測定前にインパルスノイズの有無
を検出しておくことも有効な手段である。
The measurement data obtained as described above is
Since there is no influence of impulse noise, measurement errors are small.
Accurate measurements and data processing are therefore possible. Furthermore, even when there is no impulse noise, accurate measurements can be made without any problems. Note that the width t of the impulse noise is determined in advance.
If this is known, more accurate measurements can be made by making the sampling width T larger than the impulse noise width t. It is also an effective means to detect the presence or absence of impulse noise before measurement.

【0010】図3は上述のサンプリングデータの平均値
を算出するまでの動作を示すフローチャートである。先
ず、ステップS1で最大値を入力するメモリのスペース
を0クリアし、最初のサンプリングの測定値を最大値と
してストアしておく。そして、ステップS2で次のサン
プリングを行い、その測定結果を入力する。次にステッ
プS3でその測定値と上記最大値とを比較する。この時
、測定値が最大値より大きい場合はステップS4でその
測定値を最大値としてストアし、逆に最大値の方が測定
値より大きければ最大値はそのままとする。
FIG. 3 is a flowchart showing the operation up to calculating the average value of the above-mentioned sampling data. First, in step S1, the memory space for inputting the maximum value is cleared to 0, and the measured value of the first sampling is stored as the maximum value. Then, in step S2, the next sampling is performed and the measurement results are input. Next, in step S3, the measured value is compared with the maximum value. At this time, if the measured value is larger than the maximum value, the measured value is stored as the maximum value in step S4, and conversely, if the maximum value is larger than the measured value, the maximum value is left unchanged.

【0011】次に、ステップS5で今までの測定値の足
し算を行って合計を求める。そして、以上のループ(L
oop)の処理を所定の測定回数Xだけ行い、ステップ
S6でループ処理が所定回数Xに達したら、ステップS
7で全測定値の合計から最大値を引き、ステップS8で
その値をループ回数から“1”を引いた値(x−1)で
割り算し、ステップS9でその値を平均結果として出力
する。
Next, in step S5, the measured values up to now are added to obtain a total. And the above loop (L
oop) is performed a predetermined number of measurements X, and when the loop processing reaches the predetermined number of times X in step S6, step S
7, the maximum value is subtracted from the sum of all measured values, and in step S8, that value is divided by the value (x-1) obtained by subtracting "1" from the number of loops, and in step S9, the value is output as an average result.

【0012】0012

【発明の効果】以上のように、この発明によれば、アナ
ログ信号を周期的にサンプリングし、そのサンプリング
した測定値の最大値を除いて平均値を演算し、これを測
定データとして処理を行うようにしたため、不規則なイ
ンパルスノイズが重畳した場合でもアナログデータの正
確な測定及びデータ処理を行うことができるという効果
が得られる。
[Effects of the Invention] As described above, according to the present invention, an analog signal is periodically sampled, the maximum value of the sampled measurement values is removed, the average value is calculated, and this is processed as measurement data. As a result, even when irregular impulse noise is superimposed, it is possible to accurately measure analog data and perform data processing.

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

【図1】  この発明の一実施例を示す構成図[Fig. 1] Block diagram showing one embodiment of this invention

【図2】
  インパルスノイズが混入したアナログ信号の波形図
[Figure 2]
Waveform diagram of analog signal mixed with impulse noise

【図3】  一実施例による動作のフローチャート[Figure 3] Flowchart of operation according to one embodiment

【図
4】  通常のノイズが重畳したアナログ信号の波形図
[Figure 4] Waveform diagram of analog signal with normal noise superimposed

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

1  サンプリング手段 2  演算手段 1 Sampling means 2 Calculation means

Claims (1)

【特許請求の範囲】[Claims] 【請求項1】  入力されたアナログ信号を所定の周期
でサンプリングするサンプリング手段と、サンプリング
した信号の測定値の平均値を演算する演算手段を備え、
該演算手段は、サンプリングした測定値の最大値を除い
て平均値を演算することを特徴とするデータ処理装置。
1. A sampling device that samples an input analog signal at a predetermined period, and a calculation device that calculates an average value of measured values of the sampled signal,
A data processing device characterized in that the calculation means calculates an average value of the sampled measurement values excluding a maximum value.
JP3033808A 1991-02-28 1991-02-28 Data processing device Withdrawn JPH04273014A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP3033808A JPH04273014A (en) 1991-02-28 1991-02-28 Data processing device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP3033808A JPH04273014A (en) 1991-02-28 1991-02-28 Data processing device

Publications (1)

Publication Number Publication Date
JPH04273014A true JPH04273014A (en) 1992-09-29

Family

ID=12396781

Family Applications (1)

Application Number Title Priority Date Filing Date
JP3033808A Withdrawn JPH04273014A (en) 1991-02-28 1991-02-28 Data processing device

Country Status (1)

Country Link
JP (1) JPH04273014A (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN106324273A (en) * 2015-06-18 2017-01-11 上海金艺检测技术有限公司 Angular velocity detection apparatus and angular velocity data processing method

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN106324273A (en) * 2015-06-18 2017-01-11 上海金艺检测技术有限公司 Angular velocity detection apparatus and angular velocity data processing method

Similar Documents

Publication Publication Date Title
Westerberg Detection and resolution of overlapped peaks for an on-line computer system for gas chromatographs
JPH04273014A (en) Data processing device
US8185330B2 (en) Automatic placement of measurement gates
JP3174186B2 (en) Gas identification device
JP2004093416A (en) Voltage / current measuring instrument
JPH06273364A (en) Corrective operation method for gas measuring equipment
JP2921923B2 (en) Radiation detector sensitivity calibration device
US4355533A (en) Gas measurement and analysis system
JPS6263839A (en) Method and device for automatic calibration of gas analyzer
JPS62124450A (en) Automatic base line correction system for nmr spectrum
JPH0580041A (en) Data processor for chromatography
JPH01235834A (en) Signal processing system of laser system gas sensor
TWI682768B (en) Heart rate monitoring method
SU756331A1 (en) Method of measuring amplitude density distribution of signal stream
SU885871A2 (en) Automatic gas analyzing system
JPS5819986B2 (en) AE Shingo Shinpuku Bunpusokutei Souchi
RU2019823C1 (en) Device for measuring parameters of matter
JPS61175555A (en) Quantitative analysis employing x-ray fluorescence analyzer
JPH0535769A (en) Correlation analyzing device
SU890287A1 (en) Measuring device statistical error determination method
SU624358A1 (en) Pulse amplitude analyzer
JPS61260151A (en) Signal processor for continuous gas analyzer
JPH0625782B2 (en) Frequency discrimination circuit
JPH07117421B2 (en) Data processing device
JPH0412261A (en) Automatic calibrating device for gas analyzer

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