Deprecated: The each() function is deprecated. This message will be suppressed on further calls in /home/zhenxiangba/zhenxiangba.com/public_html/phproxy-improved-master/index.php on line 456
JP6498425B2 - measuring device - Google Patents
[go: Go Back, main page]

JP6498425B2 - measuring device - Google Patents

measuring device Download PDF

Info

Publication number
JP6498425B2
JP6498425B2 JP2014245990A JP2014245990A JP6498425B2 JP 6498425 B2 JP6498425 B2 JP 6498425B2 JP 2014245990 A JP2014245990 A JP 2014245990A JP 2014245990 A JP2014245990 A JP 2014245990A JP 6498425 B2 JP6498425 B2 JP 6498425B2
Authority
JP
Japan
Prior art keywords
frequency
signals
signal
spectrum
sampling
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.)
Active
Application number
JP2014245990A
Other languages
Japanese (ja)
Other versions
JP2016109513A (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.)
Hioki EE Corp
Original Assignee
Hioki EE Corp
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Hioki EE Corp filed Critical Hioki EE Corp
Priority to JP2014245990A priority Critical patent/JP6498425B2/en
Publication of JP2016109513A publication Critical patent/JP2016109513A/en
Application granted granted Critical
Publication of JP6498425B2 publication Critical patent/JP6498425B2/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Landscapes

  • Measuring Frequencies, Analyzing Spectra (AREA)

Description

本発明は、複数の交流信号をサンプリングして得られる瞬時値をフーリエ変換することによって各交流信号についての周波数スペクトルを算出する測定装置に関するものである。   The present invention relates to a measuring apparatus that calculates a frequency spectrum for each AC signal by performing Fourier transform on instantaneous values obtained by sampling a plurality of AC signals.

この種の測定装置として、下記の特許文献1において本願出願人が開示した測定装置が知られている。この測定装置では、周波数が同じ複数の交流信号について、それぞれの1周期分の瞬時値の個数が同じになるようにサンプリングし、サンプリングして得られた瞬時値をフーリエ変換することで、各交流信号の周波数スペクトルを算出している。   As this type of measuring apparatus, a measuring apparatus disclosed by the applicant of the present application in Patent Document 1 below is known. In this measuring apparatus, a plurality of alternating current signals having the same frequency are sampled so that the number of instantaneous values for each period is the same, and the instantaneous values obtained by sampling are subjected to Fourier transform, thereby obtaining each alternating current signal. The frequency spectrum of the signal is calculated.

ところで、複数の交流信号の周波数がすべて同じではなく、いくつかの交流信号の周波数が他の交流信号の周波数と異なる場合についても、各交流信号の周波数スペクトルを算出したいとする要請がある。この場合には、下記の特許文献1に開示した測定装置の構成を適用することで、周波数の異なる複数の交流信号についても、それぞれの1周期分の瞬時値の個数が同じになるようにサンプリングし、サンプリングして得られた瞬時値をフーリエ変換することで、各交流信号の周波数スペクトルを算出する構成とすることが考えられる。   Incidentally, there is a demand for calculating the frequency spectrum of each AC signal even when the frequencies of the plurality of AC signals are not all the same and the frequencies of some AC signals are different from the frequencies of other AC signals. In this case, by applying the configuration of the measurement apparatus disclosed in Patent Document 1 below, sampling is performed so that the number of instantaneous values for each cycle is the same for a plurality of AC signals having different frequencies. Then, it is conceivable that the frequency spectrum of each AC signal is calculated by Fourier transforming the instantaneous value obtained by sampling.

特開2012−154764号公報(第6頁、第1図)JP 2012-154664 A (page 6, FIG. 1)

ところが、この周波数の異なる交流信号に対して、それぞれの1周期分の瞬時値の個数が同じ(予め規定された個数)になるようにサンプリングし、得られた瞬時値をフーリエ変換することで各交流信号の周波数スペクトルを算出する構成を採用する測定装置には、以下のような改善すべき課題が存在している。すなわち、この種の測定装置では、1つの周期内において、この周期内での交流信号の瞬時値を1周期分取得する処理と、直前の周期において取得したこの周期内での交流信号の瞬時値をフーリエ変換して周波数スペクトルを算出する処理とを並列して実行している。   However, the AC signals having different frequencies are sampled so that the number of instantaneous values for one period is the same (predetermined number), and the obtained instantaneous values are Fourier transformed. A measuring apparatus that employs a configuration for calculating the frequency spectrum of an AC signal has the following problems to be improved. That is, in this type of measuring apparatus, within one cycle, processing for obtaining one cycle of the instantaneous value of the AC signal within this cycle, and the instantaneous value of the AC signal within this cycle acquired during the immediately preceding cycle In parallel, a process of calculating a frequency spectrum by Fourier transforming the above is executed.

したがって、この測定装置には、周波数の高い交流信号については、1周期も短くなることから、予め規定された個数の瞬時値に対するフーリエ変換の実行開始から、算出した周波数スペクトルの出力の完了までの処理が1周期内で完了しないことがあるという改善すべき課題が存在している。また、この測定装置には、周波数の低い交流信号については、1周期も長くなることから、フーリエ変換の実行開始から周波数スペクトルの出力が完了までの処理が1周期内の早い段階で完了する結果、この周波数スペクトルの出力の完了からこの1周期の終期までの時間が無駄時間になるという改善すべき課題も存在している。   Therefore, this measuring apparatus shortens one cycle for an AC signal having a high frequency, and therefore, from the start of execution of Fourier transform to a predetermined number of instantaneous values until the completion of output of the calculated frequency spectrum. There is a problem to be improved that the processing may not be completed within one cycle. Further, in this measuring apparatus, since an AC signal having a low frequency is long for one cycle, the process from the start of the Fourier transform to the completion of the output of the frequency spectrum is completed at an early stage within one cycle. There is also a problem to be improved that the time from the completion of the output of the frequency spectrum to the end of the one cycle becomes a dead time.

本発明は、かかる課題を改善するためになされたものであり、入力される交流信号の周波数に拘わらず、周波数スペクトルの算出および出力を確実に実行し得ると共に、無駄時間の発生を回避し得る測定装置を提供することを主目的とする。   The present invention has been made to improve such a problem, and can reliably calculate and output a frequency spectrum regardless of the frequency of an input AC signal, and can avoid generation of dead time. The main purpose is to provide a measuring device.

上記目的を達成すべく請求項1記載の測定装置は、複数の交流信号を入力してサンプリングすることにより当該複数の交流信号のそれぞれの瞬時値を1周期分の個数が2のべき乗数であってそれぞれの周波数に応じた個数となるように取得して出力するサンプリング部と、前記サンプリング部から出力される前記複数の交流信号についての前記瞬時値をフーリエ変換することにより当該複数の交流信号についての周波数スペクトルを算出するスペクトル算出処理を実行する処理部とを備え、前記サンプリング部は、前記交流信号の前記周波数が含まれる周波数レンジがより低い周波数レンジになるに従い前記1周期分の前記個数を増加させる測定装置であって、前記サンプリング部は、前記複数の交流信号を共通のサンプリングクロックでサンプリングしてそれぞれの前記瞬時値を求めるサンプリング処理と、当該求めた瞬時値に基づいて前記複数の交流信号の前記周波数を検出する周波数検出処理と、当該検出した周波数に基づいて前記複数の交流信号の前記周波数が含まれる前記周波数レンジを特定するレンジ特定処理と、前記サンプリング処理で求めた前記複数の交流信号についての前記瞬時値を前記レンジ特定処理で特定された前記周波数レンジに対応する前記1周期分の前記個数に間引く間引き処理とを実行するIn order to achieve the above object, the measuring apparatus according to claim 1 is configured such that a plurality of AC signals are input and sampled so that the instantaneous value of each of the AC signals is a power of 2. A plurality of AC signals obtained by Fourier transforming the instantaneous values of the plurality of AC signals output from the sampling unit, which are obtained and output so that the number corresponds to each frequency. A processing unit that performs a spectrum calculation process for calculating a frequency spectrum of the AC signal, and the sampling unit calculates the number of the one period as the frequency range including the frequency of the AC signal becomes a lower frequency range. a measuring apparatus for increasing the sampling unit, support a plurality of alternating signals at a common sampling clock A sampling process for obtaining the instantaneous values by pulling, a frequency detection process for detecting the frequencies of the plurality of AC signals based on the determined instantaneous values, and the AC signals based on the detected frequencies The range identification process for identifying the frequency range in which the frequency is included, and the instantaneous values for the plurality of AC signals obtained by the sampling process correspond to the frequency range identified by the range identification process. A thinning process for thinning out the number corresponding to the period is executed .

請求項記載の測定装置は、複数の交流信号を入力してサンプリングすることにより当該複数の交流信号のそれぞれの瞬時値を1周期分の個数が2のべき乗数であってそれぞれの周波数に応じた個数となるように取得して出力するサンプリング部と、前記サンプリング部から出力される前記複数の交流信号についての前記瞬時値をフーリエ変換することにより当該複数の交流信号についての周波数スペクトルを算出するスペクトル算出処理を実行する処理部とを備え、前記サンプリング部は、前記交流信号の前記周波数が含まれる周波数レンジがより低い周波数レンジになるに従い前記1周期分の前記個数を増加させる測定装置であって、前記処理部は、前記スペクトル算出処理において、より高い前記周波数レンジに前記周波数が含まれる前記交流信号についての前記周波数スペクトルの算出を優先して実行する。 According to a second aspect of the present invention, the plurality of AC signals are input and sampled, and the instantaneous values of the plurality of AC signals are a power of 2 for one cycle , and the measurement apparatus according to each frequency. The frequency spectrum for the plurality of AC signals is calculated by Fourier-transforming the instantaneous values for the plurality of AC signals output from the sampling unit and the sampling units that are acquired and output so as to be the same number A processing unit that executes a spectrum calculation process, wherein the sampling unit is a measuring device that increases the number of the one period as the frequency range including the frequency of the AC signal becomes a lower frequency range. Te, the processing unit, in the spectrum calculation processing includes said frequency to a higher the frequency ranges Serial preferentially calculation of the frequency spectrum of the AC signal to perform.

請求項記載の測定装置は、複数の交流信号を入力してサンプリングすることにより当該複数の交流信号のそれぞれの瞬時値を1周期分の個数が2のべき乗数であってそれぞれの周波数に応じた個数となるように取得して出力するサンプリング部と、前記サンプリング部から出力される前記複数の交流信号についての前記瞬時値をフーリエ変換することにより当該複数の交流信号についての周波数スペクトルを算出するスペクトル算出処理を実行する処理部とを備え、前記サンプリング部は、前記交流信号の前記周波数が含まれる周波数レンジがより低い周波数レンジになるに従い前記1周期分の前記個数を増加させる測定装置であって、前記複数の交流信号は、複数の当該交流信号からなる1または2以上のグループにグループ分けされ、前記処理部は、前記グループに含まれる全ての前記交流信号についての前記周波数スペクトルの算出が完了したときに、当該周波数スペクトルを2以上組み合わせた演算を実行する。 The measuring apparatus according to claim 3 inputs and samples a plurality of AC signals, so that each instantaneous value of each of the plurality of AC signals is a power of 2 for one cycle and corresponds to each frequency. The frequency spectrum for the plurality of AC signals is calculated by Fourier-transforming the instantaneous values for the plurality of AC signals output from the sampling unit and the sampling units that are acquired and output so as to be the same number A processing unit that executes a spectrum calculation process, wherein the sampling unit is a measuring device that increases the number of the one period as the frequency range including the frequency of the AC signal becomes a lower frequency range. Te, wherein the plurality of alternating signals are grouped into one or more groups comprising a plurality of said AC signal, Serial processor, when calculating the frequency spectrum for all of the AC signal included in the group has been completed, perform operations that combine the frequency spectrum more.

請求項1記載の測定装置では、サンプリング部は、入力される交流信号の周波数が含まれる周波数レンジがより低い周波数レンジになるに従い、1周期分の瞬時値の個数を増加させる。   In the measuring apparatus according to claim 1, the sampling unit increases the number of instantaneous values for one cycle as the frequency range including the frequency of the input AC signal becomes a lower frequency range.

