JP2637012B2 - Measurement data analysis method - Google Patents

Measurement data analysis method

Info

Publication number
JP2637012B2
JP2637012B2 JP12011792A JP12011792A JP2637012B2 JP 2637012 B2 JP2637012 B2 JP 2637012B2 JP 12011792 A JP12011792 A JP 12011792A JP 12011792 A JP12011792 A JP 12011792A JP 2637012 B2 JP2637012 B2 JP 2637012B2
Authority
JP
Japan
Prior art keywords
amplitude
data
phase
frequency component
offset
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.)
Expired - Lifetime
Application number
JP12011792A
Other languages
Japanese (ja)
Other versions
JPH05288565A (en
Inventor
宏徳 野口
章 稲垣
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.)
MITSUTOYO KK
Original Assignee
MITSUTOYO KK
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 MITSUTOYO KK filed Critical MITSUTOYO KK
Priority to JP12011792A priority Critical patent/JP2637012B2/en
Publication of JPH05288565A publication Critical patent/JPH05288565A/en
Application granted granted Critical
Publication of JP2637012B2 publication Critical patent/JP2637012B2/en
Anticipated expiration legal-status Critical
Expired - Lifetime legal-status Critical Current

Links

Landscapes

  • Indication And Recording Devices For Special Purposes And Tariff Metering Devices (AREA)
  • Testing Or Calibration Of Command Recording Devices (AREA)

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 analyzing measured data used for analyzing the accuracy of an encoder for detecting various physical quantities.

【0002】[0002]

【従来の技術】長さ,角度等の物理量を検出するエンコ
ーダの精度解析や重畳ノイズ解析を行う方法として、エ
ンコーダから得られる正弦波出力信号をサンプリングし
て、得られた測定データを高速フーリエ変換して、出力
信号の直流オフセット、周期,振幅,位相等を求める方
法がある。この方法を適用するには、サンプリングして
得られる測定データ数が出力信号に含まれる交流成分の
基本波長の整数倍に相当している必要がある。そうでな
いと、測定データ両端の不連続のために信号スペクトラ
ムの両側に大きな裾,すなわちサイドローブが発生し
て、正確な解析ができないからである。したがって基本
波長が未知の場合には、ハニング窓やブラックマンハリ
ス窓のような時間窓関数やフィルタを使用することが必
要になる。しかし、このような処理を行っても、サイド
ローブの抑圧は完全ではなく、またこれらの処理は原波
形に操作を加えることになるため、正確な重畳ノイズ解
析ができない。
2. Description of the Related Art As a method of performing accuracy analysis and superimposed noise analysis of an encoder for detecting physical quantities such as length and angle, a sine wave output signal obtained from the encoder is sampled, and the obtained measurement data is subjected to a fast Fourier transform. Then, there is a method of obtaining the DC offset, cycle, amplitude, phase, and the like of the output signal. To apply this method, the number of measurement data obtained by sampling needs to correspond to an integral multiple of the fundamental wavelength of the AC component included in the output signal. Otherwise, large tails, ie, side lobes, occur on both sides of the signal spectrum due to discontinuity at both ends of the measurement data, and accurate analysis cannot be performed. Therefore, when the fundamental wavelength is unknown, it is necessary to use a time window function or a filter such as a Hanning window or a Blackman-Harris window. However, even if such processing is performed, the suppression of side lobes is not complete, and these processings add operations to the original waveform, so that accurate superposition noise analysis cannot be performed.

【0003】同様の問題は、光波干渉計による長さ測定
等にもある。すなわち、光波干渉計の干渉縞を走査して
得られる正弦波状光電変換信号をサンプリングして、複
数の測定データを得、これを高速フーリエ変換して位相
角を算出することで精密な長さ測定を行う方法がある
が、この場合にも上述したと同様の理由で測定データ解
析が難しい。
[0003] A similar problem also exists in length measurement by an optical interferometer. That is, by sampling a sinusoidal photoelectric conversion signal obtained by scanning interference fringes of a light wave interferometer, obtaining a plurality of measurement data, and performing a fast Fourier transform on the data to calculate a phase angle, thereby accurately measuring a length. However, in this case, it is difficult to analyze the measured data for the same reason as described above.

【0004】[0004]

