JPH0772183A - Waveform data operation device - Google Patents

Waveform data operation device

Info

Publication number
JPH0772183A
JPH0772183A JP23877493A JP23877493A JPH0772183A JP H0772183 A JPH0772183 A JP H0772183A JP 23877493 A JP23877493 A JP 23877493A JP 23877493 A JP23877493 A JP 23877493A JP H0772183 A JPH0772183 A JP H0772183A
Authority
JP
Japan
Prior art keywords
frequency
waveform
input
circuit
clock signal
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
JP23877493A
Other languages
Japanese (ja)
Other versions
JP3284146B2 (en
Inventor
Katsuhiro Takeuchi
勝広 竹内
Kunihisa Kubota
訓久 久保田
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Hioki EE Corp
Original Assignee
Hioki EE Corp
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Hioki EE Corp filed Critical Hioki EE Corp
Priority to JP23877493A priority Critical patent/JP3284146B2/en
Publication of JPH0772183A publication Critical patent/JPH0772183A/en
Application granted granted Critical
Publication of JP3284146B2 publication Critical patent/JP3284146B2/en
Anticipated expiration legal-status Critical
Expired - Lifetime legal-status Critical Current

Links

Landscapes

  • Measurement Of Current Or Voltage (AREA)

Abstract

PURPOSE:To cope with a higher frequency input signal when calculating RMS value, etc., using a DSP by obtaining waveform data after generating a sampling clock which is N times larger than the input signal in a PLL circuit. CONSTITUTION:A synchronous clock signal which is output from a waveform shaping circuit 12 of an input signal is divided by a dividing ratio of 1/M corresponding to the frequency of the input signal by a frequency divider 18, thus maintaining the input signal frequency to a PLL circuit 13 to be within a certain range and generating a specific sampling clock by the PLL circuit 13 without being affected by the frequency of input signal.

Description

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

【0001】[0001]

【産業上の利用分野】この発明は被測定入力信号の電
流、電圧の平均値や実効値、もしくは電力の各パラメー
タなどを演算する波形データ演算装置に関し、さらに詳
しく言えば、リアルタイムでその演算を行なえるように
した波形データ演算装置に関するものである。
BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention relates to a waveform data calculation device for calculating the current and voltage average values or effective values of measured input signals, power parameters, and the like. The present invention relates to a waveform data calculation device that can be performed.

【0002】[0002]

【従来の技術】電流、電圧の実効値などを測定するに
は、まず、入力波形を所定のサンプリングクロックにし
たがってサンプリングし、その入力波形の1周期分(も
しくは数周期分)のデータを得、その後、一時的にサン
プリングを中断して実効値演算を行ない、実効値を得る
ようにしている。
2. Description of the Related Art In order to measure the effective values of current and voltage, first, an input waveform is sampled in accordance with a predetermined sampling clock to obtain data for one cycle (or several cycles) of the input waveform, After that, the sampling is temporarily interrupted and the effective value is calculated to obtain the effective value.

【0003】この方法において、入力波形の数周期分を
演算するものに関しては、平均値化処理を行なうため精
度の高い実効値が得られ、また、データを一旦ストレー
ジメモリに格納した後に演算を行なうのであれば、演算
処理方法に自由度があるという点では評価できるが、い
ずれにしても得られる実効値は数周期飛びの値であるた
め、その変動波形が粗削りになりがちで、リアルタイム
的に実効値を連続的に得ることができない。
In this method, with respect to the one for calculating several cycles of the input waveform, since the averaging process is performed, a highly accurate effective value can be obtained, and the calculation is performed after the data is once stored in the storage memory. If so, it can be evaluated in terms of the degree of freedom in the calculation processing method, but in any case, the effective value obtained is a value every few cycles, so the fluctuation waveform tends to be rough cut, and in real time. The effective value cannot be obtained continuously.

【0004】そこで、DSP(Digital Sig
nal Processer)を用いて、入力波形の1
周期内に実効値演算を行ない、その値を次の周期時に表
示可能とした例が図3に示されている。
Therefore, DSP (Digital Sig)
1) of the input waveform using
FIG. 3 shows an example in which the effective value is calculated within a cycle and the value can be displayed in the next cycle.

