WO2016076067A1 - ピーク値検出装置、及び、ピーク値検出方法 - Google Patents

ピーク値検出装置、及び、ピーク値検出方法 Download PDF

Info

Publication number
WO2016076067A1
WO2016076067A1 PCT/JP2015/079269 JP2015079269W WO2016076067A1 WO 2016076067 A1 WO2016076067 A1 WO 2016076067A1 JP 2015079269 W JP2015079269 W JP 2015079269W WO 2016076067 A1 WO2016076067 A1 WO 2016076067A1
Authority
WO
WIPO (PCT)
Prior art keywords
peak value
offset
sine wave
wave signal
cycle
Prior art date
Application number
PCT/JP2015/079269
Other languages
English (en)
French (fr)
Inventor
直樹 徳本
黒田 隆
雅人 南
大介 平山
Original Assignee
株式会社村田製作所
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 株式会社村田製作所 filed Critical 株式会社村田製作所
Publication of WO2016076067A1 publication Critical patent/WO2016076067A1/ja

Links

Images

Classifications

    • GPHYSICS
    • G01MEASURING; TESTING
    • G01RMEASURING ELECTRIC VARIABLES; MEASURING MAGNETIC VARIABLES
    • G01R19/00Arrangements for measuring currents or voltages or for indicating presence or sign thereof
    • GPHYSICS
    • G01MEASURING; TESTING
    • G01RMEASURING ELECTRIC VARIABLES; MEASURING MAGNETIC VARIABLES
    • G01R19/00Arrangements for measuring currents or voltages or for indicating presence or sign thereof
    • G01R19/04Measuring peak values or amplitude or envelope of ac or of pulses