【発明が解決しようとする課題】以上のように従来の高
速フーリエ変換による測定データ解析方法では、正弦波
状出力信号の正確な解析ができないという問題があっ
た。本発明はこの様な問題を解決して、少ないデータ数
で正確な解析を可能とした測定データ解析方法を提供す
ることを目的とする。
As described above, the conventional method of analyzing measured data by the fast Fourier transform has a problem that a sinusoidal output signal cannot be accurately analyzed. It is an object of the present invention to solve such a problem and to provide a measurement data analysis method which enables accurate analysis with a small number of data.

【0005】[0005]

【課題を解決するための手段】本発明は、正弦波状出力
信号をサンプリングして得られた測定データについて高
速フーリエ変換して、前記出力信号の直流オフセット、
周期、振幅、位相等を求める測定データ解析方法であっ
て、全測定データの先頭からn個の測定データについて
高速フーリエ変換を行い、その結果から第一次周波数以
外の各周波数成分の振幅平均値を求めると共に、第一次
周波数成分の振幅,位相を求めるステップと、同様に、
全測定データの先頭からn−1個,n−2個,…と順次
個数を減らした測定データについて順次高速フーリエ変
換を行い、それらの結果からそれぞれ第一次周波数以外
の各周波数成分の振幅平均値を求めると共に、第一次周
波数成分の振幅,位相を求めるステップと、以上のステ
ップで求まった第一次以外の各周波数成分の振幅平均値
が最小となるデータ個数Kとサンプリング間隔d1とを
乗算して、求める周期を出力するステップと、以上のス
テップで求まった各周波数成分の振幅平均値が最小とな
るデータ個数での直流オフセット、第一次周波数成分の
振幅、位相をそれぞれ求める直流オフセット、振幅、位
相として出力するステップとを備えたことを特徴とす
る。
SUMMARY OF THE INVENTION The present invention provides a fast Fourier transform of measurement data obtained by sampling a sinusoidal output signal to obtain a DC offset of the output signal.
This is a measurement data analysis method for determining the period, amplitude, phase, etc., in which fast Fourier transform is performed on the n pieces of measurement data from the head of all the measurement data, and the amplitude average value of each frequency component other than the primary frequency is obtained from the result And the step of determining the amplitude and phase of the primary frequency component,
... Fast Fourier transform is sequentially performed on measurement data sequentially reduced in number from the top of all measurement data to n−1, n−2,..., And from these results, the amplitude average of each frequency component other than the primary frequency is calculated. Calculating the value and the amplitude and phase of the primary frequency component, and determining the number of data K and the sampling interval d1 at which the average amplitude value of each of the non-primary frequency components obtained in the above steps is minimized. A step of outputting a cycle to be obtained by multiplication, and a DC offset for obtaining a DC offset at the number of data at which the average amplitude value of each frequency component obtained in the above steps is minimum, and an amplitude and a phase of the primary frequency component, respectively. And outputting as amplitude, phase.

【0006】[0006]

