JPH04212015A - Average value rectifying type measuring apparatus - Google Patents

Average value rectifying type measuring apparatus

Info

Publication number
JPH04212015A
JPH04212015A JP6220891A JP6220891A JPH04212015A JP H04212015 A JPH04212015 A JP H04212015A JP 6220891 A JP6220891 A JP 6220891A JP 6220891 A JP6220891 A JP 6220891A JP H04212015 A JPH04212015 A JP H04212015A
Authority
JP
Japan
Prior art keywords
value
absolute value
signal
arithmetic
average
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.)
Pending
Application number
JP6220891A
Other languages
Japanese (ja)
Inventor
Yukiyoshi Hiraishi
行好 平石
Yukio Kashiwabara
柏原 幸男
Hidekazu Goto
英一 後藤
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.)
Yokogawa Electric Corp
Original Assignee
Yokogawa Electric 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 Yokogawa Electric Corp filed Critical Yokogawa Electric Corp
Publication of JPH04212015A publication Critical patent/JPH04212015A/en
Pending legal-status Critical Current

Links

Abstract

PURPOSE:To provide an average value rectifying type measuring apparatus which can correctly measure an input analog signal without adjusting a sampling cycle. CONSTITUTION:An average value rectifying type measuring apparatus comprises AD converting means 1, 2 which sample analog signals to be measured with a specific cycle and convert the sample values into digital signals, an absolute value calculator 6 which admits the digital output signals of the AD converting means to output their absolute values and an arithmetic means 7 which admits the absolute values and applies exponential average calculation to them.

Description

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

【0001】0001

【産業上の利用分野】本発明は、被測定信号(入力電圧
または入力電流)の整流波形の平均値を測定する平均値
整流形測定装置に関するものである。
BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention relates to an average value rectification measuring device for measuring the average value of a rectified waveform of a signal to be measured (input voltage or input current).

【0002】0002

【従来の技術】アナログ/ディジタル変換回路を用いて
、被測定信号をディジタルサンプリングし、その平均値
を求める装置では、被測定信号波形の1周期の整数倍と
、サンプリング周期の整数倍とが一致しない場合に誤差
が生じていた。誤差が生じる理由を図面で説明する。 被測定信号Bの平均値BMEANは、(1) 式で示す
ような算術平均演算を行うことで得ていた。   BMEAN=(1/N) Σ|Bn|      
                         
             (1) Bn:被測定信号
のサンプリング値 N:サンプル数 Σ:nが1〜Nまで変化した時の加算和ここで被測定信
号Bが電圧信号であれば、Bnはサンプリング電圧値で
あり、電流信号であれば、サンプリング電流値である。
[Prior Art] In a device that uses an analog/digital conversion circuit to digitally sample a signal under test and calculate its average value, an integer multiple of one cycle of the signal waveform under test matches an integer multiple of the sampling period. Errors occurred when not doing so. The reason why the error occurs will be explained using drawings. The average value BMEAN of the signal under measurement B was obtained by performing an arithmetic mean calculation as shown in equation (1). BMEAN=(1/N) Σ|Bn|

(1) Bn: Sampling value of the signal under test N: Number of samples Σ: Addition sum when n changes from 1 to N Here, if the signal under test B is a voltage signal, Bn is the sampling voltage value, If it is a current signal, it is a sampling current value.

【0003】第5図に示す波形のように、被測定信号波
形の1周期Tinがサンプリング周期TADの整数倍で
ない場合、即ち、 n1・Tin≠n2・TAD n1=1,2,3,… n2=3,4,5,… ただし、n2≧2・n1+1の関係がある。この関係は
、入力波形の同一の位相位置をサンプリングし続けるの
を防ぐ意味である。このような場合、図5のように端数
TYが生じる。このように端数TYが生じると、既述し
た算術平均(上記(1) 式)を行うことで得られる平
均値BMEANには、端数TYの分だけ誤差が発生する
As shown in the waveform shown in FIG. 5, when one period Tin of the signal under test waveform is not an integral multiple of the sampling period TAD, that is, n1・Tin≠n2・TAD n1=1, 2, 3,... n2 =3, 4, 5,... However, there is a relationship of n2≧2·n1+1. This relationship is meant to prevent continuous sampling of the same phase position of the input waveform. In such a case, a fraction TY occurs as shown in FIG. When a fraction TY occurs in this manner, an error corresponding to the fraction TY occurs in the average value BMEAN obtained by performing the aforementioned arithmetic mean (formula (1) above).

【0004】このため、上記の端数による影響を小さく
する方法として、従来は、次のような方法があった。 ■  入力波形のサンプリング周期TADがn1・Ti
n=n2・TAD となるように、TADを調整制御する方法。 ■  n1・Tin=n2・TADとなるまで、入力波
形の数サイクルにわたってサンプリングして平均値を演
算する方法。 ■  サンプリング周期TADを短くし、入力波形の周
期Tinに対する端数を極めて小さなものとしてその誤
差を小さくする方法。 ■  サンプル数Nを大きくし、相対的に端数TYの影
響を小さくする方法。
[0004] For this reason, the following methods have conventionally been used to reduce the influence of the above-mentioned fractions. ■ Sampling period TAD of input waveform is n1・Ti
A method of adjusting and controlling TAD so that n=n2・TAD. ■ A method of sampling the input waveform over several cycles until n1・Tin=n2・TAD and calculating the average value. (2) A method of reducing the error by shortening the sampling period TAD and making the fraction of the period Tin of the input waveform extremely small. ■ A method of increasing the number of samples N to relatively reduce the influence of the fraction TY.

【0005】[0005]

【発明が解決しようとする課題】しかしながら上記■〜
■の従来方法には、それぞれ次のような問題がある。 ■の方法は、サンプリング周期TADを調整制御するた
めのフェーズロック回路として、周波数可変範囲の大き
なものを必要とする。従って、回路構成が複雑になり、
かつ高価なものとなる問題がある。 ■の方法は、入力波形の1周期の整数倍の期間と、サン
プリング周期TADの整数倍の期間とが一致するまで測
定できないため、測定応答時間が長くなる問題がある。 ■の方法では、短い周期で取り入れられるサンプリング
データを次々と処理できる高速のAD変換器を必要とし
、高価なものとなる。 ■の方法は、入力波形がある平均値BMEAN1 から
、別の値BMEAN2 に変化した場合、この変化に追
従して新しい値BMEAN2 を速やかに測定すること
ができない問題がある。
[Problem to be solved by the invention] However, the above ■~
The conventional method (2) has the following problems. Method (2) requires a phase lock circuit with a wide frequency variable range for adjusting and controlling the sampling period TAD. Therefore, the circuit configuration becomes complicated,
There is also the problem that it is expensive. Method (2) has a problem in that the measurement response time becomes long because measurement cannot be performed until a period that is an integral multiple of one cycle of the input waveform matches a period that is an integral multiple of the sampling period TAD. Method (2) requires a high-speed AD converter that can successively process sampling data taken in a short cycle, and is expensive. The method (2) has the problem that when the input waveform changes from a certain average value BMEAN1 to another value BMEAN2, it is not possible to quickly measure the new value BMEAN2 following this change.