Definitions

  • the present invention relates to a peak value detection device and a peak value detection method.
  • Patent Document 1 discloses a peak value detection technique in which an analog input waveform signal is converted into digital data by an AD converter, and a maximum value (peak value) of the data is detected by a maximum value extraction unit.
  • this peak value detection technique is based on an AD converter that converts an analog input waveform signal into digital data at the timing of the first clock signal, data from the AD converter (input A), and a latch circuit.
  • a comparator for comparing the magnitudes of the data (input B) with each other, an OR circuit for outputting an enable signal of the latch circuit in accordance with the output (comparison result) from the comparator and the second clock signal, and an AD converter
  • the latch circuit includes a latch circuit that latches digital data at the timing of the first clock signal, and a memory circuit that stores digital data of the maximum value from the latch circuit at the timing of the second clock signal.
  • the comparator, the OR circuit, and the latch circuit constitute a maximum value extraction unit.
  • an operational amplifier that amplifies a signal waveform has an offset or component variation, and this offset or component variation may cause an error when detecting a peak value. Further, the peak value of the signal waveform may be shifted due to the phase delay of the signal processing circuit, and this phase shift may also cause an error.
  • the peak value detection technique described in Patent Document 1 described above does not consider any error.
  • the present invention has been made to solve the above-described problems, and provides a peak value detection device and a peak value detection method capable of detecting a peak value of a sine wave signal with higher accuracy. With the goal.
  • the peak value detection device includes an A / D converter that converts an analog sine wave signal into digital data, and an average value of digital data for one cycle of the sine wave converted by the A / D converter.
  • the offset acquisition means for calculating the offset of the sine wave signal, the offset correction means for correcting the offset acquired by the offset acquisition means from the digital data of the sine wave signal, and the offset corrected by the offset correction means
  • a peak value acquisition means for acquiring a peak value of the sine wave signal based on digital data for one cycle of the sine wave.
  • the peak value detection method includes an A / D conversion step for converting an analog sine wave signal into digital data, and digital data for one cycle of the sine wave converted in the A / D conversion step.
  • An offset acquisition step that calculates the average value and acquires the offset of the sine wave signal
  • an offset correction step that corrects the offset acquired in the offset acquisition step from the digital data of the sine wave signal
  • an offset correction in the offset correction step And a peak value acquisition step of acquiring a peak value of the sine wave signal based on the digital data for one cycle of the sine wave.
  • an average value of digital data for one period of a sine wave is calculated to obtain an offset of the sine wave signal, and the offset is corrected from the digital data.
  • the offset is calculated sequentially, the influence of the offset can be eliminated even if the offset fluctuates.
  • the peak value of the sine wave signal can be detected with higher accuracy.
  • the sine wave includes a wave whose phase is shifted, for example, a cosine wave.
  • the peak value acquisition means doubles the square average of the digital data for one cycle of the sine wave with the offset corrected, and then obtains the square root to obtain the peak of the sine wave signal. It is preferable to obtain a value.
  • the square root of the digital data for one cycle of the sine wave whose offset is corrected is doubled, and then the square root is obtained. It is preferable to obtain the peak value of.
  • the square root is obtained, and the peak value of the sine wave signal is acquired. Therefore, the peak value can be acquired without being affected by the phase delay. Therefore, the peak value of the sine wave signal can be detected with higher accuracy.
  • the offset acquisition unit acquires the offset k based on the following equation (1).
  • x [i] Asin ( ⁇ nTs + ⁇ ) + k ⁇ : initial phase
  • angular frequency
  • A amplitude
  • N number of samples in one cycle
  • n sample number
  • Ts sampling cycle
  • k offset.
  • the offset k is acquired based on the following equation (1) in the offset acquisition step.
  • x [i] Asin ( ⁇ nTs + ⁇ ) + k ⁇ : initial phase
  • angular frequency
  • A amplitude
  • N number of samples in one cycle
  • n sample number
  • Ts sampling cycle
  • k offset.
  • the peak value acquisition unit acquires the peak value A of the sine wave signal based on the following equation (2).
  • x [i] Asin ( ⁇ nTs + ⁇ ) ⁇ : initial phase, ⁇ : angular frequency, A: amplitude, N: number of samples in one cycle, n: sample number, Ts: sampling cycle.
  • x [i] Asin ( ⁇ nTs + ⁇ ) ⁇ : initial phase, ⁇ : angular frequency, A: amplitude, N: number of samples in one cycle, n: sample number, Ts: sampling cycle.
  • the peak value A of the sine wave signal can be accurately obtained by calculating using the above equation (2).
  • the phase ⁇ is not included in the above equation (2), it is not affected by the phase delay. Therefore, it is possible to eliminate / eliminate errors due to phase delay.
  • the peak value of the sine wave signal can be detected with higher accuracy.
  • FIG. 1 is a block diagram showing the configuration of the peak value detection apparatus 1.
  • the peak value detection device 1 acquires the peak value of the input sine wave signal with higher accuracy.
  • the sine wave signal has a peak voltage value of A (V), a phase shift of ⁇ (deg), and an offset voltage of k (V) as shown in FIG.
  • the peak value detection apparatus 1 includes an anti-aliasing filter 10, an A / D converter 20, and an arithmetic processing unit 30.
  • the arithmetic processing unit 30 includes an offset acquisition unit 301, an offset correction unit 302, and a peak value acquisition unit 303.
  • the anti-aliasing filter 10 is a low-pass filter that removes frequency components exceeding half the sampling frequency (fs / 2) in order to reduce aliasing noise that may occur during sampling.
  • the filtered sine wave signal output from the anti-aliasing filter 10 is output to the A / D converter 20.
  • the A / D converter 20 quantizes (digitally converts) the input sine wave signal (AC signal) to obtain a quantized value (digital value) of the sine wave signal. That is, an analog sine wave signal is converted into digital sine wave data.
  • the sampling period of the A / D converter 20 is set so as to satisfy the sampling theorem, that is, three or more data can be acquired in one period. Moreover, since it is a discrete value, it is set so that the frequency of the sine wave and the sampling frequency are divisible.
  • the sine wave data A / D converted by the A / D converter 20 is output to the arithmetic processing unit 30.
  • the arithmetic processing unit 30 processes the sine wave data and acquires the peak value of the sine wave signal. Therefore, the arithmetic processing unit 30 includes a CPU that performs arithmetic processing on input sine wave data, a ROM that stores programs and data, a RAM that temporarily stores various data such as arithmetic results, and storage contents are retained. Configured to have a backup RAM or the like. In the arithmetic processing unit 30, the functions of the offset acquisition unit 301, the offset correction unit 302, and the peak value acquisition unit 303 are realized by a program stored in a ROM or the like being executed by the CPU.
  • the offset acquisition unit 301 calculates the average value of the sine wave data for one cycle converted by the A / D converter 20, and acquires the offset of the sine wave signal. That is, the offset acquisition unit 301 functions as an offset acquisition unit described in the claims.
  • the offset acquisition unit 301 acquires the offset k based on the following equation (1).
  • the offset value acquired by the offset acquisition unit 301 is output to the offset correction unit 302.
  • the offset correction unit 302 corrects the offset from the sine wave data, that is, subtracts and removes the offset.
  • the offset correction unit 302 functions as an offset correction unit described in the claims. Note that the sine wave data whose offset is corrected (removed) by the offset correction unit 302 is output to the peak value acquisition unit 303.
  • the peak value acquisition unit 303 acquires the peak value of the sine wave signal based on the sine wave data for one cycle whose offset is corrected (removed). That is, the peak value acquisition unit 303 functions as a peak value acquisition unit described in the claims.
  • the peak value acquisition unit 303 doubles the root mean square of the sine wave data for one period with the offset corrected, and then obtains the square root to acquire the peak value of the sine wave signal.
  • the peak value acquisition unit 303 acquires the peak value A of the sine wave signal based on the following equation (2).
  • FIG. 3 is a flowchart showing a processing procedure of peak value detection processing by the peak value detection apparatus 1. This process is repeatedly executed at a predetermined timing.
  • step S100 (corresponding to the A / D conversion step described in the claims), an analog sine wave signal is converted into digital sine wave data.
  • step S102 the average value of the sine wave data for one period converted in step S100 is calculated, and the offset of the sine wave signal is acquired.
  • step S102 as described above, the offset is acquired based on the above equation (1).
  • step S104 (corresponding to the offset correction step described in the claims), the offset acquired in step S102 is subtracted from the sine wave data to correct (remove) the offset.
  • step S106 (corresponding to the peak value acquisition step described in the claims), the peak value of the sine wave signal is acquired based on the sine wave data for one cycle whose offset is corrected (removed) in step S104. Is done.
  • step S106 as described above, the peak value of the sine wave signal is acquired based on the above equation (2). Thereafter, the process is temporarily exited.
  • the measurement accuracy of the peak current value of the sine wave signal was verified. More specifically, in the frequency range from 1 kHz to 50 kHz, the current value was changed to 112 ⁇ A, 148 ⁇ A, 212 ⁇ A, 291 ⁇ A, and 350 ⁇ A, and the peak current value of the sine wave signal was acquired (measured), and the measurement accuracy was verified. .
  • the peak current value of the sine wave signal is measured using a multimeter (manufactured by Agilent, 34401A), and the measured value and the peak current obtained by the peak value detection device 1 are measured. The values were compared.
  • FIG. 4 shows an example of the evaluation result (peak current measurement accuracy).
  • the horizontal axis of the graph shown in FIG. 4 is each frequency (Hz), and the vertical axis is the relative error rate (%).
  • the measurement accuracy was within ⁇ 1% ( ⁇ 3.5 ⁇ A in current value) in the frequency range from 1 kHz to 50 kHz.
  • the average value of the sine wave data for one cycle is calculated to obtain the offset of the sine wave signal, and the offset is corrected (removed) from the digital data.
  • the offset is calculated sequentially, the influence of the offset can be eliminated even if the offset fluctuates.
  • two (2ch) A / D converters are required for the input signal and the offset.
  • the single A / D converter 20 allows a sine wave to be used. The digital data of the signal and its offset can be acquired. As a result, the peak value of the sine wave signal can be detected with higher accuracy with a relatively simple configuration.
  • the square root is obtained, and the peak value of the sine wave signal is acquired. Therefore, the peak value can be acquired without being affected by the phase delay. Therefore, the peak value of the sine wave signal can be detected with higher accuracy.
  • the peak value of the sine wave signal can be obtained accurately by performing the calculation using the above-described equation (2).
  • the phase ⁇ is not included in the above equation (2), it is not affected by the phase delay. Therefore, it is possible to eliminate errors due to phase delay.
  • the peak value detection apparatus 1 can be applied to, for example, detecting a peak value of a biological signal waveform.