したがって、この測定装置によれば、高い周波数レンジに周波数が含まれる交流信号(1周期の短い信号)については、1周期分の瞬時値の個数が少ないことから、この個数の瞬時値に対するFFTを1周期内で確実に完了させることができると共に、低い周波数レンジに周波数が含まれる交流信号(1周期の長い信号)については、1周期分の瞬時値の個数が多くなることから、無駄時間の発生を回避しつつ、より高い精度のFFTを1周期内で確実に完了させることができる。つまり、この測定装置によれば、入力される交流信号の周波数に拘わらず、周波数スペクトルの算出および出力を確実に実行することができると共に、1周期内での無駄時間の発生を確実に回避することができる。   Therefore, according to this measuring apparatus, since the number of instantaneous values for one cycle is small for an AC signal (a signal having a short cycle) whose frequency is included in a high frequency range, the FFT for this number of instantaneous values is performed. For an AC signal (a signal with a long cycle) that can be reliably completed within one cycle and the frequency is included in a low frequency range, the number of instantaneous values for one cycle increases, so there is no wasted time. While avoiding the occurrence, it is possible to reliably complete the FFT with higher accuracy within one cycle. That is, according to this measuring apparatus, it is possible to reliably execute calculation and output of the frequency spectrum regardless of the frequency of the input AC signal, and to reliably avoid generation of dead time within one cycle. be able to.

また、の測定装置では、サンプリング部は、複数の交流信号を共通のサンプリングクロックでサンプリングしてそれぞれの瞬時値を求めるサンプリング処理と、求めた瞬時値に基づいて各交流信号の周波数を検出する周波数検出処理と、この検出した周波数に基づいて各交流信号の周波数が含まれる周波数レンジを特定するレンジ特定処理と、サンプリング処理で求めた各交流信号についての瞬時値をレンジ特定処理で特定された周波数レンジに対応する1周期分の個数に間引く間引き処理とを実行する。したがって、この測定装置によれば、各交流信号についての瞬時値をこの交流信号の周波数が含まれる周波数レンジに対応した個数に自動的に間引くことができる。 Further, in the measuring apparatus This sampling section detects a sampling process for obtaining the respective instantaneous values by sampling the plurality of alternating signals at a common sampling clock, the frequency of each ac signal based on the instantaneous value determined Frequency detection processing, range specification processing for specifying a frequency range including the frequency of each AC signal based on the detected frequency, and instantaneous value for each AC signal obtained by sampling processing are specified by range specification processing Thinning-out processing is performed for thinning out the number of one period corresponding to the frequency range. Therefore, according to this measuring apparatus, the instantaneous value for each AC signal can be automatically thinned to the number corresponding to the frequency range including the frequency of this AC signal.

また、請求項記載の測定装置では、サンプリング部は、入力される交流信号の周波数が含まれる周波数レンジがより低い周波数レンジになるに従い、1周期分の瞬時値の個数を増加させる。したがって、この測定装置によれば、高い周波数レンジに周波数が含まれる交流信号(1周期の短い信号)については、1周期分の瞬時値の個数が少ないことから、この個数の瞬時値に対するFFTを1周期内で確実に完了させることができると共に、低い周波数レンジに周波数が含まれる交流信号(1周期の長い信号)については、1周期分の瞬時値の個数が多くなることから、無駄時間の発生を回避しつつ、より高い精度のFFTを1周期内で確実に完了させることができる。つまり、この測定装置によれば、入力される交流信号の周波数に拘わらず、周波数スペクトルの算出および出力を確実に実行することができると共に、1周期内での無駄時間の発生を確実に回避することができる。
また、この測定装置では、処理部は、スペクトル算出処理において、より高い周波数レンジに周波数が含まれる交流信号についての周波数スペクトルの算出を優先して実行する。したがって、この測定装置によれば、瞬時値の個数が多いためにFFTの完了までに要する時間が長くなる周波数の低い交流信号のFFTの演算によって、瞬時値の個数が少ない交流信号(高い周波数の信号)のFFTの演算が待たされるといった事態の発生を防止することができ、これにより、より短い時間間隔で周波数スペクトルの算出を行った方が好ましい高い周波数の交流信号に対するFFTの演算を遅延なく実行することができる。
In the measuring apparatus according to claim 2 , the sampling unit increases the number of instantaneous values for one cycle as the frequency range including the frequency of the input AC signal becomes a lower frequency range. Therefore, according to this measuring apparatus, since the number of instantaneous values for one cycle is small for an AC signal (a signal having a short cycle) whose frequency is included in a high frequency range, the FFT for this number of instantaneous values is performed. For an AC signal (a signal with a long cycle) that can be reliably completed within one cycle and the frequency is included in a low frequency range, the number of instantaneous values for one cycle increases, so there is no wasted time. While avoiding the occurrence, it is possible to reliably complete the FFT with higher accuracy within one cycle. That is, according to this measuring apparatus, it is possible to reliably execute calculation and output of the frequency spectrum regardless of the frequency of the input AC signal, and to reliably avoid generation of dead time within one cycle. be able to.
In this measurement apparatus, the processing unit preferentially executes the calculation of the frequency spectrum for the AC signal whose frequency is included in the higher frequency range in the spectrum calculation process. Therefore, according to this measuring apparatus, since the number of instantaneous values is large, it takes a long time to complete the FFT, and the calculation of the low frequency AC signal with the low frequency results in the calculation of the AC signal with a small number of instantaneous values. The occurrence of a situation in which the FFT calculation of the signal) is awaited can be prevented, so that it is preferable to calculate the frequency spectrum in a shorter time interval without delaying the FFT calculation for the high frequency AC signal. Can be executed.

また、請求項記載の測定装置では、サンプリング部は、入力される交流信号の周波数が含まれる周波数レンジがより低い周波数レンジになるに従い、1周期分の瞬時値の個数を増加させる。したがって、この測定装置によれば、高い周波数レンジに周波数が含まれる交流信号(1周期の短い信号)については、1周期分の瞬時値の個数が少ないことから、この個数の瞬時値に対するFFTを1周期内で確実に完了させることができると共に、低い周波数レンジに周波数が含まれる交流信号(1周期の長い信号)については、1周期分の瞬時値の個数が多くなることから、無駄時間の発生を回避しつつ、より高い精度のFFTを1周期内で確実に完了させることができる。つまり、この測定装置によれば、入力される交流信号の周波数に拘わらず、周波数スペクトルの算出および出力を確実に実行することができると共に、1周期内での無駄時間の発生を確実に回避することができる。
また、この測定装置では、グループに含まれる全ての交流信号についての周波数スペクトルの算出が完了したときに、これらの周波数スペクトルを2以上組み合わせた演算を実行する。したがって、この測定装置によれば、サンプリング部に入力される複数の交流信号に、例えば、1つの三相電路についての3つの相電圧信号が含まれている一方で、これらの相電圧信号とは無関係の交流信号が含まれている場合においても、この交流信号としての3つの相電圧信号を同じグループにグループ分けしておくことにより、各相電圧信号についての周波数スペクトルが揃った状態で、各周波数スペクトルを組み合わせた演算を確実に実行することができる。
In the measuring apparatus according to claim 3 , the sampling unit increases the number of instantaneous values for one cycle as the frequency range including the frequency of the input AC signal becomes a lower frequency range. Therefore, according to this measuring apparatus, since the number of instantaneous values for one cycle is small for an AC signal (a signal having a short cycle) whose frequency is included in a high frequency range, the FFT for this number of instantaneous values is performed. For an AC signal (a signal with a long cycle) that can be reliably completed within one cycle and the frequency is included in a low frequency range, the number of instantaneous values for one cycle increases, so there is no wasted time. While avoiding the occurrence, it is possible to reliably complete the FFT with higher accuracy within one cycle. That is, according to this measuring apparatus, it is possible to reliably execute calculation and output of the frequency spectrum regardless of the frequency of the input AC signal, and to reliably avoid generation of dead time within one cycle. be able to.
Moreover, in this measuring apparatus, when the calculation of the frequency spectrum about all the alternating current signals contained in a group is completed, the calculation which combined two or more of these frequency spectra is performed. Therefore, according to this measuring apparatus, while the plurality of AC signals input to the sampling unit include, for example, three phase voltage signals for one three-phase circuit, these phase voltage signals are Even when irrelevant alternating current signals are included, by grouping the three phase voltage signals as the alternating current signals into the same group, in the state where the frequency spectrum for each phase voltage signal is aligned, The calculation combining the frequency spectrum can be executed reliably.

測定装置1の構成図である。1 is a configuration diagram of a measuring device 1. FIG. 測定装置1の動作を説明するための状態遷移図である。FIG. 6 is a state transition diagram for explaining the operation of the measuring apparatus 1. 測定装置1の動作を説明するための入力チャンネルCH毎の処理についての手順図である。FIG. 5 is a procedure diagram for processing for each input channel CH for explaining the operation of the measuring apparatus 1. 測定装置1の動作を説明するための入力チャンネルCH毎の処理についての他の手順図である。FIG. 6 is another procedure diagram for processing for each input channel CH for explaining the operation of the measuring apparatus 1.

以下、測定装置の実施の形態について、添付図面を参照して説明する。   Hereinafter, embodiments of a measuring apparatus will be described with reference to the accompanying drawings.

最初に、測定装置1の構成について、図面を参照して説明する。   First, the configuration of the measuring apparatus 1 will be described with reference to the drawings.

図1に示す測定装置としての測定装置1は、一例として、サンプリング部2、処理部3、操作部4、記憶部5および出力部6を備え、サンプリング部2に入力される複数の交流信号(本例では一例として、4つの交流信号S1a,S1b,S1c,S1d(以下、特に区別しないときには「交流信号S1」ともいう))についての周波数スペクトルFSa,Fsb,FSc,FSd(以下、特に区別しないときには「周波数スペクトルFS」ともいう)をフーリエ変換(具体的には、高速フーリエ変換(FFT))を実行することによって算出して、出力部6から出力するように構成されている。   1 includes a sampling unit 2, a processing unit 3, an operation unit 4, a storage unit 5, and an output unit 6 as an example, and a plurality of alternating current signals input to the sampling unit 2 ( In this example, as an example, the frequency spectrums FSa, Fsb, Fsc, FSd (hereinafter not particularly distinguished) of four AC signals S1a, S1b, S1c, and S1d (hereinafter also referred to as “AC signal S1” unless otherwise distinguished). The “frequency spectrum FS” is sometimes calculated by executing a Fourier transform (specifically, a fast Fourier transform (FFT)) and output from the output unit 6.

サンプリング部2は、一例として、複数の交流信号S1を同時に入力してサンプリングし得るように、複数の入力チャンネルCHを備えている。本例では上記した4つの交流信号S1a〜S1dを同時に入力し得るように、4つの入力チャンネルCHa,CHb,CHc,CHd(以下、特に区別しないときには「入力チャンネルCH」ともいう)を備えている。   As an example, the sampling unit 2 includes a plurality of input channels CH so that a plurality of AC signals S1 can be simultaneously input and sampled. In this example, four input channels CHa, CHb, CHc, and CHd (hereinafter also referred to as “input channels CH” unless otherwise specified) are provided so that the four AC signals S1a to S1d can be input simultaneously. .

なお、本例では一例として、入力チャンネルCHの数は4つとしているが、複数であれば、2つ、3つ、さらには5つ以上とすることもでき、また、本例のように、全ての入力チャンネルCHに交流信号S1を入力してもよいし、一部の複数の入力チャンネルCHにのみ交流信号S1を入力してもよい。   In this example, the number of input channels CH is four as an example. However, if there are a plurality of input channels CH, two, three, or even five or more can be used, and as in this example, The AC signal S1 may be input to all the input channels CH, or the AC signal S1 may be input only to some of the plurality of input channels CH.

以下、各入力チャンネルCHの構成について説明する。各入力チャンネルCHa,CHb,CHc,CHdは、図1に示すように、入力端子11a,11b,11c,11d(以下、特に区別しないときには「入力端子11」ともいう)、A/D変換部12a,12b,12c,12d(以下、特に区別しないときには「A/D変換部12」ともいう)、周波数検出部13a,13b,13c,13d(以下、特に区別しないときには「周波数検出部13」ともいう)、および間引き部14a,14b,14c,14d(以下、特に区別しないときには「間引き部14」ともいう)をそれぞれ備え、同一に構成されている。このため、以下では、各入力チャンネルCHa〜CHdのうちの入力チャンネルCHaを例に挙げて、その構成をより具体的に説明する。   Hereinafter, the configuration of each input channel CH will be described. As shown in FIG. 1, the input channels CHa, CHb, CHc, and CHd are input terminals 11a, 11b, 11c, and 11d (hereinafter also referred to as “input terminals 11” unless otherwise specified), and an A / D converter 12a. , 12b, 12c, 12d (hereinafter also referred to as “A / D converter 12” unless otherwise specified), and frequency detectors 13a, 13b, 13c, 13d (hereinafter also referred to as “frequency detector 13” unless otherwise specified). ) And thinning portions 14a, 14b, 14c, 14d (hereinafter also referred to as “thinning portion 14” unless otherwise specified), and are configured identically. Therefore, in the following, the configuration will be described more specifically by taking the input channel CHa among the input channels CHa to CHd as an example.

