Professional Documents
Culture Documents
Com Trade Relay
Com Trade Relay
\
|
.
Ir
scale
Ir
offset
+ :=
VA
data
6
PTR
|
\
|
.
Va
scale
Va
offset
+ :=
IA
data
3
CTR
|
\
|
.
Ia
scale
Ia
offset
+ :=
VB
data
7
PTR
|
\
|
.
Vb
scale
Vb
offset
+ :=
IB
data
4
CTR
|
\
|
.
Ib
scale
Ib
offset
+ :=
VC
data
8
PTR
|
\
|
.
Vc
scale
Vc
offset
+ :=
IC
data
5
CTR
|
\
|
.
Ic
scale
Ic
offset
+ :=
ECE 525:
Power Systems Protection and Relaying
Session 23; Page 6/15
Fall 2006
Now plot the currents and voltages. These should be sinusoidal. Note that the horizontal axis is in the number of cycles since the
i/RS is sample number divided by sampling rate.
0 2 4 6 8 10 12
15
10
5
0
5
10
15
IA
i
IB
i
IC
i
IR
i
i
RS
Since the residual current stayed at 0 and
the currents in two phases increased, this
was probably a line-to-line fault.
ECE 525:
Power Systems Protection and Relaying
Session 23; Page 7/15
Fall 2006
0 2 4 6 8 10 12
200
100
0
100
200
VA
i
VB
i
VC
i
i
RS
Digital Filter Stages:
Now the data is run through a digital cosine filter as a first step in calculating magnitude and phase. Normally the first step
would be to perform a low pass filtering operation on the data, but since ATP Analyzer already did this, we can skip that step.
You will learn more about applications of digital filters for relays in ECE 526.
Each of the measurements is filtered.
ECE 525:
Power Systems Protection and Relaying
Session 23; Page 8/15
Fall 2006
Ia
If
2
RS
0
RS 1
k
cos
2 k
RS
|
\
|
.
IA
If RS 1 ( ) [ ] k +
(
(
=
:=
Va
If
2
RS
0
RS 1
k
cos
2 k
RS
|
\
|
.
VA
If RS 1 ( ) [ ] k +
(
(
=
:=
Ib
If
2
RS
0
RS 1
k
cos
2 k
RS
|
\
|
.
IB
If RS 1 ( ) [ ] k +
(
(
=
:=
Vb
If
2
RS
0
RS 1
k
cos
2 k
RS
|
\
|
.
VB
If RS 1 ( ) [ ] k +
(
(
=
:=
Ic
If
2
RS
0
RS 1
k
cos
2 k
RS
|
\
|
.
IC
If RS 1 ( ) [ ] k +
(
(
=
:=
Vc
If
2
RS
0
RS 1
k
cos
2 k
RS
|
\
|
.
VC
If RS 1 ( ) [ ] k +
(
(
=
:=
Ir
If
2
RS
0
RS 1
k
cos
2 k
RS
|
\
|
.
IR
If RS 1 ( ) [ ] k +
(
(
=
:=
Now create phasors:
First map everything back to upper letters
The calculate line to line voltages.
VAB VA VB := VBC VB VC := VCA VC VA :=
ECE 525:
Power Systems Protection and Relaying
Session 23; Page 9/15
Fall 2006
To create a phasor we need a real and an imaginary part. If one uses Euler's identity, we need: cos(A) + j sin(A). The cosine
filter output gives us the cosine part. Rather than implementing a sine filter (which doesn't reject decaying DC offsets), create the
sine term by delaying the cosine terms by 00 degress (1/4 cycle-- or 4 samples when sampling at 16 samples per cycle).
VAcpx
v
Va
v
j Va
v
RS
4
+ :=
IAcpx
v
Ia
v
j Ia
v
RS
4
+ := IRcpx
v
Ir
v
j Ir
v
RS
4
+ :=
VBcpx
v
Vb
v
j Vb
v
RS
4
+ :=
IBcpx
v
Ib
v
j Ib
v
RS
4
+ :=
VCcpx
v
Vc
v
j Vc
v
RS
4
+ :=
ICcpx
v
Ic
v
j Ic
v
RS
4
+ :=
Each of these terms is a phasor with magnitude and phase.
0 2 4 6 8 10 12
0
5
10
15
IAcpx
v
IBcpx
v
ICcpx
v
IRcpx
v
v
RS
0 2 4 6 8 10 12
0
40
80
120
160
200
VAcpx
v
VBcpx
v
VCcpx
v
v
RS
ECE 525:
Power Systems Protection and Relaying
Session 23; Page 10/15
Fall 2006
However, note the scaling on the magnitudes. The magnitude is capturing the peak of the waveform, not the RMS value.
0 2 4 6 8 10 12
200
100
0
100
200
VBcpx
v
VB
i
v
RS
i
RS
,
Also note that the magnitude values are initially
zero.
0 2 4 6 8 10 12
4
2
0
2
4
arg VBcpx
v
( )
v
RS
i
RS
,
Now look at the angle
Note that that the angle is continually moving
between - and + and then resetting.
If this angle is subtracted from another angle
it is possible to get a smooth angle (one one
corrects for the two angle reseting at
different points).
ECE 525:
Power Systems Protection and Relaying
Session 23; Page 11/15
Fall 2006
0 2 4 6 8 10 12
15
10
5
0
5
10
15
IBcpx
v
IB
i
v
RS
i
RS
,
Notice that the DC offset does not
pass through the magnitude
calculation.
Create symmetrical components:
V0
v
1
3
VAcpx
v
VBcpx
v
+ VCcpx
v
+
( )
:=
I0
v
1
3
IAcpx
v
IBcpx
v
+ ICcpx
v
+
( )
:=
V1
v
1
3
VAcpx
v
a VBcpx
v
+ a
2
VCcpx
v
+
|
\
|
.
:=
I1
v
1
3
IAcpx
v
a IBcpx
v
+ a
2
ICcpx
v
+
|
\
|
.
:=
V2
v
1
3
VAcpx
v
a
2
VBcpx
v
+ a VCcpx
v
+
|
\
|
.
:=
I2
v
1
3
IAcpx
v
a
2
IBcpx
v
+ a ICcpx
v
+
|
\
|
.
:=
ECE 525:
Power Systems Protection and Relaying
Session 23; Page 12/15
Fall 2006
0 2 4 6 8 10 12
0
2
4
6
8
I0
v
I1
v
I2
v
v
RS
0 2 4 6 8 10 12
0
50
100
150
200
V0
v
V1
v
V2
v
v
RS
ECE 525:
Power Systems Protection and Relaying
Session 23; Page 13/15
Fall 2006
Relay Model:
1. Ground and negative sequence over current elements
A. First plot the negative and zero sequence currents and compare them to the settings. Note that the settings needs
an extra SQRT(2) factor since the digital filter is giving us the peak amplitude and not the RMS value.
0 50 100 150 200
0
2
4
6
I2
v
2
Level_1_50Q
Level_2_50Q
v
Note that the negative sequence current
crosses the level 2 threshold, so the relay
would issue a time delayed trip. Also note
that the start up transient in the relay almost
exceeded this threshold.
ECE 525:
Power Systems Protection and Relaying
Session 23; Page 14/15
Fall 2006
0 50 100 150 200
0
1
2
3
4
5
6
I0
v
2
Level_1_50G
Level_2_50G
v
In this case the zero sequence current is
never very large
B. Simple relay logic expressions.
Level1Q_pu
v
1
I2
v
2
Level_1_50Q if
0 otherwise
:= Level2Q_pu
v
1
I2
v
2
Level_2_50Q if
0 otherwise
:=
Level1G_pu
v
1
I0
v
2
Level_1_50G if
0 otherwise
:= Level2G_pu
v
1
I0
v
2
Level_2_50G if
0 otherwise
:=
Note that these elements are not well done, and could "chatter" since they don't latch.
ECE 525:
Power Systems Protection and Relaying
Session 23; Page 15/15
Fall 2006
Instantaneous Overcurrent Element Outputs
0 50 100 150 200
0
0.5
1
1.5
Level1Q_pu
v
Level2Q_pu
v
v
0 50 100 150 200
0
0.5
1
1.5
Level1G_pu
v
Level2G_pu
v
v