【0006】 ■の理由を説明する。例えば、サンプリングを1000
回行って得た1000個のデータを(1) 式により演
算して、或る平均値BMEAN1 を得たとする。そし
てサンプリング回数1001回目から入力波形が別の平
均値BMEAN2 に変化したとすると、この別の値B
MEAN2 は、1〜1000回までの加算和が影響し
て真の値BMEAN2 になかなか到達しない。 つまり、(1) 式によれば、サンプリング回数1〜1
000までのΣの値は、非常に大きいので、これに10
01回目からのサンプリング値を加算しても、全体とし
ての加算和(Σ)は、あまり変化せず、新しい値BME
AN2 を得るまでには、非常に多数のサンプリングを
行わなければならない。
[0006]The reason for (2) will be explained. For example, set the sampling to 1000
It is assumed that a certain average value BMEAN1 is obtained by calculating 1,000 pieces of data obtained by performing the calculation twice using equation (1). Then, if the input waveform changes to another average value BMEAN2 from the 1001st sampling number, then this other value B
MEAN2 does not easily reach the true value BMEAN2 due to the influence of the sum of additions from 1 to 1000 times. In other words, according to equation (1), the number of sampling times is 1 to 1.
The value of Σ up to 000 is very large, so add 10
Even if the sampling values from the 01st time are added, the overall addition sum (Σ) does not change much, and the new value BME
A very large number of samples must be taken to obtain AN2.

【0007】本発明の目的は、上述の問題を解消するも
ので、サンプリング周期の調整を必要とせず、安価に構
成でき、速かに平均値を測定できる平均値整流形測定装
置を提供することである。
An object of the present invention is to solve the above-mentioned problems, and to provide an average value rectification type measuring device that does not require adjustment of the sampling period, can be constructed at low cost, and can quickly measure the average value. It is.

【0008】[0008]

【課題を解決するための手段】以上の目的を達成するた
め第1の発明は、アナログの被測定信号を或る周期でサ
ンプリングし、このサンプリング値をディジタル信号へ
変換するAD変換手段(1,2) と、このAD変換手
段のディジタル出力信号を導入し、これの絶対値を出力
する絶対値演算器と、この絶対値を導入し、これに指数
化平均演算を加える指数化平均演算器(7) と、を備
えるようにしたものである。
[Means for Solving the Problems] In order to achieve the above object, a first invention includes an AD conversion means (1, 2) An absolute value calculator which introduces the digital output signal of this AD conversion means and outputs its absolute value, and an exponential average calculator which introduces this absolute value and adds an indexed average calculation to it ( 7).

【0009】第2の発明は、アナログの被測定信号を或
る周期でサンプリングし、このサンプリング値をデジタ
ル信号へ変換するAD変換手段(20)と、このAD変
換手段のデジタル出力信号の絶対値を取り出す絶対値演
算器(6) と、この絶対値演算器の出力データの所定
の個数の値を算術平均する算術平均手段(13)と、絶
対値演算器が前記所定の個数の出力データを出力した後
の出力データ{b(n)}を導入し、前記算術平均手段
で得られた算術平均値を初期値として、指数化平均演算
を加える演算手段(71)と、を備えるようにしたもの
である。
The second invention includes an AD converter (20) that samples an analog signal under test at a certain period and converts the sampled value into a digital signal, and an absolute value of the digital output signal of the AD converter. an absolute value calculator (6) for taking out the output data; an arithmetic averaging means (13) for arithmetic averaging a predetermined number of values of the output data of the absolute value calculator; A calculation means (71) is provided for introducing the output data {b(n)} after the output, and performing an exponential average calculation using the arithmetic average value obtained by the arithmetic average means as an initial value. It is something.

