JPH05180878A - Adjusting method for electric power measuring instrument - Google Patents

Adjusting method for electric power measuring instrument

Info

Publication number
JPH05180878A
JPH05180878A JP4051411A JP5141192A JPH05180878A JP H05180878 A JPH05180878 A JP H05180878A JP 4051411 A JP4051411 A JP 4051411A JP 5141192 A JP5141192 A JP 5141192A JP H05180878 A JPH05180878 A JP H05180878A
Authority
JP
Japan
Prior art keywords
power meter
correction
correction function
sine wave
electric power
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.)
Granted
Application number
JP4051411A
Other languages
Japanese (ja)
Other versions
JP3077360B2 (en
Inventor
Kenji Fujino
健治 藤野
Hidetoshi Nagura
英俊 名倉
Masaaki Saijo
正晃 西條
Masami Imamoto
雅巳 今元
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
Priority to JP04051411A priority Critical patent/JP3077360B2/en
Publication of JPH05180878A publication Critical patent/JPH05180878A/en
Application granted granted Critical
Publication of JP3077360B2 publication Critical patent/JP3077360B2/en
Anticipated expiration legal-status Critical
Expired - Fee Related legal-status Critical Current

Links

Landscapes

  • Measurement Of Current Or Voltage (AREA)

Abstract

PURPOSE:To provide an adjusting method for an electric power measuring instrument through which the correction factor of correction function for a non-linear and a phase error occurring in the input sensor circuit or the like of an electric power measuring instrument can be obtained, and written in the electric power measuring instrument. CONSTITUTION:In an adjusting method for an electric power measuring instrument to correct the non-linear characteristic or the like of the instrument using a correction function accommodated in a memory element 10, a sine wave signal is inputted in the electric power measuring instrument, and an output including the non-linear and the phase error component of the electric power measuring instrument is considered as the data of wave forms, from which the sine wave signal is presumed. Correction factors for a non-linear and a phase error are obtained from the presumed sine wave signal and the data of wave forms by a least square method, and accommodated in the memory element 10.

Description

【発明の詳細な説明】Detailed Description of the Invention

【0001】[0001]

【産業上の利用分野】本発明は、ディジタル技術を用い
た電力用計器に関し、特に入力用センサで生ずる非線形
誤差及び位相誤差の補正関数を算出する方法に関する。
BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention relates to a power meter using digital technology, and more particularly to a method for calculating a correction function for a non-linear error and a phase error generated in an input sensor.

【0002】[0002]

【従来の技術】従来例の構成図を図10に示す。図10
(A)はアナログ回路のみによって構成された電力用計
器であり、図10(B)は演算部分にディジタル技術を
用いた電力用計器である。図10(A)において、被測
定信号線は高圧、大電流の電源線である場合が多く、入
力信号はトランス1aにより絶縁、降圧されてアナログ
演算回路2に入力される。アナログ演算回路2の出力は
表示手段3aにより電力値が表示される。一方、図10
(B)において、入力信号はトランス1bにより絶縁、
降圧されてA/D変換器4a及び4bに入力されてディ
ジタル値に変換される。A/D変換器4a及び4bの出
力はプログラマブルなディジタル演算器5に入力され
る。ディジタル演算器5は演算結果をPWM(Pulse Wi
dth Modulation)等の信号に変換したのち表示手段3b
に送り電力値、電圧値、電流実効値、無効電力、皮相電
力、位相角、力率、周波数等を表示する。
2. Description of the Related Art FIG. 10 shows a block diagram of a conventional example. Figure 10
FIG. 10A is a power meter configured only by an analog circuit, and FIG. 10B is a power meter using a digital technique in the calculation part. In FIG. 10 (A), the signal line to be measured is often a high-voltage, large-current power supply line, and the input signal is insulated and stepped down by the transformer 1a and input to the analog arithmetic circuit 2. The output of the analog arithmetic circuit 2 is displayed as a power value by the display means 3a. On the other hand, FIG.
In (B), the input signal is isolated by the transformer 1b,
It is stepped down and input to the A / D converters 4a and 4b and converted into digital values. The outputs of the A / D converters 4a and 4b are input to the programmable digital calculator 5. The digital calculator 5 outputs the calculation result to the PWM (Pulse Wi
Display means 3b after converting to a signal such as dth Modulation)
The feed power value, voltage value, effective current value, reactive power, apparent power, phase angle, power factor, frequency, etc. are displayed on.

【0003】しかし、前述のトランス1a及び1bは、
1次側入力と2次側出力の間に高調波歪、ヒステリシス
等の非線形な伝達特性を持っている。また、図10
(B)におけるA/D変換器4a及び4bは入力電圧レ
ベルと出力コードの間に非線形性を持っている。さら
に、トランス1a及び1b等により位相誤差も生じる。
従って、これらの非線形性及び位相誤差は電力用計器全
体の精度を低下させる要因となっている。
However, the above-mentioned transformers 1a and 1b are
It has non-linear transfer characteristics such as harmonic distortion and hysteresis between the primary side input and the secondary side output. In addition, FIG.
The A / D converters 4a and 4b in (B) have non-linearity between the input voltage level and the output code. Further, a phase error also occurs due to the transformers 1a and 1b.
Therefore, these non-linearities and phase errors are factors that reduce the accuracy of the entire power meter.

【0004】図10(A)に示すアナログ回路による電
力用計器において、前記非線形性及び位相誤差の補正を
正確に行うには複雑な回路及び多大な調整工数が必要と
なり、このため補正機能をもたない電力用計器が大部分
である。一方、図10(B)に示すディジタル技術を用
いた電力用計器においては、内部プログラムによって回
路動作を規定できるようになり、且つ、A/D変換後の
ディジタル・データが含む前記非線形性及び位相誤差を
補正関数によって補正することも可能である。
In the power meter using the analog circuit shown in FIG. 10A, a complicated circuit and a great amount of adjustment man-hours are required to accurately correct the non-linearity and the phase error. Most of them are power meters. On the other hand, in the power meter using the digital technique shown in FIG. 10B, the circuit operation can be defined by an internal program, and the nonlinearity and phase included in the digital data after A / D conversion are included. It is also possible to correct the error with a correction function.

【0005】[0005]

【発明が解決しようとする課題】しかし、トランスの伝
達特性はヒステリシスを持つことから、ヒステリシス特
性を有する補正関数モデルを想定しなければならない。
また、誤差測定は製品への実装前にトランス、A/D変
換器等を分けて個々に測定し、補正係数はこの誤差測定
結果から算出し、ROM等の記憶素子に書き込んで製品
に実装している。この結果、部品交換等による再調整で
は前述の調整操作を行わなければならない。また、A/
D変換器とディジタル演算機能を1チップに集積した専
用LSIでは個々のA/D変換器の出力を外部に出力す
るプログラムを必要とする。一方、電力用計器に用いら
れているLSIに内蔵した数値演算プロセッサの能力及
びプログラム・ステップ数の限界から考慮すると補正関
数はヒステリシス特性を持たない3次程度の多項式とな
る。従って本発明の目的は、電力用計器における入力セ
ンサ回路等で生じる非線形性誤差及び位相誤差の補正関
数の補正係数を求め、電力用計器にその補正係数を書き
込むことのできる電力用計器調整方法の実現にある。
However, since the transfer characteristic of the transformer has hysteresis, it is necessary to assume a correction function model having the hysteresis characteristic.
For error measurement, measure the transformer and A / D converter separately before mounting on the product, calculate the correction coefficient from this error measurement result, write it in a storage element such as ROM, and mount it on the product. ing. As a result, the above-described adjustment operation must be performed for readjustment such as replacement of parts. Also, A /
A dedicated LSI in which a D converter and a digital operation function are integrated on one chip requires a program for outputting the output of each A / D converter to the outside. On the other hand, the correction function is a polynomial of the third order, which does not have a hysteresis characteristic, considering the capability of the numerical operation processor incorporated in the LSI used in the power meter and the limit of the number of program steps. Therefore, an object of the present invention is to provide a power meter adjusting method capable of obtaining a correction coefficient of a correction function of a non-linearity error and a phase error generated in an input sensor circuit or the like in a power meter and writing the correction coefficient in the power meter. It is in realization.

【0006】[0006]

【課題を解決するための手段】このような目的を達成す
るために、本発明の第1は、記憶素子に格納されている
補正関数により計器の非線形特性を補正する電力用計器
の調整方法において、正弦波信号を前記電力用計器に入
力し、前記電力用計器のヒステリシス特性による非線形
成分を含む出力を波形データとし、この波形データから
前記正弦波信号を推定し、この推定した正弦波信号と前
記波形データから最小二乗法により前記ヒステリシス特
性をヒステリシス特性を持たない多項式から成る補正関
数で近似し、前記電力用計器の前記記憶素子に前記補正
関数の補正係数を格納することを特徴とするものであ
る。本発明の第2は、記憶素子に格納されている補正関
数により計器の位相誤差を補正する電力用計器の調整方
法において、正弦波信号を前記電力用計器に入力し、前
記電力用計器の位相誤差特性を含む出力を波形データと
し、この波形データから前記正弦波信号を推定し、この
推定した正弦波信号と前記波形データから最小二乗法に
より補正関数で近似し、前記電力用計器の前記記憶素子
に前記補正関数の補正係数を格納することを特徴とする
ものである。
In order to achieve such an object, a first aspect of the present invention is a power meter adjusting method for correcting a non-linear characteristic of the meter by a correction function stored in a storage element. , A sine wave signal is input to the power meter, an output including a non-linear component due to a hysteresis characteristic of the power meter is waveform data, the sine wave signal is estimated from the waveform data, and the estimated sine wave signal and The hysteresis characteristic is approximated by a least squares method from the waveform data by a correction function composed of a polynomial having no hysteresis characteristic, and the correction coefficient of the correction function is stored in the storage element of the power meter. Is. A second aspect of the present invention is a power meter adjusting method for correcting a phase error of a meter by a correction function stored in a storage element, wherein a sine wave signal is input to the power meter and a phase of the power meter is input. An output including an error characteristic is waveform data, the sine wave signal is estimated from the waveform data, and the estimated sine wave signal and the waveform data are approximated by a correction function by the least square method, and the storage of the power meter is performed. A correction coefficient of the correction function is stored in the element.

【0007】[0007]

【作用】電力用計器調整方法により、ヒステリシス特性
を有する非線形性誤差の補正関数をヒステリシス特性を
持たない多項式により近似し、その補正係数を求め、ま
た、位相誤差の補正式の補正係数を求め電力用計器の記
憶素子にこれらを書き込み、非線形性誤差及び位相誤差
の補正をすることにより、電力用計器の精度が向上す
る。
With the power meter adjusting method, the correction function for the non-linearity error having the hysteresis characteristic is approximated by the polynomial not having the hysteresis characteristic, the correction coefficient is obtained, and the correction coefficient of the phase error correction equation is obtained. By writing these in the storage element of the power meter and correcting the non-linearity error and the phase error, the accuracy of the power meter is improved.

【0008】[0008]

【実施例】以下本発明を図面を用いて詳細に説明する。
図1は本発明に係る電力用計器調整方法の第1の実施例
において用いる電力用計器調整装置を示す構成ブロック
図である。100は調整対象である電力用計器、6は電
力用計器100に正弦波を供給する信号源、7は信号源
6、その他測定器を制御するワークステーション、8は
電力用計器100とワークステーション7間のインター
フェイス、9は電力用計器100に供給するための電源
である。また、電力用計器100は補正関数の補正係数
を格納する記憶素子10、入力信号をアナログ・ディジ
タル変換し、演算して表示若しくは出力を制御するAS
IC(Application specific integrated circuit :以
下ASIC回路と呼ぶ)回路11から構成されている。
12は記憶素子10に補正関数の補正係数を書き込むた
めの書込み器である。ここで、信号源6は調整において
要求される許容誤差と比較して十分に低歪である信号源
を用いる。
DESCRIPTION OF THE PREFERRED EMBODIMENTS The present invention will be described in detail below with reference to the drawings.
FIG. 1 is a block diagram showing a power meter adjusting apparatus used in a first embodiment of a power meter adjusting method according to the present invention. Reference numeral 100 is a power meter to be adjusted, 6 is a signal source that supplies a sine wave to the power meter 100, 7 is a signal source 6, and a workstation for controlling other measuring instruments. 8 is a power meter 100 and a workstation 7. An interface 9 between them is a power supply for supplying the power meter 100. In addition, the power meter 100 is a storage element 10 that stores a correction coefficient of a correction function, an AS that performs analog / digital conversion of an input signal, and calculates and controls display or output.
It is composed of an IC (Application specific integrated circuit: hereinafter referred to as ASIC circuit) circuit 11.
Reference numeral 12 is a writer for writing the correction coefficient of the correction function in the storage element 10. Here, as the signal source 6, a signal source having sufficiently low distortion as compared with the tolerance required for adjustment is used.

【0009】電力用計器100はASIC回路11内に
A/D変換器、マイクロプロセッサ等を有する。通常動
作においては、取り込んだ電圧及び電流をA/D変換し
た後、記憶素子10に格納されている補正関数の補正係
数により補正し、電力等の演算して結果を出力する。
The power meter 100 has an A / D converter, a microprocessor and the like in the ASIC circuit 11. In the normal operation, after the voltage and current that have been taken in are A / D converted, they are corrected by the correction coefficient of the correction function stored in the storage element 10, and the power and the like are calculated and the result is output.

【0010】図1の動作を図2のフローチャートを用い
て説明する。まず、ワークステーション7は電力用計器
100を校正モードに設定する。この状態では電力用計
器100は電力値等を出力するのではなく、各々の入力
電圧及び入力電流のA/D変換結果を逐次出力するよう
になる。信号源6より低歪の正弦波信号を電力用計器1
00に入力する。ワークステーション7は電力用計器1
00の各々のA/D変換結果出力を取り込み、波形デー
タとして保存し、この波形データに正弦関数を当てはめ
る、いわゆるサインカーブ・フィッティングにより、信
号源6の低歪の正弦波出力に含まれる基本波を推定し、
波形データの各測定点に対応する先に求めた基本波の瞬
時値を求める。その後、ワークステーション7は波形デ
ータの各測定点とその基本波の瞬時値とから補正関数の
係数を求める。さらに、求められた補正関数の係数は書
込み器12によって電力用計器100の記憶素子10に
書き込まれる。
The operation of FIG. 1 will be described with reference to the flowchart of FIG. First, the workstation 7 sets the power meter 100 in the calibration mode. In this state, the power meter 100 does not output the power value or the like, but sequentially outputs the A / D conversion result of each input voltage and input current. A sine wave signal with low distortion from the signal source 6 is supplied to the power meter 1
Enter 00. Workstation 7 is power meter 1
The basic wave included in the low distortion sine wave output of the signal source 6 by so-called sine curve fitting in which each A / D conversion result output of 00 is stored as waveform data and a sine function is applied to this waveform data. And estimate
The instantaneous value of the fundamental wave previously obtained corresponding to each measurement point of the waveform data is obtained. After that, the workstation 7 obtains the coefficient of the correction function from each measurement point of the waveform data and the instantaneous value of its fundamental wave. Further, the coefficient of the obtained correction function is written in the storage element 10 of the power meter 100 by the writer 12.

【0011】ヒステリシス特性を有する非線形性誤差の
補正関数をヒステリシス特性を持たない多項式として求
める場合、例えば、LSI等の処理能力等を考慮して補
正関数として式(1)に示す3次多項式を考える。 f(x)=Ax3+Bx2+Cx+D (1) ここで、xは波形データの測定値 f(x)は基本波の瞬時値 A、B、C、Dは定数 式(1)は未知数が4個であるので、基本波の瞬時値と
波形データの測定値が4組あれば連立方程式により未知
数A、B、C及びDを求めることも可能である。しか
し、図3に示すようにヒステリシス特性を示す部分のデ
ータを用いた場合、そのデータの取り方によって未知数
A、B、C及びDの値が変動してしまい、図3における
非線形性特性“イ”に対して連立方程式により求めた補
正関数特性“ロ”は大きくずれてしまい、結果として正
確な補正関数は得られない。
When the correction function for the non-linearity error having the hysteresis characteristic is obtained as a polynomial not having the hysteresis characteristic, for example, the cubic polynomial shown in the equation (1) is considered as the correction function in consideration of the processing capability of the LSI or the like. .. f (x) = Ax 3 + Bx 2 + Cx + D (1) where x is the measured value of the waveform data, f (x) is the instantaneous value of the fundamental wave, A, B, C, and D are constants. Since there are four sets of the instantaneous values of the fundamental wave and the measured values of the waveform data, the unknowns A, B, C and D can be obtained by simultaneous equations. However, when the data of the portion showing the hysteresis characteristic as shown in FIG. 3 is used, the values of the unknowns A, B, C and D vary depending on the way of taking the data, and the nonlinear characteristic “a” in FIG. The correction function characteristic "b" obtained by the simultaneous equations for "is greatly deviated, and as a result, an accurate correction function cannot be obtained.

【0012】従って、測定点数を十分多くして、図4に
示すように最小二乗法を用いて統計的に最も分散が小さ
くなるよう未知数A、B、C及びDの値を求める必要が
ある。ここで、図4における“イ”は非線形性誤差特
性、“ハ”は最小二乗法による最小分散の補正関数特性
である。
Therefore, it is necessary to increase the number of measurement points sufficiently and obtain the values of the unknowns A, B, C and D by using the least square method as shown in FIG. Here, "a" in FIG. 4 is a non-linearity error characteristic, and "c" is a minimum variance correction function characteristic by the least square method.

【0013】ここで、最小二乗法を最尤推定法として用
いる場合、前提条件が5つある。しかし、ヒステリシス
特性を有する非線形性誤差の補正関数としてヒステリシ
ス特性を持たない3次多項式を当てはめる場合、図5に
おけるループを描いた部分“ニ”の測定値分布が2つの
正規分布であるので、5つの前提条件のうち(1)誤差
の分布形は正規分布、及び(2)モデルに近似誤差がな
いという前提条件は成立しない。後者の前提の不成立は
高次歪みを補正対象外として無視することにより前提を
緩和する。また、前者の前提の不成立から最尤推定法で
はなくなるが、Gauss-Markovの定理より最小の分散を与
える方法(線形不偏最良推定法)であることが示されて
いるので、補正関数を求める方法として十分である。つ
まり、最小二乗法を線形不偏最良推定法として用いるこ
とによって補正関数の4個の未知数A、B、C及びDの
値を求めることが可能である。
When the least squares method is used as the maximum likelihood estimation method, there are five prerequisites. However, when a third-order polynomial that does not have a hysteresis characteristic is applied as a correction function for a non-linearity error that has a hysteresis characteristic, the measured value distribution of the portion "D" that depicts the loop in FIG. Among the two preconditions, (1) the distribution form of the error is a normal distribution, and (2) the precondition that the model has no approximation error does not hold. If the latter premise is not satisfied, the premise is relaxed by ignoring the higher-order distortion as a non-correction target. Also, although the maximum likelihood estimation method is no longer applicable due to the failure of the former premise, it is shown from the Gauss-Markov theorem that it is the method that gives the minimum variance (the linear unbiased best estimation method). Is enough as. That is, it is possible to obtain the values of the four unknowns A, B, C and D of the correction function by using the least squares method as the linear unbiased best estimation method.

【0014】なお、図5におけるループを描いた部分
“ニ”の往路と復路における測定値分布はそれぞれ正規
分布であるので、往復合わせての測定値分布の平均は、
往路及び復路の平均値の算術平均となる。この測定値分
布の平均値カーブに沿って分散が最小となるので、平均
値カーブに補正関数を当てはめればよい。この平均値カ
ーブを求めるには、A/D変換器の変換出力コード毎に
基本波の瞬時値の平均を取ればよい。但し、高分解能の
A/D変換器であるほど出力コードの階調数が多くな
り、全ての出力コードについて充分な数のサンプルを得
て平均をとるには、最小二乗法による場合より測定回数
を多くする必要がある。
Since the measured value distributions on the outward and return paths of the portion "D" in which the loop is drawn in FIG. 5 are normal distributions, the average of the measured value distributions for the reciprocating movement is:
It is the arithmetic mean of the average values of the forward and return passes. Since the variance is minimum along the average value curve of this measured value distribution, a correction function may be applied to the average value curve. This average value curve can be obtained by averaging the instantaneous values of the fundamental wave for each conversion output code of the A / D converter. However, the higher the resolution of the A / D converter, the greater the number of gradations of the output code, and in order to obtain a sufficient number of samples for all output codes and average them, the number of measurement Need to be a lot.

【0015】図7は本発明に係る電力用計器調整方法の
第2の実施例において用いる電力用計器調整装置を示す
構成ブロック図である。110は調整対象である電力用
計器である。図7において50はASIC回路である。
このASIC回路50には外部から次のような素子が接
続される。すなわち、13、15及び17は3つの電圧
信号用トランス、14、16及び18は3つの電流信号
用トランス、抵抗37、38及び39はそれぞれ電圧信
号用トランス13、15及び17の1次側巻線と直列に
接続し、それぞれ電圧信号入力V1、V2及びV3を電
流信号に変換する抵抗、抵抗40から45はそれぞれト
ランス13から18の2次側電流を電圧に変換する抵
抗、46はクロック発生用の水晶発振子、33は演算係
数設定用のEEPROM(Electrically Erasable and
Programmable ROM)等の記憶素子、47は表示用のメ―
タである。
FIG. 7 is a block diagram showing the configuration of a power meter adjusting apparatus used in the second embodiment of the power meter adjusting method according to the present invention. Reference numeral 110 is a power meter to be adjusted. In FIG. 7, reference numeral 50 is an ASIC circuit.
The following elements are externally connected to the ASIC circuit 50. That is, 13, 15 and 17 are three voltage signal transformers, 14, 16 and 18 are three current signal transformers, and resistors 37, 38 and 39 are primary side windings of the voltage signal transformers 13, 15 and 17, respectively. A resistor connected in series with the line for converting the voltage signal inputs V1, V2 and V3 into a current signal, resistors 40 to 45 respectively converting the secondary side currents of the transformers 13 to 18 into a voltage, and 46 a clock generator Crystal oscillator, and 33 is an EEPROM (Electrically Erasable and
A storage element such as a programmable ROM), and 47 is a display memory.
It is

【0016】ASIC回路50において、19から24
はそれぞれ抵抗40から45の両端に生じる電圧をディ
ジタル信号に変換するA/D変換器、48は抵抗40か
ら45の一端が接続するアナロググランド回路、25は
A/D変換器19から24の出力を入力するディジタル
信号処理回路(Degital Signal Processor;以下DSP
回路と呼ぶ)、26及び27はDSP回路25の出力を
PWM出力に変換するPWM回路、28はDSP回路2
5の出力に基づいてデータ出力およびクロック出力を発
生するディジタル出力回路、36は水晶発振子46が接
続し、発振によりクロックパルスを発生するクロック回
路、34はコントロール回路であり、クロック回路36
の出力を基準クロックとし制御信号を発生させる。ま
た、35はトライステート(3状態)バッファ回路であ
り制御信号201によりアドレスバスを外部回路から遮
断する。
In the ASIC circuit 50, 19 to 24
Is an A / D converter for converting the voltage generated across the resistors 40 to 45 into a digital signal, 48 is an analog ground circuit to which one end of the resistors 40 to 45 is connected, and 25 is an output of the A / D converters 19 to 24. Input Digital Signal Processing Circuit (Degital Signal Processor; hereinafter DSP)
Circuit), 26 and 27 are PWM circuits for converting the output of the DSP circuit 25 into PWM outputs, and 28 is the DSP circuit 2
A digital output circuit for generating a data output and a clock output based on the output of 5, a clock circuit 36 connected to a crystal oscillator 46 and generating a clock pulse by oscillation, a control circuit 34, and a clock circuit 36
The control signal is generated by using the output of the reference clock as the reference clock. Further, 35 is a tri-state (3 state) buffer circuit, which cuts off the address bus from the external circuit by the control signal 201.

