CN104917646A - GOOSE protocol consistency test method - Google Patents

GOOSE protocol consistency test method Download PDF

Info

Publication number
CN104917646A
CN104917646A CN201510188664.XA CN201510188664A CN104917646A CN 104917646 A CN104917646 A CN 104917646A CN 201510188664 A CN201510188664 A CN 201510188664A CN 104917646 A CN104917646 A CN 104917646A
Authority
CN
China
Prior art keywords
goose
test
mms
message
decoding
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
CN201510188664.XA
Other languages
Chinese (zh)
Inventor
郑永康
曹卫国
常晓青
刘明忠
刘战朋
李鹏
李建波
蔡骥然
丁宣文
魏博渊
陈进
王平
陈沧杨
向博
马敏杰
黄腾蛟
何中伟
刘涛
周鸿鹄
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
NANJING WUCAIZHIDIAN ELECTRIC POWER TECHNOLOGY Co Ltd
State Grid Corp of China SGCC
Electric Power Research Institute of State Grid Sichuan Electric Power Co Ltd
Original Assignee
NANJING WUCAIZHIDIAN ELECTRIC POWER TECHNOLOGY Co Ltd
State Grid Corp of China SGCC
Electric Power Research Institute of State Grid Sichuan Electric Power Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by NANJING WUCAIZHIDIAN ELECTRIC POWER TECHNOLOGY Co Ltd, State Grid Corp of China SGCC, Electric Power Research Institute of State Grid Sichuan Electric Power Co Ltd filed Critical NANJING WUCAIZHIDIAN ELECTRIC POWER TECHNOLOGY Co Ltd
Priority to CN201510188664.XA priority Critical patent/CN104917646A/en
Publication of CN104917646A publication Critical patent/CN104917646A/en
Pending legal-status Critical Current

Links

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L43/00Arrangements for monitoring or testing data switching networks
    • H04L43/18Protocol analysers
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L43/00Arrangements for monitoring or testing data switching networks
    • H04L43/14Arrangements for monitoring or testing data switching networks using software, i.e. software packages
    • HELECTRICITY
    • H02GENERATION; CONVERSION OR DISTRIBUTION OF ELECTRIC POWER
    • H02JCIRCUIT ARRANGEMENTS OR SYSTEMS FOR SUPPLYING OR DISTRIBUTING ELECTRIC POWER; SYSTEMS FOR STORING ELECTRIC ENERGY
    • H02J13/00Circuit arrangements for providing remote indication of network conditions, e.g. an instantaneous record of the open or closed condition of each circuitbreaker in the network; Circuit arrangements for providing remote control of switching means in a power distribution network, e.g. switching in and out of current consumers by using a pulse code signal carried by the network

Abstract

The invention discloses a GOOSE protocol consistency test method. A consistency test software is adopted to perform a station control layer GOOSE test and a process layer GOOSE test. For example, the process layer GOOSE test comprises directly performing MMS communication with a tested IED to obtain an MMS message of the tested IED, performing decoding on the received MMS message according to an MMS coding and decoding dynamic library, performing receiving and sending of the GOOSE message on the tested IED through a consistency test hardware, performing decoding on the received GOOSE message according to the MMS coding and decoding dynamic library, and judging the decoding completed MMS message and the decoding completed GOOSE message according to a Phython script rule to obtain a consistency test result. An MMS message closed-loop receiving mode is adopted, GOOSE test information of the tested IED is completely acquired and analyzed, a comprehensive and systematic test is performed on the GOOSE protocol, and the method is in favor of finding an error in a protocol message and has a very important significance in a guarantee of an application of the GOOSE protocol at an engineering site.

Description