入力端子11aには、複数の交流信号S1のうちの対応する1つの交流信号S1aが入力される。A/D変換部12aは、入力端子11aに入力される交流信号S1aを他のA/D変換部12b〜12dと共通のサンプリングクロックCLKに同期してサンプリングすることにより、交流信号S1aの瞬時値を示す瞬時値データD1aを出力するサンプリング処理を実行する。   One corresponding AC signal S1a among the plurality of AC signals S1 is input to the input terminal 11a. The A / D conversion unit 12a samples the AC signal S1a input to the input terminal 11a in synchronization with the sampling clock CLK common to the other A / D conversion units 12b to 12d, so that the instantaneous value of the AC signal S1a is obtained. The sampling process for outputting the instantaneous value data D1a indicating is executed.

周波数検出部13aは、瞬時値データD1aに基づいて予め規定された単位時間当たりの交流信号S1aの波形数(または零クロスポイント)を検出すると共に、検出した波形数(または零クロスポイント)と単位時間とに基づいて、交流信号S1aの周波数faを検出する周波数検出処理を実行する。なお、周期を検出することも周波数を検出することと等価であるため、本例において周波数を検出することには周期を検出することが含まれるものとする。また、周波数検出部13aは、検出した周波数faを示す周波数データD2aをこの周波数faの周期で間引き部14aに出力する。   The frequency detector 13a detects the number of waveforms (or zero cross points) of the AC signal S1a per unit time defined in advance based on the instantaneous value data D1a, and also detects the number of detected waveforms (or zero cross points) and the unit. Based on the time, a frequency detection process for detecting the frequency fa of the AC signal S1a is executed. Since detecting the period is equivalent to detecting the frequency, detecting the frequency in this example includes detecting the period. Further, the frequency detection unit 13a outputs frequency data D2a indicating the detected frequency fa to the thinning unit 14a at a cycle of the frequency fa.

間引き部14aは、まず、周波数検出部13aから出力される周波数データD2aを取得して、この周波数データD2aで示される周波数faが、予め規定された複数の周波数レンジのうちのいずれの周波数レンジに含まれるか否かを特定するレンジ特定処理を実行する。次いで、間引き部14aは、この特定した周波数レンジに対応するサンプリング数Na(交流信号S1aの1周期当たりに取得する瞬時値の個数。以下、個数Naともいう)を特定する。続いて、間引き部14aは、A/D変換部12aからサンプリングクロックCLKの周期で出力される瞬時値データD1aを間引きながら取得することにより、交流信号S1aの1周期分の瞬時値データD1aをNa個取得する間引き処理を実行する。最後に、間引き部14aは、取得したNa個の瞬時値データD1aを取得データ群D3aとして、交流信号S1aの周波数データD2aと共に、交流信号S1aの周期で(つまり、1周期分のNa個の瞬時値データD1aの取得が完了する都度)処理部3に出力する。なお、この周波数データD2aについては、間引き部14aに代えて、周波数検出部13aが処理部3に出力する構成とすることもできる。   The thinning-out unit 14a first acquires the frequency data D2a output from the frequency detection unit 13a, and the frequency fa indicated by the frequency data D2a is in any one of a plurality of predefined frequency ranges. A range specifying process for specifying whether or not it is included is executed. Next, the thinning-out unit 14a specifies the sampling number Na (the number of instantaneous values acquired per cycle of the AC signal S1a. Hereinafter, also referred to as the number Na) corresponding to the specified frequency range. Subsequently, the thinning-out unit 14a obtains the instantaneous value data D1a for one cycle of the AC signal S1a by acquiring the instantaneous value data D1a output from the A / D conversion unit 12a at the cycle of the sampling clock CLK. Execute the thinning process to acquire each. Finally, the thinning-out unit 14a uses the acquired Na pieces of instantaneous value data D1a as the acquired data group D3a, together with the frequency data D2a of the AC signal S1a, in the period of the AC signal S1a (that is, Na pieces of instantaneous data for one period). Whenever the acquisition of the value data D1a is completed, it is output to the processing unit 3. The frequency data D2a may be configured to be output to the processing unit 3 by the frequency detection unit 13a instead of the thinning unit 14a.

この間引き部14aについて、例を挙げてより具体的に説明する。   The thinning portion 14a will be described more specifically with an example.

なお、交流信号S1aの周波数スペクトルFSaをFFTを用いて算出するためには、交流信号S1aの1周期分の瞬時値データD1aの個数Naを2のべき乗個とするのが好ましい。また、FFTに要する時間は、瞬時値データD1aの個数Naが多くなるに従い長くなる。このため、処理部3が、間引き部14aから取得した交流信号S1aの1つの周期についての瞬時値データD1aに基づいて、この1つの周期の次の周期内で周波数スペクトルFSaを算出すると共に出力部6への出力を完了させるためには、高い周波数レンジに含まれる周波数faの交流信号S1aでは個数Naを少なくする必要がある。   In order to calculate the frequency spectrum FSa of the AC signal S1a using FFT, the number Na of instantaneous value data D1a for one cycle of the AC signal S1a is preferably a power of two. Also, the time required for FFT becomes longer as the number Na of instantaneous value data D1a increases. For this reason, the processing unit 3 calculates the frequency spectrum FSa within the next cycle of the one cycle based on the instantaneous value data D1a for one cycle of the AC signal S1a acquired from the thinning unit 14a, and the output unit. In order to complete the output to 6, the number Na needs to be reduced in the AC signal S1a having the frequency fa included in the high frequency range.

一方、交流信号S1aが低い周波数レンジに含まれる周波数faのときに、瞬時値データD1aの個数Naを高い周波数レンジのときと同じにした場合、この交流信号S1aは1周期が長いため、間引き部14aから取得した交流信号S1aの1つの周期についての瞬時値データD1aに基づいて、この1つの周期の次の周期の初期から周波数スペクトルFSaの算出を開始したときに、この周波数スペクトルFSaの算出および出力の完了から周期の終期までの時間が多く余り、これが無駄時間となる。このため、交流信号S1aが低い周波数レンジに含まれる周波数faのときには、FFTにおいて使用する1周期分の瞬時値データD1aの個数Naをより多くして、より高い精度の周波数スペクトルFSaを算出するのが好ましい。   On the other hand, when the AC signal S1a has the frequency fa included in the low frequency range, the number Na of the instantaneous value data D1a is the same as that in the high frequency range. Based on the instantaneous value data D1a for one period of the AC signal S1a acquired from 14a, when the calculation of the frequency spectrum FSa is started from the beginning of the period next to the one period, the calculation of the frequency spectrum FSa and There is a lot of time from the completion of the output to the end of the cycle, which becomes a dead time. For this reason, when the AC signal S1a is in the frequency fa included in the low frequency range, the number Na of instantaneous value data D1a for one cycle used in the FFT is increased to calculate the frequency spectrum FSa with higher accuracy. Is preferred.

以上の理由により、本例の測定装置1では、一例として、0Hzを超え2kHz以下までの周波数範囲を測定周波数範囲として、この測定周波数範囲を、0Hzを超え100Hz以下までの周波数範囲の第1周波数レンジ(低周波数レンジ)、100Hzを超え500Hz以下までの周波数範囲の第2周波数レンジ(中周波数レンジ)、および500Hzを超え2kHz以下までの周波数範囲の第3周波数レンジ(高周波数レンジ)の3つに分割して、第1周波数レンジでは個数Naを8192個(2の13乗個)とし、第2周波数レンジでは個数Naを2048個(2の11乗個)とし、第3周波数レンジでは個数Naを512個(2の9乗個)に規定している。   For the above reason, in the measuring apparatus 1 of this example, as an example, the frequency range from 0 Hz to 2 kHz is set as the measurement frequency range, and this measurement frequency range is set to the first frequency in the frequency range from 0 Hz to 100 Hz. Range (low frequency range), second frequency range (medium frequency range) over 100 Hz to 500 Hz, and third frequency range (high frequency range) over 500 Hz to 2 kHz The number Na is 8192 (2 to the 13th power) in the first frequency range, the number Na is 2048 (2 to the 11th power) in the second frequency range, and the number Na is in the third frequency range. Is defined as 512 (2 to the 9th power).

したがって、本例では、間引き部14aは、まず、周波数検出部13aから出力される周波数データD2aを取得して、この周波数データD2aで示される周波数faが、第1周波数レンジ、第2周波数レンジおよび第3周波数レンジのうちのいずれの周波数レンジに含まれるかを特定する。例えば、周波数faが200Hzのときには、第2周波数レンジを特定する。次いで、間引き部14aは、この特定した周波数レンジに対応する個数Naを特定する。例えば、第2周波数レンジを特定したときには、個数Naを2048個と特定する   Therefore, in this example, the thinning-out unit 14a first acquires the frequency data D2a output from the frequency detection unit 13a, and the frequency fa indicated by the frequency data D2a is the first frequency range, the second frequency range, and Which frequency range of the third frequency range is included is specified. For example, when the frequency fa is 200 Hz, the second frequency range is specified. Next, the thinning unit 14a specifies the number Na corresponding to the specified frequency range. For example, when the second frequency range is specified, the number Na is specified as 2048.

続いて、間引き部14aは、A/D変換部12aからサンプリングクロックCLKの周期で出力される瞬時値データD1aを均等に間引いて入力することにより、交流信号S1aの1周期分の瞬時値データD1aをNa個取得する。例えば、交流信号S1aの周波数faが200Hzのときには、交流信号S1aの1周期分の瞬時値データD1aを均等に間引いて2048個取得する。最後に、間引き部14aは、取得したNa個の瞬時値データD1aを取得データ群D3aとして、周波数データD2aと共に処理部3に出力する。   Subsequently, the thinning-out unit 14a equally thins out and inputs the instantaneous value data D1a output at the cycle of the sampling clock CLK from the A / D conversion unit 12a, so that the instantaneous value data D1a for one cycle of the AC signal S1a. Acquire Na. For example, when the frequency fa of the AC signal S1a is 200 Hz, 2048 pieces of instantaneous value data D1a for one cycle of the AC signal S1a are evenly thinned out and acquired. Finally, the thinning unit 14a outputs the acquired Na pieces of instantaneous value data D1a to the processing unit 3 together with the frequency data D2a as an acquired data group D3a.

なお、この際に、間引き部14aは、A/D変換部12aから出力される瞬時値データD1aをそのまま間引いて得られるNa個の瞬時値データD1aを取得してもよいし、A/D変換部12aから出力される瞬時値データD1aを使用して各瞬時値データD1a間の擬似波形を補間処理で求め、交流信号S1aの例えば立ち上がりの零クロスポイントから次の立ち上がりの零クロスポイントまでの間をより正確にNa等分して、この擬似波形から得られるNa個の瞬時値データを取得データ群D3aとすることもできる。   At this time, the thinning-out unit 14a may acquire Na pieces of instantaneous value data D1a obtained by thinning out the instantaneous value data D1a output from the A / D conversion unit 12a as it is, or perform A / D conversion. Using the instantaneous value data D1a output from the unit 12a, a pseudo waveform between the instantaneous value data D1a is obtained by interpolation processing, for example, from the rising zero cross point of the AC signal S1a to the next rising zero cross point. The Na instantaneous value data obtained from this pseudo waveform can be used as the acquired data group D3a.