【0005】これによると、被測定入力信号は入力回路
11にて例えば所定のレベルに増幅された後、波形整形
回路12に入力される。同波形整形回路12は例えばゼ
ロクロスコンパレータからなり、ここで入力波形はその
基本波と同期した矩形波状の同期クロック信号として整
形され、次段のPLL(Phase−LockedLo
op)回路13に入力される。
According to this, the input signal to be measured is input to the waveform shaping circuit 12 after being amplified to a predetermined level by the input circuit 11, for example. The waveform shaping circuit 12 is composed of, for example, a zero-cross comparator, in which the input waveform is shaped as a rectangular-wave synchronous clock signal synchronized with its fundamental wave, and the PLL (Phase-LockedLo) of the next stage is formed.
Op) is input to the circuit 13.

【0006】PLL回路13はこの同期クロック信号を
受けて、それと同期したN倍(例えば512倍)の周波
数のサンプリングクロックを生成し、同クロック信号を
サンプルホールド回路14に与える。
The PLL circuit 13 receives the synchronous clock signal, generates a sampling clock having a frequency N times (for example, 512 times) synchronized with the synchronous clock signal, and supplies the same to the sample hold circuit 14.

【0007】これにより、入力波形はサンプルホールド
回路14において、その1周期からNポイントのデータ
がサンプリングされることになる。そして、それらのデ
ータは次段のA/D変換回路15にてディジタルデータ
に変換された後、DSPからなる演算処理手段16によ
り所定の演算が施され、その演算値がメモリ17に格納
される。
As a result, the input and hold circuit 14 samples N points of data from one cycle of the input waveform. Then, after the data is converted into digital data by the A / D conversion circuit 15 at the next stage, the arithmetic processing means 16 including the DSP performs a predetermined arithmetic operation, and the arithmetic value is stored in the memory 17. .

【0008】[0008]

【発明が解決しようとする課題】このようにして、1周
期ごとの例えば実効値がリアルタイムで求められるので
あるが、これによるとDSP16は入力信号の1周期以
内に演算処理を行なわなければならず、入力信号の周波
数が高くなると、演算処理が追い付かなくなってしま
う、という問題があった。
In this way, for example, the effective value for each cycle is obtained in real time. According to this method, the DSP 16 must perform the arithmetic processing within one cycle of the input signal. However, when the frequency of the input signal becomes high, there is a problem that the arithmetic processing cannot catch up.

【0009】[0009]

【課題を解決するための手段】この発明は上記した課題
を解決するためになされたもので、その構成上の特徴
は、入力波形を波形整形してその同期クロック信号を生
成する波形整形回路と、上記同期クロック信号を受けて
そのN倍の周波数のサンプリングクロック信号を出力す
るPLL回路と、同PLL回路からのサンプリングクロ
ック信号に基づいて上記入力波形をサンプリングしてデ
ィジタル波形データに変換するA/D変換回路と、その
波形データに所定の演算処理を施す演算処理手段とを備
え、上記入力波形の少なくとも1周期からn個の波形デ
ータを得て、同入力波形の実効値などを演算する波形デ
ータ演算装置において、上記波形整形回路から出力され
る同期クロック信号を1/M倍して上記PLL回路への
入力信号とする分周器と、上記入力波形の周波数を測定
する周波数測定回路と、同周波数測定回路にて測定され
た上記入力波形の周波数に応じて上記分周器の分周比1
/Mを変更させて上記PLL回路への入力信号周波数を
一定範囲に保つ制御手段とを備えていることにある。
SUMMARY OF THE INVENTION The present invention has been made to solve the above-mentioned problems, and its structural feature is to provide a waveform shaping circuit for shaping an input waveform to generate a synchronous clock signal thereof. A PLL circuit which receives the synchronous clock signal and outputs a sampling clock signal having a frequency N times that of the synchronous clock signal, and A / which samples the input waveform based on the sampling clock signal from the PLL circuit and converts it into digital waveform data A waveform that includes a D conversion circuit and an arithmetic processing unit that performs a predetermined arithmetic processing on the waveform data, obtains n pieces of waveform data from at least one cycle of the input waveform, and calculates an effective value of the input waveform. In the data arithmetic unit, the frequency division is performed by multiplying the synchronous clock signal output from the waveform shaping circuit by 1 / M to be an input signal to the PLL circuit. When the frequency measurement circuit, the frequency division ratio of the frequency divider according to the frequency of the measured the input waveform at the same frequency measurement circuit for measuring the frequency of the input waveform 1
/ M is changed to control the input signal frequency to the PLL circuit within a fixed range.

【0010】[0010]