Landscapes

  • Physics & Mathematics (AREA)
  • General Physics & Mathematics (AREA)
  • Engineering & Computer Science (AREA)
  • Power Engineering (AREA)
  • Measurement Of Current Or Voltage (AREA)

Abstract

 ピーク値検出装置(1)を構成する演算処理部(30)は、A/D変換器(20)により変換された、正弦波の1周期分のディジタルデータの平均値を演算し、正弦波信号のオフセットを取得するオフセット取得部(301)と、正弦波信号のディジタルデータからオフセットを補正するオフセット補正部(302)と、オフセットが補正された、正弦波の一周期分のディジタルデータの2乗平均を2倍した後、平方根を取り、正弦波信号のピーク値を取得するピーク値取得部(303)とを備える。

Description

ピーク値検出装置、及び、ピーク値検出方法
 本発明は、ピーク値検出装置、及び、ピーク値検出方法に関する。
 従来から、信号波形の最大値(ピーク値)を検出するピーク値検出技術が知られている(例えば、特許文献1参照)。ここで、特許文献1には、AD変換器でアナログ入力波形信号をディジタルデータに変換し、最大値抽出部でデータの最大値(ピーク値)を検出するピーク値検出技術が開示されている。
 より具体的には、このピーク値検出技術は、アナログ入力波形信号を第1のクロック信号のタイミングでディジタルデータに変換するAD変換器と、AD変換器からのデータ(入力A)とラッチ回路からのデータ(入力B)との大小を比較するコンパレータと、コンパレータからの出力(比較結果)と第2のクロック信号とに応じてラッチ回路のイネーブル信号を出力するOR回路と、AD変換器からのディジタルデータを第1のクロック信号のタイミングでラッチするラッチ回路と、ラッチ回路からの最大値のディジタルデータを第2のクロック信号のタイミングで記憶するメモリ回路とを備えて構成されている。なお、上記構成において、コンパレータとOR回路とラッチ回路とで最大値抽出部が構成されている。
