IEC 60870-5-1 GB GB/T XXXXX XXXX idt IEC 60870-5-1:1990 Telecontrol Equipment and Systems Part 5:Transmission Protocol Section 1: Transmission frame formats ( ) 1998.6.28 2000.2.10 2000.5.7 200x-xx-xx 200x-xx-xx 1
GB/T XXXXX XXXX 57 5 IEC 60870-5-1 IEC 60870-5-2 (1992 ) IEC 60870-5- (1992 ) IEC 60870-5- (1992 ) IEC 60870-5-5 (1995 ) IEC60870-5 /T 6-1997 IEC60870-5-101 1995 /T IEC 60870-5-102 1996 /T 667-1999 IEC 60870-5-103 1997 IEC 60870-5-1 2000 II
(ISO) 1) (IEC) 2) 3) IEC 60870-5-1 57 57(C0)31 57(C0)37 57(C0)40 57(C0)45 57(C0)50 57(C0)54 III
GB/T XXXXX XXXX IEC 1 2 3 3.1 3.2 3.3 ( )( ) 4 4.1 5 6. 6.1 6.2 6.2.1. 6.2.2 ( 6.2.3 ( 6.2.4.. 6.2.5 6.2.6 ( 6.2.7 (HDLC)- ( A B C 1 1 A.1 ( ) : a) b) A.2 B.1 FT1.1,FT1.2,FT2,FT3 2 B.2 FT1.1,FT1.2,FT2,FT3 IV
(INTRODUCTION) Telecontrol Equipment and Systems Part 5:Transmission Protocol Section 1: Transmission frame formats GB/T XXX 200X idt IEC 60870-5-1:1990, (OSI)ISO-CCITT, ( ) (870-5-2 Section Two:Transmission Procedu res),, ( ) 1 200X-XX-XX 200x-xx-xx
( ) ( ) / ( / ) 1 1 1 1 ( [DPDM],HDLC ) 2 60050(371)(1984) 60870-1-1(1988) ISO 3309 (1984) 3 3.1, 1 2
IEC 60870-5-1 ( ) 3.2 ( IEV 371-08-16), 3.3 ( ), 4,, (1) (IEV 371-08-05)= (2) (IEV 371-08-09)= 4.1 I1,I2 I3 2 R ( IEV371-08-01) d p<10-4 2 d ( ) 1) 10-4 I1 2 I2 I3 4 I3 10 12 p 10-4 100 1200 bit/s (R) (T) 1 (T) (R) 2
2 (Data integrity calsses) 3
n T v * R n ( ( )) v ( bit/s) IEC 60870-5-1 (S) 1 (R) (T) n =100 v =1200 bit/s p=10-4 R T I1 10-6 1 I2 10-10 26 I3 10-14 260 000 5 ( IEV 371-08-12) k n =k.q n /n k q n q p=( / ) q=1-p ( ), q=1-p-r r ( A) ( IEV371-08-11) ( ) v bit / s v 6 (Transmission protocol specifications) 60870-1-1, (OSI)- ISO 4
CCITT 6.1 ( (DCE)(Physical lay {Data circuit terminating equipment [DCE]}) ( ) CCITT (DTE) (DCE) V X ( A) 6.2 (Link layer) ( ), 5
6.2.1 (Link service classes provided) 2, 2 S1 S2 / (SEND/NO REPLY) / (SEND/CONFIRM) S3 / (REQUEST/RESPOND) S1, / (SEND/NO REPLY), S2 / (SEND/CONFIRM) ( ) S3 / (REQUEST/RESPOND) ( ) ( ) ( ) ( 3) 60870-1-1,6.3.2 3 (Cyclic transmission) (Event initiated transmission) S1 / (SEND/NO REPLY) S2 / (SEND/CONFIRM) (spontaneous transmission) (Transmission on demand) 6.2.2 (Dialogue procedures) S3 / (REQUEST/RESPOND) ( ) 6
( ) ( ) -, 60870-5-2 6.2.3 (Standard frame syschronization) ( ) ( ) 6.2.4 (Standard frame formates), 4 FT1.1 FT1.2 FT2 FT3 4 FT1.1 2 8 FT1.1 FT1.2 4 FT2 4 15 FT3 6 16 FT2 FT3 k k 8 FT1.2 FT2 I2 FT2 ( B.2),FT1.2, FT2 FT3 1 1 7
4 (Standard frame formats and cade specification) FT (n,k) 1) d I 11 FT1.1 (11i,8 i) 2 I1 0 P 1 0 P 1 0 P 1 1 8 1 1 1 8 1 1 ( ) 0 1 2 i ( ) 1 ( ) 11 FT1.2 (11i+ 4 I2 0 P 1 0 P 1 0 P 1 0 CS P 1 : 11,8 i 1 8 1 1 1 8 1 1 ( ) 0 1 2 i i+1 ( ) 1 P ( ) P : 256 8 ( ) CS n=16,24,32...128 n :P1: FT2 (8i+ 4 I2 CS=8 CS=8 x 7 +x 6 +x 5 +x 2 +1 8,8 i k=8,16,24...120 8 k 8 - i=1,2 (127,120), 15 8 n=16,24,32...144 n + :P2: FT3 (8i+ 4 I2 CS=16 CS=8 x 16 +x 13 +x 12 +x 11 x 10 16,8 i k=8,16,24...128 16 k 16 +x 8 +x 6 +x 5 +x 2 +1 i=1,2...16 (151,135), 1) (n,k) n = 16 ( ) ( ) k = 6.2.4.1 FT1.1 2 (Format FT1.1:frames with Hamming distance 2)( 3) 8
1 2 3 4 5 6 7 8 9 10 11 (3) 0 0 L P 1 L 0 P 1 1 0 P 1 2 0 P 1 3 L 0 P 1 0 P 1 L 3 FT1.1 R1 1 R2 ( 0) ( 1) R3 R4 R7 22 R5 L 1 0 127 R6 1 (D1) 1 0 R7 1 D1 0 R4 6.2.4.2 FT1.2 4 6.2.4.2.1 6.2.4.2.2 9
6.2.4.2.1 FT1.2(Fomate FT1.2 with fixed number of user data)( 4) 1 2 3 4 5 6 7 8 9 10 11 0 0 0 0 0 1 0 0 0 1 1 1 0 P 1 1 0 P 1 2 0 P 1 3 L 0 P 1 0 0 1 1 0 1 0 0 0 P 1 4 L FT1.2 L, (CS) R1 1 R2 ( 0) ( 1) R3 R4 R6 33 R5 (CS). ( 256 ) R6 : R4 10
6.2.4.2.2 FT1.2 (FT1.2 formats with variable number of user data) ( 5) 1 2 3 4 5 6 7 8 9 10 11 0 0 0 0 1 0 1 1 0 1 1 1 0 L P 1 2 0 L P 1 3 0 0 0 0 1 0 1 1 0 1 1 4 0 P 1 1 0 P 1 2 0 P 1 3 0 P 1 0 0 1 1 0 1 0 0 0 P 1 5 L FT1.2 L 2 (CS) L L 0 255 R1 R2 R3 R4 R5 6.2.4.2.1 R6 : L 6 R4 6.2.4.2.3 (Frame format of single control characters) ( 6) 11
1 1 2 3 4 5 6 7 8 9 10 11 2 0 1 0 1 0 0 1 1 1 1 1 1 2 3 4 5 6 7 8 9 10 11 0 0 1 0 0 0 1 0 1 1 1 6 FT1.2 60870-5-2 6.2.4.3 FT2: 4 (Format FT2:frames with Hamming distance 4) ( 7) ( ) 1 0 0 1 0 0 1 1 1 2 0 0 0 1 0 1 0 0 7 FT2 12
6.2.4.3.1 FT2 (FT2 frames with fixed length) ( 8) 15 1 2 3 4 5 6 7 8 1 2 1 1 1 15 2 2 1 1 15 2 n 1 1 15 8 FT2 R1 1 R2 R3 15 R4 x 7 +x 6 +x 5 +x 2 +1 ( ) ( ) R5 R6 L L 45 L+3 L>=45, 48 R6 R5 6.2.4.3.2 FT2 (FT2 frames with variable length) ( 9) ( ),, 15 13
1 2 3 4 5 6 7 8 1 L 1 2 0 1 15 2 1 1 1 15 2 n 1 1 15 9 FT2 R1 R6 6.2.4.3.1 6.2.4.4 FT3 6 (Formate FT3:frames with Hamming distance 6) ( ) 1 0 0 0 0 0 1 0 1 0 1 1 0 0 1 0 0 2 0 0 0 1 0 0 1 0 0 0 1 1 1 1 0 1 6.2.4.4.1 (Frames with fixed length) ( 10) 14
1 2 3 4 5 6 7 8 1 2 1 2 1 1 16 2 2 2 1 1 16 2 2 n 1 10 1 FT3 16 2 R1 1 R2 R3 16 16 R4 x 16 +x 13 +x 12 +x 11 +x 10 +x 8 +x 6 +x 5 +x 2 +1 16 ( ) R5 R6 L L 48 L+6 L>=48, 54 R6, R5 15
6.2.4.4.2 (Frames with variable lengths) ( 11) ( ),, 16 1 2 3 4 5 6 7 8 1 1 2 2 0 1 16 2 1 1 2 1 16 2 2 n 1 R1 R6 6.2.4.3.1 1 16 11 FT3 2 6..2.5 (Synchronization in transmission channel using switched carrier frequency) (idle line) m ( ) m 16
IEC 60870-5-1 ( 1 ) 6.2.4 6.2.6 (Main application field of defined format classes) 2 FT1.1 4 FT1.2 FT2 FT3 6.2.7 (HDLC) (Use of HDLC(High level data link control)- protocols) ISO 3309 (HDLC) (HDLC) HDLC 1 2 I2 I3 17
A IEC 60870-5-1, ( ) ( ) 50 ( A.1a), - ( ) (r.m.s)s=1 p= erfc(t/(2 2))= (a1) q=1-p= X erfc(x)=1-2/ π e -u2 du 0 ( A.1b) - -D q D, - (-T+D) r D D r (T-D), ±D, r p = erfc[(t-d)/ 2]-erfc[(T+D)/ 2]+erfc[(2T-D)/ 2]-erfc[(2T+D)/ 2]+...+... q =1-erfc(D/ 2). [T+D] (r) (p 0.5), ±D (r),p,p q (p) p erfc[2(1-d/t)erfc -1 (p)] q =1-erfc(2D/T)erfc -1 (p)] 18
IEC 60870-5-1 y=erfc -1 (x) x=erfc(y) q.... p... ( ) r=1- p - q... ( ) A.2;FT2 n=128 ( ±50%), ( ±40%) ( ±30%) A.2 (Influence of signal quality supervision on transmission efficiency and data integrity) B.1 FT1.1,FT1.2,FT2,FT3 (Residual errors of format classes FT1.1,FT1.2,FT2,FT3) i 19
20
B IEC 60870-5-1 FT i n, R(iFT)=(R(FT)+q n ) I -q ni = ir(ft) (1-q)<<0.5 R(FT) q B 1 FT1.1 n =11 1 k=8 1 1 - (11,8) - - d=2-0, 1 B 1.1 e A(FT1.1) e = 9 e, e=2,4,6,8. R(FT1.1) = ( 36p 2 q 7 + 126p 4 q 5 + 84p 6 q 3 + 9p 8 q ) q 2 p q I1 ( B.1) B 1.2 EFT(FT1.1) = 8/11q 11 = 0.73q 11 ( B.2) B 1.3 i FT1.1 ( 6.4.4.1) EFT(iFT)=[8i/11(i+1)]q 11(i+1) i 21
B 2 FT1.2 IEC 60870-5-1 (11i+11,8i) d=4 i FT1.1 B 2.1 8 R(FT1.2)=2-2-9 q 2i+2 (q+p) 9i+9 8 {[(q-p)/q+p)] j +[(q-p)/(q+p)] 9-j } i+1 11 i+11 -q j=0 j i i >1 FT1.2, R(FT1.2) 0.5,, R(FT1.2) q 11s s, R (FT1.2)=0.5R(FT1.2)q 11 s s=2(, ) s=5(, ) B.1 (FT1.2,i=1) 15 (FT1.2,i=15) B.2.2 11 ( i+ s + 1 ) EFT(FT1.2)=[8i/11(i+s+1)]q i s B.2 (FT1.2,i=1) 15 (FT1.2,i=15) B 2.3 FT1.1 FT1.2 VDU ( B.1) 8 ( 7 8 ) 22
B 3 FT2 (8i+8,8i) i 1 2 3...15 d=4 X 7 +X 6 +X 5 +X 2 +1 n 8 i 8 ( ) B 3.1 CS 8 k=8 I 8 I2 ( B.2) ( ) BCH (128,120) 120 15 d=4, 8 d=4 18 7 4 n=16 24 8 2 B 3.2 128 e 128 64 A(FT2) 128, e =1/128[ e +(-1) e / 2 127 e/2 ] e=4,6,8...122,124,128 n=8i+8 i=1,2... A(FT2)n,e=( e ) /128 e=4,6,8...n n R(FT2) n = A(FT2) n,e p e q n-e,e=4,6,8...n e FT2 I2 ( B.1) 8 ( ), q 8,R (FT2)=R(FT2) n q 8 B.1 1 (FT2, i =1) 15 ( FT2, i =15) 23
B 3.3 i 15 EFT(FT2) i/ (i+2) q 8(i+2) B.2 i=1 i=15 B 4 FT3 n 8 i 16 (8i+16,8i) i 1 2 3...16 d=6 CS 16 k=8i 16 X 16 +X 13 +X 12 + X 11 +X 10 +X 8 +X 6 +X 5 +X 2 +1 B 4.1 ( ) BCH d=6, n 151 8199 6 3 3 B 4.2 n 8 i, i=3,4,5...18 e A(FT3) n, e 2-15 e, e=6,8... n R(FT3)n A(FT3) n,e p e q n-e e FT3 I2 ( B.1) 16 ( ), q 16,R (FT3)=R(FT3) n q 16 B.1 (FT3, i =1) 15 ( FT3, i =15) B 4.3 16 i 16 EFT(FT3) i/ (i+4) q 8(i+4) 24
25
26
C FOREWORD PREFACE ( Scope and Object Requirement for data transmission in telecontrol systems High data integrated and data consistency Short telecontrol transfer time ( )( ) Support of bit oriented(code transparent) Quantified rating of data integrity Quantitative requiments for data integrity in lelecontrol systems residual error rate rate residual information loss Quantified rating of transmission efficiency. Transmission protocol specification (DCE) Physical lay {Data circuit terminating equipment [DCE] Physical layer Link layer Link service classes provided Dialogue procedures Standard frame synchronization. Standard frame formats Synchronization in transmission channels using switched carrier frequency Main application field of defined format classes (HDLC)- Use of HDLC(High level data link control)- protocols Effect of signal quality supervision on transmission efficiency and data integrity Quantitative rating of data integrity and transmission efficiency Standard frame formats and code specification Data integrity calsses 27
Bit signal detection:without signal quality supervision Bit signal detection With signal quality supervision Influence of signal quality supervision on transmission efficiency and data integrity FT1.1,FT1.2,FT2,FT3 Residual errors of format classes FT1.1,FT1.2,FT2,FT3 FT1.1,FT1.2,FT2,FT3 Frame transmission efficiency of format classes FT1.1,FT1.2 FT2,FT3 28
D L / T X X X - 2 0 0 X DL/T XXXXX.XX XXXX * ( 6 100044 http://cepp.com.cn) XXX * 19XX X X 19XX X X 880X1230 1/16 X XX 1-XXXXX * :XXXXXX.X-XXX X.XX