【作用】図2には入力波形が示されているが、例えば同
図(a)の波形が100Hzで、これを基準しとた場
合、分周比は1/1とされる。これにより、PLL回路
への入力信号は100Hzとなり、これを受けてPLL
回路からはそれと同期したN倍(例えば512倍)の周
波数を有するサンプリングクロックが生成され、入力波
形の1周期(波形)から512個の波形データがサンプ
リングされる。
The input waveform is shown in FIG. 2. For example, the waveform in FIG. 2A is 100 Hz, and when this is used as a reference, the division ratio is 1/1. As a result, the input signal to the PLL circuit becomes 100 Hz.
A sampling clock having a frequency of N times (for example, 512 times) synchronized with the circuit is generated from the circuit, and 512 pieces of waveform data are sampled from one cycle (waveform) of the input waveform.

【0011】次に、同図(b)のように入力信号が20
0HzになるとMの値は2、すなわち分周比は1/2と
される。これによれば、入力波形は200Hzである
が、PLL回路への入力信号は100Hzであるため、
入力波形の2周期から512個の波形データがサンプリ
ングされることになる。
Next, as shown in FIG. 2B, the input signal is 20
At 0 Hz, the value of M is 2, that is, the division ratio is 1/2. According to this, the input waveform is 200 Hz, but since the input signal to the PLL circuit is 100 Hz,
From two cycles of the input waveform, 512 pieces of waveform data are sampled.

【0012】同様に、同図(c)には入力信号が600
Hzの例が示されており、この場合には、M=6で分周
比1/6とされ、6周期の内から512個の波形データ
がサンプリングされることになる。
Similarly, an input signal of 600 is shown in FIG.
An example of Hz is shown, and in this case, the division ratio is 1/6 when M = 6, and 512 pieces of waveform data are sampled from within 6 cycles.

【0013】[0013]

【実施例】図1にはこの発明に係る波形データ演算装置
の一実施例が示されているが、先に説明した図2と同一
の構成要素にはそれと同じ参照符号がつけられている。
DETAILED DESCRIPTION OF THE PREFERRED EMBODIMENTS FIG. 1 shows an embodiment of the waveform data arithmetic unit according to the present invention, in which the same components as those in FIG. 2 described above are designated by the same reference numerals.

【0014】この演算装置は、図2に示されている各構
成要素に加えて、波形整形回路12とPLL回路13と
の間に接続される分周器18と、入力信号の周波数を測
定する周波数測定回路19と、この周波数測定回路19
にて測定された周波数に基づいて分周器18の分周比を
変更させる制御手段としてのCPU(中央演算処理ユニ
ット)20とを備えている。
This arithmetic unit measures the frequency of an input signal and a frequency divider 18 connected between the waveform shaping circuit 12 and the PLL circuit 13 in addition to the components shown in FIG. Frequency measuring circuit 19 and this frequency measuring circuit 19
CPU (central processing unit) 20 as a control means for changing the frequency division ratio of the frequency divider 18 based on the frequency measured in Step 1.

【0015】なお、この実施例では周波数測定回路19
は入力回路11からの入力信号から直接その周波数を測
定するようにしているが、波形整形回路12から出力さ
れる同期クロック信号より周波数を測定するようにして
もよい。また、説明の便宜上、CPU20は分周器18
の分周比を変更するために、それ専用として示されてい
るが、他のCPUなどを兼用してもよいことはもちろん
である。
In this embodiment, the frequency measuring circuit 19
Although the frequency is measured directly from the input signal from the input circuit 11, the frequency may be measured from the synchronous clock signal output from the waveform shaping circuit 12. Further, for convenience of explanation, the CPU 20 uses the frequency divider 18
In order to change the frequency division ratio of the above, it is shown only for that, but it goes without saying that another CPU or the like may also be used.

【0016】分周器18の分周比1/M(ただし、Mは
正の整数)は周波数測定回路19にて測定される入力信
号の周波数に応じてCPU20により設定される。この
例ではその周波数レンジごとにその分周比が切り替えら
れるようになっている。
The frequency division ratio 1 / M (where M is a positive integer) of the frequency divider 18 is set by the CPU 20 according to the frequency of the input signal measured by the frequency measuring circuit 19. In this example, the frequency division ratio can be switched for each frequency range.

【0017】例えば、50Hz〜100Hzの範囲では
M=1で分周比は1/1、100Hzを超えて200H
zまではM=2で分周比は1/2、以後同様にして10
0Hz範囲ごとにM=3,4…と選択されるようになっ
ている。
For example, in the range of 50 Hz to 100 Hz, M = 1, the frequency division ratio is 1/1, and 200 H exceeds 100 Hz.
Up to z, M = 2 and the division ratio is 1/2.
.. is selected for each 0 Hz range.