特開平07-120505号公報
 ところで、一般的に、信号波形を増幅する例えばオペアンプでは、オフセットや部品バラつきを有しており、このオフセットや部品バラつきが、ピーク値を検出する際の誤差要因となることがある。また、信号処理回路の位相遅れにより信号波形のピーク値がずれることがあり、この位相ずれも誤差要因となり得る。しかしながら、上述した特許文献1に記載のピーク値検出技術では、いずれの誤差についても考慮されていない。
 本発明は、上記問題点を解消する為になされたものであり、正弦波信号のピーク値をより高精度に検出することが可能なピーク値検出装置、及び、ピーク値検出方法を提供することを目的とする。
 本発明に係るピーク値検出装置は、アナログの正弦波信号をディジタルデータに変換するA/D変換器と、A/D変換器により変換された、正弦波の1周期分のディジタルデータの平均値を演算し、正弦波信号のオフセットを取得するオフセット取得手段と、正弦波信号のディジタルデータから、オフセット取得手段により取得されたオフセットを補正するオフセット補正手段と、オフセット補正手段によりオフセットが補正された、正弦波の一周期分のディジタルデータに基づいて、正弦波信号のピーク値を取得するピーク値取得手段とを備えることを特徴とする。
 また、本発明に係るピーク値検出方法は、アナログの正弦波信号をディジタルデータに変換するA/D変換ステップと、A/D変換ステップにおいて変換された、正弦波の1周期分のディジタルデータの平均値を演算し、正弦波信号のオフセットを取得するオフセット取得ステップと、正弦波信号のディジタルデータから、オフセット取得ステップにおいて取得されたオフセットを補正するオフセット補正ステップと、オフセット補正ステップにおいてオフセットが補正された、正弦波の一周期分のディジタルデータに基づいて、正弦波信号のピーク値を取得するピーク値取得ステップとを備えることを特徴とする。
 本発明に係るピーク値検出装置又はピーク値検出方法によれば、正弦波の一周期分のディジタルデータの平均値が演算されて正弦波信号のオフセットが取得され、ディジタルデータからオフセットが補正される。また、オフセットが逐次算出されため、オフセットが変動したとしても、オフセットの影響を排除することができる。その結果、正弦波信号のピーク値をより高精度に検出することが可能となる。なお、ここで、正弦波には、位相がずれた波、例えば、余弦波等も含むものとする。
 本発明に係るピーク値検出装置では、ピーク値取得手段が、オフセットが補正された、正弦波の一周期分のディジタルデータの2乗平均を2倍した後、平方根を取り、正弦波信号のピーク値を取得することが好ましい。
 また、本発明に係るピーク値検出方法では、ピーク値取得ステップにおいて、オフセットが補正された、正弦波の一周期分のディジタルデータの2乗平均を2倍した後、平方根を取り、正弦波信号のピーク値を取得することが好ましい。
 この場合、正弦波の一周期分のディジタルデータの2乗平均が2倍された後、その平方根が求められて、正弦波信号のピーク値が取得される。そのため、位相遅れに影響されることなく、ピーク値を取得することができる。よって、正弦波信号のピーク値をより高精度に検出することが可能となる。
 本発明に係るピーク値検出装置では、オフセット取得手段が、次式(1)に基づいて、オフセットkを取得することが好ましい。
Figure JPOXMLDOC01-appb-M000005
  ただし、x[i]=Asin(ωnTs+θ)+k であり、
  θ:初期位相、ω:角周波数、A:振幅、N:1周期のサンプル数、n:サンプル番
  号、Ts:サンプリング周期、k:オフセット、である。
 また、本発明に係るピーク値検出方法では、オフセット取得ステップにおいて、次式(1)に基づいて、オフセットkを取得することが好ましい。