他の入力チャンネルCHb,CHc,CHdにおいても、上記した入力チャンネルCHaと同様にして、対応するA/D変換部12、周波数検出部13および間引き部14が動作することにより、各間引き部14b,14c,14dからも、交流信号S1b,S1c,S1dの各周波数fb,fc,fdが含まれる周波数レンジに対応する個数Nb,Nc,Ndの瞬時値データD1b,D1c,D1dで構成される取得データ群D3b,D3c,D3dが各周波数fb,fc,fdを示す周波数データD2b,D2c,D2dと共に交流信号S1b,S1c,S1dの周期で処理部3に出力される。   In the other input channels CHb, CHc, and CHd, the corresponding A / D conversion unit 12, the frequency detection unit 13, and the decimation unit 14 operate in the same manner as the above-described input channel CHa, so that each decimation unit 14b, Also from 14c and 14d, the acquired data composed of the number Nb, Nc and Nd of instantaneous value data D1b, D1c and D1d corresponding to the frequency range including the frequencies fb, fc and fd of the AC signals S1b, S1c and S1d. The groups D3b, D3c, and D3d are output to the processing unit 3 in the cycle of the AC signals S1b, S1c, and S1d together with the frequency data D2b, D2c, and D2d indicating the frequencies fb, fc, and fd.

なお、各周波数fa,fb,fc,fdについては、特に区別しないときには「周波数f」ともいい、各個数Na,Nb,Nc,Ndについては、特に区別しないときには「個数N」ともいう。また、各瞬時値データD1a,D1b,D1c,D1dについても、特に区別しないときには「瞬時値データD1」ともいい、各取得データ群D3a,D3b,D3c,D3dについても、特に区別しないときには「取得データ群D3ともいう。また、各周波数fa,fb,fc,fdについても、特に区別しないときには「周波数f」ともいい、また各周波数データD2a,D2b,D2c,D2dについても、特に区別しないときには、「周波数データD2」ともいう。   Note that the frequencies fa, fb, fc, and fd are also referred to as “frequency f” unless otherwise distinguished, and the numbers Na, Nb, Nc, and Nd are also referred to as “number N” unless otherwise distinguished. The instantaneous value data D1a, D1b, D1c, and D1d are also referred to as “instantaneous value data D1” when they are not particularly distinguished. It is also referred to as a group D3, and the frequencies fa, fb, fc, and fd are also referred to as “frequency f” when they are not particularly distinguished, and the frequency data D2a, D2b, D2c, and D2d are also referred to as “ Also referred to as “frequency data D2”.

処理部3は、例えばコンピュータを用いて構成されて、サンプリング部2から出力される取得データ群D3に基づいて各交流信号S1についての周波数スペクトルFSを算出するスペクトル算出処理を実行する。操作部4は、各入力チャンネルCHのうちの任意の複数個を関連付ける(グループ化する)ための不図示の操作キーが配設されている。また、操作部4は、この操作キーが操作されて複数の入力チャンネルCHに対する関連付け(グループ化)が行われたときには、関連付けされた複数の入力チャンネルCHを示す関連付けデータDreを処理部3に出力する。   The processing unit 3 is configured using a computer, for example, and executes a spectrum calculation process for calculating a frequency spectrum FS for each AC signal S1 based on the acquired data group D3 output from the sampling unit 2. The operation unit 4 is provided with operation keys (not shown) for associating (grouping) an arbitrary plurality of input channels CH. When the operation key is operated to associate (group) a plurality of input channels CH, the operation unit 4 outputs association data Dre indicating the associated input channels CH to the processing unit 3. To do.

記憶部5は、半導体メモリやハードディスク装置などで構成されて、この記憶部5には、処理部3のための動作プログラムが予め記憶されている。また、記憶部5には、処理部3により、関連付けデータDreと、各交流信号S1についての周波数データD2、取得データ群D3および周波数スペクトルFSとが記憶される。出力部6は、一例として、表示装置で構成されて、処理部3から出力される周波数スペクトルFSを画面上に表示する(出力する)。なお、出力部6は、表示装置に代えて外部インターフェース回路で構成することもでき、この構成を採用したときには、処理部3から出力される周波数スペクトルFSを入力すると共に、外部インターフェース回路に接続されている外部装置にこの周波数スペクトルFSを出力する。   The storage unit 5 is configured by a semiconductor memory, a hard disk device, or the like, and an operation program for the processing unit 3 is stored in the storage unit 5 in advance. Further, the storage unit 5 stores the association data Dre, the frequency data D2, the acquired data group D3, and the frequency spectrum FS for each AC signal S1 by the processing unit 3. For example, the output unit 6 includes a display device and displays (outputs) the frequency spectrum FS output from the processing unit 3 on the screen. The output unit 6 can also be configured by an external interface circuit instead of the display device. When this configuration is adopted, the output unit 6 inputs the frequency spectrum FS output from the processing unit 3 and is connected to the external interface circuit. This frequency spectrum FS is output to an external device.

次いで、測定装置1の動作について説明する。   Next, the operation of the measuring apparatus 1 will be described.

まず、操作部4の操作キーに対する操作が行われずに、各入力チャンネルCHのうちのいずれも関連付けされていないときの動作について説明する。   First, an operation when the operation key of the operation unit 4 is not performed and none of the input channels CH is associated will be described.

各入力チャンネルCHa,CHb,CHc,CHdの入力端子11a,11b,11c,11dに交流信号S1a,S1b,S1c,S1dが入力されている状態において、サンプリング部2では、各入力チャンネルCHを構成するA/D変換部12、周波数検出部13および間引き部14が、上記したように、共通のサンプリングクロックCLKに同期した各交流信号S1についての瞬時値データD1の出力(サンプリング処理)と、瞬時値データD1に基づく各交流信号S1の周波数fの検出(周波数検出処理)と、各交流信号S1の周波数fが含まれる周波数レンジの特定(レンジ特定処理)と、特定した周波数レンジに対応する各交流信号S1についての1周期分の個数Nの瞬時値データD1の取得(間引き処理)とを実行して、各入力チャンネルCHの間引き部14が、対応する交流信号S1についての周波数データD2と取得データ群D3とをこの交流信号S1の周期で処理部3に出力する。   In the state where AC signals S1a, S1b, S1c, and S1d are input to the input terminals 11a, 11b, 11c, and 11d of the input channels CHa, CHb, CHc, and CHd, the sampling unit 2 configures each input channel CH. As described above, the A / D conversion unit 12, the frequency detection unit 13, and the thinning-out unit 14 output the instantaneous value data D1 (sampling process) and the instantaneous value of each AC signal S1 synchronized with the common sampling clock CLK. Detection of the frequency f of each AC signal S1 based on the data D1 (frequency detection processing), specification of a frequency range including the frequency f of each AC signal S1 (range specification processing), and each AC corresponding to the specified frequency range The acquisition (decimation processing) of the instantaneous value data D1 of the number N for one cycle for the signal S1 is executed, Thinning portion 14 forces the channel CH is, the acquired data group D3 and frequency data D2 for the corresponding alternating signal S1 and outputs to the processing unit 3 at a period of the AC signal S1.

処理部3は、図2に示すスペクトル算出処理50を実行する。このスペクトル算出処理50では、処理部3は、まず、波形データ待ち状態(ST1)に移行し、その後、発生する後述の遷移条件に応じて、波形データ待ち状態(ST1)、スペクトル算出割り当て判定状態(ST2)、第1スペクトル算出状態(ST3)、第2スペクトル算出状態(ST4)および第3スペクトル算出状態(ST5)のいずれかに移行すると共に、各状態に対して予め規定された動作を実行することで、各交流信号S1についての周波数スペクトルFSを算出して、出力部6から出力させる。   The processing unit 3 executes a spectrum calculation process 50 shown in FIG. In the spectrum calculation process 50, the processing unit 3 first shifts to a waveform data waiting state (ST1), and then waits for a waveform data waiting state (ST1), a spectrum calculation assignment determination state in accordance with a transition condition to be described later. (ST2), transition to one of the first spectrum calculation state (ST3), the second spectrum calculation state (ST4), and the third spectrum calculation state (ST5), and execute a predefined operation for each state Thus, the frequency spectrum FS for each AC signal S1 is calculated and output from the output unit 6.

この場合、波形データ待ち状態(ST1)では、処理部3は、各入力チャンネルCHの間引き部14からの周波数データD2および取得データ群D3(以下、まとめて波形データともいう)の出力の有無を検出しており、いずれかの入力チャンネルCHの間引き部14から周波数データD2および取得データ群D3が出力されたことを検出したときには、これらを入力して記憶部5に記憶させた後に、スペクトル算出割り当て判定状態(ST2)に移行する。   In this case, in the waveform data waiting state (ST1), the processing unit 3 determines whether or not the frequency data D2 and the acquired data group D3 (hereinafter collectively referred to as waveform data) are output from the thinning unit 14 of each input channel CH. When it is detected that the frequency data D2 and the acquired data group D3 are output from the thinning unit 14 of any input channel CH, these are input and stored in the storage unit 5, and then the spectrum calculation is performed. The process proceeds to the assignment determination state (ST2).

また、スペクトル算出割り当て判定状態(ST2)では、処理部3は、記憶部5に記憶されている1または2以上の取得データ群D3(スペクトル算出の処理を中断した取得データ群D3およびスペクトル算出の処理を未実行の取得データ群D3の双方。これらの取得データ群D3については後述する)について、その個数Nまたは周波数f(本例では一例として個数N)を検出する。   In the spectrum calculation assignment determination state (ST2), the processing unit 3 stores one or two or more acquired data groups D3 stored in the storage unit 5 (the acquired data group D3 in which the spectrum calculation process is interrupted and the spectrum calculation process). The number N or the frequency f (number N as an example in this example) is detected for both of the acquired data groups D3 that have not been processed (these acquired data groups D3 will be described later).

この検出の結果、処理部3は、記憶部5に記憶されている取得データ群D3のうちの最も瞬時値データD1の個数Nの小さい取得データ群D3が、最小の個数N(本例では512個)の瞬時値データD1で構成される取得データ群D3(つまり、周波数fが最も高い第3周波数レンジに含まれる交流信号S1についての取得データ群D3)であることを検出したときには、FFTの演算資源をこの個数Nが512個の取得データ群D3に割り当てる(つまり、この個数Nが512個の取得データ群D3に対するFFTを実行する)と判別して、第3スペクトル算出状態(ST5)に移行する。   As a result of this detection, the processing unit 3 determines that the acquisition data group D3 having the smallest number N of instantaneous value data D1 among the acquisition data group D3 stored in the storage unit 5 has the smallest number N (512 in this example). When it is detected that the acquired data group D3 is composed of the instantaneous value data D1 (that is, the acquired data group D3 for the AC signal S1 included in the third frequency range having the highest frequency f), It is determined that the calculation resource is assigned to the acquired data group D3 having the number N of 512 (that is, FFT is performed on the acquired data group D3 having the number N of 512), and the third spectrum calculation state (ST5) is entered. Transition.

また、処理部3は、記憶部5に記憶されている取得データ群D3のうちの最も瞬時値データD1の個数Nの小さい取得データ群D3が、最小の個数N(本例では512個)の次に小さい個数N(本例では2048個)の瞬時値データD1で構成される取得データ群D3(つまり、本例では周波数fが第2周波数レンジに含まれる交流信号S1についての取得データ群D3)であることを検出したときには、FFTの演算資源をこの個数Nが2048個の取得データ群D3に割り当てる(つまり、この個数Nが2048個の取得データ群D3に対するFFTを実行する)と判別して、第2スペクトル算出状態(ST4)に移行する。   Further, the processing unit 3 has the smallest number N (512 in this example) of the acquisition data group D3 having the smallest number N of instantaneous value data D1 among the acquisition data group D3 stored in the storage unit 5. Next, an acquisition data group D3 composed of the next smallest number N (2048 in this example) of instantaneous value data D1 (that is, acquisition data group D3 for the AC signal S1 whose frequency f is included in the second frequency range in this example). ), It is determined that the FFT calculation resource is allocated to the acquisition data group D3 having the number N of 2048 (that is, the FFT is performed on the acquisition data group D3 having the number N of 2048). Then, the process proceeds to the second spectrum calculation state (ST4).