【0010】第3の発明は、アナログの被測定信号を或
る周期でサンプリングし、このサンプリング値をデジタ
ル信号へ変換するAD変換手段(20)と、このAD変
換手段のデジタル出力信号の絶対値を取り出す絶対値演
算器(6) と、この絶対値演算器の出力データの所定
の個数の中から最大値と最小値をとり、(最大値+最小
値)/2の演算を行う平均手段(15)と、絶対値演算
器が前記所定の個数の出力データを出力した後の出力デ
ータ{b(n)}を導入し、前記平均手段で得られた(
最大値+最小値)/2の値を初期値として、指数化平均
演算を加える演算手段(71)と、を備えるようにした
ものである。
[0010] The third invention includes an AD converter (20) that samples an analog signal under test at a certain period and converts the sampled value into a digital signal, and an absolute value of the digital output signal of the AD converter. an absolute value calculator (6) for extracting the output data of the absolute value calculator (6), and an averaging means (6) that takes the maximum value and minimum value from a predetermined number of output data of the absolute value calculator and calculates (maximum value + minimum value)/2. 15) and the output data {b(n)} obtained after the absolute value calculator outputs the predetermined number of output data, and the output data {b(n)} obtained by the averaging means (
A calculation means (71) that performs an exponential averaging calculation using a value of (maximum value + minimum value)/2 as an initial value.

【0011】[0011]

【作用】第1の発明において、AD変換手段はアナログ
の被測定信号を或る周期でサンプリングし、これをディ
ジタル信号へ変換する。従って、AD変換手段は、被測
定信号Bの瞬時値(Bn)を取り込みこれを出力してい
る。絶対値演算器は、このAD変換手段のディジタル出
力信号の絶対値を取り出す。即ち、絶対値演算器は、被
測定信号の瞬時値の絶対値|Bn|を出力することにな
る。アナログ回路で考えると、絶対値演算器は被測定信
号の全波整流波形を出力する整流器に相当する。指数化
平均演算器は、被測定信号の瞬時値の絶対値データ|B
n|を導入し、これに指数化平均演算を加える。従って
、指数化平均演算を繰り返すと(1/N) Σ|Bn|
に相当する値、つまり、被測定信号の整流波形の平均値
が得られる。
[Operation] In the first invention, the AD conversion means samples the analog signal under test at a certain period and converts it into a digital signal. Therefore, the AD conversion means takes in the instantaneous value (Bn) of the signal under measurement B and outputs it. The absolute value calculator takes out the absolute value of the digital output signal of this AD conversion means. That is, the absolute value calculator outputs the absolute value |Bn| of the instantaneous value of the signal under measurement. When considered in terms of an analog circuit, the absolute value calculator corresponds to a rectifier that outputs a full-wave rectified waveform of the signal under measurement. The exponential averaging calculator calculates the absolute value data of the instantaneous value of the signal under measurement |B
Introduce n| and add an exponential averaging operation to it. Therefore, if you repeat the exponential averaging operation, (1/N) Σ|Bn|
A value corresponding to , that is, an average value of the rectified waveform of the signal under test is obtained.

【0012】第2の発明において、算術平均手段は絶対
値演算器の出力の所定の個数の値を算術平均する。例え
ば所定の個数が10個であれば、{b(1)+b(2)
+ …+b(10)} /10の演算を行う。このよう
にして得られた平均値は僅かなサンプル数を平均したも
のであり、理想的な平均値P(M)と比較して誤差が大
きいが、(1) 式の演算によるカーブ(図8(c) 
参照)と比較して格段に立ち上がりが速い(図8(d)
 参照)。第2の発明では、このように測定開始直後か
ら得られる所定の数の僅かなサンプル数の値を算術平均
した値を初期値P(0)とし、その後、絶対値演算器か
ら出力される出力データに演算手段にて指数化平均演算
を加えるので、短時間に所望の平均値が得られる。
In the second invention, the arithmetic averaging means arithmetic averages a predetermined number of values output from the absolute value calculator. For example, if the predetermined number is 10, {b(1)+b(2)
+...+b(10)} /10 calculation is performed. The average value obtained in this way is the average of a small number of samples, and has a large error compared to the ideal average value P(M), but it is similar to the curve calculated by equation (1) (Figure 8 (c)
(see Figure 8(d)).
reference). In the second invention, the value obtained by arithmetic averaging of the values of a predetermined number of small samples obtained immediately after the start of measurement is set as the initial value P(0), and then the output output from the absolute value calculator is Since the data is subjected to the exponential averaging calculation by the calculation means, the desired average value can be obtained in a short time.

【0013】第3の発明において、平均手段は、絶対値
演算器の出力データの所定の個数の中から最大値と最小
値をとり、(最大値+最小値)/2の演算を行う。この
ようにして得られた値は、理想的な平均値P(M)と比
較して誤差は大きいが、(1) 式の演算によるカーブ
(図9(C) 参照)と比較して格段に立ち上がりが速
い(図9(d) 参照)。第3の発明では、このように
測定開始直後から得られる僅かな数のサンプル値から最
大値と最小値を取り出し(最大値+最小値)/2の演算
から得られる値を初期値として、その後絶対値演算器か
ら出力される出力データに演算手段にて指数化平均演算
を加えるので、短時間に所望の平均値が得られる。
In the third invention, the averaging means takes the maximum value and the minimum value from a predetermined number of output data of the absolute value calculator, and performs the calculation of (maximum value+minimum value)/2. The value obtained in this way has a large error compared to the ideal average value P(M), but it is much larger than the curve calculated by formula (1) (see Figure 9 (C)). The rise is fast (see Figure 9(d)). In the third invention, the maximum value and minimum value are extracted from a small number of sample values obtained immediately after the start of measurement, and the value obtained by calculating (maximum value + minimum value) / 2 is used as an initial value, and then Since the arithmetic means performs an exponential averaging operation on the output data output from the absolute value calculator, a desired average value can be obtained in a short time.

【0014】[0014]

【実施例】図1は本発明に係る平均値整流形測定装置の
構成例を示す図、図2は図1装置の各部の信号をアナロ
グ的に示す図、図3と図4は測定データと表示のタイミ
ングを示す図、図6と図7は本発明に係る平均値整流形
測定装置の別の構成例を示す図、図8は図6装置の各部
の信号のタイムチャート、図9は図7装置の各部の信号
のタイムチャートである。
[Example] Fig. 1 is a diagram showing an example of the configuration of an average value rectification type measuring device according to the present invention, Fig. 2 is a diagram showing analog signals of each part of the device in Fig. 1, and Figs. 3 and 4 are diagrams showing measurement data and 6 and 7 are diagrams showing another configuration example of the average value rectification type measuring device according to the present invention, FIG. 8 is a time chart of signals of each part of the device in FIG. 6, and FIG. 9 is a diagram showing display timing. 7 is a time chart of signals of each part of the device.

【0015】図1において、端子P1に加えられた被測
定信号Bは、電圧信号eでもよいし電流信号iでもよい
。 図1装置は、この電圧eまたは電流iを整流した波形(
実際には整流していない)の平均値を測定する装置であ
る。
In FIG. 1, the signal to be measured B applied to the terminal P1 may be a voltage signal e or a current signal i. The device in FIG. 1 has a rectified waveform (
This is a device that measures the average value of (not actually rectified).

【0016】端子P1に加えられたアナログの被測定信
号Bは(図2(1) の波形参照)、サンプル・ホール
ド回路(以下、単にS/H 回路と記す)1に導かれる
。S/H 回路1は、クロック発生器3からクロック信
号SCが加えられるたびに、その時点の被測定信号Bの
瞬時値B(n)をサンプリングし、前のサンプリングで
取り込んでいた値に代わり、新しく取り込んだ値を出力
するものである。図2(1) の×印は、各サンプリン
グ点を示している。なお、nはサンプリング回数を意味
し、n=1,2,3,…である。つまり、B(1)=B
1,B(2)=B2,…,B(n)=Bnである。
The analog signal under test B applied to the terminal P1 (see waveform in FIG. 2(1)) is led to a sample and hold circuit (hereinafter simply referred to as S/H circuit) 1. Every time the clock signal SC is applied from the clock generator 3, the S/H circuit 1 samples the instantaneous value B(n) of the signal under measurement B at that time, and replaces the value captured in the previous sampling with It outputs the newly imported value. The x marks in FIG. 2(1) indicate each sampling point. Note that n means the number of samplings, and n=1, 2, 3, . . . . In other words, B(1)=B
1,B(2)=B2,...,B(n)=Bn.

【0017】アナログ・ディジタル変換器(以下、単に
ADC と記す)2は、S/H 回路1のアナログ出力
信号を取り込み、これをディジタル信号へ変換(以下、
単にAD変換と記す)するものである。このADC 2
は、クロック信号SCを遅延させた信号SDが加えられ
ると、この信号SDの各印加時期を起点として、S/H
 回路1から加えられている信号をディジタル信号へ変
換出力する。従って、n回目のサンプリングでは、瞬時
値Bnを出力する(図2参照)。特許請求の範囲に記載
したAD変換手段とは、このS/H 回路1と、ADC
 2で構成される。
An analog-to-digital converter (hereinafter simply referred to as ADC) 2 takes in the analog output signal of the S/H circuit 1 and converts it into a digital signal (hereinafter referred to as ADC).
(simply referred to as AD conversion). This ADC 2
When a signal SD, which is a delayed clock signal SC, is applied, S/H starts from each application time of this signal SD.
The signal applied from circuit 1 is converted into a digital signal and output. Therefore, in the n-th sampling, the instantaneous value Bn is output (see FIG. 2). The AD conversion means described in the claims includes this S/H circuit 1 and the ADC
Consists of 2.

【0018】なお、電流iが被測定信号Bの場合、通常
、この電流iは、電圧信号Viへ変換されて端子P1へ
加えられる。これについて説明を加える。抵抗値が既知
のシャント抵抗RS(図示せず)へ被測定電流iを流す
と、電圧Vi=RS・iが発生する。この電圧Viは、
シャント抵抗値RSが既知であり、電圧Viを測定する
ことでi=Vi/RSより、被測定電流iを測定したこ
とになる。本明細書では、このように電流iを変換した
電圧信号Viを被測定電流iと称している。
Note that when the current i is the signal under measurement B, this current i is normally converted into a voltage signal Vi and applied to the terminal P1. I will add an explanation to this. When a current to be measured i is passed through a shunt resistor RS (not shown) having a known resistance value, a voltage Vi=RS·i is generated. This voltage Vi is
The shunt resistance value RS is known, and by measuring the voltage Vi, the current to be measured i is measured from i=Vi/RS. In this specification, the voltage signal Vi obtained by converting the current i in this manner is referred to as the current to be measured i.

【0019】絶対値演算器6は、ADC 2の出力であ
る瞬時信号値Bnを導入し、この信号の絶対値b(n)
=|Bn|を出力する。この絶対値演算器6は、アナロ
グ回路で考えると被測定信号の整流波形を出力する整流
器に相当する。絶対値を出力するのは簡単である。即ち
、ディジタル信号Bnの振幅を示すビットデータ部のみ
抽出すればよい。なお、絶対値演算器6の出力は、ディ
ジタル値であるが、これをアナログ的に表現したのが図
2(2) の実線波形である。図2(2) の実線波形
は、サンプリング値B1,B2,B3,…(図2(1)
 参照)の絶対値であるため、階段状になる。なお、図
2(2) の点線波形は、図2(1) の波形の理想的
絶対値波形である。
The absolute value calculator 6 introduces the instantaneous signal value Bn which is the output of the ADC 2, and calculates the absolute value b(n) of this signal.
=|Bn| is output. When considered as an analog circuit, the absolute value calculator 6 corresponds to a rectifier that outputs a rectified waveform of the signal under measurement. It is easy to output the absolute value. That is, it is sufficient to extract only the bit data portion indicating the amplitude of the digital signal Bn. Note that the output of the absolute value calculator 6 is a digital value, and the solid line waveform in FIG. 2(2) is an analog representation of this. The solid line waveform in Figure 2 (2) is the sampling value B1, B2, B3,... (Figure 2 (1)
Since it is the absolute value of ), it becomes step-like. Note that the dotted line waveform in FIG. 2(2) is the ideal absolute value waveform of the waveform in FIG. 2(1).

【0020】指数化平均演算器7は、絶対値演算器6か
ら出力されるデータb(n)を指数化平均するものであ
り、その出力P(n)をアナログ的に表現すると、図2
(3) となる。説明を加える。指数化平均演算器7は
、例えば演算部71と、メモリ72を備えている。演算
部71は、絶対値演算器6からデータb(n)が加えら
れる毎に、(2) 式の演算を繰り返す。つまり演算部
71は、絶対値演算器6から瞬時値Bnの絶対値b(n
)を、メモリ72から前回の演算結果P(n−1)を導
入し、(2) 式の演算を行い、その出力P(n)をメ
モリ72に格納するとともに一定期間後の結果P(n)
を CPU9に加える。     P(n)=P(n−1)+(1/G)・{b(
n)−P(n−1)}               
                 (2)P(n):
サンプリング回数nまでに処理された指数化平均結果 P(n−1):サンプリング回数(n−1) までに処
理された指数化平均結果 b(n):サンプリング回数n番目における被測定信号
の瞬時値の絶対値 1/G :定数(なお、1/G << 1)
The exponential averaging calculator 7 exponentially averages the data b(n) output from the absolute value calculator 6, and the output P(n) is expressed in analog form as shown in FIG.
(3) It becomes. Add explanation. The exponential averaging calculator 7 includes, for example, a calculation section 71 and a memory 72. The calculation unit 71 repeats the calculation of equation (2) every time data b(n) is added from the absolute value calculation unit 6. In other words, the calculation unit 71 receives the absolute value b(n
), the previous calculation result P(n-1) is introduced from the memory 72, the calculation of equation (2) is performed, the output P(n) is stored in the memory 72, and the result P(n-1) after a certain period of time is )
Add to CPU9. P(n)=P(n-1)+(1/G)・{b(
n)-P(n-1)}
(2) P(n):
Exponentialized average result processed up to sampling number n (n-1): Indexed averaged result processed up to sampling number (n-1) b(n): Instantaneous of the signal under measurement at the nth sampling number Absolute value of value 1/G: Constant (1/G << 1)

【0021
】ここで、定数1/G は、1/G << 1  に設
定されているので、b(n)が図示しない演算手段へ加
えられるたびに、(1)式の演算を繰り返すと、図2(
3) の波形となる。即ち、(2) 式は、この演算を
繰り返すとP(n)が、b(n)の波形(図2(2) 
参照)の平均値になることを意味する。つまり、指数化
平均演算器7から、b(n)=|Bn|の平均値である
BMEAN=(1/N) ・Σ|Bn|が得られる。
0021
]Here, the constant 1/G is set to 1/G << 1, so each time b(n) is added to an arithmetic means (not shown), the calculation of equation (1) is repeated. (
3) The waveform is as follows. In other words, Equation (2) shows that when this calculation is repeated, P(n) becomes the waveform of b(n) (Fig. 2 (2)
(see). That is, the average value of b(n)=|Bn|, BMEAN=(1/N)·Σ|Bn|, is obtained from the exponential averaging calculator 7.

【0022】(2) 式の意味を解説する。今回サンプ
リングしたサンプリング回数n番目の瞬時絶対値b(n
)と、前回のサンプリング回数(n−1) までの平均
演算結果P(n−1)との差を取り出し、この差、つま
り {b(n)−P(n−1)}  を定数1/G 倍
する。ここで、1/G <<1であるから、 (1/G
)・{b(n)−P(n−1)} は、前回までの平均
演算結果P(n−1)と、今回のサンプリング値b(n
)の“差を薄めたもの”である。そして、この“差を薄
めたもの”を前回の平均演算結果P(n−1)に加算し
て今回のサンプリング回数nまでの平均演算結果データ
 P(n) を得ているので、この演算を多数回繰り返
すと、(2) 式のP(n)は、b(n)の波形の平均
値になることを意味している。従って、図2(3) の
最終値は、図2(2) の全波整流波形の平均値と一致
する。
(2) The meaning of the expression will be explained. Instantaneous absolute value b(n
) and the average calculation result P(n-1) up to the previous sampling number (n-1), and this difference, that is, {b(n)-P(n-1)}, is expressed as a constant 1/ G Multiply. Here, since 1/G <<1, (1/G
)・{b(n)-P(n-1)} is the average calculation result P(n-1) up to the previous time and the current sampling value b(n
) is a “diluted version” of the difference. Then, this "diluted difference" is added to the previous average calculation result P(n-1) to obtain the average calculation result data P(n) up to the current sampling number n, so this calculation is This means that when repeated many times, P(n) in equation (2) becomes the average value of the waveform of b(n). Therefore, the final value in FIG. 2(3) matches the average value of the full-wave rectified waveform in FIG. 2(2).

【0023】なお、図2(3) は、僅かの演算回数で
P(n)の値は、一定となるように描いたが、実際には
、例えば、演算回数n=1000を繰り返すことで、P
(n)の値は、一定となる。このような機能の絶対値演
算器6と、指数化平均演算器7は、例えばディジタル・
シグナルプロセッサ(以下、DSP と記す)5を用い
て構成することができる。  中央処理装置(以下、単
にCPU と記す)9は、図2(3) に示す所定の演
算回数nを経た指数化平均演算器7の出力信号P(n)
を導入し、この定常状態になったP(n)=(1/N)
 ・Σ|Bn|  を表示器10に表示する。なお、演
算回数は、クロック信号SCの数と一致するので、図1
では分周器11を用い、所定のクロック数が発生すると
CPU 9へ信号を加え、所定の演算回数を行ったこと
を知らせている。
Although FIG. 2(3) is drawn so that the value of P(n) becomes constant after a small number of calculations, in reality, for example, by repeating the number of calculations n=1000, P
The value of (n) remains constant. The absolute value calculator 6 and the exponential average calculator 7 having such functions are, for example, digital
It can be configured using a signal processor (hereinafter referred to as DSP) 5. The central processing unit (hereinafter simply referred to as CPU) 9 receives the output signal P(n) of the exponential averaging calculator 7 after a predetermined number of calculations n as shown in FIG. 2(3).
P(n) = (1/N) which reached this steady state by introducing
・Display Σ|Bn| on the display 10. Note that the number of calculations matches the number of clock signals SC, so the number of calculations shown in FIG.
Using the frequency divider 11, when a predetermined number of clocks are generated, a signal is applied to the CPU 9 to notify that a predetermined number of calculations have been performed.

【0024】以上のような図1装置において、時刻TS
を起点として、端子P1に、例えば図2(1) に示す
波形の被測定信号(電圧信号でも電流信号でもよい)が
加えられたとする。ここで、クロック発生器3からS/
H 回路1へ周期TADのクロック信号SCが加えられ
るので、図2(1) に示す×印の瞬時データ(B1,
B2,B3, …)が取り込まれる。そして、このデー
タは次々とADC 2にてディジタル値に変換される。 なお、遅延線4は、S/H 回路1に加えられるクロッ
ク信号SCのタイミングを僅かに遅延させるもので、S
/H 回路1のホールド状態が安定した値をADC 2
が取り込めるようにしている。
In the apparatus of FIG. 1 as described above, the time TS
Assume that a signal to be measured (which may be a voltage signal or a current signal) having a waveform shown in FIG. 2(1), for example, is applied to the terminal P1 starting from . Here, from the clock generator 3, the S/
Since the clock signal SC with the period TAD is applied to the H circuit 1, the instantaneous data (B1,
B2, B3, ...) are imported. Then, this data is successively converted into digital values by the ADC 2. Note that the delay line 4 slightly delays the timing of the clock signal SC applied to the S/H circuit 1.
/H The value at which the hold state of circuit 1 is stable is sent to ADC 2.
I am trying to make it possible to import it.

【0025】絶対値演算器6は、被測定信号Bの瞬時値
Bnの絶対値b(n)=Σ|Bn|  を出力する。こ
のb(n)をアナログ的に示すと、図2(2) に示す
実線の波形となる。 この第2図の×印のデータ( b(1),b(2), 
…)に、指数化平均演算器7にて、上記(2) 式の演
算を加えると、P(n)の値の軌跡は、図2(3) に
示すような波形となる。 このようにして得られたP(n)の最終的に落ち着いた
値が、被測定信号Bを整流した波形の平均値BMEAN
である。図2(3) に示すP(n)が、一定になる所
定の演算回数(例えば、n)が繰り返されると、分周器
11から信号がCPU 9に加えられ、CPU 9は、
その時の指数化平均演算器7の出力P(n)を読み込み
、その値に基づいて、平均値を表示器10に表示する。
The absolute value calculator 6 outputs the absolute value b(n)=Σ|Bn| of the instantaneous value Bn of the signal under measurement B. If this b(n) is represented in analog form, it will have a solid line waveform as shown in FIG. 2(2). The data marked with x in Figure 2 (b(1), b(2),
) is added to the above equation (2) in the exponential averaging calculator 7, the trajectory of the value of P(n) becomes a waveform as shown in FIG. 2(3). The finally settled value of P(n) obtained in this way is the average value BMEAN of the waveform obtained by rectifying the signal under measurement B.
It is. When P(n) shown in FIG. 2(3) is repeated a predetermined number of times (for example, n), a signal is applied from the frequency divider 11 to the CPU 9, and the CPU 9
The output P(n) of the indexed average calculator 7 at that time is read, and the average value is displayed on the display 10 based on that value.

【0026】なお、図1装置では、図3と図4に示す2
通りの表示方法が考えられる。図3の表示方法は、指数
化平均出力P(n)が最終値または最終値付近になる点
(△印)に基づく平均値を表示し(表示値を更新し)、
その後メモリ72の内容をクリアし{P(n−1)を0
とする}、再度0から演算を始める方法である。図4の
表示方法は、メモリ72のデータをクリアせず一定演算
回数毎に、そのときの指数化平均出力P(n)に基づく
平均値を表示する方法である。
Note that in the apparatus shown in FIG. 1, two
There are ways to display the street. The display method in FIG. 3 displays the average value based on the point (△ mark) where the indexed average output P(n) becomes the final value or near the final value (updates the displayed value),
After that, the contents of the memory 72 are cleared and {P(n-1) is set to 0.
}, the calculation is started again from 0. The display method shown in FIG. 4 is a method of displaying an average value based on the indexed average output P(n) at each given number of calculations without clearing the data in the memory 72.

【0027】しかし、(2) 式において、指数化平均
を初期値P(0)=0から始めると、平均値P(M)が
得られるまで一定の応答時間tA(図8(C) 参照…
図2(3) に相当する)がかかる。図8(C) では
僅かなサンプル数(演算回数)で、指数化平均出力が一
定になるように示したが、実際の動作では、通常100
0回程の演算回数を経て一定になる。この応答時間を短
くするため定数(1/G) の値を大きくすると、応答
は速くなるが、低い周波数の被測定信号Bを測定する場
合、指数化平均後の出力にリプルを含み、測定値がふら
つく問題がある。
However, in equation (2), if the exponential averaging is started from the initial value P(0)=0, a constant response time tA (see FIG. 8(C)) is required until the average value P(M) is obtained.
(corresponding to Figure 2 (3)). In Figure 8(C), the indexed average output is shown to be constant with a small number of samples (number of calculations), but in actual operation, it is usually 100
It becomes constant after about 0 calculations. If you increase the value of the constant (1/G) to shorten this response time, the response will be faster, but when measuring low frequency signal under test B, the output after exponential averaging will contain ripples, and the measured value will I have a problem with the movement being unsteady.

【0028】図6と図7は、この点を改善し、出力のリ
プルを増加させることなく出力の応答時間を短くした平
均値整流形測定装置である。図6の装置は、図1の構成
に対し、算術平均手段13を新たに設け、この作用によ
り応答性の改善を図っている。この算術平均手段13は
、絶対値演算器6の出力b(n) の所定の個数の値を
算術平均するものである。例えば、絶対値演算器6から
、b(1),b(2),b(3), …,b(k) と
、k個の2乗値が出力された場合、   P(0)={b(1)+b(2)+b(3)+…+
b(k)}/k                  
        (3) のデジタル演算を行い、この
結果を指数化平均の初期値 P(0) として、メモリ
72に格納する。また、この初期値 P(0) の値が
得られると、この値P(0)の出力と共に、演算部71
へ初期値P(0)を出力した旨を知らせる信号S1を出
力する。なお、以上のような機能の絶対値演算器6と、
演算部71と、算術平均手段13も、例えばDSP5で
構成することができる。
FIGS. 6 and 7 show an average value rectification type measuring device that improves this point and shortens the output response time without increasing the output ripple. The apparatus shown in FIG. 6 has an arithmetic averaging means 13 newly added to the structure shown in FIG. 1, and this action improves responsiveness. The arithmetic averaging means 13 arithmetic averages a predetermined number of values of the output b(n) of the absolute value calculator 6. For example, when the absolute value calculator 6 outputs k squared values such as b(1), b(2), b(3), ..., b(k), P(0)={ b(1)+b(2)+b(3)+...+
b(k)}/k
(3) The digital calculation is performed and the result is stored in the memory 72 as the initial value P(0) of the exponential average. Moreover, when the value of this initial value P(0) is obtained, along with the output of this value P(0), the arithmetic unit 71
A signal S1 is output to inform that the initial value P(0) has been output to. In addition, the absolute value calculator 6 having the above-mentioned functions,
The arithmetic unit 71 and the arithmetic averaging means 13 can also be constituted by, for example, a DSP 5.

【0029】以上のような図6装置の動作を図8を参照
しながら説明する。t=0を起点として、端子P1には
、例えば図8(a) に示す被測定信号Bが加えられた
とする。AD変換手段20は、クロック発生器3からク
ロック信号SCが加えられるたびに、被測定信号の瞬時
値をサンプリングし、この瞬時値のデジタル値Bnを出
力する。絶対値演算器6は、この瞬時値Bnの絶対値b
(n)=|Bn|を出力する(図8(b) 参照)。即
ち、絶対値演算器6は、クロック信号に同期して、次々
と絶対値 b(1),b(2),b(3),…を出力す
る。
The operation of the apparatus shown in FIG. 6 as described above will be explained with reference to FIG. Assume that, for example, a signal under test B shown in FIG. 8(a) is applied to the terminal P1 starting from t=0. The AD conversion means 20 samples the instantaneous value of the signal under test every time the clock signal SC is applied from the clock generator 3, and outputs a digital value Bn of this instantaneous value. The absolute value calculator 6 calculates the absolute value b of this instantaneous value Bn.
(n)=|Bn| is output (see FIG. 8(b)). That is, the absolute value calculator 6 successively outputs absolute values b(1), b(2), b(3), . . . in synchronization with the clock signal.

【0030】ここで算術平均手段13には、例えば数値
“k”が設定されており、絶対値演算器6から信号 b
(1),b(2),b(3),…が加えられるたびに、
kから1ずつ減算し、k=0になると(3) 式に示す
演算を行う。即ち、1〜kのデータを算術平均した値を
初期値 P(0) として出力しこの値 P(0) は
、メモリ72に格納される。また算術平均手段13は、
初期値 P(0) を出力した旨を示す信号S1を演算
部71へ加える。なお、図8(d) に示すTUは、(
3)式のP(0)を測定算出するまでの時間である。図
8(d) に示した例では初期値 P(0) は、図8
(b) に示す絶対値 b(1),b(2),b(3)
,b(4)の4個のデータの算術平均である。この図8
(c) と図8(d) を比較すると分かるように算術
平均して得られた値 P(0) は、指数化平均演算に
よる(2) 式のカーブ(図8(C) :初期値P(0
)=0)と比較して格段に立ち上がりが速い(図8(d
) )。
Here, the arithmetic mean means 13 is set to, for example, a numerical value "k", and the absolute value calculator 6 outputs a signal b.
Each time (1), b(2), b(3),... is added,
Subtract 1 from k one by one, and when k=0, perform the calculation shown in equation (3). That is, the arithmetic mean value of data 1 to k is output as the initial value P(0), and this value P(0) is stored in the memory 72. Further, the arithmetic mean means 13 is
A signal S1 indicating that the initial value P(0) has been output is applied to the calculation unit 71. Note that the TU shown in Figure 8(d) is (
3) This is the time required to measure and calculate P(0) in the equation. In the example shown in Figure 8(d), the initial value P(0) is
(b) Absolute values b(1), b(2), b(3) shown in
, b(4). This figure 8
As can be seen by comparing (c) and Figure 8(d), the value P(0) obtained by arithmetic averaging is the curve of equation (2) (Figure 8(C): initial value P (0
) = 0), the rise is much faster (Figure 8(d)
) ).