【0018】ここで、PLL回路13がその入力信号に
対して例えば512倍のサンプリングクロックを生成す
るものとすれば、分周比は1/1の場合には入力波形の
1周期内から512個の波形データが等間隔でサンプリ
ングされることになる。
Here, assuming that the PLL circuit 13 generates a sampling clock of, for example, 512 times that of the input signal, if the frequency division ratio is 1/1, 512 clocks from within one cycle of the input waveform. Will be sampled at equal intervals.

【0019】これに対して、分周比が1/2になると、
入力波形の2周期内から512個の波形データが等間隔
でサンプリングされ、要するに分周比が1/Mの場合に
は入力波形のM周期中から512個の波形データが等間
隔でサンプリングされることになる。
On the other hand, when the division ratio becomes 1/2,
512 pieces of waveform data are sampled at equal intervals from within two cycles of the input waveform. In short, when the frequency division ratio is 1 / M, 512 pieces of waveform data are sampled at equal intervals from M cycles of the input waveform. It will be.

【0020】このようにして、サンプリングされた波形
データはA/D変換回路15にてディジタルデータに変
換された後、DSP16にてそれらの波形データから実
効値がリアルタイムで演算され、その値がメモリ17に
格納されるとともに、次の波形演算期間中に表示され
る。
In this way, the sampled waveform data is converted into digital data by the A / D conversion circuit 15, and the DSP 16 calculates the effective value in real time from the waveform data, and the value is stored in the memory. 17 and is displayed during the next waveform calculation period.

【0021】この発明によれば、分周比が1/1の場合
を除き、1周期のサンプル数が減少することになるが、
入力を高周波数にまで対応させることができる。なお、
このように1周期のサンプリング数は減少するにして
も、DSP16はその波形演算をその1周期内で処理す
る。これにより、サンプルデータを取り零すことなく、
リアルタイムで連続的に演算処理を行なうことができ
る。
According to the present invention, the number of samples in one cycle is reduced except when the frequency division ratio is 1/1.
The input can be adapted to high frequencies. In addition,
Even if the number of samplings in one cycle is reduced in this way, the DSP 16 processes the waveform calculation within the one cycle. As a result, without zeroing the sample data,
It is possible to continuously perform arithmetic processing in real time.

【0022】[0022]

【発明の効果】以上説明したように、この発明によれ
ば、入力信号の波形整形回路から出力される同期クロッ
ク信号を、その入力信号の周波数に応じた分周比で分周
して、PLL回路への入力信号周波数を一定範囲に保つ
ようにしたことにより、入力信号の周波数に拘らずDS
Pの波形演算期間が一定範囲内で納まるため、高い周波
数の入力信号にまで対応することができる。
As described above, according to the present invention, the synchronous clock signal output from the waveform shaping circuit of the input signal is divided by the division ratio according to the frequency of the input signal, and the PLL is obtained. By keeping the frequency of the input signal to the circuit within a certain range, the DS
Since the waveform calculation period of P is within a certain range, it is possible to handle an input signal of high frequency.

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

【図1】この発明に係る波形データ演算装置の一実施例
を示したブロック線図。
FIG. 1 is a block diagram showing an embodiment of a waveform data calculation device according to the present invention.

【図2】同実施例の作用を説明するための波形図。FIG. 2 is a waveform diagram for explaining the operation of the same embodiment.

【図3】従来例を示したブロック線図。FIG. 3 is a block diagram showing a conventional example.

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

11 入力回路 12 波形整形回路 13 PLL回路 14 サンプルホールド回路 15 A/D変換回路 16 DSP 18 分周器 19 周波数測定回路 20 CPU 11 input circuit 12 waveform shaping circuit 13 PLL circuit 14 sample hold circuit 15 A / D conversion circuit 16 DSP 18 frequency divider 19 frequency measurement circuit 20 CPU

Claims (1)

