CN101582844A - Negative testing method applicable to standard and digital relay protective devices - Google Patents

Negative testing method applicable to standard and digital relay protective devices Download PDF

Info

Publication number
CN101582844A
CN101582844A CNA2009100326217A CN200910032621A CN101582844A CN 101582844 A CN101582844 A CN 101582844A CN A2009100326217 A CNA2009100326217 A CN A2009100326217A CN 200910032621 A CN200910032621 A CN 200910032621A CN 101582844 A CN101582844 A CN 101582844A
Authority
CN
China
Prior art keywords
message
data
buffer memory
control sequence
digital relay
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.)
Granted
Application number
CNA2009100326217A
Other languages
Chinese (zh)
Other versions
CN101582844B (en
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.)
JINZHI SCIENCE AND TECHNOLOGY Co Ltd JIANGSU
Original Assignee
JINZHI SCIENCE AND TECHNOLOGY Co Ltd JIANGSU
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 JINZHI SCIENCE AND TECHNOLOGY Co Ltd JIANGSU filed Critical JINZHI SCIENCE AND TECHNOLOGY Co Ltd JIANGSU
Priority to CN2009100326217A priority Critical patent/CN101582844B/en
Publication of CN101582844A publication Critical patent/CN101582844A/en
Application granted granted Critical
Publication of CN101582844B publication Critical patent/CN101582844B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Landscapes

  • Data Exchanges In Wide-Area Networks (AREA)

Abstract

The invention relates to a negative testing method applicable to standard and digital relay protective devices, which is characterized by simulating possible abnormal conditions in a data interaction process of a digital relay protection device according to the configuration of a user and testing the abnormal condition handling capacities of the digital relay protection device, wherein abnormal condition handling capacities comprise a capacity for handling test message destination address errors and data errors and a capacity for handling delayed test message transmission. The test of whether a digital protection device has an abnormal optical fiber communication condition handling capacity under a condition of sound operation of optical fibers in an initial test stage is difficult, so artificially simulation of abnormal optical fiber communication conditions is necessary for testing the abnormal optical fiber communication condition handling capacity of the digital protection device. Through the customization of output messages of a digital relay protection tester, possible abnormal communication conditions can be simulated artificially, so the problem of testing the abnormal communication condition handling capacity of the digital relay protection device is solved.

Description