A kind of GOOSE protocol conformance test method
Technical field
The present invention relates to electric power system second test technical field, be specially a kind of GOOSE protocol conformance test method.
Background technology
Along with the promotion and application of intelligent substation, GOOSE (Generic Object Oriented Substation Event) mechanics of communication obtains and applies more widely, GOOSE, namely towards the transformer substation case of general object, is for meeting the mechanism of electric substation automation system rapid message demand in IEC 61850 standard.Be mainly used in realizing the information transmission between many IED, comprise transmission breaker tripping and closing signal (order), there is the high-transmission probability of success.Traditional hardwire is replaced to realize the transmitting (being equivalent to the input and output loop of traditional protection) of the real time information such as the position of the switch, block signal and trip signal based on GOOSE network transmission.
GOOSE adopts the massage pattern of publish/subscribe, and publish/subscribe mechanism is a kind of distribution model of network data, is its notable feature with support point to multicast communication and support event-driven etc.When there is any state variation, IED(Intelligent Electronic Device intelligent electronic device) will by change report, general OO transformer substation case report (GOOSE) of high speed multicast binary system, this report generally includes: each two point coomand mode that state input, starting and output element, relay etc. are actual and virtual.Its trigger condition is: the one or more member value at every turn quoted by DATA-SET change just transmission GOOSE and change message.
In Practical Project, due to each producer to consensus standard understand inconsistent, implementation method is different, bring problem to actual interoperability, at present for the test also mainly simple functional authorization of GOOSE, as whether link communication is normal, receive the data whether normally application such as reception detection, mainly there is following problem in concrete analysis: lacks closed loop test, alarm for protection measuring and controlling equipment mainly relies on LCD display as record foundation at present, lacks and carrys out closed loop in conjunction with MMS and judge the logic that GOOSE tests; Lack the method for testing adapting to domestic technique specification, the uniformity test of existing GOOSE still lacks the method for testing for domestic related specifications in the world at present; Lack the definable method of testing of user, current method of testing user cannot self-developing is new according to demand test case.
Summary of the invention
The object of the present invention is to provide for the problems referred to above and a kind ofly solve the realization of in the past testing an authentication function and ignore the GOOSE protocol conformance test method of the test problem of agreement own, technical scheme is as follows:
A kind of GOOSE protocol conformance test method, adopts Conformance Test Software to carry out station level GOOSE test and process layer GOOSE tests; Described process layer GOOSE test comprises:
Directly carry out MMS with tested IED to communicate, obtain the MMS message of tested IED;
According to MMS encoding and decoding dynamic base, the MMS message received is decoded;
By uniformity test hardware, tested IED is carried out to reception and the transmission of GOOSE message;
According to GOOSE encoding and decoding dynamic base, the GOOSE message received is decoded;
The MMS message completing decoding to above-mentioned according to the rule of Phython script and GOOSE message judge, obtain uniformity test result;
Described station level GOOSE test comprises:
The MMS message of the tested IED of direct acquisition and GOOSE message;
According to MMS encoding and decoding dynamic base, MMS message is decoded;
According to GOOSE encoding and decoding dynamic base, GOOSE message is decoded;
The MMS message completing decoding to above-mentioned according to the rule of Phython script and GOOSE message judge, obtain uniformity test result.
Further, source is also comprised when to adopt pair when SNTP couple is carried out to described testing software and tested IED.
The invention has the beneficial effects as follows: the mode that the present invention adopts MMS message closed loop to receive, complete collection and analyze the GOOSE detecting information of tested IED, GOOSE agreement is carried out comprehensively, the test of system, be conducive to finding the mistake in protocol massages, guarantee GOOSE agreement is had very important significance in engineering site application.
Accompanying drawing explanation
Fig. 1 is that GOOSE protocol conformance test method process layer GOOSE test platform of the present invention builds schematic diagram.
Fig. 2 is that GOOSE protocol conformance test method station level GOOSE test platform of the present invention builds schematic diagram.
Fig. 3 is GOOSE protocol conformance test method process layer GOOSE closed loop test method block diagram of the present invention.
Fig. 4 is GOOSE protocol conformance test method station level GOOSE closed loop test method block diagram of the present invention.
Embodiment
Below in conjunction with concrete the drawings and specific embodiments, the present invention will be further described: a kind of GOOSE protocol conformance test method, and employing Conformance Test Software carries out station level GOOSE test and process layer GOOSE tests.Fig. 1 is the situation that MMS and GOOSE divides mouth, i.e. the platform building schematic diagram of process layer GOOSE test, and Fig. 2 is MMS and GOOSE mouth situation altogether, i.e. the platform building schematic diagram of station level GOOSE test.
Process layer GOOSE tests and station level GOOSE tests the following two kinds of MMS closed loop test systems of employing respectively:
As shown in Figure 3, the first is Conformance Test Software (being arranged on PC), uniformity test hardware, tested IED(and DUT Device Under Test equipment under test), switch and pair time source composition closed loop test system: Conformance Test Software is communicated with hardware by internal agreement, testing hardware can be controlled export and receive GOOSE, and reception GOOSE can be transferred to testing software; Testing software and tested IED carry out MMS and communicate, and obtain the MMS report of IED equipment; Pair time source SNTP(Simple Network Time protocol SNTP is carried out to testing software and tested IED) pair time; Testing software carries out transmission and the reception of GOOSE data to DUT by testing hardware, simultaneously by the MMS data access of tested IED, thus complete the closed loop test to DUT.
As shown in Figure 4, the second be Conformance Test Software (being arranged on PC), tested IED, switch and pair time source composition closed loop test system: testing software can directly be exported by PC and receive GOOSE; Testing software and tested IED carry out MMS and communicate, and obtain the MMS report of tested IED; Pair time source when SNTP couple is carried out to testing software and tested IED; Testing software carries out transmission and the reception of GOOSE data to tested IED by PC, simultaneously by the MMS data access of tested IED, thus complete the closed loop test to DUT.
Conformance Test Software platform adopts the technology of cross-platform language and script, realizes test software platform, can support that user builds test logic and method of testing voluntarily, supports the test of IEC61850-10 and Domestic Correlative Standard specification.And according to the condition arranged in test case in test process, automatically can draw test result.Adopt cross-platform language QT, Phython script, dynamic base DLL tri-technology, Software Architecture Design, concrete function and flow process as follows: dynamic base comprises MMS encoding and decoding dynamic base, is mainly used in the encoding and decoding to MMS communication; GOOSE encoding and decoding dynamic base, is mainly used in the encoding and decoding to GOOSE communication.On the one hand, after having decoded, carry out rule judgment by Phython script; On the other hand, perform Phython script and send corresponding GOOSE message.Phython script is a kind of object-oriented, explanation type computer programming language, writes the rule of test case for completing.QT is cross-platform C++ graphical user interface application program frame, realizes editor and the execution of Phython script.Software testing system, according to the rule judgment of Phython script, provides final result.
Consistency testing system hardware platform, analyzes the feature of existing digital relay protection tester, adopts the technology such as embedded software hardware plan and GOOSE encoding and decoding, realizes distributed hardware platform.Can support with automatic test software platform information mutual, support the logic association of conventional input and output and GOOSE signal, real-time to control and signal synchronous.The encoding and decoding of MMS, GOOSE are completed according to ISO-9506, IEC 61850-8-1.Adopt MPC5200, BF547, FPGA distributed embedded hardware framework and built-in Linux operating system, multiple digitlization encoding and decoding technique.
Concrete method of testing is: process layer GOOSE test comprises:
Directly carry out MMS with tested IED to communicate, obtain the MMS message of tested IED;
According to MMS encoding and decoding dynamic base, the MMS message received is decoded;
By uniformity test hardware, tested IED is carried out to reception and the transmission of GOOSE message;
According to GOOSE encoding and decoding dynamic base, the GOOSE message received is decoded;
The MMS message completing decoding to above-mentioned according to the rule of Phython script and GOOSE message judge, obtain uniformity test result.
Station level GOOSE test comprises:
The MMS message of the tested IED of direct acquisition and GOOSE message;
According to MMS encoding and decoding dynamic base, MMS message is decoded;
According to GOOSE encoding and decoding dynamic base, GOOSE message is decoded;
The MMS message completing decoding to above-mentioned according to the rule of Phython script and GOOSE message judge, obtain uniformity test result.
Wherein, the mode by introducing python script can make user increase test case voluntarily.User also can use script to build the test case of certain logic voluntarily, all test cases all can adopt Phython script to write, the correlation function of GOOSE is also by the encapsulation of dynamic base, and user only needs can build different test functions by the different function of Phython language call.
Adopt this method also can test GOOSE data boundary, comprising: stNum and sqNum maximum, coupling character are zero, time or number of members become situation about diminishing greatly.
Upgrade logical check for the change of GoS2:GOOSE sequence number to be described:
GOOSE simulation hair sending end software sends GOOSE message, and keep stNum constant, sqNum is from max(0xFFFFFFFF) change to the signal condition that 1, DUT should keep GOOSE to receive.Here for the maximum boundary value of sqNum test.
GOOSE simulation hair sending end software sends GOOSE message, and sqNum is from max(0xFFFFFFFF) change to 0, meanwhile, stNum increases progressively, and the GOOSE state of DUT should change with new state.Here for the maximum boundary value of stNum test.