【作用】いま、エンコーダ出力信号の正確な周期が未知
であるが、n個の測定データがその基本波換算一周期を
若干越える程度の狭い範囲のサンプリングデータである
とする。このn個の測定データについて高速フーリエ交
換を行い、その結果から第一次周波数以外の各周波数成
分の振幅平均値を求め、次にこのn個の測定データのう
ち最終データを除外したn−1個の測定データについて
同様に高速フーリエ変換を行い、その結果から第一次周
波数以外の各周波数成分の振幅平均値を求める。以下同
様の操作を所定回数繰り返して、得られた振幅平均値が
最小となるデータ個数Kを求めると、このデータ個数K
が、基本波換算一周期分に相当する。そこで本発明で
は、上述のデータ個数Kを求め、このデータ個数Kとサ
ンプリング間隔d1 とを掛けることにより、求める周期
が正確に得られる。またこのデータ個数Kでの高速フー
リエ変換結果による直流オフセット、振幅、位相を求め
る直流オフセット、振幅、位相とすれば、やはりサイド
ローブの影響がない状態で正確なデータ解析ができるこ
とになる。本発明の方法を、光波干渉計の干渉縞の位相
角算出による長さ測定に適用すれば、データ個数が少な
くても高精度の解析ができるため、データ収集時間の短
縮が可能になる。また周波数領域でのノイズ分解が行え
ることから、ノイズの影響が軽減され、その結果環境変
動の影響が少なくなって、長さ測定の精度が向上する。
Now, it is assumed that the exact cycle of the encoder output signal is unknown, but the n pieces of measurement data are sampling data in a narrow range slightly exceeding one cycle of the fundamental wave conversion. Fast Fourier exchange is performed on the n pieces of measurement data, an average value of the amplitude of each frequency component other than the primary frequency is obtained from the result, and then n−1 obtained by excluding the final data from the n pieces of measurement data Similarly, fast Fourier transform is performed on the pieces of measurement data, and the amplitude average value of each frequency component other than the primary frequency is obtained from the result. Hereinafter, the same operation is repeated a predetermined number of times, and the number of data K at which the obtained amplitude average value is minimum is obtained.
Corresponds to one cycle of the fundamental wave conversion. Therefore, in the present invention, the period to be obtained can be accurately obtained by obtaining the number of data K and multiplying the number of data K by the sampling interval d1. Also, if the DC offset, amplitude, and phase for obtaining the DC offset, amplitude, and phase based on the result of the fast Fourier transform with the number of data K are used, accurate data analysis can be performed without the influence of side lobes. If the method of the present invention is applied to length measurement by calculating the phase angle of interference fringes of a light wave interferometer, high-precision analysis can be performed even with a small number of data, so that the data collection time can be reduced. In addition, since noise decomposition can be performed in the frequency domain, the influence of noise is reduced, and as a result, the influence of environmental fluctuation is reduced, and the accuracy of length measurement is improved.

【0007】[0007]

【実施例】以下、図面を参照しながら本発明の実施例を
説明する。図1は、本発明の第1の実施例による測定デ
ータ解析のフローを示す。例えば、長さ,角度等を検出
するエンコーダの精度解析を行う場合、まずその正弦波
状出力信号をサンプリングして、n個の測定データを得
る。ここで、nは、エンコーダ出力信号の基本波換算一
周期を僅かに越える値とする。この測定データ個数nを
変数Nに代入して(S1 )、全測定データの先頭からN
(=n)個のデータにつき、高速フーリエ変換を行う
(S2 )。その結果から、直流オフセット、第一次以外
の各周波数成分の振幅平均値、第一次周波数成分の振幅
と位相を求める(S3 )。
Embodiments of the present invention will be described below with reference to the drawings. FIG. 1 shows a flow of measurement data analysis according to the first embodiment of the present invention. For example, when performing accuracy analysis of an encoder that detects a length, an angle, and the like, first, the sine-wave output signal is sampled to obtain n pieces of measurement data. Here, n is a value that slightly exceeds one cycle of the encoder output signal in terms of the fundamental wave. This measurement data number n is substituted into a variable N (S1), and N is counted from the head of all the measurement data.
Fast Fourier transform is performed on (= n) data (S2). From the result, the DC offset, the average amplitude value of each frequency component other than the primary frequency component, and the amplitude and phase of the primary frequency component are obtained (S3).

【0008】次に、変数Nから1を減ずる(S4 )。す
なわちn個の測定データのうち最終データを除外して、
n−1を変数Nに代入する。そして、Nが例えば、n/
2未満になったか否かを判定し(S5 )、n/2未満に
なっていなければ、そのN(=n−1)個のデータにつ
いて再度、高速フーリエ変換を行い(S2 )、その結果
から、直流オフセット、第一次以外の各周波数成分の振
幅平均値、第一次周波数成分の振幅と位相を求める(S
3 )。以下同様の操作を、順次データ個数を減らして、
N<n/2を満たすまで繰り返し行う。なおここで、n
/2はフーリエ変換の操作を繰り返し行う回数を決定す
る便宜上の基準値であり、他の任意の値を用いて高速フ
ーリエ変換の回数を設定することができる。
Next, 1 is subtracted from the variable N (S4). That is, excluding the final data from the n measurement data,
Substitute n-1 for the variable N. And N is, for example, n /
It is determined whether or not the number is less than 2 (S5). If the number is not less than n / 2, the fast Fourier transform is performed again on the N (= n-1) data (S2). , DC offset, average amplitude value of each frequency component other than the primary, and amplitude and phase of the primary frequency component (S
3). Hereinafter, the same operation is performed by sequentially reducing the number of data,
Repeat until N <n / 2 is satisfied. Here, n
/ 2 is a convenient reference value for determining the number of times the Fourier transform operation is repeatedly performed, and the number of fast Fourier transforms can be set using any other value.