また、処理部3は、記憶部5に記憶されている取得データ群D3のうちの最も瞬時値データD1の個数Nの小さい取得データ群D3が、最小の個数N(本例では512個)の次の次に小さい個数N(本例では、個数Nが最大となる8192個)の瞬時値データD1で構成される取得データ群D3(つまり、本例では周波数fが最も低い第1周波数レンジに含まれる交流信号S1についての取得データ群D3)であることを検出したときには、FFTの演算資源をこの個数Nが8192個の取得データ群D3に割り当てる(つまり、この個数Nが8192個の取得データ群D3に対するFFTを実行する)と判別して、第1スペクトル算出状態(ST3)に移行する。   Further, the processing unit 3 has the smallest number N (512 in this example) of the acquisition data group D3 having the smallest number N of instantaneous value data D1 among the acquisition data group D3 stored in the storage unit 5. Next, the acquired data group D3 composed of the next smallest number N (in this example, 8192 which has the largest number N) of instantaneous value data D1 (that is, in the first frequency range in which the frequency f is the lowest in this example). When it is detected that the acquired AC signal S1 is the acquired data group D3), the FFT calculation resource is allocated to the acquired data group D3 whose number N is 8192 (that is, the acquired data whose number N is 8192). It is determined that FFT for the group D3 is performed), and the process proceeds to the first spectrum calculation state (ST3).

処理部3は、第1スペクトル算出状態(ST3)、第2スペクトル算出状態(ST4)および第3スペクトル算出状態(ST5)では、各スペクトル算出状態に対応する個数Nの取得データ群D3に対するFFTを実行することにより、この取得データ群D3を構成する瞬時値データD1で示される交流信号S1についての周波数スペクトルFSを算出して、記憶部5に記憶させると共に出力部6から出力させる。また、処理部3は、このようにして周波数スペクトルFSの算出、記憶および出力を完了させたときには、各スペクトル算出状態(ST3,ST4,ST5)からスペクトル算出割り当て判定状態(ST2)に移行する。   In the first spectrum calculation state (ST3), the second spectrum calculation state (ST4), and the third spectrum calculation state (ST5), the processing unit 3 performs FFT on the number N of acquired data groups D3 corresponding to each spectrum calculation state. By executing, the frequency spectrum FS is calculated for the AC signal S1 indicated by the instantaneous value data D1 constituting the acquired data group D3, and is stored in the storage unit 5 and output from the output unit 6. Further, when the calculation, storage, and output of the frequency spectrum FS are completed in this way, the processing unit 3 shifts from each spectrum calculation state (ST3, ST4, ST5) to the spectrum calculation assignment determination state (ST2).

この各スペクトル算出状態では、処理部3は、スペクトル算出の処理を中断した取得データ群D3、およびこの取得データ群D3と同数であってスペクトル算出の処理を未実行の取得データ群D3の双方が記憶部5に記憶されているときには、スペクトル算出の処理を中断した取得データ群D3についてのスペクトル算出の処理を優先する。また、処理部3は、スペクトル算出の処理を中断した取得データ群D3、およびこの取得データ群D3と同数であって同じくスペクトル算出の処理を中断した取得データ群D3の双方が記憶部5に記憶されているときには、スペクトル算出の処理を先に中断した取得データ群D3についてのスペクトル算出の処理を優先する。また、処理部3は、スペクトル算出の処理を未実行の取得データ群D3、およびこの取得データ群D3と同数であって同じくスペクトル算出の処理を未実行の取得データ群D3の双方が記憶部5に記憶されているときには、先に記憶させた取得データ群D3についてのスペクトル算出の処理を優先する。   In each spectrum calculation state, the processing unit 3 includes both the acquired data group D3 for which the spectrum calculation process is interrupted and the acquired data group D3 that has the same number as the acquired data group D3 and has not executed the spectrum calculation process. When stored in the storage unit 5, priority is given to the spectrum calculation process for the acquired data group D3 in which the spectrum calculation process is interrupted. The processing unit 3 stores both the acquired data group D3 in which the spectrum calculation process is interrupted and the acquired data group D3 that has the same number as the acquired data group D3 and in which the spectrum calculation process is interrupted in the storage unit 5. When it is determined, priority is given to the spectrum calculation process for the acquired data group D3 for which the spectrum calculation process has been interrupted first. In addition, the processing unit 3 stores both the acquired data group D3 in which the spectrum calculation process is not executed and the same number of the acquired data group D3 and the acquired data group D3 in which the spectrum calculation process is not executed are stored in the storage unit 5 Is prioritized, the spectrum calculation process for the acquired data group D3 stored earlier is prioritized.

また、処理部3は、第1スペクトル算出状態(ST3)および第2スペクトル算出状態(ST4)のいずれのスペクトル算出状態のとき(周波数スペクトルFSの算出中のとき)にも、各入力チャンネルCHの間引き部14からの波形データ(周波数データD2および取得データ群D3)の出力の有無を検出しており、この波形データの出力を検出したときには、この波形データを入力して記憶部5に記憶させる。また、処理部3は、この波形データを構成する取得データ群D3の個数Nが周波数スペクトルFSを算出中の取得データ群D3の個数Nよりも小さいか否かを判別して、小さいときには実行中の周波数スペクトルFSの算出を中断して、スペクトル算出割り当て判定状態(ST2)に移行し、小さくない(同じか大きい)ときには、現在のスペクトル算出状態を継続する(実行中の周波数スペクトルFSの算出を継続する)。   In addition, the processing unit 3 performs the operation of each input channel CH in any of the first spectrum calculation state (ST3) and the second spectrum calculation state (ST4) (when the frequency spectrum FS is being calculated). The presence / absence of output of waveform data (frequency data D2 and acquired data group D3) from the thinning unit 14 is detected. When the output of the waveform data is detected, the waveform data is input and stored in the storage unit 5. . Further, the processing unit 3 determines whether or not the number N of acquisition data groups D3 constituting the waveform data is smaller than the number N of acquisition data groups D3 for which the frequency spectrum FS is being calculated. The calculation of the frequency spectrum FS is interrupted, and the state shifts to the spectrum calculation assignment determination state (ST2). When the frequency spectrum FS is not small (same or large), the current spectrum calculation state is continued ( continue).

処理部3は、このように実行中の周波数スペクトルFSの算出を中断してスペクトル算出割り当て判定状態(ST2)に移行したときには、この第2スペクトル算出状態(ST4)において上記したように動作して、記憶部5に記憶されている取得データ群D3のうちの最も瞬時値データD1の個数Nの小さい取得データ群D3に対してFFTの演算資源を割り当てると判別して、この個数Nに対応するスペクトル算出状態(512個のときには第3スペクトル算出状態ST5、2048個のときには第2スペクトル算出状態ST4)に移行する。   When the processing unit 3 interrupts the calculation of the frequency spectrum FS currently being executed and shifts to the spectrum calculation assignment determination state (ST2), the processing unit 3 operates as described above in the second spectrum calculation state (ST4). Then, it is determined that the FFT calculation resource is allocated to the acquisition data group D3 having the smallest number N of the instantaneous value data D1 in the acquisition data group D3 stored in the storage unit 5, and this number N is supported. The state shifts to the spectrum calculation state (the third spectrum calculation state ST5 when the number is 512, and the second spectrum calculation state ST4 when the number is 2048).

一方、処理部3は、第3スペクトル算出状態(ST5)のときには、そもそも最小の個数Nである512個の瞬時値データD1で構成される取得データ群D3に対するFFTを実行して周波数スペクトルFSを算出している状態にある。このため、処理部3は、各入力チャンネルCHの間引き部14からの波形データ(周波数データD2および取得データ群D3)の出力の有無を検出していて、この波形データの出力を検出したときには、この波形データを入力して記憶部5に記憶させるが、この波形データを構成する取得データ群D3の個数Nが周波数スペクトルFSを算出中の取得データ群D3の個数Nよりも小さいか否かの判別は実行せずに、現在実行している取得データ群D3に対するFFTを継続する。したがって、処理部3は、この第3スペクトル算出状態(ST5)のときには、現在実行している周波数スペクトルFSの算出が完了し、かつこの算出した周波数スペクトルFSの記憶および出力を完了させたときにのみ、スペクトル算出割り当て判定状態(ST2)に移行する。   On the other hand, in the third spectrum calculation state (ST5), the processing unit 3 executes the FFT on the acquired data group D3 composed of 512 pieces of instantaneous value data D1 which is the minimum number N in the first place, and calculates the frequency spectrum FS. It is in the state of calculating. Therefore, the processing unit 3 detects the presence / absence of output of waveform data (frequency data D2 and acquired data group D3) from the thinning unit 14 of each input channel CH, and when detecting the output of the waveform data, This waveform data is inputted and stored in the storage unit 5. Whether or not the number N of acquisition data groups D3 constituting the waveform data is smaller than the number N of acquisition data groups D3 for which the frequency spectrum FS is being calculated. The discrimination is not executed, and the FFT for the currently executed acquisition data group D3 is continued. Therefore, when the processing unit 3 is in the third spectrum calculation state (ST5), the calculation of the currently executed frequency spectrum FS is completed and the storage and output of the calculated frequency spectrum FS are completed. Only, it shifts to the spectrum calculation assignment determination state (ST2).

これにより、この測定装置1では、処理部3は、基本的な動作として、一の取得データ群D3の瞬時値データD1で示される交流信号S1についての周波数スペクトルFSを算出している最中に、この一の取得データ群D3の個数Nよりも個数Nの小さな他の取得データ群D3がサンプリング部2から出力されたとき(本例では、処理部3がこれを記憶部5に記憶したとき)には、この一の取得データ群D3の瞬時値データD1で示される交流信号S1についての周波数スペクトルFSを中断して、この他の取得データ群D3の瞬時値データD1で示される交流信号S1についての周波数スペクトルFSを優先して実行する。また、この優先して実行した交流信号S1についての周波数スペクトルFSの算出が完了したときには、中断した交流信号S1についての周波数スペクトルFSの算出を再開する。   Thereby, in this measuring apparatus 1, the processing unit 3 is calculating the frequency spectrum FS for the AC signal S1 indicated by the instantaneous value data D1 of the one acquired data group D3 as a basic operation. When another acquisition data group D3 having a number N smaller than the number N of the one acquisition data group D3 is output from the sampling unit 2 (in this example, when the processing unit 3 stores this in the storage unit 5) ) Interrupts the frequency spectrum FS for the AC signal S1 indicated by the instantaneous value data D1 of this one acquired data group D3, and the AC signal S1 indicated by the instantaneous value data D1 of this other acquired data group D3. The frequency spectrum FS is preferentially executed. When the calculation of the frequency spectrum FS for the AC signal S1 executed with priority is completed, the calculation of the frequency spectrum FS for the interrupted AC signal S1 is resumed.

図3を参照しつつ、具体例を挙げて処理部3のこの基本的な動作について説明する。この例では、一例として、入力チャンネルCHaに入力されている交流信号S1aの周波数faが第2周波数レンジ(中周波数レンジ)に含まれ、入力チャンネルCHbに入力されている交流信号S1bの周波数fbが第1周波数レンジ(低周波数レンジ)に含まれ、入力チャンネルCHcに入力されている交流信号S1cの周波数fcが第3周波数レンジ(高周波数レンジ)に含まれているものとする。また、処理部3が、波形データ待ち状態(ST1)において、最初に、交流信号S1aについての取得データ群D3aの記憶部5への記憶を完了させ、このときに、記憶部5には他の取得データ群D3が記憶されていないものとする。   With reference to FIG. 3, the basic operation of the processing unit 3 will be described with a specific example. In this example, as an example, the frequency fa of the AC signal S1a input to the input channel CHa is included in the second frequency range (medium frequency range), and the frequency fb of the AC signal S1b input to the input channel CHb is It is assumed that the frequency fc of the AC signal S1c included in the first frequency range (low frequency range) and input to the input channel CHc is included in the third frequency range (high frequency range). Further, in the waveform data waiting state (ST1), the processing unit 3 first completes the storage of the acquired data group D3a for the AC signal S1a in the storage unit 5, and at this time, the storage unit 5 stores other data It is assumed that the acquired data group D3 is not stored.