Be applicable to the negative method of testing of standard and digital relay protective devices
Technical field
The present invention is for standard and digital relay protective devices provides a kind of negative method of testing, promptly a kind of method of testing of testing the communication abnormality disposal ability of digital relay protection device.The technical field that belongs to the Automation of Electric Systems device.
Background technology
Along with the research and development of digital transformer substation are promoted, the protective device (digital protection device) of digital transformer substation and electronic mutual inductor interface has appearred more and more being used for.Such protective device is different with traditional microcomputer protecting device that passes through acquisition system secondary side voltage, electric current, and it mainly receives the digital signal of merge cells (MU) by optical fiber, provides action command according to the protection logic then.Adopt unified agreement between it and other intelligent apparatus, carry out exchanges data, and realize real resource-sharing, data sharing by network by network.Thereby such protective relaying device has advantages such as antijamming capability is strong, in light weight, volume is little, cost is low, networking flexibility.
Digital transformer substation generally adopts optical fiber to carry out the communication connection.The reliability of optical-fibre communications is very high, and the general error rate is all below 1.0E-10.Yet for the digital protection device of long-time running, data quantity transmitted also is surprising on the optical fiber.With a digital protection device with 12 analog channel inputs is example; data communication amount in one day time between protective device and the merge cells (MU) is approximately 0.4E10; that is to say that the probability that every day occurs an error code is 40% under the situation of the normal operation of optical fiber.And ill-conditioned in communication, under the situations such as, loose contact aging such as optical fiber, the error rate of optical-fibre communications can have greatly improved.Thereby, be necessary to consider in the digital protection device because the influence that optical-fibre communications causes to protective device unusually.
The test of present stage for the digital protection device mainly contains two kinds of approach: a kind of is to be converted to the digital signal output that meets the IEC61850 stipulations by specific device by the output with the relay-protection tester of routine; another kind of approach is by existing digital relay protection tester, and directly output meets the digital signal of IEC61850 stipulations.Yet in the initial testing stage, optical fiber generally all is under the good ruuning situation, wants to test in this way in optical-fibre communications and descends the digital protection device whether can correctly handle to be very difficulty unusually.Thereby be necessary artificial analog optical fiber communication abnormality, test of the processing of digital protection device for communication abnormality.
Summary of the invention
Technical problem: the purpose of this invention is to provide a kind of negative method of testing that is applicable to standard and digital relay protective devices.By customization to digitlization relay-protection tester outgoing message, the communication abnormality that artificial simulation may occur, thus solve the difficult problem of digital relay protection device communication abnormality disposal ability test.
Technical scheme: the negative method of testing that is applicable to standard and digital relay protective devices of the present invention: according to user's setting, the abnormal conditions that may occur in the analog digital protective relaying device data exchange process, the exception handling ability of test digital relay protection device; Specifically comprise test packet destination address mistake or error in data disposal ability and test packet forward delay interval disposal ability,
The concrete grammar of test packet destination address mistake or error in data disposal ability is:
1) be provided with according to the user and generate the message control sequence, with this sequence as the foundation that message is handled;
2) generate correct data message according to IEC61850 stipulations or other relevant criterion;
3) generate from step 1) and find the pairing controlling value of the current message that will export the message control sequence;
4) controlling value is judged,, then directly entered step 6) if controlling value is 0; If pairing controlling value is 1, then enter step 5);
5) according to the function of being tested correct message is made amendment; If test target address error disposal ability is then partly carried out random modification to destination address.If test data message error processing capacity is then carried out random modification to the data message part; The principle of revising is, no matter how to revise, must guarantee error message verification and with the verification of correct message and inconsistent;
6) data message is sent to tested device;
The concrete grammar of test packet forward delay interval disposal ability is:
21) be provided with according to the user and generate the message control sequence, with this sequence as the foundation that message is handled;
22) in each message output is regularly interrupted, generate correct data message according to IEC61850 stipulations or other relevant criterion;
23) from step 21) generate and find the pairing controlling value of the current message that will export the message control sequence, controlling value is judged, if controlling value is 1, then enter step 24 step, otherwise enter step 25);
24) message is put into buffer memory;
25) check in the buffer memory of depositing message whether deposited message,, then directly enter step 28 if there is not message to deposit), otherwise enter step 26);
26) message of current generation is put into buffer memory;
27) from buffer memory, take out the message that deposits in the earliest, and leave in the current message memory space;
28) current message is sent to tested device;
29) check in the buffer memory whether also have message,, then finish this regularly Interrupt Process if do not have; If have, then enter step 27) continue to handle.
Test packet destination address mistake or error in data method of processing capacity are: generated the message control sequence in advance, during each message regularly interrupts then, generated correct data message, then with reference to the message control sequence to the output of making amendment of data message.
Test packet forward delay interval method of processing capacity is: generated the message control sequence in advance, during each message regularly interrupts then, generated correct data message.Whether the correspondence position data are 0 in the detection messages control sequence, if 0, then check and whether have message in the buffer memory, deposit current message in buffer memory if having then, according to the principle of first in first out the message in the buffer memory is taken out one by one and to send to tested device, if do not exist message then directly to send to tested device.If the value of correspondence position is 1 in the message control sequence, then deposit message in buffer memory, finish this Interrupt Process.
Used tester is the iPACS-MATE relay-protection tester.
Beneficial effect: this method realizes in the general relay-protection tester of iPACS-MATE digital-to-analogue that our company produces; and being used for the test of digital relay protection device that company is produced, the result shows that the exception handling ability that this method can effectively be tested standard and digital relay protective devices tests.Compare the exception handling ability of testing protective device generally speaking by the modification program that protective device moved, this method is simple and convenient.
Description of drawings
Fig. 1 message control sequence schematic diagram.
Fig. 2 destination address or data exception module controls flow graph.
Fig. 3 forward delay interval module controls flow graph.
Embodiment
In the network communication of simple architecture, owing to there is not a route selection, thereby its unusual main 2 kinds of situations of having only: the one, the frame mistake that causes owing to error code, the 2nd, under the very heavy situation of offered load, the frame forward delay interval.Under first kind of situation, again because the randomness of error code occurrence positions may cause two kinds of influences.A kind of is that error code occurs in destination address part in the net frame, in this case, generally can cause receiving terminal can't receive Ethernet; Another kind of situation is the other parts that error code occurs in ethernet frame, in this case, and the receiving terminal literary composition of can receiving telegraph, but wrong in the message.
At above various, the basic skills of this method of testing is to realize three functional modules earlier, handles above unusual combination respectively: destination address abnormal module, data exception module and time-delay sending module.
The destination address abnormal module is the same substantially with the implementation method of data exception module, and just the data of being revised when generating peculiar message are different.Concrete grammar is:
1) according to the user output sequence that generates correct message and error message is set, as shown in Figure 1;
2) when relay-protection tester timing down trigger, generate correct data message according to IEC61850 stipulations or other standard;
3) according to the message output sequence to corresponding data in the correct data message make amendment (modifying target address or revise message data part);
4) data message is exported;
5) repeat 2), 3), 4).
The destination address abnormal module can be tested the frame losing interpolation of sampling module in the protective device and continuous function such as frame losing latch-up protection.Communication between protective device and the ICU (intelligent control unit) because much install a shared GOOSE net, so just can be tested the address that was set to the A target originally, but because error code has become the situation of B target.In this case, since the check code mistake, the influence that is not subjected to error message that the B target should be able to be correct.Functions such as the data exception module can the calculating of sampling module check code, frame losing interpolation.For control section, can test the retransmission mechanism of communication etc.
The concrete grammar of time-delay sending module is:
1) according to the user sequence whether the needs time-delay is exported is set, as shown in Figure 1;
2) when relay-protection tester timing down trigger, generate correct data message according to IEC61850 stipulations or other standard;
3) detect whether this bag needs time-delay in the output sequence, if need time-delay then message to be put into buffer memory.If do not need time-delay, then the message in the buffer memory exported one by one by the principle of first in first out.
4) repeat 2), 3).
Time-delay sends unusual because the protective device sampling section generally adopts optical fiber direct-connected, and the data volume on the optical-fibre channel is stablized and generally can not be taken place.At control module, can correctly handle for late message in the time of can the test network storm.
In the digital relay protection tester, at first be provided with and generate the message control sequence according to the user, with this sequence as the foundation that outgoing message is handled.Generate correct data message according to IEC61850 or other standard then, with reference to the message control sequence,, then normally export this message if corresponding value is 0 in the sequence of message, if value corresponding in the sequence of message is 1, then message is handled according to the concrete exception handling ability of being tested., then destination address is made amendment when unusual in the test target address, the message with amended destination address mistake sends then.If test data when unusual, is then made amendment to the data division in the message, the error message that will revise data division then sends.When transmission is unusual if test is delayed time, then earlier message is put into buffer memory, up to detecting current message corresponding value in the message control sequence is 0 o'clock, and the principle of the message in the buffer memory by first in first out sent one by one, more current message is sent at last.
The present invention is described further below in conjunction with accompanying drawing.
Fig. 1 is a control sequence schematic diagram of the present invention.This sequence is generated according to the rule that the user sets automatically by program.In whole test process, with deciding this to export which type of message.What 1. section represented continuous 4 outputs in the schematic diagram all is normal message.2. section represents to export once wrong message.3. section represents that 3 messages of output all are wrong continuously.4. section represents that 4 messages of output continuously all are not delay time.5. section represents that 1 message of first message delay exports at interval, the transmitting time output of a message of a back message delay.6. section represents that 3 messages of first message delay export at interval, and 2 messages of second message delay are exported at interval, and the rest may be inferred.
Fig. 2 is destination address of the present invention or data exception module controls flow graph.This module is mainly used in the analog message destination address or there is unusual situation in data division.The course of work is described as follows:
1. generate correct data message according to IEC61850 stipulations or other relevant criterion.
2. from message control sequence shown in Figure 1, find the pairing controlling value of the current message that will export.
3. controlling value is judged,, then directly entered for the 5th step if controlling value is 0; If pairing controlling value is 1, then entered for the 4th step.
4. according to the function of being tested correct message is made amendment.If test target address mistake is then partly carried out random modification to destination address, if test data message mistake is then carried out random modification to the data message part.The principle of revising is, no matter how to revise, must guarantee error message verification and with the verification of correct message and inconsistent.
5. data message is sent to tested device.
Fig. 3 is a forward delay interval module controls flow graph of the present invention.When this module is mainly used to the test data forward delay interval, the disposal ability of tested device.The course of work is described as follows:
1. generate correct data message according to IEC61850 stipulations or other relevant criterion.
2. from message control sequence shown in Figure 1, find the pairing controlling value of the current message that will export.
3. controlling value is judged, if controlling value is 1, then entered for the 4th step, otherwise entered for 5 steps.
4. message is put into buffer memory.
5. check in the buffer memory of depositing message whether deposited message,, then directly entered for the 8th step if there is not message to deposit.Otherwise entered for the 6th step.
6. the message of current generation is put into buffer memory.
7. from buffer memory, take out the message that deposits in the earliest, and leave in the current message memory space.
8. current message is sent to tested device.
9. whether also there is message in the inspection buffer memory, then do not finish this regularly Interrupt Process if having.If have, then enter the continuation of the 7th step and handle.