【0009】N<n/2の条件を満たしたら、次にここ
までの高速フーリエ変換の結果から求めた第一次以外の
周波数成分の振幅平均値が最小となった時のNの値を変
数Kに格納する(S6 )。そしてこの変数Kと、測定デ
ータのサンプリング間隔d1とから、L=K・d1 なる
演算を行う(S7 )。これが求める周期となる。またこ
こまでの高速フーリエ変換の結果のうち、データ個数が
Kの時の直流オフセット、第一次周波数の振幅、位相を
それぞれ、求める直流オフセット、振幅、位相として出
力する(S8 )。
When the condition of N <n / 2 is satisfied, the value of N when the average amplitude value of the frequency components other than the first-order frequency component obtained from the results of the fast Fourier transform so far is minimized is set as a variable. It is stored in K (S6). Then, from the variable K and the sampling interval d1 of the measurement data, an operation of L = K · d1 is performed (S7). This is the required period. The DC offset, the amplitude and the phase of the primary frequency when the number of data is K out of the results of the fast Fourier transform so far are output as the DC offset, amplitude and phase to be obtained (S8).

【0010】図5は、この実施例による高速フーリエ変
換データ個数と、それぞれのデータ個数で高速フーリエ
変換の結果求められた第一次以外の各周波数成分の振幅
平均値の例を示す。この例では、最初のデータ個数がn
=32であり、n=16まで変数Nの値を減らしながら
高速フーリエ変換を繰り返し、振幅平均値が最小となる
データ個数が27(=K)である場合を示している。
FIG. 5 shows an example of the number of fast Fourier transform data according to this embodiment and the average value of the amplitude of each frequency component other than the first-order frequency component obtained as a result of the fast Fourier transform with the respective number of data. In this example, the first data number is n
= 32, the fast Fourier transform is repeated while reducing the value of the variable N until n = 16, and the number of data at which the average amplitude value becomes the minimum is 27 (= K).

【0011】以上のようにこの実施例では、出力信号の
基本波長が未知であっても、ハニング窓やブラックマン
ハリス窓のような時間窓関数を用いた処理を行うことな
く、少ないデータ個数でエンコーダの精度や重畳ノイズ
を高精度に解析することができる。光波干渉計での長さ
測定に適用した場合には、短いデータ収集時間で高精度
の長さ測定が可能になる。
As described above, in this embodiment, even if the fundamental wavelength of an output signal is unknown, a process using a time window function such as a Hanning window or a Blackman-Harris window is not performed, and a small number of data is used. The accuracy of the encoder and the superimposed noise can be analyzed with high accuracy. When applied to length measurement with an optical interferometer, length measurement can be performed with high accuracy in a short data collection time.