この場合、処理部3は、取得データ群D3aの記憶部5への記憶の完了後に、スペクトル算出割り当て判定状態(ST2)に移行して、交流信号S1aについての取得データ群D3aの個数Na(2048個)が最小であると判別して、この取得データ群D3aにFFTの演算資源を割り当てると判定する。これにより、処理部3は、第2スペクトル算出状態(ST4)に移行して、取得データ群D3aに対するFFTを実行する。なお、この取得データ群D3aに対するFFTの実行中において、図3に示すように、処理部3は、交流信号S1bについての個数Nbが8192個の取得データ群D3bの記憶部5への記憶を完了させるが、この取得データ群D3bの個数Nbは、現在FFTを実行している取得データ群D3aの個数Naよりも大きいと、第2スペクトル算出状態(ST4)において判別する。このため、処理部3は、取得データ群D3aに対するFFTの実行を継続して、交流信号S1aの周波数スペクトルFSaを算出し、このFFTを完了させる。   In this case, after the storage of the acquired data group D3a in the storage unit 5 is completed, the processing unit 3 shifts to a spectrum calculation assignment determination state (ST2), and the number Na (2048) of the acquired data group D3a for the AC signal S1a. Is determined to be the smallest, and it is determined that FFT operation resources are allocated to the acquired data group D3a. Thereby, the process part 3 transfers to a 2nd spectrum calculation state (ST4), and performs FFT with respect to the acquisition data group D3a. During the execution of the FFT for the acquired data group D3a, as shown in FIG. 3, the processing unit 3 completes the storage of the acquired data group D3b with the number Nb of 8192 for the AC signal S1b in the storage unit 5. However, if the number Nb of the acquired data group D3b is larger than the number Na of the acquired data group D3a that is currently executing FFT, it is determined in the second spectrum calculation state (ST4). For this reason, the processing unit 3 continues to perform the FFT on the acquired data group D3a, calculates the frequency spectrum FSa of the AC signal S1a, and completes the FFT.

この後、処理部3は、第2スペクトル算出状態(ST4)からスペクトル算出割り当て判定状態(ST2)に移行する。この場合、記憶部5には、個数Nbが8192個の取得データ群D3bのみが記憶されているため、処理部3は、交流信号S1bについての取得データ群D3bの個数Nb(8192個)が最小であると判別して、この取得データ群D3bにFFTの演算資源を割り当てると判定する。これにより、処理部3は、第1スペクトル算出状態(ST3)に移行して、取得データ群D3bに対するFFTを実行する。   Thereafter, the processing unit 3 shifts from the second spectrum calculation state (ST4) to the spectrum calculation assignment determination state (ST2). In this case, since the storage unit 5 stores only the acquisition data group D3b having the number Nb of 8192, the processing unit 3 has the minimum number Nb (8192) of the acquisition data group D3b for the AC signal S1b. It is determined that the FFT calculation resource is allocated to the acquired data group D3b. Thereby, the process part 3 transfers to a 1st spectrum calculation state (ST3), and performs FFT with respect to the acquisition data group D3b.

図3に示す例では、処理部3は、この取得データ群D3bに対するFFTの実行中において取得した交流信号S1cについての個数Ncが512個の取得データ群D3cの記憶部5への記憶を完了させる。処理部3は、第1スペクトル算出状態(ST3)において、この取得データ群D3cの個数Ncが、FFTを実行している取得データ群D3bの個数Nbよりも小さいと判別する。このため、処理部3は、取得データ群D3bに対するFFTの実行を中断して、第1スペクトル算出状態(ST3)からスペクトル算出割り当て判定状態(ST2)に移行する。この場合、処理部3は、個数Nc(512個)が最小であると判別して、この個数Ncの取得データ群D3cにFFTの演算資源を割り当てることを判別する。これにより、処理部3は、第3スペクトル算出状態(ST5)に移行して、取得データ群D3cに対するFFTを実行することで、交流信号S1cの周波数スペクトルFScを算出して、このFFTを完了させる。   In the example illustrated in FIG. 3, the processing unit 3 completes the storage of the acquired data group D3c having 512 Nc pieces of the AC signal S1c acquired during the execution of the FFT for the acquired data group D3b in the storage unit 5. . In the first spectrum calculation state (ST3), the processing unit 3 determines that the number Nc of the acquired data group D3c is smaller than the number Nb of the acquired data group D3b performing the FFT. For this reason, the processing unit 3 interrupts the execution of the FFT on the acquired data group D3b, and shifts from the first spectrum calculation state (ST3) to the spectrum calculation assignment determination state (ST2). In this case, the processing unit 3 determines that the number Nc (512) is the minimum, and determines that an FFT calculation resource is allocated to the number Nc of acquired data groups D3c. Thereby, the processing unit 3 shifts to the third spectrum calculation state (ST5), calculates the frequency spectrum FSc of the AC signal S1c by executing FFT on the acquired data group D3c, and completes this FFT. .

この後、処理部3は、第3スペクトル算出状態(ST5)からスペクトル算出割り当て判定状態(ST2)に移行する。この場合、記憶部5には、FFTを中断した交流信号S1bについての取得データ群D3bのみが記憶されている。このため、処理部3は、この取得データ群D3bの個数Nb(8192個)が最小であると判別して、この個数Nbの取得データ群D3bにFFTの演算資源を割り当てると判別する。これにより、処理部3は、第1スペクトル算出状態(ST3)に移行して、取得データ群D3bに対するFFTを再開して、交流信号S1bの周波数スペクトルFSbを算出し、このFFTを完了させる。   Thereafter, the processing unit 3 shifts from the third spectrum calculation state (ST5) to the spectrum calculation assignment determination state (ST2). In this case, the storage unit 5 stores only the acquired data group D3b for the AC signal S1b in which the FFT is interrupted. For this reason, the processing unit 3 determines that the number Nb (8192) of the acquired data group D3b is the smallest, and determines that an FFT computation resource is allocated to the acquired data group D3b of the number Nb. Thereby, the processing unit 3 shifts to the first spectrum calculation state (ST3), restarts the FFT for the acquired data group D3b, calculates the frequency spectrum FSb of the AC signal S1b, and completes this FFT.

次に、操作部4の操作キーに対する操作が行われて、一例として、各入力チャンネルCHのうちの入力チャンネルCHa,CHb,CHdを、入力チャンネルCHa,CHb,CHdのうちのいずれか1つのチャンネル(本例では一例として、入力チャンネルCHb)に同期させるとの関連づけがされているときの動作について説明する。上記の例では、各入力チャンネルCHのいずれも関連付けされておらず、各入力チャンネルCHに入力される交流信号S1について算出された周波数スペクトルFSは単独で出力される構成となっていたが、本例では、関連づけされた入力チャンネルCHa,CHb,CHdに入力される各交流信号S1の周波数スペクトルFSについては、そのままで出力されると共に、相互間で演算された結果(チャンネル間演算の結果)についても出力される。なお、基本的な動作については、上記した関連づけが行われない構成と同一であるため、同じ動作についての説明は省略し、相違する動作を主として説明する。また、相互間での演算の一例として、関連づけされた入力チャンネルCHa,CHb,CHdに入力される各交流信号S1の周波数スペクトルFSの合計値を算出する演算を例に挙げて説明する。   Next, an operation on the operation key of the operation unit 4 is performed, and as an example, the input channel CHa, CHb, CHd of each input channel CH is changed to one of the input channels CHa, CHb, CHd. (In this example, as an example, the operation when the synchronization with the input channel CHb) is established will be described. In the above example, none of the input channels CH is associated, and the frequency spectrum FS calculated for the AC signal S1 input to each input channel CH has been configured to be output alone. In the example, the frequency spectrum FS of each AC signal S1 input to the associated input channels CHa, CHb, and CHd is output as it is, and the result calculated between each other (result of the calculation between channels). Is also output. Since the basic operation is the same as the configuration in which the above association is not performed, description of the same operation is omitted, and different operations are mainly described. Further, as an example of the calculation between each other, a calculation for calculating the total value of the frequency spectrum FS of each AC signal S1 input to the associated input channels CHa, CHb, and CHd will be described as an example.

この場合、操作部4は、各入力チャンネルCHのうちの入力チャンネルCHa,CHb,CHdを入力チャンネルCHbに同期させる(関連付けさせる)ことを示す関連付けデータDreを処理部3に出力する。処理部3は、この関連付けデータDreを記憶部5に記憶させる。   In this case, the operation unit 4 outputs association data Dre indicating that the input channels CHa, CHb, and CHd among the input channels CH are synchronized (associated) with the input channel CHb to the processing unit 3. The processing unit 3 stores the association data Dre in the storage unit 5.

例えば、各入力チャンネルCHa,CHb,CHdの入力端子11a,11b,11dには、1つの三相電路についての例えば3つの相電圧信号が交流信号S1a,S1b,S1dとして入力され、入力チャンネルCHcの入力端子11cには、この三相電路についての信号とは無関係の他の電路についての交流電圧(三相電路についての信号よりも高い周波数の電圧)が交流信号S1cとして入力されている状態において、各交流信号S1a,S1b,S1dの周波数スペクトルFSa,FSb,FSdの合計値を算出する演算を実行する場合には、測定装置1のオペレータは、上記のようにして操作部4を操作することで、各入力チャンネルCHのうちの入力チャンネルCHa,CHb,CHdを入力チャンネルCHbに同期させる(関連付けさせる)ことを示す関連付けデータDreを処理部3に出力する。   For example, the input terminals 11a, 11b, and 11d of the input channels CHa, CHb, and CHd receive, for example, three phase voltage signals for one three-phase circuit as AC signals S1a, S1b, and S1d. In the state where an AC voltage (voltage having a higher frequency than that of the signal for the three-phase circuit) is input as the AC signal S1c to the input terminal 11c, the AC voltage for the other circuit unrelated to the signal for the three-phase circuit is When performing an operation for calculating the total value of the frequency spectra FSa, FSb, FSd of the AC signals S1a, S1b, S1d, the operator of the measuring apparatus 1 operates the operation unit 4 as described above. The input channels CHa, CHb, and CHd among the input channels CH are synchronized with the input channel CHb (functions). With make) it can be output to the processing section 3 the association data Dre indicating a.

この場合、各入力チャンネルCHa,CHb,CHdに入力されている交流信号S1a,S1b,S1dは同じ周波数であることから、これらの3つの入力チャンネルCHa,CHb,CHdの各間引き部14a,14b,14dは、同じ個数Na,Nb,Ndの瞬時値データD1a,D1b,D1dで構成される取得データ群D3a,D3b,D3d、および同じ周波数レンジ(低周波数レンジ)に含まれる同じ周波数fa,fb,fdを示す周波数データD2a,D2b,D2dを処理部3に出力する。一方、残りの入力チャンネルCHcの間引き部14cは、個数Ncの瞬時値データD1cで構成される取得データ群D3c、および周波数レンジ(例えば高周波数レンジ)に含まれる周波数fcを示す周波数データD2cを処理部3に出力する。   In this case, since the AC signals S1a, S1b, and S1d input to the input channels CHa, CHb, and CHd have the same frequency, the thinning-out portions 14a, 14b, and 14d of these three input channels CHa, CHb, and CHd, 14d is an acquisition data group D3a, D3b, D3d composed of instantaneous value data D1a, D1b, D1d of the same number Na, Nb, Nd, and the same frequency fa, fb, included in the same frequency range (low frequency range) The frequency data D2a, D2b, D2d indicating fd is output to the processing unit 3. On the other hand, the thinning-out part 14c of the remaining input channels CHc processes the acquired data group D3c composed of the number Nc of instantaneous value data D1c and the frequency data D2c indicating the frequency fc included in the frequency range (for example, high frequency range). Output to part 3.

この例での処理部3は、各入力チャンネルCHに対する関連づけ(グループ化)を行わない上記の例と基本的に同じ動作を実行しつつ、各入力チャンネルCHに入力された交流信号S1についての周波数スペクトルFSをそれぞれ算出するが、関連づけ(グループ化)されたすべての入力チャンネルCHに対する周波数スペクトルFSが完了したときに、この周波数スペクトルFSを2以上組み合わせた演算を実行する期間を確保するという点で相違する。   The processing unit 3 in this example performs basically the same operation as the above example in which the association (grouping) is not performed for each input channel CH, and the frequency of the AC signal S1 input to each input channel CH. Each spectrum FS is calculated, but when the frequency spectrum FS for all the associated (grouped) input channels CH is completed, a period for executing an operation combining two or more frequency spectra FS is secured. Is different.

