Professional Documents
Culture Documents
Petrou L 1979 PHD Thesis
Petrou L 1979 PHD Thesis
Petrou L 1979 PHD Thesis
BY
LOUKAS PETROU
Dipl. Elec. Eng., M.Sc.
To my parents
ACKNOWLEDGEMENTS
Chapter 1 Introduction.
1.1 Power System relays. 1
1.2 Distance relays. 1
1.3 Advantages of digital protection. 5
1.4 Disadvantages of digital protection. 9
1.5 Organisation of the thesis. 10
Chapter 7 Conclusions
7.1 General conclusions. 184
7.2 Original contributions. 187
7.3 Further research. 188
References. 191
Appendix \ . The data acquisition unit. 200
Appendix 2 The protection processor. 221
Appendix 3 The instruction set. 238
A3.1 The basic instruction set. 240
A3.2 The extended instruction set. 263
Appendix 4 Off- line support.
A4.1 Software support. 278
A4.2 PROM programmers. 281
A4•3 PROM simulators. 284
Appendix 5 The test rig.
A5.1 The transmission line model. 285
A5.2 Filter and amplifier design. 287
A5*3 The rig-relay connections. 287
Appendix 6 The program listings. 289
A6.1 Listings of low page for the
sample and midpoint algorithm. 290
A6.2 Listings of the high page ( common
to both formulas ). 302
A6.3 Listings of the low page ( the
midpoints formula ). 314
A6.4 Contents of the data store 323
A6.5 Table of the mnemonics. 328
A6.6 Contents of the constant store. 333
1
CHAPTER 1
INTRODUCTION
Relay
m
Setting^ q D.
CB CT
©—C2EH
Generator
EG
x i
7
Internal
fault
7
External
fault
cn
DISTANCE
RELAY
(a)
Eg=E.M.F.
Z s = Source impedance
ZL = Line impedance (setting of the relay)
C T = Current transformer
V T = Voltage transformer
CB= Circuit breaker
4
i) Greater flexibility.
7
validation . On the other hand the unit will be more
reliable, if the software is as simple as possible.
v) Modular construction
This benefit, does not affect directly the user. From the
manufacturer's point of view, it is a great advantage
to construct a single piece of apparatus, which can be
applied for many applications. Changes of the protection
scheme, such that to satisfy the customer's
specifications, can be easily done. The assembly
8
These are:
b) swi t ch-on-fault
c) out-of-step blocking
d) autoreclose
CHAPTER 2
DISTANCE PROTECTION
RELAYING LINE
(a)
(b)
A ^
V-IZ
POLARITY
DETECTOR
=FIP
cFtFtr x_
LEVEL ^Trip
INTEGRATOR
DETECTOR signal
Az POLARITY
v DETECTOR
(b)
ZONE 3 (A)
ZONE 2 (A)
— ZONE 1(A)
^ . B GpH
xfxTV i
HrP
40°/o 25°/o
| TIME
l80°/o
TY
W
DISTANCE
X = DISCRIMINATION TIME
Y - CIRCUIT BREAKER OPERATING TIME
W= RELAY DETECTION TIME
AMC^R ZONE1
AMQ 2 P 2 ZONE 2
AMQ3P3 ZONE 3
Rf = fault resistance
A M R
and current.
behind them.
Reactance
Fixed by zone 1
' ^PS R
in series.
Zlo-ZU Earth
return
TABLE 2.1
Dedicated Integrated
Reliability 1.Smaller size gives 1 .Software complexity gives
greater hardware more errors.
reliability per 2.Major hardware/software
module. failure could affect all
2.Failure limited to applications, hence redun-
one application. dancy must be adequate.
Data 1.Limited data vali- 1.More data available in common
Validation dation possible. data base to detect hardware
software faults i.e.system is
more tolerant of failures.
2.Central data base available
for onward transmission of
data.
Cost 1.Interface costs high 1.Shared facilities make for
for a multiplicity more economic applications.
of applications. 2.Software costs may be higher
for a more complex system.
Speed 1.High processing 1.Careful system design
speeds possible. necessary to ensure adequartre
speed of operation.
Flexibility 1.Each new application 1 .System is radial in concept
requires a separate and easily modified for
computer system. additions or delitions of
plant.
2.Common data base provides
access to data for new
application.
Maintenance 1.Only one function at i .Adequate redundancy essential
a time need be taken since all applications are
out of service. affected by taking out one
system.
2.Larger systems can support
more comprehensive monito-
ring and diagnostics.
Software 1.Software is specific i .Software, other than for the
to each processor application programs, is
and is therefore mo- complex.
dular and simpler. 2.Communication between pro-
2.Any int ercommuni ca- grams associated with items
tions at high speed of plant is achieved via the
between dedicated ma- common data.
chines will be dif- 3.On-line development possible.
ficult.
3.On-line development
impractical
Computer 1.Total configuration 1.Basically implemented on
Hardware could be complex radial principle with compu-
where intercommunica- ter hardware at centre.
tion is required.
MAIN PROTECTION IINTERTRIP BACK-UP/MONITORING
CHANNELS inter-processor communication paths CHANNEL
Fig. 2-9 A proposed configuration for the combined integrated/dedicated digital protection of a
substation.
33
CIRCUIT BREAKER
CONTROL
CHAPTER 3
3.1 Introduction
INTERNAL PATHS
IDENTIFICATION
DATA
,, 16
D OUTPUT
ANALO IO BIT A FIFO. ENABLE
GUE T OUTPUT
A-D
MUX
CONVERTER
A
L -th
16
STORE
32 WORDS
-*~DATA
A
DATA
4 IH OUTPUT STORE
CONTROL
'READY
CHANN FLAG
/
EL MUX
(SAMPLE] / TRANSFER
CONT "CLOCK
HOLD ROL /
TO PROTECTION
PROCESSOR
/
T 16 BIT
-H-16
64DIGITAL
B DATA
I PORT
T
I PHASE LOCKED
N UNIT CONTR CLOCK
P SAMPLING SYSTEM
U CONTROLLER PROG GENER REFERENCE
RAM CLOCK
T ATOR
16 BIT FREQUENCY
M
A DIGITAL
X DATA
_J
PORT
FINAL CHANNEL
SWITCHES
15 14 13 9
NOT USED ! A/D CONV.DATA!
1 I
RANGE MSB LSB
IDENTIFICATION
BITS
3.2.2 The digital-data channel
i
44
TABLE 3.1
3 BG " 11 3 currents
4 YB " 12 " 3 voltages
5 RB " 13 Energise digital filtering
6 RY " 14 Start graphics
i
46
+
-Hz
OP-CODE 2 LATCH '-<D
CARRY
CLOCK
JMPE
GENERATOR
16 INV BUS DRIV
SUB-ADDRESS BUS
5 4
-ft
10 11
DATA BUS
jk
©EMM Js16
.A (5) IPE
DATA STORE C. BIT COMMUNIC- BUS DRIV
512x16 BIT
(R.A.M.)
8
N
INC
COUL
TEST
MASKS
ATION
OUTPUT INPUT
T PORT
CONSTANT E PORT
STORE (ROM) R LATCHES
S LD- DELAY
256x16 BIT
WEN ©
REN WEN
^ 16 16 :
Fig.3-4 The protection processor
DATA TRANSFER
y CLOCK
BREAKER RELAY
DATA OUT CONTROL STATUS FROM DATA ACQUISITION
UNIT
48
18
look- ahead, generator has been provided, which is
capable of anticipating a carry-across a 16-bit word.
i
EDB
8 DATA
NEXT ADDRESS DATA •>-REN
-*-EMM BUS
AND LOAD CONTROL CONTROL
AC0-AC6 -*MMPE
LOAD (LD) LD
}
MICRO- 9 MICROPROGRAM PIPE- 7
MEMORY
INITIALISATION PROGRAM ih 2 5 6 WORDS
LINE -H- Func bus TO THE
ADDRESS SEQUENCER REGISTER C.PU.
7 OF 19 K-bus
(MPS)
32 BITS INC "ITO THE
-th COUL J COUNTERS
PX/SX MEMORY EXTENSION CL
BUS 5
( 2 5 6 WORDS) CONTROL WEN
DECODE
CARRY-SHIFT
B0-B2 CONTROL
MASTER
CLOCK 4
FCn-FC,
POWER
-ft
ON CARRY-SHIFT
CLEAR
IN/OUT
(POC)
6 TO CPU
OP CODE
+h FROM MACRO INSTRUCTION STORE
TABLE 3*2
V P
6 INC K
1- K 4
CL X COUL WEN V B
2 FC Q -FC 3 LD AC0-ACg
1
11
18;
31-25 24 23-20 19 1?i 16 15 13-12 11-8 : 7 6-0
1 1
Table 3.2(contted.)
K^-K^ The K-bus, which controls the ALU, but its
length is defined by the user. Its purpose in
the present design is to mask portions of the
data word at the microprogram level. Its
functions are given in table 3-3•
X Not used.
WEN The write pulse for the data store and the
output ports.
TABLE 5*3
K2
w
K K K
1 3 4
C\J
C\J
15 14 13 9 8 0
K
1 K2 K3 K4 Function
0 0 0 0 Select the whole word ( 16 hits )
0 0 1 1 Extend sign of A/D data.
0 1 1 1 Select word sign or range bit 1.
1 0 0 0 Select magnitude of the word.
1 0 1 1 Select range bits 2,3.
1 1 0 1 Select sign of the A/D data.
1 1 1 0 Select A/D data magnitude
TABLE 3*4
B
o B
1 Function
»2
0 0 0 No device connected.
0 0 1 Enable the input port ( IPE ).
0 1 0 Enable the subaddress field of the
macromemory ( JMPE ).
0 1 1 Enable data/constant store for read ( REN ) .
1 0 0 Enable data output of the CPU ( EDB
1 0 1 Enable the masking memory ( EMM ).
1 1 0 Not used.
1 1 1 it ii
57
TABLE 5*5
1010
* 11111111
• Not valid
•
MMMMM *
* •
OP-CODE ADDRESS/CONSTANT
FIELD FIELD
66
c.
d) Skip-jump group
TABLE %6
THE INSTRUCTION SET
constant is stored.
STA w
31:
©
single- level
® 40;
RET
74
•>31:
©
Two-level
© 40: SRA
« 177-*- subroutine
JSR 60 —
LRA 177
•RET
60:
•RET
37
Indexed addressing"^ is quite useful for
addressing different locations in the program memory
arranged with equal spaces between them. For example such
a program could be the accessing of successive data
samples, as in the following program, i. e. in the first
sample location X is addressed, while at the next one,
location X + 2 is addressed and so on.
X: LDA 2
JLP 241 ; go back into the main program
X+2: LDA 3
JLP 421
CHAPTER 4
• DISTANCE ALGORITHMS
4.1. Introduction
Np "E r X -D R —Rt/L
v=- ^ f z a I sin(co,t+a-cp-Hpa)+ ^-(y - y-) e ^ /XJsin(a-9)
1 a a
(4.2)
angle.
f (4
hf = ** -4)
0) _ _u>
Vzy
86
Z L = R l 4 X l
C = CAPACITANCE OF
THE LINE
ip R CT
-[M
N- N;
Rl _X_L
i i j
©
Z L / I.i
V.u
be used.
LL + R L i - v =e (t) (4.6)
61
i) Sinusodial curve fit
61
The first paper by. Vitins derives the fault
distance as a time delay between two quantities
associated with the travelling waves at the relaying
66
point. The other method by Takagi derives an equation
which is valid only for internal faults. Both methods
seem promising because of the fast response, but they
require a computation of some complexity.
4.2,5. Simulation of analogue relays
67
A recent paper by Mitani simulates the
conventional relay characteristics, such as mho or
reactance, by employing digital techniques. A high-
order digital filter is used to attenuate the d.c. offset
and higher-frequency components.
4.3. Criteria for the choice of an algorithm resident
in a microprocessor
aQ = 0.391336
a1 = 2.000
a2 = 1 .000
b1 = 0.369527
b2 = 0.195816
COMPUTE
W(n) = X(n)-biW(n-1)-b 2 W(n-2)
Y (n) = a 0 [W(n)+a, W (n-1) + a 2 W (n-2 )J
REPLACE
W(n-2) by W(n-1)
W(n-1 ) by W (n)
i
102
a Q = 0.590625
b 1 = 0.569141
b 2 = 0.195515
*-
0.02 0.04 n-oo
• »
Computed coefficients
Approximated coefficients
104
Amps
Unfiltered
(b) Current
Filtered
t +v di
1 2 . V ^ 1c fA ft.
Y = l = = = — [A 8)
1 c T ~ 1c 2 S T tpt^ ~ '
2K
one B.
Consider as:
VA=v 1 +V 2 VB=V2+V^
DCA=i2-i1 DCB=i^-i2
2LT
YB=RlCB+ DCB
^ VA DCB-VB DCA % ,, 11 n
;
L~ CA DCB-CB DCA" D
T _ h VB CA-VA CB h \ (AM)
1 CA DCB-CB DCA" "2 D
Nr= - ( 2 s i V I c o s c p
D= -(1-cos I2
N r = - VIcos 9 (4.15a)
A A
D = - I2 (4.15c)
But:
A *
VA=v 2 VB=V2+V^
DGA=i^-i1 DCB=i^-i2
VA=Vsin(o)t+<p) VB 3
Same as
GA=Isin(o)t) CB >
DCA=2Icos(u>t)sin|^ pCB. J P revi °usly
110
N R = - V I c o s <p (4.19a)
D= - I 2 (4.19c)
This method needs again a data window of 2 sampling
intervals. The calculations begin after sample 3, using
points 2 and 2c, then at the next sample the points 3
and 3c are used and so on.
4.4.3. Response of the algorithms
£
C
B
D
t
M * Fault: RG at 3/4
* S
A « of zone 1
M
U
IS
t
End of line
Zone 1
•-wnt-
1
j
«.
s» n.rj TTJA / K.CS Qji
V
/
stsisrmice-
|X- 2
5B
5 Si
II
Zone 1
N.KT n«I
8
t *
M
1'
58
Zone 1
->- samples
r- 2
50 (a) Without averaging
r
x- 2
R-* 2
V
Fig. 4.13 The sample and midpoint formula
118
CHAPTER 5
PROGRAM CONFIGURATION
5.1 Introduction
I
AND CURRENT YG.BG
SET FI J
DATA S/R'FILTER
1 FORM V.I.
ro
CHECK REF VOLT
S/R "CHECK' FOR BY
FAULT
1 St S/R VPH"
sample
CALCULATE Fig. 5-1 Flowchart of
RESIDUAL SAVE CURR.
OF SAMPLE the main program
CURRENT
S/R"RC" 1
F
REPEAT FOR
CALCULATE
RB,RY
PHASE
QUANTITIES
S/R "PHASE'
t
f CLEAR KOFI CHECK FOR
CHECK
fl " CU RG COUNTER
S/R CU'
S/R 'COUNT'
FETCH DATA
BLOCK/EXTEND FILTER VOLTAGE
SIGN AND CURRENT FETCH (VA)N-L
DATA S/R 'FILTER PREFAULT
S/R 4 LOAD' S/R 'PFNI* TRIP
DECISION
S/R'TRIP'
CLEAR MSCW CALCULATE
AND CFF RESIDUAL (VAV, PREFAULT T
CURRENT REPEAT FOR
S/R *RC' — (va)n
COMPUTE OR YG.BG
Nth
OUTPUT P,Q
SAMPLE S/R 'PQM'
CALCULATE! FORM V,L
VPH AND I PH FOR RG FAULT
FOR THE S/R 'GR * I NCR. PQSC
3 PHASES
S/R'PHASE'
REPEAT FOR
COMPUTE YB,RB,YR
CB.VB.DCB
S/R 'B'
COMPUTE
v A =v c -- V b
v B =v a -- V c
LOAD
v c =v b -- v a
I Fig. 5-2 Auxiliary
subroutines
REPEAT FOR
THE CURRENTS
¥
»*B I C
IjNIT
PHASE
Note :-
i COMPUTE
VB-V N +VN_I @ - Normal return
GOn-tCca) C B - I n + I N -l
DCB-I N -I N ^ Return to main program
e n t r y point N
ZERO-SEQ
COMPENSATION 4 b Return to the main program,
FOR I indirectly entry point N
i- 1
(ilr©^
ool
I GR
"1
(y)N_T (ca)
i
PHASE
COMPENSATION
FOR V,]
©n-, ZERO
D = CA-DCB-
CB-DCA SHIFT 4 TIMES RESET
TO THE RIGHT RGF
NR N L D
SHIFT 3 TIMES
TO THE RIGHT
NR N L D
SHIFT 2TIMES
TO THE RIGHT
NR N l D
I
YES . ICOMPLEMENT SELECT ZONE
N L ?< 0
N r } MSB SETTING S/R'ZS'I
NO
Fig. 5-3 The impedance calculation flowchart
"7
COMPUTE
N L D =N L -X L D
11
COMPUTE
nld= i n l d ^ c n l o v !
nl<0 (5.4) 1
Nr<0 (5.5)
if D< 0
nl-Xi D > 0 (5.6)
(5.7) J
> 0 (5.8)
NT pn-1
15 14 0-9
10 0 0 0 0 1 1 1 1 0 110 0 0
- 40 i. e. 100 ms
The relay provides an independent 3- zone scheme
for each impedance calculation. If the fault has been
removed, then the starter is reset and computation
continues in the normal mode, i. e. zone 1 for every
sample and the starting zone for every other sample. The
flowchart of this scheme is shown in fig. 5.5.
fx
v
)
L primary = 4.12
R a= 0 . 20 7460 9 2
x L = 0.299324 2
TABLE 5.1
i) by an over-current detector
TABLE 5.2
V
a r-g
V
b y-g
V
c b-g
t y-b,
A
V b-r
B
Y r-y
C
INCR (LPFD)
NO RESET
" S ^ L U RG - ^All) TWICE
CURG
TYES
RESET CUF I
NO DECR. OCC ECUF
CURG SETUP LPFD SPFD
SET UP
CUF ECUF
DECR. RGF
STORE
\ Y E S Iv.l
-
co ? ^ ^ - A
1 NO 1
YES
.YES
NO
s. NO KJ
8
' YES
i
FPPB-*-LPFD
\ f
DETECTION OF AN
CLEAR
OCC
INTERNAL OR
EXTERNAL CLEAR CBCT
CLOSE-UP it CII
PFC 1r
OUTPUT THE
SOF c w
OPEN CB
Fig. 5-6 Continued OUTPUT
-'u iTTC
£
144
NA+RabDtan<p<0 ( 5.16a )
N r = -VI cos9
( 5.17 )
Nr= -CVIsin9
SET AZI |
YES
OUTPUTQ (MSB)
SAVE PQ DATA
) *
BLOCK "TO THE
BLOCK (POV 2 SAVE (PQ V i f
BLOCK TO THE SET PSI
(F^O) COMMON CLEAR AZI
CLEAR (PO)
SAVE PQ DATA COMMON
BLOCK "TO THE BLOCK
BLOCK (PQ)n_ CLEAR PQOC
SAVE (PQ) n CLEAR POSC
BLOCK TO THE
SAVE PQ DATA (PQ) COMMON
BLOCK "TO THE
BLOCK (PQ) n
SAVE (PO)N.2
BLOCK TO THE
CLEAR PQSC] (PQ) COMMON
CLEAR PQ OUTPUT PQ CW
DATA BLOCK OUTPUT P(MSB)
6
INCR PQOC
PQM PQO
T/2
a+2hn
Jf(x)dx [f(a)+4f(a+h)+2f(a+2h)+4f(a+3h) + --- + f(a+2hn) !
( 5.19 )
TABLE 5.3
\Q0UNTER
r-g y-g b-g b-y r-b y-r
faulqNv
r-g v/
y-g >/
b-g -
b-y >/
>/
y-r
b-y-g >/
r-b-g s/ N/
y-r-g V s/ V
r-y-b J V
r-y-b-g n/ V v/ s/
SELECT
FAULT
, CURRENT
I S/R'SELECT'
REMOVE 3
LSB's OF <§M
MASKED CW
+ i oc"^ioc|
,YES
IF •Ifc"*' IFC
DECR. RGF REPEAT FOR
BG,YG.BC,AC(BA OUTPUT
NR,NL> D
SELECT REPEAT FOR
IFAULTY PHASE BG.YG, BCAC,BA
S/R'SELECT' t ONE \ YES
SELECT CYCLE AFTER"
FAULT JDETECTIOIX
?
CURRENT
S/R 'SELECT1
SAVE NrNl,D| OUTPUT P.O
FAULT FAULT
CURRENT I COUNTERS
TTC
OUTPUT ROUTINE
©
Fig. 5-12 The post-fault routine
I 55
relay.
I 55
5.10 Autoreclosing
acknowledged.
§ A and B is 1 or 2 or 3 or 4 or 5 or 6, where
1 corresponds to R-G for A and V,
Y a for B:
Y-G v'
B-G
Y-B
R-B
R-Y
Pig. 5.16 describes in a flowchart the way the
above plots are serviced.
Using these graphics the relay performance has been
tested, the result being shown in the following chapter.
Fig. 5-14 The autoreclose
routine
CHAPTER 6
EXPERIMENTAL RESULTS
. Introduction
i) Reliability
ii) Selectivity
' The relay should only trip for faults inside its defined
zone. Por single—phase autoreclosing, the correct
detection of the faulty phase is essential. As discussed
in chapter 5, this goal has been achieved by ensuring
that the reactance and resistance seen by the relay are
inside the specified polar characteristic. Care has been
taken to avoid unnecessary tripping during a power swing.
80
Fault
impedance XCL)
(°/o of setting) \ s
\ n
\ \
60
50ms\
40 60 ms
\
\
\ \
20 \
\
\
\
\
40ms\
I
> V
\
J Ii
0-5 10 20 40 50 100 150
Z s / Z n
6.5. Conclusions
25 50 75 100
Fault position (% of setting)
CHAPTER 7
CONCLUSIONS
REFERENCES
1. G.E.C. Ltd.: " Protective relays application guide "
G.E.C. Measurements Ltd., 1975•
11
2. Electricity Council: Power system Protection "
Volumes 1,2 Macdonald, London 1969-
3. Seymour C: " Statistics of C.E.G.B. protection per-
formance 1968 - 1973 "• IEE conference on developments
in power system Protection. Conference publication
No. 125, March 1975.
11
4. Horne E.: The design of microprocessors for digital
protection of power systems Ph. D. Thesis, Imperial
College London 1978.
5. Ungrad H, Wildhaber E. : " Methods of ensuring the
reliable performance of protection equipment "
BBC Review, June 1978, Volume 65.
11
6. Peattie C.G, et. al.: Elements of semiconductor-
- device reliability ". Proceedings of the IEEE
Volume 62, February 1974.
7. Gonzales, G.E. " Data validation and reliability
calculations in digital protection systems ". Ph. D.
Thesis, Imperial College, London 1976.
11
8. Lomas T.: Digital equipment in electrically hostile
equipment ". Post experience course on digital
protection of power systems, Imperial College, June 76
9. Kimble G.: " Hot time in the old factory ". Digital
design February 1977.
10. Colbourne ED, Caverly GP, Beher SK: " Reliability of
MOS LSI circuits". Proceedings of the IEEE Febr. 1974.
192
26. Intel: " 3003 Look ahead carry generator " Intel
Corporation 1975.
\
55. Horton, John W.: " The use of Walsh functions for
High- speed Digital relaying ", IEEE Summer power
meeting 1975, Paper No. A 75 582-7.
197
11
59. Breingan W. D. , Chen M. M., Gallen T. F„,: The
laboratory investigation of a digital system for the
protection of transmission lines ". IEEE PES winter
meeting, 1977.
11
60. Gallen T. P., Breingan W. D., Chen M. M. : A digi-
tal system for directional- comparison relaying. "
IEE PES, Sumner meeting, 1978.
78. Texas Instruments Ltd., " The TTL data book for
design engineers ". Texas Instruments 1976.
APPENDIX 1
Resistors nomenclature
Capacitors nomenclature
Symbols nomenclature
22/16 +sv
oZY 613
G.
CVIO
5 ~
REF I/P IK lib 3 8 7 10 4Sf 2 74
13 12f 14
74
Q)---<C;'H 1- ~_.~2 161 12 6f
74 123
BNC NE 565 Q4 II 3f 3
151 Q7
03 Sf 15
4f 2
Q6
(2) 5
ezy 68
c. V S:6
14
a 74 13
BZY8e 0\- 161 12
CVIO
~ QI 13
12 2
- 15 V QD----C:]-----O---v---..qjJ--~-_O_- 15
150 <)
~+5V
16
'"
0
+ SV ~--I&---~VCC ALL 4
13
-'
1 ___ DEVICES
12) DEVICE vee GND
3
14
6
22/16 .047/12 OJ 16 8 II
ov @--..__-tiNlt-,~GND ALL Q2 16 8 5
12
DEVICES 04 16 8
OV as J+ 7
Q6 16 8 10
07
08
Q'l
16
14
11-
8
7
7
SWI
tTIs 5/H
7437
09
2? IDENT 3
2 0 > IDENT 2 • TO ADCV
I
(x3)
T (x2)
fT2>OV
GND 1 TT
A L L DEVICES
' J L'
' 1 X
dselkth
dselo<TT]- X I '
(FROM ANALOGUE MUX)
{3?>+ 15V
|7> IN I
L-0>IN 2
{t>IN 3
JV>1N 4
-frr>iN 5
E>1N 6
CI>IN 7
{T7>IN 8
d>lN 9
{T>in io
{f>1n ii
(kT>IN 12
(|2>IN 13
E > I N 14
E > I N 15
E>IN 16
?g>out
£0>-l5V
{j7>gnd
svv2 {36>t-5V
last
address
figai.3 analogue multiplexer circuit
«H5V
27 >DBI5
{5P>DE>I4
{jo^>IC>ENT
DEVICE VCC GND (Tr>iOEMT
Q2 14 7
Q3 14 7
Q4 16 8
Q5 16 8
Q6 16 8
Q7 16 8
Q6 14 7
09 14 7
Q4 74365
DI 0 DB©
<3 E>
DB
< 3 ^ o
14 13 DB2
d >
P&3[io>
iM-
<Tj} DI4 DB4
E!>
I 2
Q3
<1 DI6 r (2~ ~rC~ 74365 DB6[|r^
<JTJJ2IZ
<3 DI9
D B J © ^
02
< 2 § J DTI ~l 12 74365 DB
P I 12 14 3 D B 12
o dl>
<29pUi DBI3£ o >
DB
DTI 5 DB
VCC A L L DEVICES
+SV
^ 1 ^ 7 4 0 8 3 >
25/16 047/12
(2 OFF)
OV
•Set
GROUND ALL DEVICES {E>
o
3K 3K 15 0 3
tot DEVICE V C C GND
0! 14 7
-a: \ Q2 (6 8
d — 6 ,+5V 15 Q 2 J
toi Q3 16 8
Q4 16 8
OV
20 15
<m
T
18 4 3
STORE TFCL
<3 6- -H>
18
<3 0- O
28
<3 O
27
<n- AM28I2 A •O
.26
o - O
<y 23 10
- o
22 12
o - •o
21 13. - o
<o
20 14
•o
o DRPY
.CLEAR 15
o
3K
+ 5V
(2 4 DRDY
"} (32>-l5V
12 V K7 TTO
A S Vcc ALL DEVICES
O /A -<3 (>_{36>-F5V F1GAI.6 OUTPUT bUFFER STORE CIRCUIT
16 C=jp/|8*y !C~p/l2
-O-fT2>0V
GND ALL DEVICES
DEVICE VCC GND +5V +5V
01 14 7
02 14 7 3K
03 IA 7 P\N TER MIN~L ~-----------------------------------~poc
04 14 7
05 14 7 <.J
06
07
1.04
14 .,
7
OS it. 13 10 ;1
C9 IG 8 ttt!,r.':.'\--4!_-a_ _ ~_~ 5
CK.(-h.. ~~---------~~E){
74121 05
2COI1'lS6~~~ 6 3 7414
J 01 05
~
. ~
41112
4 J . - - _ - - I PIN 13
OV
@
I~I r'~ SV/2
f\.)
GNDALLOEVlC£S 12 10 O'P?-rr 0
as -l
7414
13 RSr.t
5V
03
II '-------120 CP
Q2 067400
~1:31--1
'01/500'
12
Q6 S
OV
IK
ov
<4.43 MHz
----~3150/50
30p/50 ~,
OV
.i;;f=IG==A~I,7====="A..;.;c;;..a
...U_I_S_IT_I~O;:.;.N......="=SY=Si:.i.T~ G.L=O===C=='=K==G==E=N=E=r=.ATI~C~B==~C::!::iR::!:C~.U~lTo&-
INITIALISE
POWER r 230n S.
POC ON CLEAR |
MC n r
MC
MC2
MC2
MC4
MC4 CP
MC.MC2 r~L L.
IMC. MC2)2 • > EX
(^LMC2.MC4) O
OPRT
(Mc'iLic2. Md'f.)
RSFL
/
FIGAI.8 ACQUISITION SYSTEM TIMING
DEVICE VCC GND
Ql
Q2
16
16
8
8
+5VV ALL
Q3 16 8 VCG^DEVjCp^SV
04 16 8
OS 16 8 22/16
Q6 14 7 (a)c=J
p era-,-,..
O? 16 8 OV I
Q3 16 8 OV
Q " ) 2G IO GND ALlToivTcESl
OiO 16 6
7 -(26>E:<
6 74 s14 14 74 S1 3 74 74
5 283 13 13 2882 4 161
161 -(T^>DIG"A
9 0 4 12 12 Q2 3 5 Ql
3 11 II 4 --(T^dTGB
2 io IO 5
6 Q3
15" IO t= -~[6~^>DiG C
1 Rom
\€
ROM 3K 7
i t? X H E > DIG D
16 ar
15 m ux
'clear
OV
74 S 8
15 14 13 12 471
9 rtc
ADCV
x~ Q9 ear
FLAG 1474 7474 7474
1
74 S ^ADCV
OV i PULSE
MUX
151 2 138 io mux
FLAGo - iS-QB 5 Q6 I IO Q6 3 QIO 12
11 6 7 —
PULSE
10 12 74 S 11
RTC 13 9 1 138 I—^PULS £
FLAG
cp <^2o1-
|3 2 07
12
X1
OV
4 9
14
19 18 17 5 -f7^>STORE
pr r
15 14 13'
C
RSFL
<H>
1£> ADCV
Poc<5]~
piGAl.9 ACQUISITION.^YST„EM PROGBAMMABLE CONTROLLER CIRCUIT
210
POWER ON
©
CLEAR
STORE DIGITAL
DATA INPUT A
CLEAR IN OUTPUT BUFFER
SAMPLING CLR RTC PROGRAM
CLOCK FLAG STR DIG A , B # C . D . PA 1
ONLY
JMP 2
NO
FLG RTC JMP12
Yes
RESET
NO
A-D CONV. FLC MUX
FLAG
CLR ADCV
PLS DRDY
START A-D
CONVERTER
PLS ADCV
DATA FUNCTION
•s: (CONTROL OUTPUTS)
Jump address
2]
Device Mnemonic O
D.L D-
Z
Function group:
Function Mnemonic
X X X 1(2)
Digital Analogue Number of R.O.M number
data data samples per block
i) Digital data
6 10 IDENT DATA 2
7 9 1
8 8 0
9 7 ANALOGUE IN 3
10 6 IDENT DATA 2
11 5 1
12 4 0
13 3 ANALOGUE IN 4
14 2 IDENT DATA 2
15 1 1
16 0 (LSB) 0
2 " 1 14 13
3 " 2 15 14
4 " 3 16 " 15(MSB)
5 " 4 17 NC
6 " 5 18 DATA READY FLAG
7 " 6 19 NC
9 " 8 21 NC
NC = NOT CONNECTED.
PIN NO FUNCTION
1 & 5 - 15V
2 & 6 + 15V
3 & 7 + 5V
4 & 8 OV (GND)
Front of card.
u
Logical "o , J —-
\
/ CZ3 D
•
Logical "l" C
CD B
CD A
First/Last channel. D C B A
0 0 0 0 0
1 0 0 0 1
2 0 0 1 0
3 0 0 1 1
4 0 1 0 0
5 0 1 0 1
6 0 1 1 0
7 0 1 1 1
8 1 0 0 0
9 1 0 0 1
10 1 0 1 0
11 1 0 1 1
12 1 1 0 0
13 1 1 0 1
14 1 1 1 0
15 1 1 1 1
Front of card
L
Front of card
Logical "1"
Logical "0"
cm
APPENDIX 2
—fO> MAO
-S-T(T>MA1
-£-frP> MA2
-0{o>MA3
-*HjZ>M A4
"Hll> MA5
-5V -ti-{5>MA7
Vcc 20
GND 10
3k n Vcc 20
OC11<20)- 13 7 2 33 19GND 10
4 16 3 32 18
74 4 31 17
OC:IO<?3- 111 244
LS 9 1 30 5
oa5<sr> 15 5 5 28 4 74S471
OC14<]7}- 17Q4 3 6 27 3
OC13<l(3- a 12 8
40
26 2 Q2
OC12<30- 6 14 10 Vcc 29
25 20 1
GND 34 15
1 19 35 16
CLK <3D" 19
POC<EH}
CQUT<1^> 17 3001 -T(T> MAE
FC0<T> 15 Q1
FC1 <10- 16 14 -Ha>c IN
FC2 <Eh 13
FC3 <10}- 12
36 19
12 13 24 18 14
37 17 74 S 13
23 5 471 12
• 5V •5V 22 b 11
Vec ALL
22/l5r x 047/12 DEVICES
21 3 Q3 9
38 2 R
GND <dh —>- GND ALL 39 1 7
1.2 xa OV DEVICES 15 6
Q5 7404 16
-Mn>MA8
7404
<Z> Q5
Vcc 14
1/5
<jD 1 GND 7
-£jL> LD
Fig. A 2 . 2 MICROPROGRAM SEQUENCER CIRCUIT
224
<33—
CLK
MAQ<2}JL
MASO^
MA7<£]J±. \3
15 14 ri 119 -m>F5
13 17 ie
MA6<2>2_ 17 74 S 12 14 74 LS 15 -{ZD>F4
MA5<23-£- 5 471 11 13 273 12 -{2>F3
MA4<2h§- Q1 S 8 07 -{11>F2
MA30-P 8 -^4>F1
IA 7 -EI>fo
MA0<2}f 15 6 -E2> INC
-OV
'—1 16 15
_
74 S
471
— Q4
IB
L—
I
— 14 GZ>K4
74 S
13 {H>K3
—
471
12 rnr>K2
11
— Q2 9
HA 6
•5V X3 «5V
34,36<J , ^ V c e ALL DEVICE V cc GND
, I L , DEVICES Q 123 45
•047/12^ ^22/16 6789 10 20 10
1,2<n 1 L2VGNDALL 09 16 8
GNL) DEVICES
x
K»j<TD-
<H>
4 1 2
9
8
11 :o
• OV
c IN <m-
i
rn 5V ,34,36
4 1 2
?? VEE ALL 5V
DB13<M-
21
X 20 DEVICES
22/l6
XX 047/12
DBi2<nn- 19
Q2 GND ALL_
DEVICES07
XX — o ? 1,2
GND
3002
DEVICE Vcc GND
Q1. 2, 3,4 28 14
9
a
11 5 6 10
4 1 2
21
20
19
q3
3002
12 XL
13 -f27> A10
9
8
11 5 6 10
ORDYin<22}-
K3 < H H
Ks <25>-
22
21
20
19
18
CLK<T}- 23
Q4
E15 < H > 25 3002
fqCTQI- 26
27
12 - T 2 T > A9
-DX>A8
13
24
F1 < F L > 17 9
F2 < 3 > 16 8
F3 < H 3 -
15 11 5 6 10
F 4 < S >
F5<MJ-
F6<23-
ng,..A2.4 CPU HIGH BYTE CIRCUIT
226;
k40
UB7<
Ce3<
li<2D-
14 1 2 Cn U Cn >5 Cn <6
22 X4V4 . . X4Y5 . .Cn .7
21
r 20
19
a3
3002
12
13
9
8
11 5 6 10 ov
cv-U
T
6 812 5 7 926272225 3
q2
T~l 3003
34 1 2
22
r21
20 161110132324152120171819
C55> 19
04
3002
12
13
9
8
H 11 5 6 10
ovXT
4 1 2
22*
21
20
6s(5<jZr 19
18
clk<T> 23 05
£d <j4> 25 3002
FO<J£}- 26 12 hze5
F1 <Hh 27 13
F2 <jD" 24
1/
9 Ao
F3 <33- 16 8 A
Cn,,,
F 4 <E3- '^11 5 6 10
F5<£}-
F6<23-
X
ov U
• 5tV l L
5V
I>
, 1
•047/12
1 "K
4,36
ov. T X3
T 1.2
oGND
22
a5<EJ- 7404- 23
A7<3Zh 10 1 TMS
ao<32- ___12 2 2703
~5 6
3^4 4 1st BANK
5 17
A2<TTT- 7A0 5 LSB 16
A 1 < E >
A0<4>
l
13 12
4 7
14
9 Qi
20 12
11
10
S
TMS
2708
2nd BANK,.
16|
15
LSB 14
q3 3
12
11
7812 10
- *15V 9
U
»12V
o/pl/p,
01,2,3,4 | L
X COM,
x a H0-22/160
r
p,n:
4001 1 L- • 5V
0V
DEVICE Vcc GND
Q1.2.3,4 24 12
O 5, 6 20 10 1
0 7.8 14 7
15
o - 74273
" 74273
CL
7905 q GZ>5A7 Qc 19 — { 1 9 > 0C15
— 5V 5 —E5>SA6 6 16 -Q7>OC-4
-{S>SA5 15 [H>OC13
01,2,3.4 {H>SA4 12 —FL8>OC12
PI N 21
05>SA3 9 -{2S>OC11
4001
SI>SA2 6 - F 2 2 > S A / O C 10
22/160 5 — { 3 1 > SA9
2 -{22>SA3
2 18 -pP> DBT5
4 16 - [ T > DBl4
6 Q1 14 { T > DB13
OV 8 74 LS 12 -j"T> DB12
f 11 2 4 0 9 - p T > DBTI
1
SA10<35}- 13 j 7 -fl3> DB10
SA 9 <33} 15 ! 5 DB 9
SA 8 <3lT 17-H>°-' " " 3 -fl7> DB 8
1 j
19 20 10
+ 5V<36
r- ^ 1 i .
22/16 •O47/12
OV < U ] L-
CAO<32} -4"TP>DBT5
CA1<13 -H>-CBI4
CA2<H} ^T>DB13
CA3<2SJ -TP> CBl2
CA4<HJ -TrT>DR 11
CA5<2Z} - f l T > DB10
CA6<H}
CA7<33} 417^063
SA8<H}
WEN«<fi)-
•£T>DB7
REN<2T> -T6">5B5
-flT^DBll
!.QSEL<70} -OE>db"T
-{H>DBO
8 10
C.
6
TMS 7
4045 4
3
Q 3 ?
11 1
12 17
16
13 15
n X"
14 OV
OV
"V"
a 10 10
TMS TMS
4045 4045
Q7 Q 5
PL _C1
OV OV
• 5V 5V
< o 'cc ALL DEVICES
36,34 r r
•047/12 22/16
GND
<Zh x j t
1,2
GND ALL DEVICES
SAO<^~3~-j 15 16Vcc 8
GND
SA1<T}- 1
SA2<fTT 10 -]~32"^>CA0
SA3<TJ 9 30 > CA1
COUL<J9]. 11 74 •j 28 >»CA2
4 193 •I 26 > CA3
Q1
5V
INC<C21> 5
14
OV 13 12
SA4 <11 h 15
SA5< 13 f- 1
SA6< 15 10 -| 25>CA4
SA7<TT> 9 74 H 27 > CA5
193 H 29 CA6
11 Q2 -[TP> CA7
14
OV
SAO<32H- 10
9 { 3 > D B 1 5 (MSB)
7 •T5> DB14
SA1 < 3 0 > 11
Q1 6 -p7> DB13
SA2<28}- 12
74 S -RP> DBl2
13
288 4 -fxp> DBTT
3 •fl3> DETTO
2 -fl5> DB~9
EMM <19 15 1 fT7> D B 8
16 14 8
9 - T T > DB 7
10
7 •f~6> D B 6
11
12 Q2 6 •T8> DB~5
74S -H0> DB4
13 288
4 "i2v>"DET3
3 •fT4>'DB~2
? { W > DB~1
15 1 "Ta^ DB~~o
16 14 8
GND
Typical 3 positions
•047/l 2
GND^TJl
wis. w i s 22/16
t 1 C J
5V<|4j l ' T
(MSB) DB15<T}
DB14<5}
DB13<T]
DP'i2<9}
DB11<2}
DBlO<d}
DB9<iI
DB3<27}
GND<
3H-^c
5V<36] t x
DB7 O
DB6<T}
DB5<a}
DB4<io}
DB3<3|}
DB2<TT}
DB1<is}
DBCKjs}
GND<jJ]
5V<34| T ? .
I/O.SEL < 3 1 ]
SA6<|9}
SA5<|T}
SA4<HJ
SA3<26}
SA2<2j|}
SAK^o}
SAC <3|]
WEN <9}
RST<2j}
D A 8- 8-
10101010 1 1 1 1 1 1 1 1
01010101 0 0 11 0 0 11
ALL OTHER 0 0 0 0 0 0 0 0
ADDRESSES
H A °2 °1
0 1 Breaker control
111 111 11 Port enable .
1 0 Communication
101 111 11 port enable.
ALL OTHER 0 0
ADDRESSES
NC = NOT CONNECTED.
PIN NO FUNCTION
1 & 5 - 15V
2 & 6 + 15V
3 & 7 + 5V
4 & 8 OV(GND)
2 1/ 14 13
3 2 15 14
4 3 16 15 (MSB)
5 4 17 NC
7 6 19 NC
8
9
,. 78
20
21
TRANSFER CLOCK OUT
NC
10 9 22 GROUND (OV)
11 10 23 NC
12 11 24 POWER ON CLEAR IN
NC = NOT CONNECTED
PIN NO FUNCTION
1 2 TRIP CONTROL
2 q it ii
3 RELAY STATUS
4 q it it
APPENDIX 3
where
MNEMONIC RST
FORMAT
1 1 1 1 1 1 NOT USED
MICRO-CODE
MNEMONIC HLT.
FORMAT
1 1 1 1 1 0
i
MICRO-CODE
MNEMONIC WFS
FORMAT
1 1 1 1 0 1 NOT USED
MICRO-CODE
LMI FFl JZR5 00100000 11110000 00000011 00100101
ORIT K1101 JZR4 11011100 11010000 00000000 00100100
NOP JFL O 11000000 11110000 00000000 01000000
NOP JZR5 11000000 11110000 00000000 00100101
NOP JZR13 11000000 11110000 00000000 00101101
242
MNEMONIC PAU.
FORMAT
1 1 1 0 1 1 n milli-sec.
MICRO CODE
INSTRUCTION No operation
MNEMONIC NOP
FORMAT
1 1 1 1 0 0 NOT USED
MICRO-CODE
9 LMI FFl JZRIO OOIOOOOO 11110000 00000011 00101010
10 NOP JZR15 11000000 11110000 00000000 00101111
0 1 0 1 1 1 NOT USED
MICRO-CODE
MNEMONIC LDA
FORMAT
1 0 1 1 1 1 SUB ADDRESS
MICRO-CODE
LMI FF1 REN JCR6 OOIOOOOO 11110000 00110011 00110110
NOP REN JCR 7 11000000 11110000 00110000 00110111
LMFA REN JZR 14 11010110 11110000 00110000 00101110
FORMAT
1 0 1 1 1 0 SUB ADDRESS
MICRO-CODE
LMI FF1 EDB JCR4 OOIOOOOO 11110000 01000011 00110100
NOP EDB WEN . JCR5 11000000 11110000 11000000 00110101
NOP EDB WEN JZR14 11000000 11110000 11000000 00101110
245
MNEMONIC ADD
FORMAT
1 0 1 1 0 1 SUB ADDRESS
i
MICRO-CODE
72 LMI FFl REN JCR14 00100000 11110000 00110011 00111110
78 NOP REN JCR15 11000000 11110000 00110000 00111111
79 AMAA REN JZR14 00010110 00000000 00110000 00101110
FORMAT
1 0 1 1 0 0 SUB ADDRESS
i
i
MICRO-CODE
73 LMI FFl REN JCR12 00100000 11110000 00110011 00111100
76 NOP REN JCR13 11000000 11110000 00110000 0C111101
71 ANMA JZR14 10010110 00000000 00110000 00101110
255
1 0 1 0 1 1 SUB ADDRESS
MICRO-CODE
80 LMI FF1 REN JCR5 00100000 11110000 00110011 00110101
85 NOP REN JCR6 11000000 11110000 00110000 00110110
86 XNMA REN JCR7 11110110 00000000 00110000 00110111
87 CMAA JZR 14 11111110 11110000 00000000 00101110
MNEMONIC SUB
FORMAT
1 0 1 0 1 0 SUB ADDRESS
MICRO-CODE
1 0 1 0 0 1 SUB ADDRESS
Specify RAM
MICRO-CODE
1 0 1 0 0 0 SUB ADDRESS
Specify RAM
MICRO-CODE
MNEMONIC DZM
FORMAT
1 0 0 1 1 1 SUB ADDRESS
1
Specify RAM.
MICRO-CODE
96 LMI FFl JCR2 OOIOOOOO 11110000 00000011 00110010
98 CLAA EDB JCC2 10010110 11110000 01000000 00000010
34 NOP EDB WEN JCR3 11000000 11110000 11000000 00110011
35 NOP EDB WEN JZR13 11000000 11110000 11000000 00101101
MNEMONIC SUM
FORMAT
1 0 0 1 1 0 SUB ADDRESS
Specify RAM
. MICRO-CODE
97 LMI FFl REN JCR3 OOIOOOOO 11110000 00110011 00110011
99 NOP REN JCR4 11000000 11110000 00110000 00110100
100 AMAA REN JCR5 00010110 00000000 00110000 00110101
101 NOP JCR6 11000000 11110000 00000000 00110110
102 NOP EDB WEN •JCC7 11000000 11110000 11000000 00000111
118 NOP EDB WEN JZR13 11000000 11110000 11000000 00101101
250
MNEMONIC IDM.
FORMAT
1 0 0 1 0 1 SUB ADDRESS
Specify RAM
MICRO-CODE
1 0 0 1 0 0 LOOP COUNT
i
i
MICRO-CODE
105 LMI FFl JMPE JCR7 00100000 11110000 00100011 00110111
103 ACMA JMPE JCC7 00010110 11110000 00100000 0C000111
119 SDR FFl JZR13 01010000 00000000 00000011 00101101
251
FORMAT
0 1 1 1 1 1 NOT USED
MICRO-CODE
128 LMI FF1 JCR7 00100000 11110000 00000011 00110111
135 CMAA JZR15 11111110 11110000 00000000 00101111
MNEMONIC CLA
FORMAT
0 1 1 1 1 0 NOT USED
i
MICRO-CODE
MNEMONIC NEG'
FORMAT
0 1 1 1 .0 1 NOT USED
. i
i
MICRO-CODE
136 LMI FFl JCR15 OOIOOOOO 11110000 00000011 00111111
143 CIA FFl JZR15 00111110 11110000 00000011 00101111
MNEMONIC EXS
FORMAT
0 1 1 1 0 0 NOT USED
MICRO-CODE
137 TZAA K1101 JCR14 10111110 11010000 00000000 00111110
142 LMI FFl JFL8 OOIOOOOO 11110000 0000C011 01001000
138 TZR9 K1110 JCR13 10110010 11100000 00000000 00111101
139 CSAA JCR12 01010110 11110000 00000000 00111100
140 0RR9 K0011 JZR13 11010010 00110000 00000000 00101101
141 ILR9 JZR 14 00010010 11110000 00000000 00101110
253
MNEMONIC DEC
FORMAT
0 1 1 1 NOT USED
MICRO-CODE
144 LMI FFl JCR6 OOIOOOOO llllOOOO 00000011 00110110
150 SDAA JZR15 01010110 00000000 00000000 00101111
MNEMONIC INC
FORMAT
0 1 1 0 1 0 NOT USED
MICRO-CODE
MNEMONIC SHL
/
FORMAT
0 1 1 0 0 1 NOT USED
MICRO-CODE
152 LMI FF1 JCR15 OOIOOOOO 11110000 00000011 00111111
159 ALRA JZR15 00011010 00000000 00000000 00101111
MNEMONIC SHR
FORMAT
0 1 1 0 0 0 NOT USED
MICRO-CODE
15 3 LMI FFl JCR14 OOIOOOOO 11110000 00000011 00111110
158 SRAA JZR15 00011110 11110000 00000000 00101111
INSTRUCTION Shift the contents of the accumulator left
n times, where n is specified by the 4 least
significant bits of the address field.
MNEMONIC MSL
FORMAT
i
0 1 0 0 1 .1
• n = 1 - 15
MICRO-CODE
176 LDMT JMPE JCR7 OOllOlOO 00000000 00100000 00110111
n = 1 - 15
.MICRO-CODE
17 7 LDMT JMPE JCR5 00110100 00000000 00100000 00110101
MICRO-CODE
192 LMMA JMPE FFl JCR6 00110110 11110000 00100011 00110110
198 SDR FFl JCR7 01000000 00000000 00000011 00110111
199 ILR9 JZR14 00010010 11110000 00000000 00101110
MNEMONIC RET
FORMAT
0 0 1 1 0 1 NOT USED
MICRO-CODE
200 LMI7 FFl JCR15 00101110 11110000 00000011 00111111
207 ILR7 JCR14 00001110 11110000 00000000 00111110
206 SDR FFl JZR13 01000000 00000000 00000011 00101101
i.
0 0 1 1 0 0 SUBROUTINE ADDRESS
MICRO-CODE
201 ILR JCR10 00000000 11110000 00000000 00111010
202 SDR7 FFl JCRll 01001110 00000000 00000011 00111011
203 LMMA JMPE FFl JCR12 00110110 11110000 00100011 00111100
204 SDR FFl JCR13 01000000 00000000 00000011 00111101
205 ILR JZR14 00010010 11110000 00000000 00101110
t-J o
MICRO-CODE
0 0 1 0 1 1
J Specify bit
0->15
MICRO-CODE
208 LMI FFl EMM JCR7 OOIOOOOO 11110000 01010011 00110111
215 ANMA EMM JCR13 10010110 00000000 01010000 00111101
221 NOP JFL13 11000000 11110000 00000000 01001101
218 LMI FFl JCR12 OOIOOOOO 11110000 00000011 . 00111100
219 ILR9 CL LD 00010010 11111000 00000000 10000000
220 ILR9 JZR15 00010010 11110000 00000000 00101111
V
260
0 0 0 1 0 .1 NOT USED
MICRO-CODE
232 LMI FF1 JCR13 OOIOOOOO 11110000 00000011 00111101
237 TZAA KllOl JCC13 10111110 11010000 00000000 00001101
221 NOP JFL13 11000000 11110000 00000000 01001101
218 LMI FFl JCR12 OOIOOOOO 11110000 00000011 00111100
219 ILR9 CL LD 00010010 11111000 00000000 10000000
220 ILR9 JZR15 00010010 11110000 00000000 00101111
0 0 0 1 0 0 NOT USED
MICRO-CODE
233 LMI FFl JCR14 OOIOOOOO 11110000 00000011 00111110
238 TZAA KllOl JCR15 10111110 11010000 00000000 00111111
239 NOP JFL14 11000000 11110000 00000000 01001110
234 ILR9 CL LD 00010010 11110000 00000000 10000000
235 * LMI FFl JCR12 00010000 11110000 00000011 00111100
236 ILR9 JZR15 00010010 11110000 00000000 00101111
4b I
MNEMONIC SNA
FORMAT
0 0 0 1 1 1 NOT- USED
MICRO-CODE
MNEMONIC SZA
FORMAT
0 0 1 0 0 1 NOT USED
MICRO-CODE
216 LMI FFl JCR15 00100000' 11110000. 00000011 00111111
223 TZAA JCR13 10111110 00000000 00000000 00111101
221 NOP JFL13 11000000 11110000 00000000 01001101
218 LMI FFl JCR12 00100000 11110000 00000011 00111100
219 , ILR9 CL LD 00010010 11111000 O'OOOOOOO 10000000
220 ILR9 JZR15 00010010 11110000 00000000 00101111
0 0 1 0 0 0 NOT USED
i
MICRO-CODE
217 LMI FFl JCR14 00100000 11110000 00000011 00111110
222 TZAA K0111 JCR13 10111110 01110000 00000000 00111101
221 NOP JFL13 11000000 11110000 00000000 01001101
218 LMI FFl JCR12 00100000 11110000 00000011 OOllliOO
219 ILR9 CL LD 00010010 11111000 00000000 10000000
220 ILR JZR15 00010010 11110000 00000000 00101111
265 1
A5-2 THE EXTENDED INSTRUCTION SET
1 0 0 0 1 1 SUB ADDRESS
MICRO-CODE
ROM CONTENTS.
FORMAT
0 1 0 0 0 0 SUB ADDRESS
MICRO-CODE
185 LMI FF1 REN JCC25 00100000 11110000 00110011 00011001
PORMAT
0 1 0 0 0 1 SUB ADDRESS
MICRO-CODE
FORMAT
1 1 0 0 1 1 SUB. ADDRESS
MICRO-CODE
48 LMI FF1 REN JCC22 00100000 11110000 00110011 00010110
MNEMONIC STT
FORMAT
1 0 0 0 1 0 SUB ADDRESS
MICRO-CODE
MNEMONIC LMB
EORMAT
0 1 0 1 0 1 SUB ADDRESS
MICRO-CODE
168 NOP REN JCC23
376 NOP REN JCR11
379 LMPA REN COUL JCRO
368 SDR 2 PP1 INC COUL JCR1
369 NOP REN COUL JCR2
370 NOP REN COUL JCR3
371 LMPA REN COUL JCR4
372 SDR3 PP1 INC COUL JCR5
373 LMI PP1 REN COUL JCR6
374 NOP REN COUL JCR7
375 LMPA REN COUL JZR14
ROM CONTENTS.
168 11000000 11110000 00110000 00010111
376 11000000 11110000 00110000 00111011
379 11010110 11110001 • 00110000 00110000
368 01000101 00000001 00000011 00110001
369 11000000 1 1110001 00110000 00110010
370 11000000 11110001 00110000 00110011
371 11010110 11110001 00110000 00110100
372 0100011.1 00000001 00000011 00110101
269
LMB. (Contd.)
MNEMONIC SMB
FORMAT
0 1 0 1 0 0 sue- address
micro- code
169 ilr 2 jcc23
377 nop edb wen jcr10
378 nop edb wen coul jcc24
393 ilr3 inc coul jcro
384 nop edb wen coul jch1
385 lmi ff1 edb wen coul
^ (V
SMB. (contd.)
386 ILR9 INC COUL JCR3
387 NOP EDB WEN COTJL JCR4
388 NOP EDB WEN COUL- JZR1 4
ROM CONTENTS
FORMAT
1 1 0 0 1 0 n=1-15
MICRO-CODE
LMR (contd.)
ROM CONTENTS
MNEMONIC IDB
PORMAT
1 0 0 0 0 1 SUB- ADDRESS
MICRO- CODE
120 NOP IPE JCC20
328 DCAA IPE WEN COUL JCR7
327 TZAA IPE WEN COUL JCR6
326 NOP LD INC COUL JPL3
338 LMI PP1 JCR1
ROM CONTENTS
120 11000000 11110000 00010000 00010100
328 00111110 00000001 10010000 00110111
327 10111110 00000001 10010000 00110110
326 11000001 11110001 00000000 11000101
338 00100000 11110000 00000011 00110001
MICRO- CODE
56 NOP REN JCC28
456 ILRT REN JCR10
458 LMPT REN JCR11 •
DPA (contd.)
MNEMONIC DPS
FORMAT
f — — — —
I
1 0 0 0 0 0 I SUB- ADDRESS
i
i
MICRO- CODE
121 NOP REN JCC22
361 IXjRT REN JCR10
362 LCMT REN JCR11
LMR (contd.)
MNEMONIC EMU
EORMAT
1 1 0 0 0 0 SUB- ADDRESS
MICRO- CODE
57 ILRT EDB JCC29
434 NOP JCR4
435 INRA JCR4 •
436 NOP JZR14
466 INR1 EF1 REN STC JFL14
467 TZRT K0111 JCR4
468 LMI EE1 JFL11
473 SDR1 EE1 JCR1 2
474 SRAT REN HCZ JCC30
475 SRAT REN HCZ JCR2
476 ILR9 REN JCR1 3
477 . SDRT EE1 REN JCR14
478 LTMA K0111 REN JCR15
479 CLAA REN JFL13
481 SRAT FEZ HCZ REN JCF5
482 SRAA FF1 STZ REN JCR1
483 AMAA REN HCZ JCR2
rom contents
APPENDIX 4
OFF-LINE SUPPORT
MICROIN CPU*******
LOC 800
FUNCTION BUS CLR
REGISTER ZERO
INC COUNTERS
KBUS
CLOCK LATCH
LOAD COUNTERS
MR CONTROL
DATA BUS
FLAG I? CON
FLAG OP CON
LOAD
MCU ADDR CON JZR 006
a): Address
a) P corresponds to programming
b) Intel 360143.
d) Signetics 82S123 45 .
pulses.
Address
from INTEL
—•
11 16 16 16
11 MUX // RAMS //« > BUFFER -/h Data
to
INTEL
Select a Write A
COUNTERS 16
TIMING BUFFER
Count
Clear 16 f
^Load/Read
Data from
NOVA 3
APPENDIX 5
415 V LOAD
30 B or 404 FAULT
CONTACTOR
104 X PHASE-
N / PHASE
TRANSMISSION < FAULT LINK
j^LINE MODEL
EARTH FAULT
LINK
1 -20 or 1 -40
6 2 n d ORDER BUTTERWORTH
i FILTERS/AMPLIFIERS POINT-ON-WAVE
fc = 185Hx Ay = 6 67 SWITCHING
0-5fi UNIT
REF (VA)
FREQ
DATA PROTECTION
ACQUISITION PROCESSOR
4-8 k PCW INTERFACE
SWITCHES 6
300 SELF
TEST VREF
V.T. DETAIL
—ff
16
RELAY UNDER
TEST
Fig. A 51 The distance relay test rig
287
s i g n a l f e d to the f i l t e r s is approximately ± 10 Y .
chapter 4.
data a c q u i s i t i o n unit.
APPENDIX 6
d e r i v e d . T h e r e f o r e the empty or m i s s i n g l o c a t i o n s in
1275 LDA 243 ' 1332 - JHP 1513 • 1367 JHP 1352
1 276 JSR 777 1333 LDA 136 1370 STA 30
1 277 LDA 136 1334 SZA 1371 LDA 156
.1 300 JSR 777 1335 JHP 374 1372 JSR 605
1 301 LDA 137 1336 LDA 137 1373 STA 141
1 302 JSR 777 1337 SZA 1374 JHP 1347
1 303 LDA 140 1340 JHP 367 1375 STA 30
1 304 JSR 777 1341 LDA 140 1376 LDA 2
311
0 26 CBCT
V
1 v Y,I samples 27 IC
b or their fil-
2 V tered values 30 Temp, storage
c if the digi-
3 tal filter 31 Duplicate of 25") used
I a /
is applied fby the
4 32 H " 23J fault
report
5 33 MCW
6 V 34 MSCW
N-
7 compensated 35 After shifting,
"N-2 V to obtain
36 D single-
10 precision
37 numbers•
11 %
40 LSB
12 OA
41 MSB
13 DCA
42 -
14 VA
43
15 CB
16 DCB 44 Ideni
for ]
17 " VB 45 D
20 46
r-1
21 CUP 47 PSI
22 PI 50 tan<p
23 KOPI 51 -
24 PQOC 52 voc
25 PQSC 53
54 LSB] 106
VD duplicate
55 MSBJ 107 BG
56 R a tang 110
57 GPC 111
60 112 YB
(Vn-2
61 <Vh-1 113
62 ( V c>N-2 114
63 115 RB
64 116
67 K-1 121
71 123
72 124 compensated
(Ic>N-1
73 125: N-1 sample
74 CBCI 126 c
75 Temp* Storage 127 Ie J
76 Measured V r e £ 130
77 131
J
102 CTJBG / VA 134
153 205 C J
154 206.
"B phase
155 . quanti— 207 3rd
r ties
156 210
157 211
B
160 212 4th
CJ
161 LSB") 213 cJ
rNR 214
162 MSB J ^
167 221.
170 222
unfiltered
171 223 7th
326
]
245 LSB") 400 LSB "j
a
v •N-2 401 MSB
246 MSB J
247 LSB") 402 LSB
a
250 MSB J 403 MSB
415 CW 432 YB ( z 2
417 — 434 YR J
420 Return address 435 Common
423 RG 440 —
503 b 557 -1
1
504 -7 560 1
505 -6 561 0
506 a 563 -8
o
511 0.703125 564 -9
534 R
ab
540 -130
542 2
543 3
544 4
545 5
546 8
550 1324(octal)=LAPB
554 -2
555 7
556 31
Papers presented:
1) L. Petrou, E. H o m e , B. J. Cory: " Micro-computer
applications in protection relaying 12th UPEC
conference, April 1977-
X
Micro-computcr applications in protection relaying;.
I-B 1.2/2
required in the integrated system since any major failure in
either area will affect a substantial portion of the protection
facilities. The provision of high reliability systems would
impose further economic penalties.
From the foregoing it is seen that the major limitations
of the mini-computer oriented scheme largely originate as a con-
sequence of the integration of the protection processes.
2.1 The Microcomputer dedicated relay
To overcome the difficulties outlined above, an alter-
native approach has been adopted which, in common with current
electromechanical and static analogue relaying practice, proposes
a dedicated parallel unit organisation.
The rapid advance of semiconductor technology has made
economically possible the employment of a dedicated digital relay for '
each task, based upon low cost computing devices which fall within
the general term "microprocessor". A single relay will consist of
two component sub-systems broadly similar to the mini computer con-
figuration, these being the data acquisition or measurement sub-
system, and the protection computation processor. Irrespective
of the relaying task to be performed, each unit can comprise
common hardware but allows for considerable flexibility in use.
2.2 The Measurement sub-system
The function of this sub-unit is primarily one of data
collection. This requires that at intervals the a.c. quantities
required for the protection algorithm are simultaneously sampled
and held at the appropriate transducer outputs and the sampled
values are then multiplexed from the sample-holds to an analogue-
digital converter, as shown in Fig 2. The resulting digital values
are loaded into a first-in-first-out buffer store with breaker/
isolator status information which may be required to await the
demand of the protection processor.
The timing and configuration control of these elements is
provided by an 8 bit micropocessor of the MOS type. Although of
low speed, the 8 bit devices which are available are more than
adequate for the requirements of the unit, and enable a simple
stored program controller to be implemented with a minimum number
of integrated circuits whilst providing a flexibility of data
acquisition which would not be available in a hard wired arrange-
ment. It should, however, be noted that in this scheme the primary
multi-bit data paths are independent of the control processor and
thus no provision is made for data pre-processing.
2.3 The Protection Processor
The task of the second portion of the relay differs
widely from that of the processor application in the measurement
unit. For each block of sampled data provided by the measurement
unit, the protection processor must solve the particular fault
detection algorithms to which it is dedicated. In this respect
the protection algorithm is regarded as including any data filter-
ing which may be required, the fault detection routines, and out-
put switching commands.
An emphasis must thus be placed in this unit upon the
ability to perform logical and arithmetic operations, and in order
to satisfy these requirements several factors must be considered in
1-3 i.2/3
From
Analogue
Trans-
ducers
V
From
Digital Data
V2Kx32pp MAR
2K x 16
CONTROL STORE CPE Application
(ROM) 16- bit program (ROM)
and pipeline regs """1
JL
_L
CARRY/SHIFT l
t~
I A
I
D A T A BUS I 16
i
T
»
i 1
To s w i t c h i n g
— . i i.. Data Output ^..Control/back
Plant _ Store Latch up protection
inputs
(RAM)
1 r-P-
F r o m INTER
TRIPS e t c .
SUBADDRESS BUS
I-B 1.2/4
the choice of processor. The most important of these are out-
lined below, and they indicate that the bipolar bit-slice family
of micro-processors can provide a satisfactory solution.
a) Y/ord length
For arithmetic operations employing an 8 bit word
length consistent with that commonly found in the single chip
microcomputer great care must be taken to avoid a serious degrad-
ation of accuracy due to rounding and truncation errors. The
bit slice devices allow a great freedom of word length in 2 or 4
bit multiples and the processor shown in Fig 3 has a 16 bit
structure.
b) Operating speed
Previous work has shown that in order to achieve a
complete evaluation.of the a.c. system data between consecutive
samples (i.e. 2.5 ms), an instruction cycle time of mini computer
standard (i.e. l-2pS) is desirable. Once again this requirement
is satisfied by a bipolar design, whereas with existing M.O.S.
devices these speeds are not realizable, particularly if multiple
byte operations are involved to maintain accuracy, or to provide
a usable instruction format. ..
c) Powerful Software and Architecture
Although the bit-slice devices are more primitive basic
components than their single chip counterparts, they do thereby
allow the overall processor architecture to be closely matched to
its proposed function. The system of Fig 3 bears only a super-
ficial resemblance to a conventional computer architecture
providing as it does only limited read-write storage which is
separated for address purposes from the main program memory.
This structure combined with extensive pipelining in the control
paths and a modified form of Direct Memory Access for input data
from the measurement sub-system serves to optimise the unit per-
formance. -
Finally from a software viewpoint the micro-programmable
organisation of the processor allows a highly efficient dedicated
macro-language to be developed for the description of fault
detection algorithms.
3. Conclusions
It is well known that in order to achieve optimum
results from micro-computers they should be used to perform limited
and closely defined tasks. Extension to multiple task or general
purpose use negates many of the valuable attributes which the
devices possess, and a more parallel structure is desirable (i.e.
multi-processor) beyond a certain task complexity. This implies
that for power system protection use they are ideally employed
as dedicated single function first and second main relays, and the
major advantages which may be obtained from such an implementation
are: -
a) Stand ard i s at i on
Since the component sub-units of a relay are constructed
with standard hardware features, individual relays for specific
functions can be assembled by inclusion of appropriate concrol
algorithms. A considerable easing of the difficulties encountered
when an equipment manufacturer is confronted with special require-
ments, which currently require design changes in conventional
electromechanical or state relays, is thus achieved. For the
r-n 1 / q
relay user, standardisation of many items provides a considerable
simplification of testing and maintenance operations, and reduces
the burden of personnel training.
b) Flexibility
The micro-computer based relay offers the great adapt-
ability which characterises all stored program digital machines.
Alterations to the power system plant configuration or parameters
may thus be easily reflected in corresponding relaying modificat-
ions avoiding protracted and costly re-wiring or re-setting.
c) Reliability
Although the basic components relibilities within a micro-
computer relay are only comparable with those used, for example, in
a static analogue relay, the dynamic nature of the device enables
many of the well proven error detection and self test routines to be
incorporated in the operating programs. Thus the possibility of a
coincident system/relay fault is minimised and the overall pro-
tective equipment reliability enhanced.
d) Compatibility
As a final consideration it is possible to examine the role
of the dedicated digital relay within a hierarchical sub-station
control scheme. It is envisaged that the microcomputer front line
equipment would be provided with a back-up system incorporated in a
mini-computer based integrated protection system. The software
limitations of the integrated solution mentioned in Section 1.2
would not be critical in a back up mode, and the sophisticated mini
machine would provide a constant monitoring service for the front
line relays, in addition to communication with controlling stations.
For such an implementation the value of a uniform digital device
structure is obvious and the micro-computer relay reduces the.
problems of equipment compatibility.
Currently, effort at Imperial College is directed towards
the construction of a protection relay based on the principles out-
lined in this paper, and it is hoped that the performance of the
equipment will be evaluated for several typical relaying tasks in the
near future.
References
Micro-processors: ••
1) M. Healey: Minicomputers and Microprocessors. Hodder and-
Stoughton. 1976.
2) B. Francis: Microprocessors; the minicomputer/random logic
alternative ? Electronic Engineering.. March, 1975.
5) Justin Rattner: Bipolar LSI computing elements usher in new
era of digital design. (Electronics Sep 5, 74)
4) Uzunoglu Vasil: Analysis and design of digital systems.
Gordon and Breach 1975.
Digital Protection:
5) B.J. Cory, G. Drornoy, B.E. Murray: Digital system .for
protection. CIGRE 1976. Paper 34 - 08.
6) Murray, B.E., Dromey, G. : "Practical design considerations
affecting the use of digital computers in substations."
(4th IFAC/IFIP Conference on digital Computer Applications
to Process Control, Zurich, March 1974, page 292)
I-B 1.2/6
A MICROPROCESSOR POWER SYSTEM PROTECTION RELAY
,3
indicates that the main objective i.e. to construct t • time to trip
a microprocessor with speed similar to n mini- K. = constant dependent upon the heating
computer has been satisfied. This performanco was . characteristics of a particular machine type.
only achievable by employing a bipolar micro-
prcgrammable processor with an extensive pipeline Laboratory tests have shown that the digital imp-
configuration. lementation fully satisfies the requirements af
the protection function. In several areas, partic-
As multiplication is one of the main features that ularly those of alarm facilities and reduced
• must be included in the processor, a micro- frequency sensitivity in tha digital negative
programmed implementation rather than a hardware sequence filter, the microprocessor relay represents
one has been chosen. This approach reduced both an improvement on existing static analagua
cost and power requirements. Typically the multi- equipments.
plication routine handles two signed 16-bit numbers
and produces a 32-bit product in 17 J13. 5.2 Distance relay —
3
4. A.D. Mclnnca. I.F. Morrison: Real time
calculation of resistance and roactnnco for
transmission line protection by digital
computer. ItIA (Australia) March 1371.
From
Analogue
Sample A.D.
HOLD MUX * Converter
Trans-
ducers T
l
i
Control CONTROLLER Oata
Program >• valid
(ROM) flag
Synchronised To evaluation
Ref. _ Clock subunit
frequency"
Data
OUTPUT
STORE
SUBSYSTEM Read
Transducers BUS Clock
VARIABLE - VARIABLE
SOURCE IMPEDANCE LINE IMPEDANCE
415V • • CT A 2 0 : 1 LOAD
0/0 FAULT
34> , / CT B 2 0 : 1
CONTACTOR
^plrwv-
V*
(TW- /^PHASE
FAULT LINK
1 TRANSMISSION
[ L I N E MODEL
E A R i H FAULT
LINK
6 2 n d ORDER
BUTTERWORTH POINT-CN-WAVE CONTROL
FILTERS/'AMPLIFIERS SWITCHING SIGNAL
0 5fl UNIT GATING
RF.F (VA)
_r
C.T. DETA(L TPEQ
10:1
PCW
SWITCHES
-ih
6
E DATA
ACCUISITION
INTERrACE
rROTECTON
PROCESSOR
TRIP CONTROL
SELF N NOVA
II
TEST VREF 3 VOU
V.T. DETAIL 13
RELAY UNOER
TEST '
OHMS corresponding
t o a line 140 miles long
' / *
F a u l t at 70 m i l e s , .
•r if if ::
rL - -Jt. II — ; :
i. - I-"* J?." ""'Mr •• "VfcV • 7.
Number of samples