【0012】次に、より高精度のデータ解析を可能とし
た第2の実施例を説明する。第2の実施例では、第1の
実施例と同様にして第一次以外の周波数成分の振幅平均
値が最小となるデータ個数を求め、これに基づいて推定
正弦波を生成し、これと実際の測定データとの平均自乗
誤差を求めて、この平均自乗誤差が最小となるデータ個
数から直流オフセット等を求める。第2の実施例を具体
的に図2〜図4のフローを参照して説明する。測定デー
タ個数nを変数Nに代入して(S1 )、全測定データの
先頭からN(=n)個のデータにつき、高速フーリエ変
換を行う(S2 )。その結果から、直流オフセット、第
一次以外の各周波数成分の振幅平均値、第一次周波数成
分の振幅と位相を求める(S3 )。次に、変数Nから1
を減ずる(S4 )。Nが、n/2未満になったか否かを
判定し(S5 )、n/2未満になっていなければ、その
N(=n−1)個のデータについて再度、高速フーリエ
変換を行い(S2 )、その結果から、直流オフセット、
第一次以外の各周波数成分の振幅平均値、第一次周波数
成分の振幅と位相を求める(S3 )。以下同様の操作
を、順次データ個数を減らして、N<n/2を満たすま
で繰り返し行う。N<n/2の条件を満たしたら、次に
ここまでの高速フーリエ変換の結果から求めた第一次以
外の周波数成分の振幅平均値が最小となった時のNの値
を変数Kに格納する(S6 )。ここまでは第1の実施例
と同様である。
Next, a description will be given of a second embodiment which enables more accurate data analysis. In the second embodiment, in the same manner as in the first embodiment, the number of data at which the average amplitude value of the frequency components other than the first order is minimum is obtained, and based on this, an estimated sine wave is generated. The mean square error with the measured data is calculated, and the DC offset or the like is calculated from the number of data that minimizes the mean square error. The second embodiment will be specifically described with reference to the flowcharts of FIGS. The number n of measured data is substituted for a variable N (S1), and fast Fourier transform is performed on N (= n) data from the head of all measured data (S2). From the result, the DC offset, the average amplitude value of each frequency component other than the primary frequency component, and the amplitude and phase of the primary frequency component are obtained (S3). Next, from variable N to 1
Is reduced (S4). It is determined whether or not N is less than n / 2 (S5). If it is not less than n / 2, fast Fourier transform is performed again on the N (= n-1) data (S2). ), From the result, the DC offset,
The amplitude average value of each frequency component other than the primary frequency component, and the amplitude and phase of the primary frequency component are determined (S3). Hereinafter, the same operation is repeated until the number of data is sequentially reduced and N <n / 2 is satisfied. When the condition of N <n / 2 is satisfied, the value of N when the amplitude average value of the frequency components other than the first-order frequency component obtained from the results of the fast Fourier transform so far becomes the minimum is stored in the variable K. (S6). The operation up to this point is the same as in the first embodiment.

【0013】次に、以上の高速フーリエ変換の結果から
求めたデータ個数K−1,K,K+1の時の3個の直流
オフセットからデータ個数に対する直流オフセット最小
自乗直線を求める(S7 )。以下同様にして、上の高速
フーリエ変換の結果から求めたデータ個数K−1,K,
K+1の時の3個の第一次周波数振幅からデータ個数に
対する振幅最小自乗直線を求め(S8 )、データ個数に
対する位相最小自乗直線を求める(S9 )。なおここで
は、データ個数3個(K−1,K,K+1)の場合を説
明しているが、これは必要に応じて他の値でもよい。ま
た平均自乗直線についても、必要に応じて平均自乗曲線
とすることができる。
Next, a DC offset least square line with respect to the number of data is obtained from the three DC offsets when the number of data is K-1, K, K + 1 obtained from the result of the above-mentioned fast Fourier transform (S7). Similarly, in the same manner, the number of data K−1, K, obtained from the result of the above fast Fourier transform
From the three primary frequency amplitudes at the time of K + 1, an amplitude least square line with respect to the number of data is obtained (S8), and a phase least square line with respect to the number of data is obtained (S9). Here, the case where the number of data is three (K-1, K, K + 1) is described, but this may be another value as needed. The mean square line can also be a mean square curve if necessary.

【0014】次に測定データのサンプリング間隔をd1
として、算出したい周期の細かさ(周期分解能)=d1
/mから、1/mを求める(S10)。そして、求める周
期に相当するデータ個数を表す変数JにK−1を格納し
(S11)。直流オフセット最小自乗直線,振幅最小自乗
直線,位相最小自乗直線からデータ個数Jの時の直流オ
フセット,振幅,位相を求める(S12)。そしてデータ
個数Jを一周期として、上で求めた直流オフセット,振
幅,位相によるデータ個数n個の正弦波を一組生成する
(S13)。そしてデータ個数n個の測定データと生成正
弦波の平均自乗誤差を求める(S14)次に変数Jに1/
mを加え(S15)、これがK+1を越えたか否かを判定
して(S16)、越えていなければステップS12に戻っ
て、新たな変数Jに基づいて同様の正弦波生成と平均自
乗誤差を求める工程を繰り返す。
Next, the sampling interval of the measurement data is set to d1
The resolution of the cycle to be calculated (cycle resolution) = d1
From 1 / m, 1 / m is determined (S10). Then, K-1 is stored in a variable J representing the number of data corresponding to the cycle to be obtained (S11). The DC offset, amplitude, and phase for the data number J are obtained from the DC offset least square line, the amplitude minimum square line, and the phase least square line (S12). With the data number J as one cycle, a set of n data sine waves based on the DC offset, amplitude, and phase obtained above is generated (S13). Then, the mean square error between the n pieces of measured data and the generated sine wave is obtained (S14).
m is added (S15), and it is determined whether or not this exceeds K + 1 (S16). If not, the process returns to step S12, and a similar sine wave generation and a mean square error are obtained based on the new variable J. Repeat the process.