この処理部3の動作について、一例として、図4に示す例を挙げて説明する。同図の例では、まず入力チャンネルCHa,CHb,CHdの各間引き部14が、取得データ群D3および周波数データD2を処理部3にこの順で出力し、その結果として、処理部3は、入力チャンネルCHa,CHb,CHdの順に取得データ群D3および周波数データD2の記憶部5への記憶を完了させて、入力チャンネルCHa,CHb,CHdの順に取得データ群D3に対するFFTを実行する。一方、入力チャンネルCHcの間引き部14cは、入力チャンネルCHaの取得データ群D3aに対するFFTの完了後、入力チャンネルCHbの取得データ群D3bに対するFFTの実行中に、取得データ群D3cおよび周波数データD2cを処理部3に出力する。   The operation of the processing unit 3 will be described by taking the example shown in FIG. 4 as an example. In the example of the figure, first, each thinning unit 14 of the input channels CHa, CHb, and CHd outputs the acquired data group D3 and the frequency data D2 to the processing unit 3 in this order. As a result, the processing unit 3 The storage of the acquired data group D3 and the frequency data D2 in the storage unit 5 is completed in the order of the channels CHa, CHb, and CHd, and the FFT on the acquired data group D3 is executed in the order of the input channels CHa, CHb, and CHd. On the other hand, the decimation unit 14c of the input channel CHc processes the acquisition data group D3c and the frequency data D2c during the execution of the FFT on the acquisition data group D3b of the input channel CHb after completion of the FFT on the acquisition data group D3a of the input channel CHa. Output to part 3.

この場合、処理部3は、記憶部5への記憶を最初に完了させた入力チャンネルCHaの取得データ群D3aに対するFFTを実行して、このFFTを完了させる。次いで、記憶部5への記憶を次に完了させた入力チャンネルCHbの取得データ群D3bに対するFFTの実行を開始する。続いて、処理部3は、この取得データ群D3bに対するFFTの実行中に、入力チャンネルCHcの取得データ群D3c(取得データ群D3bの個数Nbよりも小さい個数Ncの取得データ群D3c)についての記憶部5への記憶を完了させる。この場合、処理部3は、この個数Ncの小さい取得データ群D3cに対するFFTを優先して実行するため、取得データ群D3bに対するFFTを中断して、取得データ群D3cに対するFFTを実行して、このFFTを完了させる。   In this case, the processing unit 3 performs FFT on the acquired data group D3a of the input channel CHa that has been initially stored in the storage unit 5, and completes this FFT. Next, execution of FFT is started on the acquired data group D3b of the input channel CHb that has been stored in the storage unit 5 next. Subsequently, during the execution of the FFT for the acquired data group D3b, the processing unit 3 stores the acquired data group D3c of the input channel CHc (the acquired data group D3c having a number Nc smaller than the number Nb of the acquired data group D3b). The storage in the unit 5 is completed. In this case, the processing unit 3 preferentially executes the FFT for the acquisition data group D3c having a small number Nc. Therefore, the processing unit 3 interrupts the FFT for the acquisition data group D3b and executes the FFT for the acquisition data group D3c. Complete the FFT.

続いて、処理部3は、中断した取得データ群D3bに対するFFTを再開して、このFFTを完了させ、次いで、入力チャンネルCHa,CHb,CHdの各取得データ群D3a,D3b,D3dのうちの最後に記憶部5への記憶を完了させた入力チャンネルCHdの取得データ群D3dに対するFFTの実行して、このFFTを完了させる。処理部3は、関連づけ(グループ化)された入力チャンネルCHa,CHb,CHdの各取得データ群D3a,D3b,D3dに対するFFTが完了する都度、関連づけされたすべての入力チャンネルCHa,CHb,CHdの各取得データ群D3a,D3b,D3dに対するFFTが完了したか否かを判別し、関連づけされたすべての入力チャンネルCHa,CHb,CHdの各取得データ群D3a,D3b,D3dに対するFFTが完了したと判別したときには、関連づけされた入力チャンネルCHについての周波数スペクトルFSを2以上組み合わせた演算(入力チャンネルCH間の演算)を実行する。   Subsequently, the processing unit 3 restarts the FFT for the interrupted acquisition data group D3b to complete the FFT, and then the last of the acquisition data groups D3a, D3b, and D3d of the input channels CHa, CHb, and CHd. Then, the FFT is performed on the acquired data group D3d of the input channel CHd that has been stored in the storage unit 5 to complete the FFT. Each time the FFT on the acquired data groups D3a, D3b, and D3d of the associated (grouped) input channels CHa, CHb, and CHd is completed, the processing unit 3 sets each of the associated input channels CHa, CHb, and CHd. It is determined whether or not the FFT for the acquired data groups D3a, D3b, and D3d is completed, and it is determined that the FFT for the acquired data groups D3a, D3b, and D3d for all the associated input channels CHa, CHb, and CHd is completed. Sometimes, a calculation (computation between input channels CH) is performed by combining two or more frequency spectra FS for the associated input channels CH.