Claims (3)

1. negative method of testing that is applicable to standard and digital relay protective devices, it is characterized in that: according to user's setting, the abnormal conditions that may occur in the analog digital protective relaying device data exchange process, the exception handling ability of test digital relay protection device; Specifically comprise test packet destination address mistake or error in data disposal ability and test packet forward delay interval disposal ability,
The concrete grammar of test packet destination address mistake or error in data disposal ability is:
1) be provided with according to the user and generate the message control sequence, with this sequence as the foundation that message is handled;
2) generate correct data message according to IEC61850 stipulations or other relevant criterion;
3) generate from step 1) and find the pairing controlling value of the current message that will export the message control sequence;
4) controlling value is judged,, then directly entered step 6) if controlling value is 0; If pairing controlling value is 1, then enter step 5);
5) according to the function of being tested correct message is made amendment; If test target address error disposal ability is then partly carried out random modification to destination address.If test data message error processing capacity is then carried out random modification to the data message part; The principle of revising is, no matter how to revise, must guarantee error message verification and with the verification of correct message and inconsistent;
6) data message is sent to tested device;
The concrete grammar of test packet forward delay interval disposal ability is:
21) be provided with according to the user and generate the message control sequence, with this sequence as the foundation that message is handled;
22) in each message output is regularly interrupted, generate correct data message according to IEC61850 stipulations or other relevant criterion;
23) from step 21) generate and find the pairing controlling value of the current message that will export the message control sequence, controlling value is judged, if controlling value is 1, then enter step 24 step, otherwise enter step 25);
24) message is put into buffer memory;
25) check in the buffer memory of depositing message whether deposited message,, then directly enter step 28 if there is not message to deposit), otherwise enter step 26);
26) message of current generation is put into buffer memory;
27) from buffer memory, take out the message that deposits in the earliest, and leave in the current message memory space;
28) current message is sent to tested device;
29) check in the buffer memory whether also have message,, then finish this regularly Interrupt Process if do not have; If have, then enter step 27) continue to handle.
2. the negative method of testing that is applicable to standard and digital relay protective devices according to claim 1; it is characterized in that test packet destination address mistake or error in data method of processing capacity are: generated the message control sequence in advance; during each message regularly interrupts then; generate correct data message, then with reference to the message control sequence to the output of making amendment of data message.
3. the negative method of testing that is applicable to standard and digital relay protective devices according to claim 1; it is characterized in that test packet forward delay interval method of processing capacity is: generated the message control sequence in advance; during each message regularly interrupts then, generate correct data message.Whether the correspondence position data are 0 in the detection messages control sequence, if 0, then check and whether have message in the buffer memory, deposit current message in buffer memory if having then, according to the principle of first in first out the message in the buffer memory is taken out one by one and to send to tested device, if do not exist message then directly to send to tested device.If the value of correspondence position is 1 in the message control sequence, then deposit message in buffer memory, finish this Interrupt Process.
CN2009100326217A 2009-06-29 2009-06-29 Negative testing method applicable to standard and digital relay protective devices Active CN101582844B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN2009100326217A CN101582844B (en) 2009-06-29 2009-06-29 Negative testing method applicable to standard and digital relay protective devices

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN2009100326217A CN101582844B (en) 2009-06-29 2009-06-29 Negative testing method applicable to standard and digital relay protective devices