Figure JPOXMLDOC01-appb-M000006
  ただし、x[i]=Asin(ωnTs+θ)+k であり、
  θ:初期位相、ω:角周波数、A:振幅、N:1周期のサンプル数、n:サンプル番
  号、Ts:サンプリング周期、k:オフセット、である。
 この場合、上式(1)を用いて、正弦波の一周期分のディジタルデータの平均値を演算することにより、正弦波信号のオフセットkを適確に取得することが可能となる。
 本発明に係るピーク値検出装置では、ピーク値取得手段が、次式(2)に基づいて、正弦波信号のピーク値Aを取得することが好ましい。
Figure JPOXMLDOC01-appb-M000007
  ただし、x[i]=Asin(ωnTs+θ) であり、
  θ:初期位相、ω:角周波数、A:振幅、N:1周期のサンプル数、n:サンプル番
  号、Ts:サンプリング周期、である。
 また、本発明に係るピーク値検出方法では、ピーク値取得ステップにおいて、次式(2)に基づいて、正弦波信号のピーク値Aを取得することが好ましい。
Figure JPOXMLDOC01-appb-M000008
  ただし、x[i]=Asin(ωnTs+θ) であり、
  θ:初期位相、ω:角周波数、A:振幅、N:1周期のサンプル数、n:サンプル番
  号、Ts:サンプリング周期、である。
 この場合、上式(2)を用いて演算することにより、正弦波信号のピーク値Aを適確に取得することができる。ここで、上式(2)中には位相θが含まれないため、位相遅れに影響されることがない。よって、位相遅れに伴う誤差を排除/解消することが可能となる。
 本発明によれば、正弦波信号のピーク値をより高精度に検出することが可能となる。
実施形態に係るピーク値検出装置の構成を示すブロック図である。 実施形態に係るピーク値検出装置に入力される正弦波の一例を示す図である。 実施形態に係るピーク値検出装置によるピーク値検出処理の処理手順を示すフローチャートである。 実施形態に係るピーク値検出装置の評価結果(ピーク値測定精度)の一例を示す図である。
 以下、図面を参照して本発明の好適な実施形態について詳細に説明する。なお、図中、同一又は相当部分には同一符号を用いることとする。また、各図において、同一要素には同一符号を付して重複する説明を省略する。
 まず、図1を用いて、実施形態に係るピーク値検出装置1の構成について説明する。図1は、ピーク値検出装置1の構成を示すブロック図である。
 ピーク値検出装置1は、入力される正弦波信号のピーク値をより高精度に取得するものである。ここで、正弦波信号は、図2に示されるように、A(V)のピーク電圧値、θ(deg)の位相ずれ、およびk(V)のオフセット電圧を有するものと仮定する。
 ピーク値検出装置1は、アンチエイリアスフィルタ10、A/D変換器20、及び演算処理部30を備えている。また、演算処理部30は、オフセット取得部301、オフセット補正部302、及びピーク値取得部303を有している。以下、各構成について詳細に説明する。
 アンチエイリアスフィルタ10は、サンプリング時に発生するおそれのある折り返し雑音を低減するために、サンプリング周波数の半分(fs/2)を超える周波数成分を除去するローパスフィルタである。なお、アンチエイリアスフィルタ10から出力されるフィルタリング後の正弦波信号は、A/D変換器20に出力される。
 A/D変換器20は、入力された正弦波信号(交流信号)を量子化(ディジタル変換)して正弦波信号の量子化値(ディジタル値)を取得する。すなわち、アナログの正弦波信号をディジタルの正弦波データに変換する。ここで、A/D変換器20のサンプリング周期は、サンプリング定理を満足するように、すなわち、1周期にデータが3点以上取得できるように設定される。また、離散値のため、正弦波の周波数とサンプリング周波数とが割り切れるように設定される。なお、A/D変換器20により、A/D変換された正弦波データは、演算処理部30に出力される。
 演算処理部30は、正弦波データを処理して、正弦波信号のピーク値を取得するものである。そのため、演算処理部30は、入力された正弦波データに対して演算処理を行うCPU、プログラムやデータ等を記憶するROM、演算結果などの各種データを一時的に記憶するRAM、記憶内容が保持されるバックアップRAM等を有して構成されている。演算処理部30では、ROM等に記憶されているプログラムが、CPUによって実行されることにより、オフセット取得部301、オフセット補正部302、及びピーク値取得部303の機能が実現される。
 オフセット取得部301は、A/D変換器20により変換された、1周期分の正弦波データの平均値を演算して、正弦波信号のオフセットを取得する。すなわち、オフセット取得部301は、請求の範囲に記載のオフセット取得手段として機能する。
 より具体的には、オフセット取得部301は、次式(1)に基づいて、オフセットkを取得する。
