JPH0560805A - Digital data computing system - Google Patents
Digital data computing systemInfo
- Publication number
- JPH0560805A JPH0560805A JP3219794A JP21979491A JPH0560805A JP H0560805 A JPH0560805 A JP H0560805A JP 3219794 A JP3219794 A JP 3219794A JP 21979491 A JP21979491 A JP 21979491A JP H0560805 A JPH0560805 A JP H0560805A
- Authority
- JP
- Japan
- Prior art keywords
- sin
- cos
- amount
- value
- digital data
- 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
Links
Landscapes
- Emergency Protection Circuit Devices (AREA)
Abstract
Description
【0001】[0001]
【産業上の利用分野】本発明は、電力系統からの電流量
及び電圧量を入力して電力系統の保護演算に適した電気
量を得るディジタルデ―タの演算方式に関する。BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention relates to a digital data arithmetic system for inputting a current amount and a voltage amount from a power system to obtain a quantity of electricity suitable for protection calculation of the power system.
【0002】[0002]
【従来の技術】図3はディジタル形保護継電器の構成図
であり、これによって従来のディジタルデ―タの演算方
式について説明する。2. Description of the Related Art FIG. 3 is a block diagram of a digital type protective relay, and a conventional digital data arithmetic system will be described below.
【0003】図3において、電力系統からの交流量V
(t) ,I(t)はアナログ/ディジタル変換回路1(以下
A/D変換回路と称す)を介してサンプリングされ、デ
ィジタル量に変換、これがディジタル形保護継電器2の
メモリ21へ格納される。デ―タメモリ21へは各時刻
tm ,tm-1 ,tm-2 ,tm-3 …のデ―タが格納され
る。ここに格納された瞬時値デ―タはプログラムメモリ
23に記憶されているプログラムに従って、演算処理部22
にて処理される。演算結果は、入出力装置(I/O)24
によって外部へ出力される。2つの異なる交流量の瞬時
値を用いて、演算処理部22において交流量の位相差の余
弦量、及び正弦量を求めるものは、以下に示す通り、種
々の方式が提案されている。 (1)連続2サンプリング法In FIG. 3, the AC amount V from the power system
(t) and I (t) are sampled through an analog / digital conversion circuit 1 (hereinafter referred to as an A / D conversion circuit) and converted into a digital quantity, which is stored in the memory 21 of the digital protective relay 2. The data memory 21 stores data at respective times t m , t m-1 , t m-2 , t m-3 .... Instantaneous value data stored here is program memory
According to the program stored in 23, the arithmetic processing unit 22
Will be processed. Calculation results are input / output device (I / O) 24
Is output to the outside by. Various methods have been proposed for obtaining the cosine amount and the sine amount of the phase difference of the AC amount in the arithmetic processing unit 22 using the instantaneous values of the two different AC amounts, as shown below. (1) Continuous 2-sampling method
【0004】交流量V(t) ,I(t) をディジタル量に変
換して得られる時刻tm の瞬時値(vm ,im )と、所
定の周波数に対して位相がωT異なる時刻tm-1 の瞬時
値(vm-1 ,im-1 )を用いて、次の方法で演算値を求
める。 V・I・cos θ={vm ・im +vm-1 ・im-1 −(vm ・im-1 +vm-1 ・im )・cos ωT} /sin 2 ωT V・I・sin θ=(vm-1 ・im −vm ・im-1 ) /sin ωT (2)連続3サンプリング法The AC quantities V (t) and I (t) are converted into digital quantities.
Time t obtained by replacingmInstantaneous value of (vm, Im) And place
Time t at which the phase is ωT different from the constant frequencym-1Instant of
Value (vm-1, Im-1) To obtain the calculated value by the following method.
Meru. V · I · cos θ = {vm・ Im+ Vm-1・ Im-1 -(Vm・ Im-1+ Vm-1・ Im) ・ Cos ωT} / sin2 ωT V · I · sin θ = (vm-1・ Im-Vm・ Im-1) / Sin ωT (2) Continuous 3-sampling method
【0005】時刻tm ,tm-1 ,tm-2 の瞬時値
(vm ,im ),(vm-1 ,im-1 ),(vm-2 ,i
m-2 )を用いて、次の演算値を求める。 k・V・I・cos θ=vm ・im −K・vm-1 ・im-1 +vm-2 ・im-2 但し、サンプリング間隔30°のときk=1/2 ,K=1
(3)直角2サンプリング法Time tm, Tm-1, Tm-2Instantaneous value of
(Vm, Im), (Vm-1, Im-1), (Vm-2, I
m-2) Is used to obtain the next calculated value. k · V · I · cos θ = vm・ Im-Kvm-1・ Im-1 + Vm-2・ Im-2 However, when the sampling interval is 30 °, k = 1/2 and K = 1
(3) Right angle 2 sampling method
【0006】所定の周波数に対して、位相が90°異なる
時刻tm ,tm-3 の瞬時値(vm ,im ),(vm-3 ,
im-3 )を用いて、次の演算値を求める。 V・I・cos θ=vm ・im +vm-3 ・im-3 V・I・sin θ=vm-3 ・im −vm ・im−3 Instantaneous values (v m , i m ), (v m-3 , at times t m , t m-3 , whose phases differ by 90 ° from a predetermined frequency,
i m−3 ) to obtain the next calculated value. V · I · cos θ = v m · i m + v m-3 · i m-3 V · I · sin θ = v m-3 · i m -v m · i m-3
【0007】[0007]
【発明が解決しようとする課題】上記した従来方式にお
いて、(1),(2)によって余弦量を求める場合に
は、乗算回数が3回以上必要となって演算処理に時間が
かかり、又、(3)によって余弦量又は正弦量を求める
場合には、電気角で90°離れたデ―タが必要となり、
結果が得られるまでに、例えば系統周波数が50Hzの場合
であれば5msなる時間がかかってしまう。In the above-mentioned conventional method, when the cosine amount is obtained by (1) and (2), the number of multiplications needs to be three or more, which requires a long calculation process. To obtain the cosine amount or the sine amount by (3), data with an electrical angle of 90 ° are required.
For example, if the system frequency is 50 Hz, it takes 5 ms to obtain the result.
【0008】本発明は上記問題点を解決するためになさ
れたものであり、乗算回数が少なく、かつ結果が得られ
るまでの時間を短かくすることの可能なディジタルデ―
タの演算方式を提供することを目的としている。The present invention has been made in order to solve the above-mentioned problems, and it is a digital data which has a small number of multiplications and a short time until a result is obtained.
It is intended to provide a calculation method of data.
【0009】[0009]
【課題を解決するための手段】本発明は、電力系統から
得られる相異なる交流量V(t) ,I(t) をディジタル量
に変換して得られた時刻tm の瞬時値(vm ,im )と
周波数に対して位相がωT異なる時刻tm-1 の瞬時値
(vm-1 ,im-1 )、及び位相が2ωT異なる時刻t
m-2 の瞬時値(vm-2 ,im-2 )とから、前記2つの交
流量の余弦量V・Icos θ、及び正弦量V・Isin θを
求める原理式として、下式を用いるものである。 V・I・cos θ=A・(vm −K・vm-1 +vm-2 ) ・(im −K・im-1 +im-2 ) +B・(vm −vm-2 )・(im −im-2 ) V・I・sin θ=C・{(vm −K・vm-1 +vm-2 ) ・(im −im-2 )−(vm −vm-2 ) ・(im −K・im-1 +im-2 )}According to the present invention, the instantaneous value (v m ) at time t m obtained by converting different alternating current amounts V (t) and I (t) obtained from a power system into digital amounts. , I m ) and the instantaneous value (v m-1 , i m-1 ) at time t m-1 where the phase differs by ωT with respect to the frequency, and the time t when the phase differs by 2ωT.
The following equation is used as a principle equation for obtaining the cosine amount V · Icos θ and the sine amount V · Isin θ of the two AC amounts from the instantaneous value (v m-2 , i m-2 ) of m-2. It is a thing. V · I · cos θ = A · (v m -K · v m-1 + v m-2) · (i m -K · i m-1 + i m-2) + B · (v m -v m-2 ) · (i m -i m- 2) V · I · sin θ = C · {(v m -K · v m-1 + v m-2) · (i m -i m-2) - (v m -v m-2) · (i m -K · i m-1 + i m-2)}
【0010】[0010]
【作用】先ず、余弦量についての作用説明をする。交流
量V(t) ,I(t) は、次式のように表わすことができ
る。 V(t) =V・sin ωt I(t) =I・sin (ωt−θ)First, the operation of the cosine amount will be described. The alternating current amounts V (t) and I (t) can be expressed by the following equations. V (t) = V · sin ωt I (t) = I · sin (ωt−θ)
【0011】ここで、V,Iは交流量V(t) ,I(t) の
振幅値であり、θは交流量I(t) のV(t) に対する位相
の遅れであり、ωは基本角周波数である。この交流量を
T間隔でサンプリングしたときのサンプル値は、
(1),(2),(3),(4),(5),(6)式で
表される。 vm =V・sin ωt …(1) vm-1 =V・sin (ωt−ωT) …(2) vm-2 =V・sin (ωt−2ωT) …(3) im =I・sin (ωt−θ) …(4) im-1 =I・sin (ωt−θ−ωT) …(5) im-2 =I・sin (ωt−θ−2ωT) …(6) これら2交流量の連続3サンプル値から、演算値Y1 を
次式により求める。 Y1 =A・(vm −K・vm-1 +vm-2 ) ・(im −K・im-1 +im-2 ) +B・(vm −vm-2 )・(im −im-2 ) …(7) (1),(2),(3),(4),(5),(6)式より vm −K・vm-1 +vm-2 =V・sin ωt−K・V・sin (ωt−ωT) +V・sin (ωt−2ωT) =2・V・cos ωT・sin (ωt−ωT) −K・V・sin (ωt−ωT) =(2・cos ωT−K) ・V・sin (ωt−ωT) …(8) im −K・im-1 +im-2 =I・sin (ωt−θ) −K・I・sin (ωt−θ−ωT) +I・sin (ωt−θ−2ωT) =2・I・cos ωT・sin (ωt−θ−ωT) −K・I・sin (ωt−θ−ωT) =(2・cos ωT−K) ・I・sin (ωt−θ−ωT) …(9) vm −vm-2 =V・sin ωt−V・sin (ωt−2ωT) =2・V・sin ωT・cos (ωt−ωT) …(10) im −im-2 =I・sin (ωt−θ)−I・sin (ωt−θ−2ωT) =2・I・sin ωT・cos (ωt−θ−ωT) …(11) であるから、A=(2・cos ωT−K)-2,B=(4・
sin 2 ωT)-1として(7)式に代入すると、 Y1 =A・(vm −K・vm-1 +vm-2 ) ・(im −K・im-1 +im-2 ) +B・(vm −vm-2 )・(im −im-2 ) =(2・cos ωT−K)-2 ×{(2・cos ωT−K)・V・sin (ωt−ωT)} ×{(2・cos ωT−K)・I・sin (ωt−θ−ωT)} +(4・sin 2 ωT)-1×{2・V・cos (ωt−ωT)} ×{2・V・cos (ωt−θ−ωT)} =V・I・{sin (ωt−ωT)・sin (ωt−θ−ωT) +cos (ωt−ωT)・cos (ωt−θ−ωT)} =V・I・cos θ となり、前記演算値Y1 として余弦量V・I・cos θが
求められる。次に正弦量についての作用説明をする。前
述の連続3サンプリング値から、演算値Y2 を次式によ
り求める。 Y2 =C・{(vm −K・vm-1 +vm-2 )・(im −im-2 ) −(vm −vm-2 )・(im −K・im-1 +im-2 )}…(12) 又、(8),(9),(10),(11)式より (vm −K・vm-1 +vm-2 )・(im −im-2 ) =(2・cos ωT−K)・V・sin (ωt−ωT) ・2・I・sin ωT・cos (ωt−θ−ωT) =2・sin ωT・(2・cos ωT−K) ・V・I・sin (ωt−ωT) ・cos (ωt−θ−ωT) …(13) (vm −vm-2 )・(im −K・im-1 +im-2 ) =2・V・sin ωT・cos (ωt−ωT)・(2・cos ωT−K) ・I・sin (ωt−θ−ωT) =2・sin ωT・(2・cos ωT−K) ・V・I・sin (ωt−ωT) ・sin (ωt−θ−ωT) …(14) であるから、C={2・sin ωT・(2・cos ωT−
K)}-1とし、(12)式に代入すると Y2 =C・{(vm −K・vm-1 +vm-2 )・(im −im-2 ) −(vm −vm-2 )・(im −K・im-1 +im-2 )} ={2・sin ωT・(2・cos ωT−K)}-1 ×{2・sin ωT・(2・cos ωT−K) ・V・I・sin (ωt−ωT)・cos (ωt−θ−ωT) −2・sin ωT・(2・cos ωT−K) ・V・I・cos (ωt−ωT)・sin (ωt−θ−ωT)} =V・I・{sin (ωt−ωT)・cos (ωt−θ−ωT) −cos (ωt−ωT)・sin (ωt−θ−ωT)} =V・I・sin θ となり、前記演算値Y2 として正弦量V・I・sin θが
求められる。以上のことから A・(vm −K・vm-1 +vm-2 )・(im −K・im-1 +im-2 ) +B(vm −vm-2 )・(im −im-2 ) なる演算式にて余弦量V・I・cos θが求まり、 C・{(vm −K・vm-1 +vm-2 )・(im −im-2 ) −(vm −vm-2 )・(im −K・im-1 +im-2 )} なる演算式にて正弦量V・I・sin θが求まる。これら
の余弦量、あるいは正弦量を用いて継電器の動作判定を
行なう。Here, V and I are AC amounts V (t) and I (t), respectively.
Amplitude value, θ is the phase of AC amount I (t) with respect to V (t)
Is the delay, and ω is the fundamental angular frequency. This exchange amount
The sample values when sampling at T intervals are
In equations (1), (2), (3), (4), (5), and (6)
expressed. vm = V · sin ωt (1) vm-1= V · sin (ωt−ωT) (2) vm-2= Vsin (ωt-2ωT) (3) im = I · sin (ωt−θ) (4) im-1= I · sin (ωt−θ−ωT) (5) im-2= I · sin (ωt−θ−2ωT) (6) From these three consecutive sampled values of the two AC amounts, the calculated value Y1To
Calculate by the following formula. Y1= A ・ (vm-Kvm-1+ Vm-2) ・ (Im-Kim-1+ Im-2) + B ・ (vm-Vm-2) ・ (Im-Im-2) (7) From the expressions (1), (2), (3), (4), (5), and (6), vm-Kvm-1+ Vm-2= V · sin ωt−K · V · sin (ωt−ωT) + V · sin (ωt−2ωT) = 2 · V · cos ωT · sin (ωt−ωT) −K · V · sin (ωt−ωT) = (2 · cos ωT−K) · V · sin (ωt−ωT) (8) im-Kim-1+ Im-2= I · sin (ωt−θ) −K · I · sin (ωt−θ−ωT) + I · sin (ωt−θ−2ωT) = 2 · I · cos ωT · sin (ωt−θ−ωT) −K * I * sin ((omega) t- (theta)-(omega) T) = (2 * cos (omega) T-K) * I * sin ((omega) t- (theta)-(omega) T) ... (9) vm-Vm-2= V · sin ωt−V · sin (ωt−2ωT) = 2 · V · sin ωT · cos (ωt−ωT) (10) im-Im-2= I · sin (ωt−θ) −I · sin (ωt−θ−2ωT) = 2 · I · sin ωT · cos (ωt−θ−ωT) (11) Therefore, A = (2 · cos ωT-K)-2, B = (4
sin2 ωT)-1Substituting into equation (7) as1= A ・ (vm-Kvm-1+ Vm-2) ・ (Im-Kim-1+ Im-2) + B ・ (vm-Vm-2) ・ (Im-Im-2) = (2 · cos ωT−K)-2 × {(2 · cos ωT−K) · V · sin (ωt−ωT)} × {(2 · cos ωT−K) · I · sin (ωt−θ−ωT)} + (4 · sin2 ωT)-1× {2 · V · cos (ωt−ωT)} × {2 · V · cos (ωt−θ−ωT)} = V · I · {sin (ωt−ωT) · sin (ωt−θ−ωT) + cos (Ωt−ωT) · cos (ωt−θ−ωT)} = V · I · cos θ, and the calculated value Y1And the cosine amount V ・ I ・ cos θ is
Desired. Next, the operation of the sine amount will be described. Previous
Calculated value Y from the consecutive 3 sampling values2By
Ask for. Y2= C · {(vm-Kvm-1+ Vm-2) ・ (Im-Im-2)-(Vm-Vm-2) ・ (Im-Kim-1+ Im-2)} (12) From equations (8), (9), (10), and (11), (vm-Kvm-1+ Vm-2) ・ (Im-Im-2) = (2 · cos ωT−K) · V · sin (ωt−ωT) · 2 · I · sin ωT · cos (ωt−θ−ωT) = 2 · sin ωT · (2 · cos ωT−K) V · I · sin (ωt−ωT) · cos (ωt−θ−ωT) (13) (vm-Vm-2) ・ (Im-Kim-1+ Im-2) = 2 · V · sin ωT · cos (ωt−ωT) · (2 · cos ωT−K) · I · sin (ωt−θ−ωT) = 2 · sin ωT · (2 · cos ωT−K) Since V · I · sin (ωt−ωT) · sin (ωt−θ−ωT) (14), C = {2 · sin ωT · (2 · cos ωT−
K)}-1And substituting it in equation (12) yields Y2= C · {(vm-Kvm-1+ Vm-2) ・ (Im-Im-2)-(Vm-Vm-2) ・ (Im-Kim-1+ Im-2)} = {2 · sin ωT · (2 · cos ωT−K)}-1 × {2 · sin ωT · (2 · cos ωT−K) · V · I · sin (ωt−ωT) · cos (ωt−θ−ωT) −2 · sin ωT · (2 · cos ωT−K) V · I · cos (ωt−ωT) · sin (ωt−θ−ωT)} = V · I · {sin (ωt−ωT) · cos (ωt−θ−ωT) −cos (ωt−ωT) · sin (Ωt−θ−ωT)} = V · I · sin θ, and the calculated value Y2And the sine quantity V ・ I ・ sin θ is
Desired. From the above, A ・ (vm-Kvm-1+ Vm-2) ・ (Im-Kim-1+ Im-2) + B (vm-Vm-2) ・ (Im-Im-2), The cosine amount V · I · cos θ is obtained, and C · {(vm-Kvm-1+ Vm-2) ・ (Im-Im-2)-(Vm-Vm-2) ・ (Im-Kim-1+ Im-2)} The sine amount V · I · sin θ can be calculated by the following equation. these
Determine the operation of the relay by using the cosine amount or sine amount of
To do.
【0012】[0012]
【実施例】以下図面を参照して実施例を説明する。図1
は本発明によるディジタルデ―タの演算方式のうちで、
余弦量を演算処理するための一実施例のフロ―チャ―ト
である。Embodiments will be described below with reference to the drawings. Figure 1
Among the digital data arithmetic methods according to the present invention,
3 is a flowchart of an embodiment for calculating a cosine amount.
【0013】図1において、ステップ1−1では、交流
量V(t) ,I(t) の時刻tm ,tm-1 ,tm-2 における
瞬時値のディジタルデ―タvm ,im ,vm-1 ,
im-1 ,vm-2 ,im-2 を取り込み、所定のメモリに格
納する。ステップ1−2では取り込まれたデ―タvm ,
vm-1 ,vm-2 と定数Kからvm −K・vm-1 +vm-2
を求め所定のメモリに格納する。ステップ1−3では取
り込まれたデ―タim ,im-1 ,im-2 と定数Kからi
m −K・im-1 +im-2 を求め所定のメモリに格納す
る。ステップ1−4では取り込まれたデ―タvm ,v
m-2 の差をとり所定のメモリに格納する。ステップ1−
5では取り込まれたデ―タim ,im-2 の差をとり所定
のメモリに格納する。ステップ1−6ではステップ1−
2とステップ1−3にて得られた演算結果の乗算を実行
し、さらに定数Aを乗算して所定のメモリに格納する。
ステップ1−7ではステップ1−4とステップ1−5に
て得られた演算結果の乗算を実行し、さらに定数Bを乗
算して所定のメモリに格納する。ステップ1−8ではス
テップ1−6で得られた演算結果に、ステップ1−7で
得られた演算結果を加算する。ステップ1−9ではこの
ステップ1−8の演算結果に対して、動作判定を行な
う。実施例の作用を説明する。 ステップ1−1では各サンプリングデ―タvm ,
vm-1 ,vm-2 ,im ,im-1 ,im-2 を取り込む。 ステップ1−2ではvm 、(8)式に示される通りの、 vm −K・vm-1 +vm-2 =(2・cos ωT−K) ・V・sin (ωt−ωT) を得る。 ステップ1−3ではim −K・im-1 +im-2 を演算
し、(9)式に示される通りの、 im −K・im-1 +im-2 =(2・cos ωT−K) ・I・sin (ωt−ωT) を得る。 ステップ1−4ではvm とvm-2 との差をとり、(10)
式に示される通りのvm −vm-2 =2・V・sin ωT・
cos (ωt−ωT)を得る。 ステップ1−5ではim とim-2 との差をとり、(11)
式に示される通りのim −im-2 =2・I・sin ωT・
cos (ωt−θ−ωT)を得る。 ステップ1−6では、ステップ1−2,ステップ1−3
の演算結果と、A=(2・cos ωT−K)-2の乗算を行
なう。したがって A・(vm −K・vm-1 +vm-2 )・(im −K・im-1 +im-2 ) =(2・cos ωT−K)-2 ×{(2・cos ωT−K)・V・sin (ωt−ωT)} ・{(2・cos ωT−K)・I・sin (ωt−θ−ωT)} =V・I・sin (ωt−ωT)・sin (ωt−θ−ωT) が求まる。 ステップ1−7では、ステップ1−4,ステップ1−5
の演算結果と、B=(4・sin 2 ωT)-1の乗算を行な
う。したがって B・(vm −vm-2 )・(im −im-2 ) =(4・sin 2 ωT)-1・{2・V・sin ωT・cos (ωt−ωT)} ×{2・I・sin ωT・cos (ωt−θ−ωT)} =V・I・cos (ωt−ωT)・cos (ωt−θ−ωT) が求まる。 ステップ1−8では、ステップ1−6,ステップ1−7
の演算結果の加算を行なう。即ち、 A・(vm −K・vm-1 +vm-2 )・(im −K・im-1 +im-2 ) +B・(vm −vm-2 )・(im −im-2 ) =V・I・sin (ωt−ωT)・sin (ωt−θ−ωT) +V・I・cos (ωt−ωT)・cos (ωt−θ−ωT) =V・I・cos θ これにより、前述のとおりV・I・cos θが求まる。ス
テップ1−9では演算結果V・I・cos θ用いて、公知
の方法により動作判定を行なう。In FIG. 1, in step 1-1, alternating current
Time t of quantity V (t), I (t)m, Tm-1, Tm-2In
Instantaneous value digital data vm, Im, Vm-1,
im-1, Vm-2, Im-2Captured in the specified memory
Pay. Data v fetched in step 1-2m,
vm-1, Vm-2And constant K to vm-Kvm-1+ Vm-2
Is stored in a predetermined memory. In steps 1-3
Data im, Im-1, Im-2And constant K to i
m-Kim-1+ Im-2And store it in the specified memory
It In step 1-4, the captured data vm, V
m-2Then, the difference is stored in a predetermined memory. Step 1-
Data i acquired in 5m, Im-2Predetermined difference
Stored in memory. In Step 1-6, Step 1-
2 and multiplication of the operation result obtained in step 1-3
Then, it is multiplied by a constant A and stored in a predetermined memory.
In Step 1-7, go to Step 1-4 and Step 1-5.
Multiply the calculation result obtained by
Calculated and stored in a predetermined memory. In step 1-8
In Step 1-7, add the calculation result obtained in Step 1-6.
The obtained calculation results are added. In step 1-9
A motion judgment is performed for the calculation result of step 1-8.
U The operation of the embodiment will be described. In step 1-1, each sampling data vm,
vm-1, Vm-2, Im, Im-1, Im-2Take in. In step 1-2, vm, As shown in equation (8), vm-Kvm-1+ Vm-2= (2 · cos ωT−K) · V · sin (ωt−ωT) is obtained. In step 1-3, im-Kim-1+ Im-2Calculate
Then, as shown in the equation (9), im-Kim-1+ Im-2= (2 · cos ωT−K) · I · sin (ωt−ωT) is obtained. In step 1-4, vmAnd vm-2Take the difference with (10)
V as shown in the formulam-Vm-2= 2 ・ V ・ sin ωT ・
Obtain cos (ωt−ωT). In step 1-5, imAnd im-2Take the difference with (11)
I as shown in the formulam-Im-2= 2 ・ I ・ sin ωT ・
Obtain cos (ωt−θ−ωT). In step 1-6, step 1-2 and step 1-3
And the calculation result of A = (2 · cos ωT−K)-2Row of multiplication
Nau. Therefore, A · (vm-Kvm-1+ Vm-2) ・ (Im-Kim-1+ Im-2) = (2 · cos ωT−K)-2 × {(2 · cos ωT−K) · V · sin (ωt−ωT)} · {(2 · cos ωT−K) · I · sin (ωt−θ−ωT)} = V · I · sin (ωt −ωT) · sin (ωt−θ−ωT) is obtained. In step 1-7, step 1-4 and step 1-5
And the calculation result of B = (4 · sin2 ωT)-1Multiply
U Therefore, B · (vm-Vm-2) ・ (Im-Im-2) = (4 · sin2 ωT)-1・ {2 ・ V ・ sin ωT ・ cos (ωt-ωT)} × {2 ・ I ・ sin ωT ・ cos (ωt-θ-ωT)} = V ・ I ・ cos (ωt-ωT) ・ cos (ωt- θ−ωT) is obtained. In step 1-8, step 1-6, step 1-7
The addition of the calculation result of is performed. That is, A · (vm-Kvm-1+ Vm-2) ・ (Im-Kim-1+ Im-2) + B ・ (vm-Vm-2) ・ (Im-Im-2) = V · I · sin (ωt−ωT) · sin (ωt−θ−ωT) + V · I · cos (ωt−ωT) · cos (ωt−θ−ωT) = V · I · cos θ As described above, V · I · cos θ can be obtained. Su
In Step 1-9, the calculation result V · I · cos θ is used to make it known.
The operation is determined by the method.
【0014】定数A,B,Kの掛算は乗算を用いなくて
も、シフト演算と加減算を用いて公知の方法により実現
が可能であることから、本実施例によれば、連続3サン
プリングデ―タのみを用いて、2回乗算だけで余弦量V
・I・cos θが求められる。したがって、連続2サンプ
リング法、連続3サンプリング法よりも乗算回数が少な
く、直角2サンプリング法よりも、短時間で余弦量V・
I・cos θを得ることができる。図2は本発明の他の実
施例の処理内容を示すフロ―チャ―トであり、本実施例
は正弦量を演算するものである。Since multiplication of the constants A, B and K can be realized by a known method using shift operation and addition / subtraction without using multiplication, according to the present embodiment, continuous 3-sampling data is used. Cosine amount V only by multiplying twice by using
・ I · cos θ is required. Therefore, the number of multiplications is smaller than the continuous 2-sampling method and the continuous 3-sampling method, and the cosine amount V ·
It is possible to obtain I · cos θ. FIG. 2 is a flow chart showing the processing contents of another embodiment of the present invention, and this embodiment calculates the sine amount.
【0015】図2において、ステップ2−1では、交流
量V(t) ,I(t) の時刻tm ,tm-1 ,tm-2 における
瞬時値のディジタルデ―タvm ,im ,vm-1 ,
im-1 ,vm-2 ,im-2 を取り込み、所定のメモリに格
納する。ステップ2−2では取り込まれたデ―タvm ,
vm-1 ,vm-2 と定数Kからvm −K・vm-1 +vm-2
を求め所定のメモリに格納する。ステップ2−3では取
り込まれたデ―タim ,im-1 ,im-2 と定数Kからi
m −K・im-1 +im-2 を求め所定のメモリに格納す
る。ステップ2−4では取り込まれたデ―タvm ,v
m-2 の差をとり所定のメモリに格納する。ステップ2−
5では取り込まれたデ―タim ,im-2 の差をとり所定
のメモリに格納する。ステップ2−6ではステップ2−
2とステップ2−5にて得られた演算結果の乗算を実行
し、所定のメモリに格納する。ステップ2−7ではステ
ップ2−3とステップ2−4にて得られた演算結果の乗
算を実行し、所定のメモリに格納する。ステップ2−8
ではステップ2−6とステップ2−7で得られた演算結
果の差をとり、さらに定数Cを乗算する。ステップ2−
9ではステップ2−8の演算結果に対して動作判定を行
なう。次に作用説明をする。In FIG. 2, in step 2-1, digital data v m , i of instantaneous values of alternating current amounts V (t), I (t) at times t m , t m-1 , t m-2 . m , v m-1 ,
i m-1 , v m-2 , and i m-2 are fetched and stored in a predetermined memory. In step 2-2, the data v m acquired is
From v m-1 , v m-2 and the constant K, v m −K · v m-1 + v m-2
Is stored in a predetermined memory. In step 2-3, the data i m , i m-1 , i m-2 and the constant K taken in are taken into account i.
m −K · i m−1 + i m−2 is calculated and stored in a predetermined memory. In step 2-4, the data v m , v taken in
The difference of m-2 is calculated and stored in a predetermined memory. Step 2-
In step 5, the difference between the fetched data i m and i m-2 is calculated and stored in a predetermined memory. In Step 2-6, Step 2-
2 and the calculation result obtained in step 2-5 are multiplied and stored in a predetermined memory. In step 2-7, the multiplication of the calculation results obtained in step 2-3 and step 2-4 is executed and the result is stored in a predetermined memory. Step 2-8
Then, the difference between the calculation results obtained in step 2-6 and step 2-7 is calculated and further multiplied by the constant C. Step 2-
At 9, the operation is judged based on the calculation result of step 2-8. Next, the operation will be described.
【0016】ステップ2−1,2−2,2−3,2−
4,2−5では、前述のステップ1−1,1−2,1−
3,1−4,1−5と同様な作用を行なう。ステップ2
−6では、ステップ2−2とステップ2−5の演算結果
との乗算を行なって(13)式に示されるとおりの、 (vm −K・vm-1 +vm-2 )・(im −im-2 ) =2・sin ωT・(2・cos ωT−K) ・V・I・sin (ωt−ωT)・cos (ωt−θ−ωT) を得る。 ステップ2−7では、ステップ2−3とステップ2−4
の演算結果との乗算を行なって(14)式に示されるとお
りの (vm −vm-2 )・(im −K・im-1 +im-2 ) =2・sin ωT・(2・cos ωT−K) ・V・I・cos (ωt−ωT)・sin (ωt−θ−ωT) を得る。Steps 2-1, 2-2, 2-3, 2-
In steps 4 and 2-5, the above-mentioned steps 1-1, 1-2, 1-
The same operation as 3, 1-4, 1-5 is performed. Step two
At -6, the calculation results of Steps 2-2 and 2-5 are multiplied to obtain (v m −K · v m−1 + v m−2 ) · (i m− i m−2 ) = 2 · sin ωT · (2 · cos ωT−K) · V · I · sin (ωt−ωT) · cos (ωt−θ−ωT). In Step 2-7, Step 2-3 and Step 2-4
Operation result and multiplying conducted (14) of the as shown in the formula of (v m -v m-2) · (i m -K · i m-1 + i m-2) = 2 · sin ωT · ( 2 · cos ωT−K) · V · I · cos (ωt−ωT) · sin (ωt−θ−ωT) is obtained.
【0017】ステップ2−8では、ステップ2−6とス
テップ2−7の演算結果の差をとり、さらに定数C=
{2・sin ωT・(2・cos ωT−K)}-1を乗算す
る。即ち C・{(vm −K・vm-1 +vm-2 )・(im −im-2 ) −(vm −vm-2 )・(im −K・im-1 +im-2 )} ={2・sin ωT・(2・cos ωT−K)}-1 ×{2・sin ωT・(2・cos ωT−K) ・V・I・sin (ωt−ωT)・cos (ωt−θ−ωT) −2・sin ωT・(2・cos ωT−K) ・V・I・cos (ωt−ωT)・sin (ωt−θ−ωT)} =V・I・{sin (ωt−ωT)・cos (ωt−θ−ωT) −cos (ωt−ωT)・sin (ωt−θ−ωT)} =V・I・sin θ これにより、前述のとおり正弦量V・I・sin θが求ま
る。ステップ2−9では演算結果V・I・sin θを用い
て、公知の方法により動作判定を行なう。In step 2-8, steps 2-6 and
Take the difference between the calculation results of Steps 2-7, and then add the constant C =
{2 ・ sin ωT ・ (2 ・ cos ωT−K)}-1Multiply by
It That is, C · {(vm-Kvm-1+ Vm-2) ・ (Im-Im-2)-(Vm-Vm-2) ・ (Im-Kim-1+ Im-2)} = {2 · sin ωT · (2 · cos ωT−K)}-1 × {2 · sin ωT · (2 · cos ωT−K) · V · I · sin (ωt−ωT) · cos (ωt−θ−ωT) −2 · sin ωT · (2 · cos ωT−K) V · I · cos (ωt−ωT) · sin (ωt−θ−ωT)} = V · I · {sin (ωt−ωT) · cos (ωt−θ−ωT) −cos (ωt−ωT) · sin (Ωt−θ−ωT)} = V · I · sin θ As described above, the sine amount V · I · sin θ is obtained.
It In step 2-9, the calculation result V · I · sin θ is used.
Then, the operation is determined by a known method.
【0018】定数C,Kの掛算は乗算を用いなくても、
シフト演算と加減算を用いて公知の方法により実現が可
能であることから、本実施例によれば、連続3サンプリ
ングのデ―タのみを用いて2回の乗算だけで正弦量V・
I・sin θが求められるため、直角2サンプリング法よ
りも短時間で正弦量V・I・sin θを得ることができ
る。The multiplication of constants C and K does not require multiplication,
Since this can be realized by a known method using shift calculation and addition / subtraction, according to this embodiment, the sine amount V ·
Since I · sin θ is obtained, the sine amount V · I · sin θ can be obtained in a shorter time than the orthogonal two-sampling method.
【0019】上記実施例においては、入力交流の周波数
及びサンプリング周波数を限定することなく説明した
が、いかなる周波数の交流入力をいかなるサンプリング
周波数でサンプリングした場合であっても2・cos ωT
−Kが零でなくかつsin ωTが零でないのであれば、ω
Tの値に応じて定数A,B及びCを変えることにより本
発明を適用できることは明らかである。In the above embodiment, the frequency of the input AC and the sampling frequency are not limited, but 2 · cos ωT regardless of the sampling frequency of the AC input having any frequency.
If −K is not zero and sin ωT is not zero, then ω
It is obvious that the present invention can be applied by changing the constants A, B and C according to the value of T.
【0020】また、定数Kの値についても上記実施例で
は特に限定することなく説明したが、いかなる値のKで
あっても2・cos ωT−Kが零でないのであれば本発明
を適用できることも明らかである。Further, although the value of the constant K has been described in the above embodiment without any particular limitation, the present invention can be applied to any value of K as long as 2 · cos ωT−K is not zero. it is obvious.
【0021】特に、K=2とした場合には、入力交流に
含まれる直流成分が、vm −K・vm-1 +vm-2 ,im
−K・im-1 +im-2 ,vm −vm-2 ,im −im-2 の
それぞれの演算で打ち消されてしまうため、直流成分を
除去するディジタルフィルタ―効果を有する。K=2と
した場合、各ωTの値に対するA,B及びCの値は以下
の例に示すような値とすればよい。 とすればよい。[0021] In particular, K = a when is 2, the direct current component included in the input alternating current, v m -K · v m- 1 + v m-2, i m
Since thus canceled by each operation of -K · i m-1 + i m-2, v m -v m-2, i m -i m-2, the digital filter removes the DC component - has an effect. When K = 2, the values of A, B, and C with respect to each value of ωT may be values as shown in the following example. And it is sufficient.
【0022】また、これらの定数A,B,C,Kは、こ
れらの値に限らず演算誤差を許容するならば、乗算を容
易にするために、多少異なる値を用いても本発明の主旨
にはかわりがない。さらに、前記の(1),(2)式の
vm ,im を下記のvm ′,im ′と置き換えてもよ
い。 vm ′=k(vm +vm-n ) im ′=k(im +im-n )Further, the constants A, B, C and K are not limited to these values, and if a calculation error is allowed, even if slightly different values are used to facilitate multiplication, the gist of the present invention is achieved. There is no substitute. Moreover, the above (1), may be replaced with (2) a v m, i m the following v m ', i m'. v m '= k (v m + v mn) i m' = k (i m + i mn)
【0023】例えば、これは周知のディジタルフィルタ
―処理であり、例えばωT=π/6、n=3のとき、2
倍調波成分などの除去ができるフィルタ―である。本実
施例では、上記各実施例の効果に加えて、ディジタルフ
ィルタ―によって高調波成分が除去される効果がある。
また、 vm ′=k(vm +vm-n ), im ′=k(im +im-n ), vm ′=vm +pvm-1 +vm-2 , im ′=im +pim-1 +im-2 など、いかなるディジタルフィルタ―の式を用いても同
様である。For example, this is a well-known digital filter
-Processing, for example, when ωT = π / 6 and n = 3, 2
It is a filter that can remove harmonic components. Real
In addition to the effects of each of the above-described embodiments, the digital embodiment
The filter has the effect of removing harmonic components.
Also, vm′ = K (vm+ Vmn), Im′ = K (im+ Imn), Vm′ = Vm+ Pvm-1+ Vm-2, Im′ = im+ Pim-1+ Im-2 Even if any digital filter equation is used,
It is like.
【0024】また、同一入力を加えることにより振幅の
2乗を求めるようにしてもよいことはいうまでもない。
さらに、本発明で示した演算式に限らず、これらと等価
な演算式であればよいことももちろんである。Needless to say, the square of the amplitude may be obtained by adding the same input.
Furthermore, it is needless to say that the arithmetic expressions equivalent to these are not limited to the arithmetic expressions shown in the present invention.
【0025】[0025]
【発明の効果】以上説明した如く、本発明によれば2つ
の異なる交流量のサンプル値のうち、サンプリング位相
の異なる3つのサンプリング値から入力交流量の余弦
量、又は正弦量を算出するように構成したので、次の効
果が得られる。 (イ) 連続3サンプリングのデ―タにより演算可能で
あるからωT<45°であれば、直角2サンプリング法に
より短時間で結果が得られる。As described above, according to the present invention, the cosine amount or the sine amount of the input alternating current amount is calculated from the three sampled values of the different alternating current amounts having different sampling phases. Since it is configured, the following effects can be obtained. (B) Since ωT <45 ° can be calculated by the data of continuous 3 sampling, the result can be obtained in a short time by the orthogonal 2 sampling method.
【0026】(ロ) 定数A,B,C,Kの乗算を除く
と、乗算が2回ですむ。また、ωT及びKを適当に選ぶ
ことにより、定数A又はBの乗算はなくなるか、あるい
はシフトと加減算のみですむようになる。したがって、
連続2サンプリング法、連続3サンプリング法より、少
ない乗算回数で結果が得られる。(B) Excluding the multiplication of the constants A, B, C and K, the multiplication only needs to be performed twice. Further, by appropriately selecting ωT and K, multiplication of the constant A or B is eliminated or only shift and addition / subtraction are required. Therefore,
Results can be obtained with a smaller number of multiplications than the continuous 2-sampling method and the continuous 3-sampling method.
【図1】本発明によるディジタルデ―タの演算方式の余
弦量の演算処理内容を示すフロ―チャ―トFIG. 1 is a flow chart showing the contents of calculation processing of a cosine amount in a calculation method of digital data according to the present invention.
【図2】他の実施例で正弦量の演算処理内容を示すフロ
―チャ―トFIG. 2 is a flowchart showing the contents of sine amount calculation processing in another embodiment.
【図3】従来のディジタル形保護継電器の構成図FIG. 3 is a block diagram of a conventional digital protective relay.
1…A/D変換器 2…ディジタル形保護継電
器 21…メモリ 22…演算処理部 23…プログラムメモリ 24…I/O1 ... A / D converter 2 ... Digital protective relay 21 ... Memory 22 ... Arithmetic processing unit 23 ... Program memory 24 ... I / O
Claims (2)
(t) ,Y(t) を所定の時間間隔でサンプリングして、そ
のサンプリング値をディジタル量に変換して得られる時
刻tm の瞬時値(am ,bm)と、1Lサンプリング前
の瞬時値(am-L ,bm-L )及び2Lサンプリング前の
瞬時値(am-2L,bm-2L)とから、演算値Yを下記の式
と等価な演算に基づいて動作判定することを特徴とする
ディジタルデータの演算方式。 Y=A・(am −K・am-L +am-2L)・(bm −K・bm-L +bm-2L) +B・(am −am-2L)・(bm −bm-2L)1. Different AC amounts X obtained from a power system
(t), is sampled Y a (t) at predetermined time intervals, the instantaneous value of the time t m which is obtained by converting the sampled values into digital quantity (a m, b m) and, 1L before sampling instant It is characterized in that the operation value Y is determined based on the value (a mL , b mL ) and the instantaneous value (a m-2L , b m-2L ) before 2L sampling based on an operation equivalent to the following equation. Digital data calculation method. Y = A · (a m -K · a mL + a m-2L) · (b m -K · b mL + b m-2L) + B · (a m -a m-2L) · (b m -b m- 2L )
いて動作判定することを特徴とする請求項1記載のディ
ジタルデ―タの演算方式。 Y=C・{(am −K・am-L +am-2L)・(bm −bm-2L) −(am −am-2L)・(bm −K・bm-L +bm-2L)}2. The operation method of digital data according to claim 1, wherein the operation value Y is determined based on an operation equivalent to the following expression. Y = C · {(a m -K · a mL + a m-2L) · (b m -b m-2L) - (a m -a m-2L) · (b m -K · b mL + b m- 2L )}
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
JP3219794A JPH0560805A (en) | 1991-08-30 | 1991-08-30 | Digital data computing system |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
JP3219794A JPH0560805A (en) | 1991-08-30 | 1991-08-30 | Digital data computing system |
Publications (1)
Publication Number | Publication Date |
---|---|
JPH0560805A true JPH0560805A (en) | 1993-03-12 |
Family
ID=16741134
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
JP3219794A Pending JPH0560805A (en) | 1991-08-30 | 1991-08-30 | Digital data computing system |
Country Status (1)
Country | Link |
---|---|
JP (1) | JPH0560805A (en) |
-
1991
- 1991-08-30 JP JP3219794A patent/JPH0560805A/en active Pending
Similar Documents
Publication | Publication Date | Title |
---|---|---|
JP2689343B2 (en) | AC power measuring device | |
JPH0828934B2 (en) | Protection control device | |
CN104935235A (en) | Current harmonic suppression method for electric motor | |
KR910002055B1 (en) | Digital protection relay | |
RU97108360A (en) | DIGITAL COMPARATOR | |
JP3830824B2 (en) | Digital directional relay | |
JP5181427B2 (en) | Phase / amplitude detection apparatus and method | |
RU99122161A (en) | DEVICE FOR COMPARING TWO SIGNALS, DEVICE AND METHOD FOR FORMING NON-STATIONARY SIGNALS | |
JPH0320969B2 (en) | ||
JPH04230868A (en) | Ac data detector | |
JPH0560805A (en) | Digital data computing system | |
JP3182777B2 (en) | Electric energy measurement method | |
JPH05264605A (en) | Three-phase current or voltage positive / negative phase component detection circuit | |
KR101714480B1 (en) | Phase estimating apparatus based on discrete fourier transform using variable sampling point | |
CN109856454A (en) | A kind of specific secondary frequencies digital signal extracting method based on fourier series | |
JP2688280B2 (en) | Protective relay | |
RU204691U1 (en) | DEVICE FOR MEASURING THE FREQUENCY OF THREE-PHASE SINUSOID VOLTAGE | |
JP2004301550A (en) | Operation device of power related quantity and phase angle | |
KR0146091B1 (en) | Digital selection ground relay | |
JP3314035B2 (en) | Signal detection device | |
JP2685641B2 (en) | Protective relay | |
JP2688281B2 (en) | Protective relay | |
JPH0915275A (en) | Higher harmonic detector | |
JP2682930B2 (en) | Digital relay device | |
JP2688282B2 (en) | Protective relay |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
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 (prs date is renewal date of database) |
Year of fee payment: 6 Free format text: PAYMENT UNTIL: 20090117 |
|
FPAY | Renewal fee payment (prs date is renewal date of database) |
Free format text: PAYMENT UNTIL: 20090117 Year of fee payment: 6 |
|
FPAY | Renewal fee payment (prs date is renewal date of database) |
Free format text: PAYMENT UNTIL: 20100117 Year of fee payment: 7 |
|
FPAY | Renewal fee payment (prs date is renewal date of database) |
Year of fee payment: 8 Free format text: PAYMENT UNTIL: 20110117 |
|
FPAY | Renewal fee payment (prs date is renewal date of database) |
Free format text: PAYMENT UNTIL: 20110117 Year of fee payment: 8 |
|
FPAY | Renewal fee payment (prs date is renewal date of database) |
Year of fee payment: 9 Free format text: PAYMENT UNTIL: 20120117 |
|
LAPS | Cancellation because of no payment of annual fees |