【0031】演算部71は、算術平均手段13からの信
号S1を受けてこれを起点にして、(2) 式による指
数化平均演算を開始する(なお、この信号S1を受ける
以前は、演算部71は、その演算動作を停止している)
。この場合、(2) 式の最初の演算において、P(n
−1)= P(0) を用いる。つまり、図8の例で述
べると、サンプリング回数がn=5番目である時、演算
部71の最初の演算になるが、その内容は(4) 式で
ある。   P(5)=P(0)+(1/G) ・{b(5) 
−P(0)}                   
               (4)以下、絶対値演
算器6から出力があるごとに、P(6),P(7),…
の算出には、(2) 式の演算を行うので、図8(d)
 の如く、図8(c) の図1装置の応答波形より速く
平均値P(M)に収斂する。即ち、図1装置は、サンプ
リング回数tAの時に、その平均値を表示するが(図8
(c) 参照)、図6はサンプリング回数tBの時に表
示できる(図8(d) 参照)。なお、定数(1/G)
 の値は、図1装置と同じであるため、図1装置と比較
してリプルが増加すると言うことはない。
The calculation section 71 receives the signal S1 from the arithmetic averaging means 13, and starts the exponential averaging calculation according to equation (2) using this signal as a starting point (note that before receiving this signal S1, the calculation section 71 has stopped its calculation operation)
. In this case, in the first operation of equation (2), P(n
-1)=P(0) is used. In other words, using the example of FIG. 8, when the number of samplings is n=5th, the first calculation of the calculation unit 71 is performed, and the content thereof is equation (4). P(5)=P(0)+(1/G) ・{b(5)
−P(0)}
(4) Hereafter, each time there is an output from the absolute value calculator 6, P(6), P(7),...
In order to calculate
As shown in FIG. 8(c), the response waveform of the device shown in FIG. 1 converges to the average value P(M) more quickly. That is, the device in FIG. 1 displays the average value when the number of samplings is tA (FIG. 8).
(c)), and FIG. 6 can be displayed when the sampling number is tB (see FIG. 8(d)). In addition, the constant (1/G)
Since the value of is the same as that of the device in FIG. 1, there is no increase in ripple compared to the device in FIG.

