Professional Documents
Culture Documents
RSITY
Simulation of Ph
hasor Measurement Unit (PMU)
in MATLAB
Dhruba Kumar1, Debomita Ghoshh2, Member IEEE, Dusmanta Kumar Mohanta3, Senio
or Member IEEE
Departm
ment of Electrical and Electronics Engineering
Birla Institute of Technology, Mesra
Ranchi, India
algorithm with results and Section IV concludes the performed
research work.
I.
INTRODUCTION
x(t ) = X m cos(t + ).
(1)
There are various ways to estimate phasor [5], [8], [10], [11],
in this paper DFT based non-recursiive and recursive algorithm is
simulated. The first step is to take saamples from x(t) to obtain
xn = X m cos(n + )
(2)
where, n = 0, 1, 2, 3 (N-1)
Thereafter the phasor is callculated as in (3) and (4).
X N 1 =
15
2 N 1
xn {cos(n ) + j.sin(n )}
N n =0
(3)
2 N 1
X m cos(n + ){{cos(n ) + j.sin(n )} (4)
N n =0
X cN 1 =
Xm
X sN 1 =
phasor estimation.
cos
Xm
2
(5)
sin
(6)
III. SIMULATION MODEL OF PMU FOR RECURSIVE AND NONRECURSIVE ALGORITHM AND RESULTS
Thus,
X N 1 = X cN 1 j. X sN 1 =
Xm
2
.e j
(7)
X N +r =
2 N 1
x( n+1)+r . exp( jn )
N n =0
(8)
where, r = -1, 1, 2, 3
It is seen that when r = -1, x0 sample is present on the right
hand side but when r = 0, there is no x0 sample even if total
number of samples i.e. N remains same.
X N + r = X N + ( r 1) +
2
( x N + r x r ).e jr
N
(9)
where, r = 0, 1, 2, 3
If r represents the present state, (r-1) represents the past
state. By comparing equation (8) & (9) it is clear that, for
recursive estimation present output (XN+r) depends on past
output (XN+(r-1)) and present input, and for non-recursive phasor
estimation present output depends only on present input as there
is no (r-1) phasor present in the equation. Recursive phasor
estimation is faster compared to non- recursive phasor
estimation as phasor calculation is not performed in each step. If
the sine wave is not continuous there is a small error in phasor
updating part in case of recursive phasor estimation and the error
goes on increasing. This error is not present in non-recursive
phasor update. The phasor for a constant sinusoid remain
600
obtained are plotted on compass plot as in fig. 3 (a) and fig. 3(b)
also sample values with phasors are tabulated as in table 1. The
recursive plot has only one phasor with length 100 and angle
2
16
In1
Out1
Out2
In2
In1
Out1
In2
Out2
17
2nd
window
3rd
window
4th
window
5th
window
6th
window
7th
window
8th
window
9th
window
10th
window
11th
window
12th
window
0
0.0016667
0.0033333
0.005
0.0066667
0.0083333
0.01
0.0116667
0.0133333
0.015
0.0166667
0.0183333
0.02
0.0216667
0.0233333
0.025
0.0266666
7
0.0283333
3
0.03
0.0316667
0.0333333
0.035
0.0366667
70.7107
25.8819
-25.8819
-70.7107
-96.5926
-96.5926
-70.7107
-25.8819
25.8819
70.7107
96.5926
96.5926
70.7107
25.8819
-25.8819
-70.7107
-
Recursive
Phasor
Estimation
Magni
Angle
tude
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
70.7107
45
70.7107
45
70.7107
45
70.7107
45
70.7107
45
70.7107
45
70.7107
45
70.7107
45
70.7107
45
70.7107
45
Non-Recursive
Phasor
Estimation
Magni
Angle
tude
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
70.7107
45
70.7107
45
70.7107
75
70.7107
75
70.7107
105
70.7107
105
70.7107
135
70.7107
135
70.7107
165
70.7107
165
-96.5926
-
70.7107
70.7107
45
45
70.7107
70.7107
-165
-165
-96.5926
-70.7107
-25.8819
25.8819
70.7107
96.5926
70.7107
70.7107
70.7107
70.7107
70.7107
70.7107
70.7107
70.7107
70.7107
70.7107
70.7107
45
45
45
45
45
45
45
45
45
45
45
70.7107
70.7107
70.7107
70.7107
70.7107
70.7107
70.7107
70.7107
70.7107
70.7107
70.7107
-135
-135
-105
-105
-75
-75
-45
-45
-15
-15
15
Sample
Value
IV. CONCLUSION
The phasor estimation algorithms are simulated and
verified in MATLAB/Simulink. The developed PMU
provides phase information i.e., both magnitude and phase
angle. In application point of view for wide area
measurement system (WAMS) recursive algorithm will
prove to be a better method than non-recursive algorithm.
This is because comparison of phase angle in between the
different remote locations is easier and accurate because of
constant phase angle differences.
REFERENCES
[1]
[2]
18