Claims (2)

1. a GOOSE protocol conformance test method, is characterized in that, employing Conformance Test Software carries out station level GOOSE test and process layer GOOSE tests; Described process layer GOOSE test comprises:
Directly carry out MMS with tested IED to communicate, obtain the MMS message of tested IED;
According to MMS encoding and decoding dynamic base, the MMS message received is decoded;
By uniformity test hardware, tested IED is carried out to reception and the transmission of GOOSE message;
According to GOOSE encoding and decoding dynamic base, the GOOSE message received is decoded;
The MMS message completing decoding to above-mentioned according to the rule of Phython script and GOOSE message judge, obtain uniformity test result;
Described station level GOOSE test comprises:
The MMS message of the tested IED of direct acquisition and GOOSE message;
According to MMS encoding and decoding dynamic base, MMS message is decoded;
According to GOOSE encoding and decoding dynamic base, GOOSE message is decoded;
The MMS message completing decoding to above-mentioned according to the rule of Phython script and GOOSE message judge, obtain uniformity test result.
2. GOOSE protocol conformance test method according to claim 1, is characterized in that, also to comprise when to adopt pair source when carrying out SNTP couple to described testing software and tested IED.
CN201510188664.XA 2015-04-20 2015-04-20 GOOSE protocol consistency test method Pending CN104917646A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201510188664.XA CN104917646A (en) 2015-04-20 2015-04-20 GOOSE protocol consistency test method

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201510188664.XA CN104917646A (en) 2015-04-20 2015-04-20 GOOSE protocol consistency test method