Figure JPOXMLDOC01-appb-M000009
  ただし、対象信号x[i]=Asin(ωnTs+θ)+k であり、
  θ:初期位相、ω:角周波数、A:振幅(=量子化値×基準電圧/4095)、N:
  1周期のサンプル数、n:サンプル番号、Ts:サンプリング周期、k:オフセット
  、である。
なお、オフセット取得部301により取得されたオフセット値は、オフセット補正部302に出力される。
 オフセット補正部302は、正弦波データからオフセットを補正、すなわち、オフセットを減算して除去する。オフセット補正部302は、請求の範囲に記載のオフセット補正手段として機能する。なお、オフセット補正部302によりオフセットが補正(除去)された正弦波データは、ピーク値取得部303に出力される。
 ピーク値取得部303は、オフセットが補正(除去)された一周期分の正弦波データに基づいて、正弦波信号のピーク値を取得する。すなわち、ピーク値取得部303は、請求の範囲に記載のピーク値取得手段として機能する。
 その際に、ピーク値取得部303は、オフセットが補正された一周期分の正弦波データの2乗平均を2倍した後、平方根を取り、正弦波信号のピーク値を取得する。
 より具体的には、ピーク値取得部303は、次式(2)に基づいて、正弦波信号のピーク値Aを取得する。
Figure JPOXMLDOC01-appb-M000010
  ただし、対象信号x[i]=Asin(ωnTs+θ)+k であり、
  θ:初期位相、ω:角周波数、A:振幅(=量子化値×基準電圧/4095)、N:
  1周期のサンプル数、n:サンプル番号、Ts:サンプリング周期、である。
 次に、図3を参照しつつ、ピーク値検出装置1の動作、及びピーク値検出方法について説明する。図3は、ピーク値検出装置1によるピーク値検出処理の処理手順を示すフローチャートである。なお、本処理は、所定のタイミングで繰り返して実行される。
 ステップS100(請求の範囲に記載のA/D変換ステップに相当)では、アナログの正弦波信号がディジタルの正弦波データに変換される。
 続くステップS102(請求の範囲に記載のオフセット取得ステップに相当)では、ステップS100において変換された1周期分の正弦波データの平均値が演算されて、正弦波信号のオフセットが取得される。ここで、ステップS102では、上述したように、上式(1)に基づいて、オフセットが取得される。
 続いて、ステップS104(請求の範囲に記載のオフセット補正ステップに相当)では、正弦波データから、ステップS102において取得されたオフセットが減算されて、オフセットが補正(除去)される。
 そして、ステップS106(請求の範囲に記載のピーク値取得ステップに相当)では、ステップS104においてオフセットが補正(除去)された一周期分の正弦波データに基づいて、正弦波信号のピーク値が取得される。ここで、ステップS106では、上述したように、上式(2)に基づいて、正弦波信号のピーク値が取得される。その後、本処理から一旦抜ける。
 ここで、ピーク値検出装置1の効果を確認するために、正弦波信号のピーク電流値の測定精度を検証した。より具体的には、1kHzから50kHzの周波数範囲において、112μA、148μA、212μA、291μA、350μAと電流値を変えて、正弦波信号のピーク電流値を取得(測定)し、その測定精度を検証した。検証(評価)方法としては、正弦波信号のピーク電流値を、マルチメータ(Agilent社製・34401A)を使用して測定し、その測定した値と、ピーク値検出装置1により求められたピーク電流値とを比較した。
 図4に、評価結果(ピーク電流測定精度)の一例を示す。図4に示されたグラフの横軸は各周波数(Hz)であり、縦軸は相対誤差率(%)である。図4に示されるように、ピーク値検出装置1によれば、1kHzから50kHzの周波数範囲において、測定精度が±1%(電流値では、±3.5μA)に納まることが確認された。
 本実施形態によれば、一周期分の正弦波データの平均値が演算されて正弦波信号のオフセットが取得され、ディジタルデータからオフセットが補正(除去)される。また、オフセットが逐次算出されため、オフセットが変動したとしても、オフセットの影響を排除することができる。また、従来は、入力信号用とオフセット用に2つ(2ch)のA/D変換器が必要であったが、本実施形態によれば、単一のA/D変換器20により、正弦波信号のディジタルデータ、及びそのオフセットを取得することができる。その結果、比較的簡易な構成で正弦波信号のピーク値をより高精度に検出することが可能となる。
 また、本実施形態によれば、上述した式(1)を用いて、一周期分の正弦波データの平均値を演算することにより、正弦波信号のオフセットを適確に取得することが可能となる。
 さらに、本実施形態によれば、一周期分の正弦波データの2乗平均が2倍された後、その平方根が求められて、正弦波信号のピーク値が取得される。そのため、位相遅れに影響されることなく、ピーク値を取得することができる。よって、正弦波信号のピーク値をより高精度に検出することが可能となる。
 なお、その際に、本実施形態によれば、上述した式(2)を用いて演算することにより、正弦波信号のピーク値を適確に取得することができる。ここで、上式(2)中には位相θが含まれないため、位相遅れに影響されることがない。よって、位相遅れに伴う誤差を排除することが可能となる。
 以上、本発明の実施の形態について説明したが、本発明は、上記実施形態に限定されるものではなく種々の変形が可能である。また、ピーク値検出装置1は、例えば、生体信号波形のピーク値を検出することにも応用可能である。
 1 ピーク値検出装置
 10 アンチエイリアスフィルタ
 20 A/D変換器
 30 演算処理部
 301 オフセット取得部
 302 オフセット補正部
 303 ピーク値取得部
 