【0032】図7装置は、図1の構成に対し、平均手段
15を新たに設け、この作用により応答性の改善を図っ
ている。この平均手段15は、絶対値演算器6の出力 
b(n) を所定の個数だけ導入しこの中から最大値と
最小値を選び、(最大値+最小値)/2の演算を行うも
のである。 平均手段15には、例えば数値“k”が設定されており
、絶対値演算器5から信号 b(1),b(2),b(
3),…が加えられるたびに、kから1ずつ減算し、k
=0になると(5) 式に示す演算を行う。
The apparatus shown in FIG. 7 has an averaging means 15 newly added to the structure shown in FIG. 1, and this action improves responsiveness. This averaging means 15 calculates the output of the absolute value calculator 6.
A predetermined number of b(n) are introduced, the maximum value and minimum value are selected from these, and the calculation (maximum value + minimum value)/2 is performed. For example, a numerical value "k" is set in the averaging means 15, and signals b(1), b(2), b(
3) Each time ,... is added, subtract 1 from k, and k
When =0, the calculation shown in equation (5) is performed.

【0033】即ち、絶対値演算器6から、b(1),b
(2),b(3), …,b(k) と、k個の絶対値
を導入しこれの最大値と最小値を見つける。最大値が 
b(j) 、最小値が b(i) とすれば、   P(0)={b(j)+b(i)}/2     
                         
            (5) のデジタル演算を行