この図4に示す例では、入力チャンネルCHdの取得データ群D3dに対するFFTが完了したときに、関連づけされたすべての入力チャンネルCHa,CHb,CHdの各取得データ群D3a,D3b,D3dに対するFFTが完了する。このため、処理部3は、入力チャンネルCHdの取得データ群D3dに対するFFTの完了後に、関連づけされた入力チャンネルCHa,CHb,CHdについての周波数スペクトルFSa,FSb,FSdを2以上組み合わせたチャンネル間演算(本例では、各入力チャンネルCHa,CHb,CHdに入力された交流信号S1a,S1b,S1dの周波数スペクトルFSa,FSb,FSdの合計値を算出するチャンネル間演算)を実行して、その演算結果を記憶部5に記憶させると共に、周波数スペクトルFSa,FSb,FSdと共に出力部6から出力させる。   In the example shown in FIG. 4, when the FFT for the acquisition data group D3d of the input channel CHd is completed, the FFT for the acquisition data groups D3a, D3b, D3d of all the associated input channels CHa, CHb, CHd is completed. To do. For this reason, the processing unit 3 performs an inter-channel operation (combining two or more frequency spectra FSa, FSb, and FSd for the associated input channels CHa, CHb, and CHd after completion of the FFT for the acquired data group D3d of the input channel CHd ( In this example, the inter-channel calculation for calculating the total value of the frequency spectra FSa, FSb, FSd of the AC signals S1a, S1b, S1d input to the input channels CHa, CHb, CHd is executed, and the calculation result is obtained. The data is stored in the storage unit 5 and output from the output unit 6 together with the frequency spectra FSa, FSb, and FSd.

このように、この測定装置1では、サンプリング部2は、入力される交流信号S1の周波数fが含まれる周波数レンジがより低い周波数レンジになるに従い、1周期分の瞬時値データD1の個数Nを増加させる間引き処理を実行する。   Thus, in this measuring apparatus 1, the sampling unit 2 calculates the number N of instantaneous value data D1 for one period as the frequency range including the frequency f of the input AC signal S1 becomes a lower frequency range. Execute the decimation process to increase.

したがって、この測定装置1によれば、高い周波数レンジに周波数が含まれる交流信号S1(1周期の短い信号)については、1周期分の瞬時値データD1の個数Nが少ないことから、この個数Nの瞬時値データD1に対するFFTを1周期内で確実に完了させることができると共に、低い周波数レンジに周波数が含まれる交流信号S1(1周期の長い信号)については、1周期分の瞬時値データD1の個数Nが多くなることから、無駄時間の発生を回避しつつ、より高い精度のFFTを1周期内で確実に完了させることができる。つまり、この測定装置1によれば、入力される交流信号S1の周波数fに拘わらず、周波数スペクトルFSの算出および出力を確実に実行することができると共に、1周期内での無駄時間の発生を確実に回避することができる。ここで、高い精度のFFTとは、瞬時値データD1の個数Nが多いことから、より高い次数の高調波成分を含めることができるFFTをいう。なお、個数Nが多いときには、A/D変換部12での量子化誤差が平均化されるため、これによっても誤差が軽減される(つまり、高精度化が図られる)。   Therefore, according to this measuring apparatus 1, since the number N of instantaneous value data D1 for one cycle is small for the AC signal S1 (a signal having a short cycle) whose frequency is included in a high frequency range, the number N FFT for the instantaneous value data D1 can be reliably completed within one period, and for the AC signal S1 (a signal having a long period) including a frequency in a low frequency range, the instantaneous value data D1 for one period is included. Since the number N of N is increased, it is possible to reliably complete FFT with higher accuracy within one cycle while avoiding generation of dead time. That is, according to this measuring apparatus 1, calculation and output of the frequency spectrum FS can be surely performed regardless of the frequency f of the input AC signal S1, and the generation of dead time within one cycle is possible. It can be avoided reliably. Here, the high-accuracy FFT means an FFT that can include higher-order harmonic components because the number N of instantaneous value data D1 is large. When the number N is large, the quantization error in the A / D converter 12 is averaged, and this also reduces the error (that is, high accuracy is achieved).

また、サンプリング部2に入力される交流信号S1の周波数fが既知の場合には、各交流信号S1についての1周期分の瞬時値データD1の個数Nを、測定装置1のオペレータが手動で設定することもできる。しかしながら、上記の例の測定装置1におけるサンプリング部2のように、複数の交流信号S1を共通のサンプリングクロックCLKでサンプリングしてそれぞれの瞬時値データD1を求めるサンプリング処理と、求めた瞬時値データD1に基づいて各交流信号S1の周波数fを検出する周波数検出処理と、この検出した周波数fに基づいて各交流信号S1の周波数fが含まれる周波数レンジを特定するレンジ特定処理と、サンプリング処理で求めた各交流信号S1についての瞬時値データD1をレンジ特定処理で特定された周波数レンジに対応する1周期分の個数Nに間引く間引き処理とを実行する構成を採用することにより、交流信号S1についての瞬時値データD1をこの交流信号S1の周波数fが含まれる周波数レンジに対応した個数Nに自動的に間引くことができる。   When the frequency f of the AC signal S1 input to the sampling unit 2 is known, the operator of the measuring apparatus 1 manually sets the number N of instantaneous value data D1 for one cycle for each AC signal S1. You can also However, like the sampling unit 2 in the measurement apparatus 1 of the above example, a sampling process for sampling a plurality of AC signals S1 with a common sampling clock CLK to obtain each instantaneous value data D1, and the obtained instantaneous value data D1. The frequency detection processing for detecting the frequency f of each AC signal S1 based on the frequency, the range specification processing for specifying the frequency range including the frequency f of each AC signal S1 based on the detected frequency f, and the sampling processing Further, by adopting a configuration in which the instantaneous value data D1 for each AC signal S1 is thinned out to the number N for one cycle corresponding to the frequency range specified by the range specifying process, the AC signal S1 Individual data corresponding to the frequency range including the frequency f of the AC signal S1 for the instantaneous value data D1 It can be automatically thinned out in N.

また、この測定装置1では、処理部3は、スペクトル算出処理において、より高い前記周波数レンジに周波数fが含まれる交流信号S1についての周波数スペクトルFSの算出を優先して実行する。したがって、この測定装置1によれば、瞬時値データD1の個数Nが多いためにFFTの完了までに要する時間が長くなる周波数fの低い交流信号S1のFFTの演算によって、瞬時値データD1の個数Nが少ない交流信号S1(高い周波数fの信号)のFFTの演算が待たされるといった事態の発生を防止することができ、これにより、より短い時間間隔で周波数スペクトルFSの算出を行った方が好ましい高い周波数fの交流信号S1に対するFFTの演算を遅延なく実行することができる。   Further, in the measurement apparatus 1, the processing unit 3 preferentially executes the calculation of the frequency spectrum FS for the AC signal S1 in which the frequency f is included in the higher frequency range in the spectrum calculation process. Therefore, according to this measuring apparatus 1, since the number N of the instantaneous value data D1 is large, the time required to complete the FFT becomes long, and the number of the instantaneous value data D1 is calculated by the FFT calculation of the AC signal S1 having a low frequency f. It is possible to prevent the occurrence of a situation in which the FFT calculation of the AC signal S1 (signal having a high frequency f) with a small N is awaited, and thus it is preferable to calculate the frequency spectrum FS at shorter time intervals. It is possible to perform an FFT operation on the AC signal S1 having a high frequency f without delay.

また、この測定装置1では、処理部3は、関連付けされた(グループに含まれる)全ての交流信号S1についての周波数スペクトルFSの算出が完了したときに、これらの周波数スペクトルFSを2以上組み合わせた演算を実行する。したがって、この測定装置1によれば、サンプリング部2に入力される複数の交流信号S1に、例えば上記したように、1つの三相電路についての3つの相電圧信号が含まれている一方で、これらの相電圧信号とは無関係の交流信号が含まれている場合においても、この交流信号S1としての3つの相電圧信号を関連付けて(グループ化して)おくことにより、各相電圧信号についての周波数スペクトルFSが揃った状態で、各周波数スペクトルFSを組み合わせた演算を確実に実行することができる。   Further, in the measurement apparatus 1, the processing unit 3 combines two or more of these frequency spectra FS when calculation of the frequency spectra FS for all the associated AC signals S1 (included in the group) is completed. Perform the operation. Therefore, according to this measurement apparatus 1, while the plurality of AC signals S1 input to the sampling unit 2 include, for example, three phase voltage signals for one three-phase circuit as described above, Even in the case where an AC signal unrelated to these phase voltage signals is included, the frequency for each phase voltage signal is obtained by associating (grouping) the three phase voltage signals as the AC signal S1. In a state where the spectra FS are aligned, it is possible to reliably execute the calculation combining the frequency spectra FS.

なお、上記の測定装置1では、交流信号S1の周波数fが第1〜第3の3つの周波数レンジのいずれかに含まれる構成を採用しているが、周波数レンジの数は複数である限り、2つでもよいし、4つ以上とすることもできる。また、各周波数レンジに対応する瞬時値データD1の個数Nは、2のべき乗個であればよく、上記の例(2の13乗個、2の11乗個、2の9乗個)に限定されず、任意の2のべき乗個でよい。   In addition, in said measuring apparatus 1, although the frequency f of alternating current signal S1 is employ | adopted as the structure included in either of the 1st-3rd three frequency ranges, as long as the number of frequency ranges is more than one, There may be two, or four or more. The number N of instantaneous value data D1 corresponding to each frequency range may be a power of 2, and is limited to the above example (2 13, 2 11, 2 9). Instead, it may be an arbitrary power of 2.

また、上記の測定装置1では、複数の交流信号S1中に、関連付け(グループ化)された交流信号S1を1組だけ含める構成を例に挙げて説明したが、関連付け(グループ化)された交流信号S1を2組以上含める構成としてもよいのは勿論である。   In the measurement apparatus 1 described above, the configuration in which only one set of the associated (grouped) AC signals S1 is included in the plurality of AC signals S1 has been described. Of course, it may be configured to include two or more sets of signals S1.

1 測定装置
2 サンプリング部
3 処理部
D1 瞬時値データ
FS 周波数スペクトル
N 個数
S1 交流信号
1 Measuring device
2 Sampling part
3 Processing Unit D1 Instantaneous Value Data FS Frequency Spectrum
N number S1 AC signal

Claims (3)

複数の交流信号を入力してサンプリングすることにより当該複数の交流信号のそれぞれの瞬時値を1周期分の個数が2のべき乗数であってそれぞれの周波数に応じた個数となるように取得して出力するサンプリング部と、
前記サンプリング部から出力される前記複数の交流信号についての前記瞬時値をフーリエ変換することにより当該複数の交流信号についての周波数スペクトルを算出するスペクトル算出処理を実行する処理部とを備え、
前記サンプリング部は、前記交流信号の前記周波数が含まれる周波数レンジがより低い周波数レンジになるに従い前記1周期分の前記個数を増加させる測定装置であって、
前記サンプリング部は、前記複数の交流信号を共通のサンプリングクロックでサンプリングしてそれぞれの前記瞬時値を求めるサンプリング処理と、当該求めた瞬時値に基づいて前記複数の交流信号の前記周波数を検出する周波数検出処理と、当該検出した周波数に基づいて前記複数の交流信号の前記周波数が含まれる前記周波数レンジを特定するレンジ特定処理と、前記サンプリング処理で求めた前記複数の交流信号についての前記瞬時値を前記レンジ特定処理で特定された前記周波数レンジに対応する前記1周期分の前記個数に間引く間引き処理とを実行する測定装置。
By sampling by inputting a plurality of AC signals, the instantaneous values of the plurality of AC signals are acquired so that the number of one cycle is a power of 2 and corresponding to each frequency. A sampling section to output,
A processing unit for performing a spectrum calculation process for calculating a frequency spectrum for the plurality of AC signals by performing a Fourier transform on the instantaneous values for the plurality of AC signals output from the sampling unit;
The sampling unit is a measuring device that increases the number of the one period as the frequency range including the frequency of the AC signal becomes a lower frequency range ,
The sampling unit samples the plurality of AC signals with a common sampling clock to obtain each instantaneous value, and a frequency for detecting the frequencies of the plurality of AC signals based on the obtained instantaneous values. Detection processing, range specification processing for specifying the frequency range including the frequencies of the plurality of AC signals based on the detected frequencies, and instantaneous values for the plurality of AC signals obtained by the sampling processing. measurement apparatus for performing the thinning process for thinning the number of the one cycle corresponding to the frequency range specified by the range specifying process.
複数の交流信号を入力してサンプリングすることにより当該複数の交流信号のそれぞれの瞬時値を1周期分の個数が2のべき乗数であってそれぞれの周波数に応じた個数となるように取得して出力するサンプリング部と、
前記サンプリング部から出力される前記複数の交流信号についての前記瞬時値をフーリエ変換することにより当該複数の交流信号についての周波数スペクトルを算出するスペクトル算出処理を実行する処理部とを備え、
前記サンプリング部は、前記交流信号の前記周波数が含まれる周波数レンジがより低い周波数レンジになるに従い前記1周期分の前記個数を増加させる測定装置であって、
前記処理部は、前記スペクトル算出処理において、より高い前記周波数レンジに前記周波数が含まれる前記交流信号についての前記周波数スペクトルの算出を優先して実行する測定装置。
By sampling by inputting a plurality of AC signals, the instantaneous values of the plurality of AC signals are acquired so that the number of one cycle is a power of 2 and corresponding to each frequency. A sampling section to output,
A processing unit for performing a spectrum calculation process for calculating a frequency spectrum for the plurality of AC signals by performing a Fourier transform on the instantaneous values for the plurality of AC signals output from the sampling unit;
The sampling unit is a measuring device that increases the number of the one period as the frequency range including the frequency of the AC signal becomes a lower frequency range ,
Wherein the processing unit is configured in the spectrum calculation process, measurement devices run with priority calculation of the frequency spectrum for said AC signal including said frequency to a higher the frequency range.
複数の交流信号を入力してサンプリングすることにより当該複数の交流信号のそれぞれの瞬時値を1周期分の個数が2のべき乗数であってそれぞれの周波数に応じた個数となるように取得して出力するサンプリング部と、
前記サンプリング部から出力される前記複数の交流信号についての前記瞬時値をフーリエ変換することにより当該複数の交流信号についての周波数スペクトルを算出するスペクトル算出処理を実行する処理部とを備え、
前記サンプリング部は、前記交流信号の前記周波数が含まれる周波数レンジがより低い周波数レンジになるに従い前記1周期分の前記個数を増加させる測定装置であって、
前記複数の交流信号は、複数の当該交流信号からなる1または2以上のグループにグループ分けされ、
前記処理部は、前記グループに含まれる全ての前記交流信号についての前記周波数スペクトルの算出が完了したときに、当該周波数スペクトルを2以上組み合わせた演算を実行する測定装置。
By sampling by inputting a plurality of AC signals, the instantaneous values of the plurality of AC signals are acquired so that the number of one cycle is a power of 2 and corresponding to each frequency. A sampling section to output,
A processing unit for performing a spectrum calculation process for calculating a frequency spectrum for the plurality of AC signals by performing a Fourier transform on the instantaneous values for the plurality of AC signals output from the sampling unit;
The sampling unit is a measuring device that increases the number of the one period as the frequency range including the frequency of the AC signal becomes a lower frequency range ,
The plurality of AC signals are grouped into one or more groups of the plurality of AC signals,
Wherein the processing unit, when calculating the frequency spectrum for all of the AC signal included in the group has been completed, measurement device to perform the operations that combine the frequency spectrum more.
JP2014245990A 2014-12-04 2014-12-04 measuring device Active JP6498425B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2014245990A JP6498425B2 (en) 2014-12-04 2014-12-04 measuring device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2014245990A JP6498425B2 (en) 2014-12-04 2014-12-04 measuring device

Publications (2)

Publication Number Publication Date
JP2016109513A JP2016109513A (en) 2016-06-20
JP6498425B2 true JP6498425B2 (en) 2019-04-10

Family

ID=56123943

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2014245990A Active JP6498425B2 (en) 2014-12-04 2014-12-04 measuring device

Country Status (1)

Country Link
JP (1) JP6498425B2 (en)

Family Cites Families (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP3138314B2 (en) * 1992-03-16 2001-02-26 株式会社アドバンテスト Asynchronous calibration circuit and frequency detection circuit
JPH0763797A (en) * 1993-08-26 1995-03-10 Yokogawa Electric Corp Fast Fourier transform analyzer
JP3381109B2 (en) * 1994-12-28 2003-02-24 ソニー株式会社 Transfer function measurement device
JP2001099877A (en) * 1999-09-28 2001-04-13 Ando Electric Co Ltd Frequency spectrum analyzing method and frequency spectrum analyzer
JP4667613B2 (en) * 2001-02-07 2011-04-13 古野電気株式会社 Signal frequency detection method
JP2010271127A (en) * 2009-05-20 2010-12-02 Mitsubishi Electric Corp Frequency detector
JP5783877B2 (en) * 2011-10-11 2015-09-24 日置電機株式会社 Power measuring apparatus and vector diagram display method in power measuring apparatus

Also Published As

Publication number Publication date
JP2016109513A (en) 2016-06-20

Similar Documents

Publication Publication Date Title
CA2849549C (en) A method of determining stationary signals for the diagnostics of an electromechanical system
US20160218732A1 (en) Signal processing apparatus and method
JP6498425B2 (en) measuring device
JP2012154763A (en) Measuring apparatus and measuring method
US20230278829A1 (en) Fault monitoring device and method for elevator motor
CN116359646A (en) Inverter detection method, device, electronic equipment and storage medium
WO2017138948A1 (en) Equipment process monitoring system with automatic configuration of control limits and alert zones
JP6028466B2 (en) Power system simulator
JP6642582B2 (en) Switching power supply device, switching power supply driving method, switching power supply driving program
JP5855382B2 (en) Capacitor insulation resistance measuring apparatus and capacitor insulation resistance measuring method
JP5444857B2 (en) Electrochemical reaction measuring method and electrochemical reaction measuring device
KR101719741B1 (en) Apparatus and method for transmitting data to power cable diagnostic device
CN103632041A (en) Data processing method and device
JP2015215195A (en) AC electrical signal detection apparatus and AC electrical signal detection method
JP4754910B2 (en) Display data generation device, data measurement device, waveform display device, and display data generation method
JP5570403B2 (en) Measuring apparatus and signal state specifying method
JP5844125B2 (en) Power ratio measuring apparatus and power ratio measuring method
Jacko et al. Increase the accuracy of signal acquisition via external interleaved mode
JP5693289B2 (en) Measuring apparatus and measuring method
JP2011117794A (en) Device for measuring effective value
JP2025186780A (en) Discrete signal generating device, power conversion device, and discrete signal generating method
WO2020026372A1 (en) Waveform data diagnostic device, waveform data diagnostic method, program and waveform data diagnostic system
RU2591051C1 (en) Method of determining sinusoidal component of short-circuit current
JP6388516B2 (en) Injection amount measuring apparatus and method
JP2014016362A (en) Effective value measurement device

Legal Events

Date Code Title Description
A621 Written request for application examination

Free format text: JAPANESE INTERMEDIATE CODE: A621

Effective date: 20171023

A977 Report on retrieval

Free format text: JAPANESE INTERMEDIATE CODE: A971007

Effective date: 20180810

A131 Notification of reasons for refusal

Free format text: JAPANESE INTERMEDIATE CODE: A131

Effective date: 20180904

A521 Request for written amendment filed

Free format text: JAPANESE INTERMEDIATE CODE: A523

Effective date: 20181023

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

A61 First payment of annual fees (during grant procedure)

Free format text: JAPANESE INTERMEDIATE CODE: A61

Effective date: 20190313

R150 Certificate of patent or registration of utility model

Ref document number: 6498425

Country of ref document: JP

Free format text: JAPANESE INTERMEDIATE CODE: R150

R250 Receipt of annual fees

Free format text: JAPANESE INTERMEDIATE CODE: R250

R250 Receipt of annual fees

Free format text: JAPANESE INTERMEDIATE CODE: R250

R250 Receipt of annual fees

Free format text: JAPANESE INTERMEDIATE CODE: R250

R250 Receipt of annual fees

Free format text: JAPANESE INTERMEDIATE CODE: R250