【0017】また、31はワークステーション、30は
ワークステーション31と電力用計器110とのインタ
ーフェイス回路、32は演算係数設定用の記憶素子33
にデータを書き込むための書込み器である。ここでは電
源電圧VDDが5Vの場合を示している。
Further, 31 is a work station, 30 is an interface circuit between the work station 31 and the power meter 110, and 32 is a storage element 33 for setting a calculation coefficient.
Is a writer for writing data to. Here, the case where the power supply voltage V DD is 5 V is shown.

【0018】電力用計器110では、外部から入力され
た6つの電圧電流信号V1からV3及びI1からI3各
トランス13から18の1次側に入力され、トランス1
3から18の2次出力がそれぞれASIC回路50のA
/D変換器19から24によってディジタル信号に変換
される。このディジタル信号に対し、DSP回路25で
トランス特性の補正演算や電力の演算等が行なわれる。
その演算結果がPWM出力回路26及び27でPWM出
力に変換され、ディジタル出力回路28で所定のディジ
タル出力に変換される。マルチプレクサ回路29ではコ
ントロール回路34の制御信号202によりディジタル
出力回路28及びA/D変換器19から24の出力が切
り換えられる。
In the power meter 110, the six voltage / current signals V1 to V3 and I1 to I3 input from the outside are input to the primary sides of the transformers 13 to 18, respectively.
The secondary outputs of 3 to 18 are A of the ASIC circuit 50, respectively.
The signals are converted into digital signals by the / D converters 19 to 24. With respect to this digital signal, the DSP circuit 25 performs a transformer characteristic correction calculation, an electric power calculation, and the like.
The calculation result is converted into a PWM output by the PWM output circuits 26 and 27, and converted into a predetermined digital output by the digital output circuit 28. In the multiplexer circuit 29, the outputs of the digital output circuit 28 and the A / D converters 19 to 24 are switched by the control signal 202 of the control circuit 34.