【0015】変数Jの値がK+1を越えたら、上に求め
た平均自乗誤差が最小となった時のJの値をKに格納す
る(S17)。このJの値に測定データのサンプリング間
隔d1 を乗算すれば周期が求まるため、便宜上これをデ
ータ個数換算周期と呼ぶ。そして、L=d1 ・Kなる乗
算を行って、このLを求める周期とする(S18)。同様
に、前記の平均自乗誤差が最小になった時のJの値に対
応する直流オフセット,振幅,位相を求める直流オフセ
ット,振幅,位相とする(S19)。図6は、この実施例
による生成正弦波と測定データの平均自乗誤差をデータ
個数換算周期に対してプロットしたものである。この実
施例によると、第一次周波数に相当する正弦波を推定し
て、この正弦波と測定データとの平均自乗誤差が最小と
なる正弦波を探すことより、第1の実施例に比べてより
高精度に正弦波状出力信号の直流オフセット,第一次周
波数の周期,振幅,位相を求めることができる。
If the value of the variable J exceeds K + 1, the value of J when the above-obtained mean square error is minimized is stored in K (S17). If the value of J is multiplied by the sampling interval d1 of the measurement data, a period can be obtained, and this is called a data number conversion period for convenience. Then, a multiplication of L = d1 · K is performed, and the cycle for obtaining L is set as a cycle (S18). Similarly, the DC offset, amplitude, and phase for obtaining the DC offset, amplitude, and phase corresponding to the value of J when the above-mentioned mean square error is minimized are set as the DC offset, amplitude, and phase (S19). FIG. 6 is a graph in which the mean square error between the generated sine wave and the measurement data according to this embodiment is plotted with respect to the data number conversion cycle. According to this embodiment, a sine wave corresponding to the primary frequency is estimated, and a sine wave that minimizes the mean square error between the sine wave and the measurement data is searched. The DC offset of the sine wave output signal, the period of the primary frequency, the amplitude, and the phase can be obtained with higher accuracy.

【0016】本発明は上記実施例に限られない。例えば
第2の実施例では、推定正弦波と測定データとの平均自
乗誤差を求めてこれが最小になる正弦波を探したが、測
定データから推定正弦波を減算して、この結果に再度高
速フーリエ変換を行って、第一次以外の各周波数成分の
振幅平均値が最小となる正弦波を探すことによっても同
様に高精度の測定データ解析ができる。
The present invention is not limited to the above embodiment. For example, in the second embodiment, the mean square error between the estimated sine wave and the measured data was found to find a sine wave that minimized the mean square error. However, the estimated sine wave was subtracted from the measured data, and the result was again subjected to the fast Fourier transform. Similarly, high-precision measurement data analysis can also be performed by performing conversion and searching for a sine wave that minimizes the average amplitude value of each frequency component other than the primary frequency component.

【0017】[0017]

【発明の効果】以上説明したように本発明によれば、少
ないデータ個数でエンコーダの精度解析,重畳ノイズ解
析等を高精度に行うことができる。
As described above, according to the present invention, the accuracy analysis of the encoder, the superimposed noise analysis and the like can be performed with a small number of data with high accuracy.

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

【図1】本発明の第1の実施例によるフローを示す図。FIG. 1 is a diagram showing a flow according to a first embodiment of the present invention.

【図2】本発明の第2の実施例によるフローを示す図。FIG. 2 is a diagram showing a flow according to a second embodiment of the present invention.

【図3】本発明の第2の実施例によるフローを示す図。FIG. 3 is a diagram showing a flow according to a second embodiment of the present invention.