い、この結果を指数化平均の初期値 P(0) として
、メモリ72に格納する。また、(5) 式の初期値 
P(0) が得られると、算術平均手段13と同様に、
この値P(0)の出力と共に、演算部71へ初期値P(
0)を出力した旨を知らせる信号S1を出力する。なお
、図7装置によれば、繰り返し波形であるアナログの被
測定信号波形(図9の(a) )の1/4周期内におい
て、最大値と最小値を把握すれば、初期値 P(0) 
を得るためのサンプリングは、それ以上必要ない。
That is, from the absolute value calculator 6, b(1), b
(2), b(3), ..., b(k) Introduce k absolute values and find their maximum and minimum values. The maximum value
b(j) and the minimum value is b(i), then P(0)={b(j)+b(i)}/2

(5) The digital calculation is performed and the result is stored in the memory 72 as the initial value P(0) of the exponential average. Also, the initial value of equation (5)
Once P(0) is obtained, similarly to the arithmetic mean means 13,
Along with outputting this value P(0), the initial value P(
A signal S1 is output to notify that 0) has been output. According to the device shown in FIG. 7, if the maximum and minimum values are known within a quarter cycle of the analog measured signal waveform ((a) in FIG. 9), which is a repetitive waveform, the initial value P(0 )
No further sampling is required to obtain .