【0019】記憶素子33には演算の選択,演算順序,
演算係数,補正係数,スケーリング係数等が書込まれて
おり、ASIC回路50がこれを読出すことにより必要
な演算が行なわれる。したがって記憶素子33を書き直
すことにより、容易にその機能,特性等を変更すること
ができる。
In the memory element 33, the selection of operations, the order of operations,
The calculation coefficient, the correction coefficient, the scaling coefficient, and the like are written, and the ASIC circuit 50 reads them to perform the necessary calculation. Therefore, by rewriting the memory element 33, its function, characteristics, etc. can be easily changed.

【0020】図7の動作を図8のフローチャートを用い
て説明する。まず、ワークステーション31は電力用計
器110の電源をONにし、正弦波入力信号を加え、校
正モードに設定する。この状態では電力用計器110は
電力値等を出力するのではなく、入力電圧及び入力電流
のA/D変換結果を逐次出力するようになる。次に、ワ
ークステーション31は電力用計器110の各々のA/
D変換結果出力を取り込み、波形データとして保存し、
この波形データに正弦関数を当てはめる、いわゆるサイ
ンカーブ・フィッティングにより、入出力間の非線形誤
差及び入力チャネル間の位相誤差を求め、最小二乗法に
より補正係数を求める。また、求めた補正係数をマイク
ロプログラムに変換し、書込み器22によって電力用計
器110の記憶素子33に書き込む。最後に、ワークス
テーション31は正弦波入力信号の印加をやめ、電力用
計器110の電源をOFFにする。
The operation of FIG. 7 will be described with reference to the flowchart of FIG. First, the workstation 31 turns on the power source of the power meter 110, applies a sine wave input signal, and sets the calibration mode. In this state, the power meter 110 does not output the power value or the like, but sequentially outputs the A / D conversion result of the input voltage and the input current. Next, the workstation 31 uses the A / A of each power meter 110.
Capture the D conversion result output, save it as waveform data,
By applying a sine function to this waveform data, so-called sine curve fitting, the nonlinear error between the input and output and the phase error between the input channels are obtained, and the correction coefficient is obtained by the least square method. In addition, the obtained correction coefficient is converted into a microprogram, and is written in the storage element 33 of the power meter 110 by the writer 22. Finally, the workstation 31 stops applying the sine wave input signal and turns off the power meter 110.