【図4】本発明の第2の実施例によるフローを示す図。FIG. 4 is a diagram showing a flow according to a second embodiment of the present invention.

【図5】第1の実施例によるデータ個数と振幅平均値の
例を示す図。
FIG. 5 is a diagram illustrating an example of the number of data and an average amplitude value according to the first embodiment.

【図6】第2の実施例によるデータ個数換算周期と平均
自乗誤差の例を示す図。
FIG. 6 is a diagram illustrating an example of a data number conversion cycle and a mean square error according to the second embodiment.

Claims (2)

(57)【特許請求の範囲】(57) [Claims] 【請求項1】 正弦波状出力信号をサンプリングして得
られた測定データについて高速フーリエ変換して、前記
出力信号の直流オフセット、周期、振幅、位相等を求め
る測定データ解析方法であって、 全測定データの先頭からn個の測定データについて高速
フーリエ変換を行い、その結果から第一次周波数以外の
各周波数成分の振幅平均値を求めると共に、第一次周波
数成分の振幅,位相を求めるステップと、 同様に、全測定データの先頭からn−1個,n−2個,
…と順次個数を減らした測定データについて順次高速フ
ーリエ変換を行い、それらの結果からそれぞれ第一次周
波数以外の各周波数成分の振幅平均値を求めると共に、
第一次周波数成分の振幅,位相を求めるステップと、 以上のステップで求まった第一次以外の各周波数成分の
振幅平均値が最小となるデータ個数Kとサンプリング間
隔d1 とを乗算して、求める周期を出力するステップ
と、 以上のステップで求まった各周波数成分の振幅平均値が
最小となるデータ個数での直流オフセット、第一次周波
数成分の振幅、位相をそれぞれ求める直流オフセット、
振幅、位相として出力するステップと、を備えたことを
特徴とする測定データ解析方法。
1. A measurement data analysis method for performing fast Fourier transform on measurement data obtained by sampling a sinusoidal output signal to obtain a DC offset, a period, an amplitude, a phase, and the like of the output signal. Performing a fast Fourier transform on the n pieces of measurement data from the beginning of the data, obtaining an average amplitude value of each frequency component other than the primary frequency from the result, and obtaining the amplitude and phase of the primary frequency component; Similarly, from the head of all the measurement data, n−1, n−2,
.. And a fast Fourier transform are sequentially performed on the measurement data in which the number is sequentially reduced, and from those results, the amplitude average value of each frequency component other than the primary frequency is obtained.
Obtaining the amplitude and phase of the primary frequency component; and multiplying the number of data K by which the average amplitude value of each of the non-primary frequency components obtained in the above steps is minimized by the sampling interval d1. A step of outputting a cycle, a DC offset at the number of data at which the average amplitude value of each frequency component obtained in the above steps is the minimum, a DC offset for obtaining the amplitude and phase of the primary frequency component,
Outputting a measurement as an amplitude and a phase.
【請求項2】 正弦波状出力信号をサンプリングして得
られた測定データについて高速フーリエ変換して、前記
出力信号の直流オフセット、周期、振幅、位相等を求め
る測定データ解析方法であって、 全測定データの先頭からn個の測定データについて高速
フーリエ変換を行い、その結果から第一次周波数以外の
各周波数成分の振幅平均値を求めると共に、第一次周波
数成分の振幅,位相を求めるステップと、 同様に、全測定データの先頭からn−1個,n−2個,
…と順次個数を減らした測定データについて順次高速フ
ーリエ変換を行い、それらの結果からそれぞれ第一次周
波数以外の各周波数成分の振幅平均値を求めると共に、
第一次周波数成分の振幅,位相を求めるステップと、 前記振幅平均値が最小となるデータ個数がKであると
き、データ個数Kを挟む複数のデータ個数での直流オフ
セットとデータ個数から直流オフセット最小自乗直線を
求め、同様に振幅最小自乗直線および位相最小自乗直線
を求めるステップと、 求まった直流オフセット最小自乗直線,振幅最小自乗直
線および位相最小自乗直線から任意のデータ個数換算周
期に対応する直流オフセット,振幅および位相を算出
し、その結果をもとに推定正弦波を生成するステップ
と、 生成された推定正弦波と前記測定データとの平均自乗誤
差を求め、この平均自乗誤差が最小となるデータ個数か
ら直流オフセット,第一次周波数の周期,振幅および位
相を求めるステップと、を備えたことを特徴とする測定
データ解析方法。
2. A method for analyzing a measurement data obtained by sampling a sinusoidal output signal, and performing a fast Fourier transform to obtain a DC offset, a period, an amplitude, a phase, and the like of the output signal. Performing a fast Fourier transform on the n pieces of measurement data from the beginning of the data, obtaining an average amplitude value of each frequency component other than the primary frequency from the result, and obtaining the amplitude and phase of the primary frequency component; Similarly, from the head of all the measurement data, n−1, n−2,
.. And a fast Fourier transform are sequentially performed on the measurement data in which the number is sequentially reduced, and from those results, the amplitude average value of each frequency component other than the primary frequency is obtained.
Determining the amplitude and phase of the primary frequency component; and when the number of data at which the amplitude average value is the minimum is K, the DC offset at a plurality of data numbers sandwiching the data number K and the DC offset minimum from the data number. Calculating a square line, and similarly obtaining an amplitude minimum square line and a phase minimum square line, and a DC offset corresponding to an arbitrary data number conversion period from the obtained DC offset minimum square line, amplitude minimum square line, and phase minimum square line. Calculating an estimated sine wave on the basis of the result, calculating a mean square error between the generated estimated sine wave and the measurement data, and obtaining data that minimizes the mean square error. Determining a DC offset, a period of a primary frequency, an amplitude and a phase from the number. Data analysis method.
JP12011792A 1992-04-14 1992-04-14 Measurement data analysis method Expired - Lifetime JP2637012B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP12011792A JP2637012B2 (en) 1992-04-14 1992-04-14 Measurement data analysis method

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP12011792A JP2637012B2 (en) 1992-04-14 1992-04-14 Measurement data analysis method