Publications (1)

Publication Number Publication Date
CN104917646A true CN104917646A (en) 2015-09-16

Family

ID=54086374

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201510188664.XA Pending CN104917646A (en) 2015-04-20 2015-04-20 GOOSE protocol consistency test method

Country Status (1)

Country Link
CN (1) CN104917646A (en)

Cited By (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN106789406A (en) * 2016-12-02 2017-05-31 国网四川省电力公司电力科学研究院 A kind of IEC61850 communication protocol standards consistency testing system
CN106788689A (en) * 2016-12-05 2017-05-31 国网福建省电力有限公司 A kind of intelligent substation tester wiring automatic checkout system and method
CN111258889A (en) * 2020-01-10 2020-06-09 北京航天测控技术有限公司 Qt-based automatic test measurement method
CN111770007A (en) * 2020-09-03 2020-10-13 南京五采智电电力科技有限公司 Custom service testing tool and method based on power system universal service protocol
CN112865299A (en) * 2020-12-31 2021-05-28 南京景诺电气有限公司 Intelligent substation consistency test method and system
CN113507436A (en) * 2021-06-02 2021-10-15 中国人民解放军63880部队 Power grid embedded terminal fuzzy test method aiming at GOOSE protocol

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102291277A (en) * 2011-08-09 2011-12-21 上海思源弘瑞自动化有限公司 Automatic test system and method for intelligent substation spacing apparatus
CN202533519U (en) * 2012-02-21 2012-11-14 国家电网公司 Fully automatic closed loop test system of protective relaying device
CN103166323A (en) * 2013-04-11 2013-06-19 上海毅昊自动化有限公司 System for monitoring secondary circuit model on line in real time based on protection device
CN103618384A (en) * 2013-11-29 2014-03-05 上海毅昊自动化有限公司 Secondary circuit closed loop monitoring system based on GOOSE input end mapping mechanism
CN104468277A (en) * 2014-12-18 2015-03-25 国家电网公司 Consistency testing method and device for transformer substation network and communication protocol

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102291277A (en) * 2011-08-09 2011-12-21 上海思源弘瑞自动化有限公司 Automatic test system and method for intelligent substation spacing apparatus
CN202533519U (en) * 2012-02-21 2012-11-14 国家电网公司 Fully automatic closed loop test system of protective relaying device
CN103166323A (en) * 2013-04-11 2013-06-19 上海毅昊自动化有限公司 System for monitoring secondary circuit model on line in real time based on protection device
CN103618384A (en) * 2013-11-29 2014-03-05 上海毅昊自动化有限公司 Secondary circuit closed loop monitoring system based on GOOSE input end mapping mechanism
CN104468277A (en) * 2014-12-18 2015-03-25 国家电网公司 Consistency testing method and device for transformer substation network and communication protocol

Cited By (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN106789406A (en) * 2016-12-02 2017-05-31 国网四川省电力公司电力科学研究院 A kind of IEC61850 communication protocol standards consistency testing system
CN106788689A (en) * 2016-12-05 2017-05-31 国网福建省电力有限公司 A kind of intelligent substation tester wiring automatic checkout system and method
CN111258889A (en) * 2020-01-10 2020-06-09 北京航天测控技术有限公司 Qt-based automatic test measurement method
CN111770007A (en) * 2020-09-03 2020-10-13 南京五采智电电力科技有限公司 Custom service testing tool and method based on power system universal service protocol
CN112865299A (en) * 2020-12-31 2021-05-28 南京景诺电气有限公司 Intelligent substation consistency test method and system
CN113507436A (en) * 2021-06-02 2021-10-15 中国人民解放军63880部队 Power grid embedded terminal fuzzy test method aiming at GOOSE protocol
CN113507436B (en) * 2021-06-02 2022-08-23 中国人民解放军63880部队 Power grid embedded terminal fuzzy test method aiming at GOOSE protocol

Similar Documents

Publication Publication Date Title
CN104917646A (en) GOOSE protocol consistency test method
CN103744422B (en) A kind of to the protective relaying device automatic test approach based on IEC61850 standard
CN103823199B (en) Intelligent substation relay-protection tester automated detection system and detection method
CN105607509B (en) A kind of wireless industrial control system semi physical safety experiment platform
CN109541353B (en) Distribution automation detecting system
CN105093017B (en) Intelligent substation GOOSE integrated testabilities device and its method of testing
CN108306753B (en) Simulation device, test method and system for shutdown of I-zone data communication network
CN104468277A (en) Consistency testing method and device for transformer substation network and communication protocol
CN103529377A (en) Automatic testing system and method for intelligent transformer substation digital protection device
CN102129001B (en) Digital relay protection device testing system and method
CN204291050U (en) A kind of dispatching and monitoring information check system
CN103869190A (en) Real time simulation system-based power distribution terminal automatic closed-loop test platform
CN106681313B (en) Stability control system function test method and system
CN109286538A (en) Communication protocol conformance test method and terminal device
CN107257304B (en) Telecontrol point-aligning-free configuration test system
CN110958327A (en) Intelligent substation remote testing system and method
CN108512730B (en) Intelligent substation telecontrol system equipment testing method, device and system
CN201839095U (en) Intelligent transformer substation testing and simulation system
CN107942167A (en) Intelligent substation synchronous phasor measuring device boss, which stands, tests system and method
CN104978262A (en) Terminal test method and terminal test device
CN103955190B (en) A kind of network control method for distributed intelligence test system
CN106789406A (en) A kind of IEC61850 communication protocol standards consistency testing system
CN103218289B (en) Satellite-borne software test automatic executing method
CN203909606U (en) Test system for distribution automation system
CN103942092A (en) HLA co-simulation method supporting LabView graphical programming

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
WD01 Invention patent application deemed withdrawn after publication

Application publication date: 20150916

WD01 Invention patent application deemed withdrawn after publication