【0021】ここで、非線形誤差及び位相誤差の補正
式、補正アルゴリズムの例を示す。補正演算は、非直線
誤差補正回路の入力信号をx、出力をyとしたとき、次
式で表される。 y=ax3+bx2+cx (2) このときの補正係数a,b,cは使用するトランスの非
直線誤差特性をあらかじめ測定して求め、記憶素子33
に書込んでおく。ここで、非直線誤差は周波数特性も持
っているので、さらに精度を高めるために(2)式を周
波数の関数とすることができる。すなわち、次のように
a,b,cを周波数の関数とすればよい。 a=a1・f+a2 (3) b=b1・f+b2 (4) c=c1・f+c2 (5) このような構成の電力用計器によれば、トランスの非直
線誤差が演算により補正されるので、電力値等の表示精
度が改善される。
Here, examples of correction equations and correction algorithms for nonlinear error and phase error will be shown. The correction calculation is represented by the following equation, where x is an input signal and y is an output of the nonlinear error correction circuit. y = ax 3 + bx 2 + cx (2) The correction coefficients a, b, and c at this time are obtained by previously measuring the nonlinear error characteristics of the transformer to be used, and the storage element 33
Write in. Here, since the non-linear error also has a frequency characteristic, the expression (2) can be a function of frequency in order to further improve the accuracy. That is, a, b and c may be functions of frequency as follows. a = a 1 · f + a 2 (3) b = b 1 · f + b 2 (4) c = c 1 · f + c 2 (5) According to the power meter having such a configuration, the nonlinear error of the transformer is calculated. Since it is corrected, the display accuracy of the power value and the like is improved.