Claims (8)

  1.  アナログの正弦波信号をディジタルデータに変換するA/D変換器と、
     前記A/D変換器により変換された、正弦波の1周期分のディジタルデータの平均値を演算し、正弦波信号のオフセットを取得するオフセット取得手段と、
     正弦波信号のディジタルデータから、前記オフセット取得手段により取得されたオフセットを補正するオフセット補正手段と、
     前記オフセット補正手段によりオフセットが補正された、正弦波の一周期分のディジタルデータに基づいて、正弦波信号のピーク値を取得するピーク値取得手段と、を備えることを特徴とするピーク値検出装置。
  2.  前記ピーク値取得手段は、オフセットが補正された、正弦波の一周期分のディジタルデータの2乗平均を2倍した後、平方根を取り、正弦波信号のピーク値を取得することを特徴とする請求項1に記載のピーク値検出装置。
  3.  前記オフセット取得手段は、次式(1)に基づいて、オフセットkを取得することを特徴とする請求項1又は2に記載のピーク値検出装置。
    Figure JPOXMLDOC01-appb-M000001
      ただし、x[i]=Asin(ωnTs+θ)+k であり、
      θ:初期位相、ω:角周波数、A:振幅、N:1周期のサンプル数、n:サンプル番
      号、Ts:サンプリング周期、k:オフセット、である。
  4.  前記ピーク値取得手段は、次式(2)に基づいて、正弦波信号のピーク値Aを取得することを特徴とする請求項1~3のいずれか1項に記載のピーク値検出装置。
    Figure JPOXMLDOC01-appb-M000002
      ただし、x[i]=Asin(ωnTs+θ) であり、
      θ:初期位相、ω:角周波数、A:振幅、N:1周期のサンプル数、n:サンプル番
      号、Ts:サンプリング周期、である。
  5.  アナログの正弦波信号をディジタルデータに変換するA/D変換ステップと、
     前記A/D変換ステップにおいて変換された、正弦波の1周期分のディジタルデータの平均値を演算し、正弦波信号のオフセットを取得するオフセット取得ステップと、
     正弦波信号のディジタルデータから、前記オフセット取得ステップにおいて取得されたオフセットを補正するオフセット補正ステップと、
     前記オフセット補正ステップにおいてオフセットが補正された、正弦波の一周期分のディジタルデータに基づいて、正弦波信号のピーク値を取得するピーク値取得ステップと、を備えることを特徴とするピーク値検出方法。
  6.  前記ピーク値取得ステップでは、オフセットが補正された、正弦波の一周期分のディジタルデータの2乗平均を2倍した後、平方根を取り、正弦波信号のピーク値を取得することを特徴とする請求項5に記載のピーク値検出方法。
  7.  前記オフセット取得ステップでは、次式(1)に基づいて、オフセットkを取得することを特徴とする請求項5又は6に記載のピーク値検出方法。
    Figure JPOXMLDOC01-appb-M000003
      ただし、x[i]=Asin(ωnTs+θ)+k であり、
      θ:初期位相、ω:角周波数、A:振幅、N:1周期のサンプル数、n:サンプル番
      号、Ts:サンプリング周期、k:オフセット、である。
  8.  前記ピーク値取得ステップでは、次式(2)に基づいて、正弦波信号のピーク値Aを取得することを特徴とする請求項5~7のいずれか1項に記載のピーク値検出方法。
    Figure JPOXMLDOC01-appb-M000004
      ただし、x[i]=Asin(ωnTs+θ) であり、
      θ:初期位相、ω:角周波数、A:振幅、N:1周期のサンプル数、n:サンプル番
      号、Ts:サンプリング周期、である。
     