Publications (2)

Publication Number Publication Date
CN101582844A true CN101582844A (en) 2009-11-18
CN101582844B CN101582844B (en) 2011-05-18

Family

ID=41364810

Family Applications (1)

Application Number Title Priority Date Filing Date
CN2009100326217A Active CN101582844B (en) 2009-06-29 2009-06-29 Negative testing method applicable to standard and digital relay protective devices

Country Status (1)

Country Link
CN (1) CN101582844B (en)

Cited By (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103744422A (en) * 2014-01-06 2014-04-23 国家电网公司 Automatic testing method for relay protection device based on IEC61850 standard
CN104897980A (en) * 2015-03-15 2015-09-09 国家电网公司 Method of evaluating longitudinal differential protection device abnormal action probabilities caused by communication delay error code
CN105099810A (en) * 2015-05-27 2015-11-25 国家电网公司 Communication test method and system for sampling value interface
CN105720959A (en) * 2014-12-04 2016-06-29 国家电网公司 Method and system for testing trigger time-delay of relay protection tester
CN107340436A (en) * 2016-04-28 2017-11-10 中国电力科学研究院 A kind of intelligent substation relay protection sampled data exception analog detection method
CN111880134A (en) * 2020-06-24 2020-11-03 南方电网科学研究院有限责任公司 Method and device for testing quality abnormity of electronic transformer measurement system
CN113708993A (en) * 2021-08-13 2021-11-26 视联动力信息技术股份有限公司 Abnormal state testing method and device, terminal equipment and storage medium

Cited By (12)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103744422A (en) * 2014-01-06 2014-04-23 国家电网公司 Automatic testing method for relay protection device based on IEC61850 standard
CN103744422B (en) * 2014-01-06 2016-04-06 国家电网公司 A kind of to the protective relaying device automatic test approach based on IEC61850 standard
CN105720959A (en) * 2014-12-04 2016-06-29 国家电网公司 Method and system for testing trigger time-delay of relay protection tester
CN105720959B (en) * 2014-12-04 2019-01-25 国家电网公司 A kind of method and system for testing relay-protection tester Time delay
CN104897980A (en) * 2015-03-15 2015-09-09 国家电网公司 Method of evaluating longitudinal differential protection device abnormal action probabilities caused by communication delay error code
CN104897980B (en) * 2015-03-15 2017-11-03 国家电网公司 A kind of improper action probability evaluation method of failure of longitudinal differential protecting equipment caused by communication delay error code
CN105099810A (en) * 2015-05-27 2015-11-25 国家电网公司 Communication test method and system for sampling value interface
CN107340436A (en) * 2016-04-28 2017-11-10 中国电力科学研究院 A kind of intelligent substation relay protection sampled data exception analog detection method
CN107340436B (en) * 2016-04-28 2020-11-27 中国电力科学研究院 Intelligent substation relay protection sampling data abnormity simulation test method
CN111880134A (en) * 2020-06-24 2020-11-03 南方电网科学研究院有限责任公司 Method and device for testing quality abnormity of electronic transformer measurement system
CN111880134B (en) * 2020-06-24 2023-01-03 南方电网科学研究院有限责任公司 Method and device for testing quality abnormity of electronic transformer measurement system
CN113708993A (en) * 2021-08-13 2021-11-26 视联动力信息技术股份有限公司 Abnormal state testing method and device, terminal equipment and storage medium

Also Published As

Publication number Publication date
CN101582844B (en) 2011-05-18

Similar Documents

Publication Publication Date Title
CN101582844B (en) Negative testing method applicable to standard and digital relay protective devices
CN101257224B (en) Technique for realizing transforming plant anti mis-closedown function in transforming plant observe and control apparatus
CN108366067B (en) System and method for testing consistency of universal service protocol of power system
Lévesque et al. Communications and power distribution network co-simulation for multidisciplinary smart grid experimentations
CN101887269B (en) Five-prevention logic test method of 61850 transformer substation and system thereof
CN101316051A (en) Internetwork communication log analysis system and method based on IEC61850 transforming plant automatization system
CN103176084A (en) Intelligent substation simulation system in panoramic replace mode and integration testing method for intelligent substation simulation system
CN104753085A (en) Remote online monitoring system for distributed photovoltaic access
CN102752299B (en) Debugging-free composite communication device and method for electric vehicle charging station
CN106329720A (en) Detecting and debugging method for reconstruction and extension project secondary system for intelligent substation
CN104601375A (en) Intelligent substation communication network monitoring system, setting method and monitoring method
CN106970537A (en) Electric power and communication semi-matter simulating system and construction method based on RTDS and SDH
Tong et al. Flexible hardware‐in‐the‐loop testbed for cyber physical power system simulation
Liu et al. A reliability assessment method of cyber physical distribution system
CN114460925B (en) Automatic test method for CAN interface HIL of electric automobile controller
CN105759150A (en) Test system and method for transformer substation secondary device prefabricated cabin
CN105703944A (en) Comprehensive simulation method of power grid and communication network
CN105553761A (en) IEC61850 conformance testing hardware platform
CN111426895A (en) In-situ protection device test system and test method thereof
CN107888598B (en) Nuclear power station electrical secondary system information safety risk evaluation system and method
CN107179740B (en) The Compilation Method and embedded system of Embedded PLC
Xue et al. Approach for studying the impact of communication failures on power grid
CN102930069B (en) A kind of transmission channel emulation mode for relay protection and system
CN202076851U (en) Merging unit with dual-network independent sampling function
CN109548015B (en) Charging equipment management method based on mobile WiFi

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
C14 Grant of patent or utility model
GR01 Patent grant