【0022】また、位相補正演算は下式に基づいて行わ
れる。 D2(n)=(1−α)・D1(n−1)+αD1(n) (6) 但し、D1(i) は補正前のデータ列、D2(i) は補正後
のデータ列、αは補正係数(0≦α≦1)である。A/
D変換器のサンプリング周期をTS とすると、補正時間
は(1−α)TS である。これを位相に変換すると、信
号周波数がfのとき Δθ=(1−α)TS×f×360 (度) (7) となる。ここで、トランスの位相誤差は周波数依存性が
あるため、補正係数αは周波数fの関数となる。例えば
1次式の場合、 α=α1・f+α2 (8) となる。
Further, the phase correction calculation is performed based on the following equation. D 2 (n) = (1-α) D 1 (n-1) + αD 1 (n) (6) where D 1 (i) is the data string before correction and D 2 (i) is the data line after correction The data string, α is a correction coefficient (0 ≦ α ≦ 1). A /
When the sampling period of the D converter is T S , the correction time is (1−α) T S. When this is converted into a phase, Δθ = (1−α) T S × f × 360 (degrees) (7) when the signal frequency is f. Here, since the phase error of the transformer has frequency dependence, the correction coefficient α is a function of the frequency f. For example, in the case of a linear expression, α = α 1 · f + α 2 (8).