Publications (2)

Publication Number Publication Date
JPH05288565A JPH05288565A (en) 1993-11-02
JP2637012B2 true JP2637012B2 (en) 1997-08-06

Family

ID=14778381

Family Applications (1)

Application Number Title Priority Date Filing Date
JP12011792A Expired - Lifetime JP2637012B2 (en) 1992-04-14 1992-04-14 Measurement data analysis method

Country Status (1)

Country Link
JP (1) JP2637012B2 (en)

Also Published As

Publication number Publication date
JPH05288565A (en) 1993-11-02

Similar Documents

Publication Publication Date Title
Evans et al. Periodic signals for measuring nonlinear Volterra kernels
US4901244A (en) Apparatus for, and method of, analyzing signals
US6208946B1 (en) High speed fourier transform apparatus
US4686457A (en) Method for measuring a signal&#39;s frequency components
Templeton Time-series analysis of variable star data
Henry Spectral analysis techniques using Prism signal processing
US5528134A (en) AC power analyzer
US20070226602A1 (en) Measuring device and method for measuring relative phase shifts of digital signals
Bartolini et al. Algorithms for a precise determination of the betatron tune
JP2637012B2 (en) Measurement data analysis method
JPH0132692B2 (en)
JP2003157142A (en) Phase digitizer
Belega et al. Estimation of the multifrequency signal parameters by interpolated DFT method with maximum sidelobe decay
RU2363005C1 (en) Method of spectral analysis of polyharmonic signals and device to this end
JP2000055949A (en) Method and apparatus for analyzing frequency
Blair A method for characterizing waveform recorder errors using the power spectral distribution
JPH10160507A (en) Peak detecting device
JP2587970B2 (en) Impedance measuring device
KR0128851B1 (en) Pitch detecting method by spectrum harmonics matching of variable length dual impulse having different polarity
GB2212619A (en) Analyzing signals
Khanyan Analytical investigation and estimation of errors involved in the problem of measuring the parameters of a harmonic signal using the Fourier transform method
CN108139435B (en) Method and system for determining phasor components of periodic waveforms
Serov et al. Estimation of the Signal Parameters Measurement Error for the Case of ADC Nonlinearity Approximation by Chebyshev Polynomial
Dai et al. Quasi-synchronous sampling algorithm and its applications-III. High accurate measurement of frequency, frequency deviation and phase angle difference in power systems
JP2968537B2 (en) Phase analysis method