【0034】このような図7装置によれば、図9(b)
 に示した例では、最大値=b(3)であり、最小値=
b(1)である。その結果、(5) 式で得られる初期
値 P(0) は、図9(d) に示す P(0) と
なり、この図9(d) と図9(c) を比較すると分
かるように、(5) 式で得られるP(0)を初期値と
する指数化平均演算は、P(0)=0とする普通の指数
化平均演算による(2) 式のカーブ(図9(C) …
図1装置)と比較して格段に立ち上がりが速い(図9(
d) …図7装置)。即ち、図1装置は、サンプリング
回数tAの時に、その平均値を表示するが(図9(c)
 参照)、図7装置は、サンプリング回数tcの時に表
示できる(図9(d) 参照)。
According to the apparatus shown in FIG. 7, as shown in FIG.
In the example shown in , the maximum value = b(3) and the minimum value =
b(1). As a result, the initial value P(0) obtained from equation (5) becomes P(0) shown in Figure 9(d), and as can be seen by comparing Figures 9(d) and 9(c), The exponential averaging calculation using P(0) obtained by equation (5) as the initial value is performed using the curve of equation (2) (Figure 9 (C)...
The start-up is much faster compared to the device in Figure 1 (Figure 9).
d)...Figure 7 device). That is, the device shown in FIG. 1 displays the average value when the number of samplings is tA (FIG. 9(c)).
(see FIG. 9(d)), the device in FIG. 7 can display this at the sampling number tc (see FIG. 9(d)).

【0035】[0035]

【発明の効果】以上説明したように、本発明によれば、
次の効果が得られる。 (1) 被測定信号波形の1周期の整数倍が、サンプリ
ング周期の整数倍と一致するか否かに関係なく測定でき
るため、被測定信号波形の周期を測定する回路が不要と
なる。そしてサンプリング周期を被測定信号波形の周期
の整数分の1になるように制御する手段も不要となる。 従って、コストを低減できる。 (2) 被測定波形の1周期の整数倍と、サンプリング
周期の整数倍とが一致するまで演算すると言うことがな
いため、測定応答時間が長くなることはない。 (3) またサンプリング周期を短くしなくても良いた
め、高価なADCを使用する必要がない。 (4) サンプリング回数nまでの平均演算結果データ
P(n)は、サンプリング回数(n−1) までの平均
演算結果データP(n−1)を基準に算出される。つま
り、本発明は、加算和{(1) 式参照}する方式でな
いため、被測定信号の変化に比較的速く追従して新しい
測定値を得ることができる。 (5) 図6,図7の構成によれば、測定開始直後から
得られる僅かなサンプル数の値より、平均値により近い
初期値 P(0) を得て、これに基づいて演算部にて
指数化平均演算を加えるので、更に、短時間に所望の平
均値が得られる。
[Effects of the Invention] As explained above, according to the present invention,
The following effects can be obtained. (1) Since measurement can be performed regardless of whether an integer multiple of one period of the signal waveform under test matches an integer multiple of the sampling period, a circuit for measuring the period of the signal waveform under test is not required. Also, there is no need for a means for controlling the sampling period to be an integer fraction of the period of the signal waveform under test. Therefore, costs can be reduced. (2) Since calculations are not performed until an integral multiple of one period of the waveform to be measured and an integral multiple of the sampling period match, the measurement response time does not become long. (3) Furthermore, since the sampling period does not need to be shortened, there is no need to use an expensive ADC. (4) The average calculation result data P(n) up to the sampling number n is calculated based on the average calculation result data P(n-1) up to the sampling number (n-1). In other words, since the present invention does not use a method of adding sums {see equation (1)}, it is possible to relatively quickly follow changes in the signal under measurement and obtain new measured values. (5) According to the configurations shown in FIGS. 6 and 7, an initial value P(0) that is closer to the average value is obtained from the values of a small number of samples obtained immediately after the start of measurement, and based on this, the calculation section Since the exponential averaging operation is added, the desired average value can be obtained in a shorter time.

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

【図1】本発明に係る平均値整流形測定装置の構成例を
示す図
[Fig. 1] A diagram showing an example of the configuration of an average value rectification type measuring device according to the present invention.

【図2】図1装置の各部の信号をアナログ的に示す図[Figure 2] Diagram showing analog signals of each part of the device in Figure 1


