CHAPTER 7: APPLICATIONS
PQMII POWER QUALITY METER – INSTRUCTION MANUAL
7–11
7.3
Phasor Implementation
7.3.1
Theory of Phasor Implementation
The purpose of the function Calc_Phasors within the PQMII firmware is to take a digitally
sampled periodic signal and generate the equivalent phasor representation of the signal.
In the conventional sense, a phasor depicts a purely sinusoidal signal which is what we’re
interested in here; we wish to calculate the phasor for a given signal at the fundamental
power system frequency. The following Discrete Fourier Series equations calculate the
phasor in rectangular co-ordinates for an arbitrary digitally sampled signal. The
justification for the equations is beyond the scope of this document but can be found in
some form in any text on signal analysis.
(EQ 0.1)
where: Re(
g
) = real component of phasor
Im(
g
) = imaginary component of phasor
g
= set of N digital samples = {
g
0
,
g
1
,...,
g
N
–1
}
g
n
=
n
th sample from
g
N
= number of samples
f
0
= fundamental frequency in Hertz
ω
0
= 2
π
f
0
= angular frequency in radians
T
= 1 /(f
0
N
) = time between samples
The PQMII Trace Memory feature is employed to calculate the phasors. The Trace Memory
feature samples 16 times per cycle for two cycles for all current and voltage inputs.
Substituting
N
= 16 (samples/cycle) into the equations yields the following for the real and
imaginary components of the phasor:
(EQ 0.2)
(EQ 0.3)
The number of multiples in the above equation can be reduced by using the symmetry
inherent in the sine and cosine functions which is illustrated as follows:
(EQ 0.4)
Let
k
1
= cos(
π
/8),
k
2
= cos(
π
/4),
k
3
= cos(3
π
/8); the equations for the real and imaginary
components are reduced to:
(EQ 0.5)
Re
g
( )
2
n
---
g
n
ω
0
nT
(
)
cos
⋅
n
0
=
N
1
–
∑
=
; Im
g
( )
2
n
---
g
n
ω
0
nT
(
)
sin
⋅
n
0
=
N
1
–
∑
=
Re
g
( )
1
8
---
g
0
0
cos
g
1
π
8
---
cos
g
2
2
π
8
------
cos
…
g
31
31
π
8
----------
cos
+
+
+
+
⎝
⎠
⎛
⎞
=
Im
g
( )
1
8
---
g
0
0
sin
g
1
π
8
---
sin
g
2
2
π
8
------
sin
…
g
31
31
π
8
----------
sin
+
+
+
+
⎝
⎠
⎛
⎞
=
φ
cos
π φ
–
(
)
cos
–
π φ
+
(
)
cos
–
2
π φ
–
(
)
cos
=
=
=
φ
sin
π φ
–
(
)
sin
π φ
+
(
)
sin
–
2
π φ
–
(
)
sin
–
=
=
=
φ
cos
π
2
---
φ
–
⎝
⎠
⎛
⎞
sin
=
Re
g
( )
1
8
---
k
1
g
1
g
7
–
g
9
–
g
15
g
17
g
23
–
g
25
–
g
31
+
+
+
(
)
k
2
g
2
g
6
–
g
10
–
g
14
g
18
g
22
–
g
26
–
g
30
+
+
+
(
)
k
3
g
3
g
5
–
g
11
–
g
13
g
19
g
21
–
g
27
–
g
29
+
+
+
(
)
g
0
g
8
–
g
16
g
24
–
+
(
)
+
+
+
(
)
=
Summary of Contents for PQMII
Page 8: ...TOC VI PQMII POWER QUALITY METER INSTRUCTION MANUAL TABLE OF CONTENTS...
Page 58: ...3 10 PQMII POWER QUALITY METER INSTRUCTION MANUAL CHAPTER 3 OPERATION...
Page 84: ...4 26 PQMII POWER QUALITY METER INSTRUCTION MANUAL CHAPTER 4 SOFTWARE...
Page 170: ...6 32 PQMII POWER QUALITY METER INSTRUCTION MANUAL CHAPTER 6 MONITORING...
Page 196: ...7 26 PQMII POWER QUALITY METER INSTRUCTION MANUAL CHAPTER 7 APPLICATIONS...
Page 198: ...8 2 PQMII POWER QUALITY METER INSTRUCTION MANUAL CHAPTER 8 WARRANTY...
Page 208: ...A 10 PQMII POWER QUALITY METER INSTRUCTION MANUAL APPENDIX A...
Page 216: ...B VIII PQM POWER QUALITY METER INSTRUCTION MANUAL CHAPTER B INDEX...