PCT/JP2015/079269 2014-11-13 2015-10-16 ピーク値検出装置、及び、ピーク値検出方法 WO2016076067A1 (ja)

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
JP2014230317 2014-11-13
JP2014-230317 2014-11-13

Publications (1)

Publication Number Publication Date
WO2016076067A1 true WO2016076067A1 (ja) 2016-05-19

Family

ID=55954159

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/JP2015/079269 WO2016076067A1 (ja) 2014-11-13 2015-10-16 ピーク値検出装置、及び、ピーク値検出方法

Country Status (1)

Country Link
WO (1) WO2016076067A1 (ja)

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPS5220067A (en) * 1975-08-07 1977-02-15 Fujitsu Ltd Peak detecting circuit
JPH0377077A (ja) * 1989-08-21 1991-04-02 Hitachi Ltd 電気信号自動計測装置
JPH03239113A (ja) * 1990-02-16 1991-10-24 Hitachi Ltd 電力系統の信号処理装置、電力制御装置
JP2010117234A (ja) * 2008-11-13 2010-05-27 Hioki Ee Corp 測定装置

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPS5220067A (en) * 1975-08-07 1977-02-15 Fujitsu Ltd Peak detecting circuit
JPH0377077A (ja) * 1989-08-21 1991-04-02 Hitachi Ltd 電気信号自動計測装置
JPH03239113A (ja) * 1990-02-16 1991-10-24 Hitachi Ltd 電力系統の信号処理装置、電力制御装置
JP2010117234A (ja) * 2008-11-13 2010-05-27 Hioki Ee Corp 測定装置

Similar Documents

Publication Publication Date Title
Ryu et al. A 14-b linear capacitor self-trimming pipelined ADC
US7148828B2 (en) System and method for timing calibration of time-interleaved data converters
US9952065B2 (en) Position sensor device to determine a position of a moving device
US8005642B2 (en) Predictive angular sensor readout
JP2007155668A (ja) 回転角度センサ、および、回転角度検出方法
JP2008304249A (ja) エンコーダ信号処理装置およびその信号処理方法
US9071260B2 (en) Method and related device for generating a digital output signal corresponding to an analog input signal
JP2008026297A (ja) 回転角度位置検出装置
TW201340617A (zh) 信號發生裝置及信號發生方法
Guo et al. Estimation and correction of gain mismatch and timing error in time-interleaved ADCs based on DFT
WO2016076067A1 (ja) ピーク値検出装置、及び、ピーク値検出方法
KR100772840B1 (ko) 아날로그/디지털 변환기의 선형특성 테스트장치 및 그 방법
CN102095940A (zh) 一种介质损耗角的测量方法和装置
US9726702B2 (en) Impedance measurement device and method
US9929739B1 (en) Methods and systems for determining integral non-linearity
Ivanisevic et al. Impedance spectroscopy systems: Review and an all-digital adaptive IIR filtering approach
JP4713116B2 (ja) エンコーダの出力信号補正装置及び方法
US10739167B2 (en) Measurement method using an inductive displacement sensor
JP2007322167A (ja) レゾルバデジタルコンバータ、回転角度位置検出装置および回転機械制御装置
JP4833711B2 (ja) 測定装置
JP4862485B2 (ja) レゾルバデジタルコンバータ、回転角度位置検出装置および回転機械制御装置
KR100775340B1 (ko) 선간 전압 계측 장치 및 계측 방법
RU2413177C1 (ru) Способ измерения угла поворота вала
KR100860711B1 (ko) 보간법을 이용한 선간전압 계측 방법
JP3085496B2 (ja) サンプリング式測定装置

Legal Events

Date Code Title Description
121 Ep: the epo has been informed by wipo that ep was designated in this application

Ref document number: 15859174

Country of ref document: EP

Kind code of ref document: A1

NENP Non-entry into the national phase

Ref country code: DE

NENP Non-entry into the national phase

Ref country code: JP

122 Ep: pct application non-entry in european phase

Ref document number: 15859174

Country of ref document: EP

Kind code of ref document: A1