図3】測定データと表示のタイミングを示す図
[
Figure 3: Diagram showing measurement data and display timing

【図4】
測定データと表示の別のタイミングを示す図
[Figure 4]
Diagram showing different timings of measurement data and display

【図5】従
来例の問題点を説明する図
[Figure 5] Diagram explaining the problems of the conventional example

【図6】本発明に係る平均値整流形測定装置の別の構成
例を示す図
FIG. 6 is a diagram showing another configuration example of the average value rectification type measuring device according to the present invention.

【図7】本発明に係る平均値整流形測定装置の別の構成
例を示す図
FIG. 7 is a diagram showing another configuration example of the average value rectification type measuring device according to the present invention.

【図8】図6装置の各部の信号のタイムチャート[Figure 8] Time chart of signals of each part of the Figure 6 device

【図9
】図7装置の各部の信号のタイムチャート
[Figure 9
] Figure 7 Time chart of signals of each part of the device

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

1  S/H 回路 2  ADC  3  クロック発生器 6  絶対値演算器 7  指数化平均演算器 71  演算部 72  メモリ 13  算術平均手段 15  平均手段 1 S/H circuit 2 ADC 3 Clock generator 6 Absolute value calculator 7 Exponential averaging calculator 71 Arithmetic unit 72 Memory 13 Arithmetic mean means 15 Average means

Claims (3)

【特許請求の範囲】[Claims] 【請求項1】アナログの被測定信号を或る周期でサンプ
リングし、このサンプリング値をディジタル信号へ変換
するAD変換手段(1,2) と、このAD変換手段の
ディジタル出力信号を導入し、これの絶対値を出力する
絶対値演算器と、この絶対値を導入し、これに指数化平
均演算を加える指数化平均演算器(7) と、を備えた
平均値整流形測定装置。
Claim 1: AD conversion means (1, 2) for sampling an analog signal under test at a certain period and converting the sampled value into a digital signal; and a digital output signal of the AD conversion means; An average value rectification type measuring device comprising: an absolute value calculator that outputs the absolute value of , and an indexed average calculator (7) that introduces this absolute value and adds an indexed average calculation to it.
【請求項2】アナログの被測定信号を或る周期でサンプ
リングし、このサンプリング値をデジタル信号へ変換す
るAD変換手段(20)と、このAD変換手段のデジタ
ル出力信号の絶対値を取り出す絶対値演算器(6) と
、この絶対値演算器の出力データの所定の個数の値を算
術平均する算術平均手段(13)と、絶対値演算器が前
記所定の個数の出力データを出力した後の出力データ{
b(n)}を導入し、前記算術平均手段で得られた算術
平均値を初期値として、指数化平均演算を加える演算手
段(71)と、を備えたことを特徴とする平均値整流形
測定装置。
2. AD conversion means (20) for sampling an analog signal under test at a certain period and converting the sampled value into a digital signal; and an absolute value for extracting the absolute value of the digital output signal of the AD conversion means. an arithmetic unit (6), an arithmetic averaging means (13) for arithmetic averaging of a predetermined number of values of the output data of the absolute value arithmetic unit, and output data{
b(n)}, and an arithmetic mean value obtained by the arithmetic mean means is used as an initial value, and an arithmetic means (71) performs an exponential mean operation. measuring device.
【請求項3】アナログの被測定信号を或る周期でサンプ
リングし、このサンプリング値をデジタル信号へ変換す
るAD変換手段(20)と、このAD変換手段のデジタ
ル出力信号の絶対値を取り出す絶対値演算器(6) と
、この絶対値演算器の出力データの所定の個数の中から
最大値と最小値をとり、(最大値+最小値)/2の演算
を行う平均手段(15)と、絶対値演算器が前記所定の
個数の出力データを出力した後の出力データ{b(n)
}を導入し、前記平均手段で得られた(最大値+最小値
)/2の値を初期値として、指数化平均演算を加える演
算手段(71)と、を備えたことを特徴とする平均値整
流形測定装置。
3. AD conversion means (20) for sampling an analog signal under test at a certain period and converting the sampled value into a digital signal; and an absolute value for extracting the absolute value of the digital output signal of the AD conversion means. an arithmetic unit (6); an averaging means (15) for taking the maximum value and minimum value from a predetermined number of output data of the absolute value arithmetic unit and calculating (maximum value + minimum value)/2; Output data after the absolute value calculator outputs the predetermined number of output data {b(n)
}, and calculating means (71) for performing an exponential averaging operation using the value of (maximum value + minimum value)/2 obtained by the averaging means as an initial value. Value rectification type measuring device.
JP6220891A 1990-08-27 1991-03-26 Average value rectifying type measuring apparatus Pending JPH04212015A (en)

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
JP22491590 1990-08-27
JP2-224915 1990-08-27

Publications (1)

Publication Number Publication Date
JPH04212015A true JPH04212015A (en) 1992-08-03

Family

ID=16821159

Family Applications (1)

Application Number Title Priority Date Filing Date
JP6220891A Pending JPH04212015A (en) 1990-08-27 1991-03-26 Average value rectifying type measuring apparatus

Country Status (1)

Country Link
JP (1) JPH04212015A (en)

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2001133488A (en) * 1999-11-08 2001-05-18 Kawamura Electric Inc Ac voltage-measuring device and method
JPWO2020137656A1 (en) * 2018-12-25 2021-12-23 京セラ株式会社 Analog / digital converters, wireless communication devices, and analog / digital converters

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2001133488A (en) * 1999-11-08 2001-05-18 Kawamura Electric Inc Ac voltage-measuring device and method
JPWO2020137656A1 (en) * 2018-12-25 2021-12-23 京セラ株式会社 Analog / digital converters, wireless communication devices, and analog / digital converters

Similar Documents

Publication Publication Date Title
US5170115A (en) Sampling type measuring device
CN100575964C (en) Be used to measure the instrument of electric power
US7825839B2 (en) Measuring device and measuring method for measuring the power of a high-frequency signal
CN112513650A (en) Current sensor configuration and calibration
EP0394206B1 (en) A method and an arrangement for accurate digital determination of the time or phase position of a signal pulse train
EP0104999B1 (en) Gain switching device with reduced error for watt meter
TW200843363A (en) Fast, high resolution digital-to-analog converter
US4959608A (en) Apparatus and method for extracting the RMS value from a signal
JPH04212015A (en) Average value rectifying type measuring apparatus
JPS5819068B2 (en) Denshiki Denryokuriyokei
JPH04105073A (en) Measuring device for effective value
JPH04212073A (en) Sampling type wattmeter
US5243276A (en) Sampling type measuring device
JP2004294177A (en) Sampling type measuring device
JPH04286965A (en) Effective value measuring device
KR100860711B1 (en) Method for measuring line to line voltage using an interpolation
JP3271323B2 (en) Time measurement circuit
JP3085496B2 (en) Sampling type measuring device
JPH03158769A (en) Digital calculating method for effective value
JPH09181604A (en) Semiconductor integrated circuit device and its noise reduction method
US10476483B2 (en) Decimation filter
JPH05211442A (en) Test method for a/d converter
JPS618675A (en) Measuring device for quantity of electricity
JP3071456B2 (en) Vector correction type sample hold circuit
SU1728857A2 (en) Multichannel measuring device