【0023】また、演算の係数を記憶素子等に記憶させ
る構成としているので、異なるトランスに対しても、記
憶素子の書き直しで係数を変更するだけで容易に対応す
ることができる。
Further, since the coefficient of operation is stored in the memory element or the like, it is possible to easily cope with a different transformer by rewriting the memory element and changing the coefficient.

【0024】図9はDSP回路25における演算のデー
タフローの具体例を示す図である。以下その各記号が示
す機能を簡単に説明する。 (1) LIN トランスの非直線性を3次式で補正。 (2) HPF ハイパスフィルタで直流成分の除去。 (3) PI/2 電圧信号の位相をπ/2シフト(無効電力の演算用)。 (4) PHASE 電流信号の位相補正(位相を遅らせる):測定系に存在
する電流信号側と電圧信号側との位相誤差を補正する。 (5) × 乗算。 (6) LPF1 ローパスフィルタ(トライアングルフィルタ)で乗算結
果の加算平均を行う。 (7) X1/2 平方根演算。 (8) + 加算。 (9) (X2+Y21/2 皮相電力の大きさを求める。 (10) tan-1 皮相電力の位相角を求める。 (11) X/Y 力率cosφを求める。 (12) 1−X (1−cosφ)を求める。 (13) >0 Qの符号の検出:結果→n (14) mnX,mX 符号の演算。 m:外部から指定する極性切換 n:Qの符号(=S(Q)) mS(Q)cosφ,mS(Q)(1−cosφ),m
φを求める。 (15) 6−1 6:1のマルチプレクサ。 (16) ZCD ゼロクロス検出。 (17) LPF3 ローパスフィルタ(トライアングル・フィルタ):ZC
D出力を加算平均し周波数を求める(信号32周期分の
平均をとる)。 (18) F.SEL 出力機能選択:(14)のmnX,mXの演算結果から
出力する結果を選択。 (19) PWM1,2 LIN 出力のスケーリングを行う(ゼロ,スパン調整)。
FIG. 9 is a diagram showing a specific example of the data flow of the operation in the DSP circuit 25. The function indicated by each symbol will be briefly described below. (1) Correct the non-linearity of the LIN transformer with a cubic equation. (2) DC component is removed by HPF high-pass filter. (3) PI / 2 The phase of the voltage signal is shifted by π / 2 (for reactive power calculation). (4) PHASE Phase correction of the current signal (delay the phase): The phase error between the current signal side and the voltage signal side existing in the measurement system is corrected. (5) x multiplication. (6) LPF1 The low-pass filter (triangle filter) is used to average the multiplication results. (7) X 1/2 square root calculation. (8) + addition. (9) Obtain the magnitude of (X 2 + Y 2 ) 1/2 apparent power. (10) tan -1 Obtain the phase angle of apparent power. (11) Obtain the X / Y power factor cosφ. (12) Obtain 1-X (1-cos φ). (13) Detection of code of> 0 Q: result → n (14) mnX, mX operation of code. m: polarity switching specified from outside n: sign of Q (= S (Q)) mS (Q) cosφ, mS (Q) (1-cosφ), m
Find φ. (15) 6-1 6: 1 multiplexer. (16) ZCD zero-cross detection. (17) LPF3 low pass filter (triangle filter): ZC
The D output is added and averaged to obtain the frequency (the signal for 32 cycles is averaged). (18) F. SEL output function selection: Select the result to be output from the calculation results of mnX and mX in (14). (19) Perform PWM1, LIN output scaling (zero and span adjustment).

【0025】また、式(3)、(4)、(5)及び
(8)の係数とDSP回路25におけるパラメータ名と
の対応を以下にに示す。 A1、A2、A3、D1、D2、D3 → a B1、B2、B3、E1、E2、E3 → b C1、C2、C3、F1、F2、F3 → c G1、G2、G3 → α11、H2、H3 → α2
The correspondence between the coefficients of the equations (3), (4), (5) and (8) and the parameter names in the DSP circuit 25 is shown below. A 1 , A 2 , A 3 , D 1 , D 2 , D 3 → a B 1 , B 2 , B 3 , E 1 , E 2 , E 3 → b C 1 , C 2 , C 3 , F 1 , F 2 , F 3 → c G 1 , G 2 , G 3 → α 1 H 1 , H 2 , H 3 → α 2

【0026】[0026]

【発明の効果】以上説明したことから明らかなように、
本発明によれば次のような効果がある。すなわち、最小
二乗法を用いて非線形性誤差の補正関数及び位相誤差の
補正関数の補正係数を求め、これらを電力用計器の記憶
素子に書き込み、非線形性誤差及び位相誤差の補正をす
ることにより、電力用計器全体の精度が向上する。ま
た、電力計器組立後に入力回路とA/D変換器等の誤差
を一括して補正するので、部品個別の測定が不要とな
り、再調整時においても部品交換の手間がいらず工数等
が削減できる。図6に第1の実施例で求めた補正関数を
用いてシミュレーションを行った結果を示す。5Aのフ
ルスケールに対して±0.17%ofFSの非直線性が
補正関数を用いて補正することにより±0.07%of
FSの非直線性まで改善された。
As is clear from the above description,
The present invention has the following effects. That is, the correction coefficient of the correction function of the non-linearity error and the correction function of the phase error is obtained by using the least squares method, and these are written in the storage element of the power meter to correct the non-linearity error and the phase error. The accuracy of the entire power meter is improved. Further, since the errors of the input circuit and the A / D converter are collectively corrected after assembling the power meter, it is not necessary to measure each component individually, and it is possible to reduce the man-hours and the like without the trouble of component replacement even at the time of readjustment. .. FIG. 6 shows the result of simulation performed using the correction function obtained in the first embodiment. The non-linearity of ± 0.17% of FS with respect to the full scale of 5 A is ± 0.07% of by correcting using the correction function.
It was improved to the non-linearity of FS.

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

【図1】本発明に係る電力用計器調整方法の第1の実施
例を実施するための調整装置を示す構成ブロック図であ
る。
FIG. 1 is a configuration block diagram showing an adjusting device for carrying out a first embodiment of a power meter adjusting method according to the present invention.

【図2】図1の装置の動作を説明するフローチャートで
ある。
FIG. 2 is a flowchart illustrating the operation of the device of FIG.

【図3】連立方程式で求めた補正関数と非線形性特性の
関係例を示す特性曲線図である。
FIG. 3 is a characteristic curve diagram showing an example of a relationship between a correction function obtained by simultaneous equations and a nonlinear characteristic.

【図4】最小二乗法で求めた補正関数と非線形性特性の
関係例を示す特性曲線図である。
FIG. 4 is a characteristic curve diagram showing an example of a relationship between a correction function obtained by the least square method and a non-linearity characteristic.

【図5】測定値の確率密度分布を示す特性曲線図であ
る。
FIG. 5 is a characteristic curve diagram showing a probability density distribution of measured values.

【図6】第1の実施例で求めた補正関数を用いてシミュ
レーションを行った結果を示す特性曲線図である。
FIG. 6 is a characteristic curve diagram showing a result of simulation performed using the correction function obtained in the first embodiment.

【図7】本発明に係る電力用計器調整方法の第2の実施
例を実施するための調整装置を示す構成ブロック図であ
る。
FIG. 7 is a structural block diagram showing an adjusting device for carrying out a second embodiment of the power meter adjusting method according to the present invention.

【図8】図7の装置の動作を説明するフローチャートで
ある。
FIG. 8 is a flowchart illustrating the operation of the apparatus of FIG.

【図9】ディジタル信号処理回路のシグナルフローを示
すフロー図である。
FIG. 9 is a flowchart showing a signal flow of a digital signal processing circuit.

【図10】従来の電力用計器の一例を示す構成ブロック
図である。
FIG. 10 is a configuration block diagram showing an example of a conventional power meter.

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

1,13,14,15,16,17,18 トランス 2 アナログ演算回路 3 表示手段 4,19,20,21,22,23,24 A/D変換
器 5 ディジタル演算器 6 信号源 7,31 ワークステーション 8 インターフェイス 9 電源 10,33 記憶素子 11,50 ASIC回路 12,32 書込み器 25 ディジタル信号処理回路 26,27 PWM回路 28 ディジタル出力回路 29 マルチプレクサ回路 30 インターフェイス回路 33 記憶素子 34 コントロール回路 35 トライステートバッファ回路 36 クロック回路 37,38,39,40,41,42,43,44,4
5 抵抗 46 水晶発振子 47 メータ 48 アナロググランド回路 100,110 電力用計器 201,202 制御信号
1,13,14,15,16,17,18 Transformer 2 Analog arithmetic circuit 3 Display means 4, 19, 20, 21, 22, 23, 24 A / D converter 5 Digital arithmetic unit 6 Signal source 7,31 Work Station 8 Interface 9 Power supply 10, 33 Storage element 11, 50 ASIC circuit 12, 32 Writer 25 Digital signal processing circuit 26, 27 PWM circuit 28 Digital output circuit 29 Multiplexer circuit 30 Interface circuit 33 Storage element 34 Control circuit 35 Tri-state buffer Circuit 36 Clock circuit 37, 38, 39, 40, 41, 42, 43, 44, 4
5 resistance 46 crystal oscillator 47 meter 48 analog ground circuit 100, 110 power meter 201, 202 control signal

───────────────────────────────────────────────────── フロントページの続き (72)発明者 今元 雅巳 東京都武蔵野市中町2丁目9番32号 横河 電機株式会社内 ─────────────────────────────────────────────────── ─── Continuation of the front page (72) Inventor Masami Imamoto 2-9-32 Nakamachi, Musashino-shi, Tokyo Yokogawa Electric Co., Ltd.

Claims (2)

【特許請求の範囲】[Claims] 【請求項1】記憶素子に格納されている補正関数により
計器の非線形特性を補正する電力用計器の調整方法にお
いて、 正弦波信号を前記電力用計器に入力し、前記電力用計器
のヒステリシス特性による非線形成分を含む出力を波形
データとし、 この波形データから前記正弦波信号を推定し、 この推定した正弦波信号と前記波形データから最小二乗
法により前記ヒステリシス特性をヒステリシス特性を持
たない多項式から成る補正関数で近似し、 前記電力用計器の前記記憶素子に前記補正関数の補正係
数を格納することを特徴とする電力用計器調整方法。
1. A power meter adjusting method for correcting a non-linear characteristic of a meter by a correction function stored in a storage element, wherein a sine wave signal is input to the power meter and a hysteresis characteristic of the power meter is used. An output including a non-linear component is used as waveform data, the sine wave signal is estimated from the waveform data, and the hysteresis characteristic is corrected by a least square method from the estimated sine wave signal and the waveform data. A power meter adjusting method characterized by approximating with a function and storing the correction coefficient of the correction function in the storage element of the power meter.
【請求項2】記憶素子に格納されている補正関数により
計器の位相誤差を補正する電力用計器の調整方法におい
て、 正弦波信号を前記電力用計器に入力し、前記電力用計器
の位相誤差特性を含む出力を波形データとし、 この波形データから前記正弦波信号を推定し、 この推定した正弦波信号と前記波形データから最小二乗
法により補正関数で近似し、 前記電力用計器の前記記憶素子に前記補正関数の補正係
数を格納することを特徴とする電力用計器調整方法。
2. A power meter adjusting method for correcting a phase error of a meter by a correction function stored in a storage element, wherein a sine wave signal is input to the power meter and a phase error characteristic of the power meter is inputted. The output including the waveform data, the sine wave signal is estimated from the waveform data, approximated with a correction function from the estimated sine wave signal and the waveform data by the least squares method, in the storage element of the power meter A method for adjusting an electric power meter characterized by storing a correction coefficient of the correction function.
JP04051411A 1991-11-01 1992-03-10 Power meter adjustment method Expired - Fee Related JP3077360B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP04051411A JP3077360B2 (en) 1991-11-01 1992-03-10 Power meter adjustment method

Applications Claiming Priority (3)

Application Number Priority Date Filing Date Title
JP3-287598 1991-11-01
JP28759891 1991-11-01
JP04051411A JP3077360B2 (en) 1991-11-01 1992-03-10 Power meter adjustment method

Publications (2)

Publication Number Publication Date
JPH05180878A true JPH05180878A (en) 1993-07-23
JP3077360B2 JP3077360B2 (en) 2000-08-14

Family

ID=26391946

Family Applications (1)

Application Number Title Priority Date Filing Date
JP04051411A Expired - Fee Related JP3077360B2 (en) 1991-11-01 1992-03-10 Power meter adjustment method

Country Status (1)

Country Link
JP (1) JP3077360B2 (en)

Cited By (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US7161514B2 (en) 2001-10-26 2007-01-09 Agilent Technologies, Inc. Calibration method for interleaving an A/D converter
CH700638A1 (en) * 2009-03-19 2010-09-30 Scuola Universitaria Professio Phase-locked loop for estimating phase of three sinusoidal signals, has phase detector and loop filter, where phase detector has input for each of three sinusoidal signals
JP2013106359A (en) * 2011-11-10 2013-05-30 Hitachi Ltd Digital protection control device
KR101471969B1 (en) * 2014-09-29 2014-12-11 (주)참네트 System and method for monitoring power consumption in real time
KR102097223B1 (en) * 2018-12-27 2020-04-03 한국산업기술대학교산학협력단 Method and apparatus for processing measured signal for high frequency oscilloscope
CN116148754A (en) * 2023-04-18 2023-05-23 石家庄科林电气股份有限公司 Electric energy meter adjusting method and device and electronic equipment

Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH0219728U (en) * 1988-07-26 1990-02-08
JPH0219727U (en) * 1988-07-26 1990-02-08
JPH03100118U (en) * 1990-01-31 1991-10-18

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH0219728U (en) * 1988-07-26 1990-02-08
JPH0219727U (en) * 1988-07-26 1990-02-08
JPH03100118U (en) * 1990-01-31 1991-10-18

Cited By (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US7161514B2 (en) 2001-10-26 2007-01-09 Agilent Technologies, Inc. Calibration method for interleaving an A/D converter
CH700638A1 (en) * 2009-03-19 2010-09-30 Scuola Universitaria Professio Phase-locked loop for estimating phase of three sinusoidal signals, has phase detector and loop filter, where phase detector has input for each of three sinusoidal signals
JP2013106359A (en) * 2011-11-10 2013-05-30 Hitachi Ltd Digital protection control device
KR101471969B1 (en) * 2014-09-29 2014-12-11 (주)참네트 System and method for monitoring power consumption in real time
KR102097223B1 (en) * 2018-12-27 2020-04-03 한국산업기술대학교산학협력단 Method and apparatus for processing measured signal for high frequency oscilloscope
CN116148754A (en) * 2023-04-18 2023-05-23 石家庄科林电气股份有限公司 Electric energy meter adjusting method and device and electronic equipment

Also Published As

Publication number Publication date
JP3077360B2 (en) 2000-08-14

Similar Documents

Publication Publication Date Title
US7555394B2 (en) Measuring circuit and a method for determining a characteristic of the impedance of a complex impedance element for facilitating characterization of the impedance thereof
KR0149016B1 (en) Adjustment circuit and method for solid-state electricity meter
US6377037B1 (en) Watt-hour meter with digital per-phase power factor compensation
US5642300A (en) Precision voltage/current/power source
JP4298075B2 (en) RMS value measuring method and apparatus
JPH04320972A (en) Data acquisition device provided with programmable bit serial signal processor
US4829239A (en) Multimeter
JP3077360B2 (en) Power meter adjustment method
US5402082A (en) Voltage and resistance synthesizer using pulse width modulation
EP0104999A2 (en) Gain switching device with reduced error for watt meter
JP2720970B2 (en) Measuring instrument
JP2010032299A (en) Temperature measuring circuit in flowmeter
JP3508489B2 (en) Calibration device for programmable comparator
JP4127676B2 (en) Electronic watt-hour meter and power-related quantity calculation circuit
JP2008101927A (en) Measuring instrument
JP2813508B2 (en) Electronic watt-hour meter
JP2007132897A (en) Measuring instrument
JP3060723B2 (en) Meter adjustment device for electric power
JPH08122166A (en) Method and instrument for measuring temperature
Gubisch et al. Power calibrator using sampled feedback for current and voltage
JP2982612B2 (en) PQ calculation correction method
RU2333505C1 (en) Differential voltmeter-controlled wide-range calibrator
JPH04370769A (en) Correction method of voltage and current signal by using a/d converter
JPH04131769A (en) Sampling type electric power meter
JP3474914B2 (en) Automatic balancing device

Legal Events

Date Code Title Description
LAPS Cancellation because of no payment of annual fees