【特許請求の範囲】[Claims] 【請求項1】 入力波形を波形整形してその同期クロッ
ク信号を生成する波形整形回路と、上記同期クロック信
号を受けてそのN倍の周波数のサンプリングクロック信
号を出力するPLL回路と、同PLL回路からのサンプ
リングクロック信号に基づいて上記入力波形をサンプリ
ングしてディジタル波形データに変換するA/D変換回
路と、その波形データに所定の演算処理を施す演算処理
手段とを備え、上記入力波形の少なくとも1周期からn
個の波形データを得て、同入力波形の実効値などを演算
する波形データ演算装置において、 上記波形整形回路から出力される同期クロック信号を1
/M倍して上記PLL回路への入力信号とする分周器
と、上記入力波形の周波数を測定する周波数測定回路
と、同周波数測定回路にて測定された上記入力波形の周
波数に応じて上記分周器の分周比1/Mを変更させて上
記PLL回路への入力信号周波数を一定範囲に保つ制御
手段とを備えていることを特徴とする波形データ演算装
置。
1. A waveform shaping circuit for shaping an input waveform to generate a synchronizing clock signal thereof, a PLL circuit for receiving the synchronizing clock signal and outputting a sampling clock signal having a frequency N times that of the synchronizing clock signal, and the same PLL circuit. At least the input waveform is provided with an A / D conversion circuit for sampling the input waveform based on the sampling clock signal from the A / D converter and converting it into digital waveform data, and an arithmetic processing means for performing a predetermined arithmetic processing on the waveform data. 1 cycle to n
In a waveform data calculation device that obtains individual waveform data and calculates the effective value of the same input waveform, the synchronization clock signal output from the waveform shaping circuit is set to 1
/ M times the frequency divider that is used as the input signal to the PLL circuit, the frequency measuring circuit that measures the frequency of the input waveform, and the frequency corresponding to the frequency of the input waveform measured by the frequency measuring circuit. A waveform data arithmetic apparatus, comprising: a control means for changing the frequency division ratio 1 / M of the frequency divider to keep the frequency of an input signal to the PLL circuit within a certain range.
JP23877493A 1993-08-31 1993-08-31 Waveform data calculation device Expired - Lifetime JP3284146B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP23877493A JP3284146B2 (en) 1993-08-31 1993-08-31 Waveform data calculation device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP23877493A JP3284146B2 (en) 1993-08-31 1993-08-31 Waveform data calculation device

Publications (2)

Publication Number Publication Date
JPH0772183A true JPH0772183A (en) 1995-03-17
JP3284146B2 JP3284146B2 (en) 2002-05-20

Family

ID=17035080

Family Applications (1)

Application Number Title Priority Date Filing Date
JP23877493A Expired - Lifetime JP3284146B2 (en) 1993-08-31 1993-08-31 Waveform data calculation device

Country Status (1)

Country Link
JP (1) JP3284146B2 (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2008064493A (en) * 2006-09-05 2008-03-21 Yokogawa Electric Corp Measuring device

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2008064493A (en) * 2006-09-05 2008-03-21 Yokogawa Electric Corp Measuring device
JP4665875B2 (en) * 2006-09-05 2011-04-06 横河電機株式会社 measuring device

Also Published As

Publication number Publication date
JP3284146B2 (en) 2002-05-20

Similar Documents

Publication Publication Date Title
JPH04229B2 (en)
JP4955196B2 (en) AC signal measuring device
JPH0772183A (en) Waveform data operation device
JP2000180484A (en) Apparatus for measuring harmonic wave
JPH03263924A (en) Digital measuring method and device for periodical signal
JPH06308167A (en) Measurement device of effective value
JP2009216617A (en) Sampling clock generation circuit and alternating current signal measuring device
JP3284145B2 (en) PLL synchronous measuring device
JPH06249892A (en) Operation method of waveform data
JPH05180888A (en) Signal evaluating device
JPH05188105A (en) Impulse response measuring apparatus
JP3464692B2 (en) RMS measurement device
JPH0798336A (en) Sampling type measuring device
JPS6321511A (en) Testing pulse oscillator
JP2000295298A (en) Automatic eye numerical aperture measuring method and its instrument
JPH1164411A (en) Apparatus for measuring flicker of system voltage
JPH0430550B2 (en)
JPH08152488A (en) Time measuring device
JPH0894690A (en) Servo analyzer
JP2002214260A (en) Harmonic analyzer
JP3314843B2 (en) AC measuring device
JPH04299269A (en) Measuring apparatus for wide-band effective value
JPH04286965A (en) Effective value measuring device
JPH0249573Y2 (en)
JPH06289066A (en) Ac input measuring apparatus

Legal Events

Date Code Title Description
A01 Written decision to grant a patent or to grant a registration (utility model)

Free format text: JAPANESE INTERMEDIATE CODE: A01

Effective date: 20020123

R250 Receipt of annual fees

Free format text: JAPANESE INTERMEDIATE CODE: R250

R250 Receipt of annual fees

Free format text: JAPANESE INTERMEDIATE CODE: R250

FPAY Renewal fee payment (event date is renewal date of database)

Free format text: PAYMENT UNTIL: 20110301

Year of fee payment: 9