Whole-station interconnection automatic test method and device for digital substation
By building a whole-site testing platform and parsing SCD files to generate topology diagrams and IED list views, the problem of difficult unified management of digital substation testing was solved, and efficient whole-site testing management was achieved.
Patent Information
- Application Number
- CN202511194453.7
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2025-08-25
- Publication Date
- 2025-11-18
AI Technical Summary
Existing technologies are insufficient for unified management and testing of digital substations, especially lacking system-level testing methods and automated testing systems at the whole-station level.
A site-wide testing platform is built, which generates a topology diagram and IED list view by parsing SCD files, provides a functional testing interface, and enables functional testing and unified management of each IED.
It has enabled unified test management of the entire digital substation, improving test efficiency and accuracy while reducing test difficulty.
Smart Images

Figure CN120978995A_ABST
Abstract
Description
TECHNICAL FIELD
[0001] The present application relates to the field of substation testing, in particular to a method and device for automatically testing a whole digital substation, a computer readable storage medium and a computer program product. BACKGROUND
[0002] An intelligent substation differs from a traditional substation mainly in the popularization of intelligent secondary devices and the application of IEC61850 protocol. High-speed networks are used for communication between secondary devices, and I / O field interfaces of conventional functional devices no longer exist. Data sharing and resource sharing are achieved through networks, so the architecture of a substation secondary system, the data acquisition mode, the data transmission mode, the station communication protocol and other aspects have fundamentally changed. The current testing of intelligent substations is developing towards high efficiency, automation and full station, which not only requires single function testing of each IED (intelligent electronic device) in the station, but also involves SCD (substation configuration file) file testing and virtual terminal testing of the whole station.
[0003] Currently, the testing of a substation secondary system is still mainly concentrated on single testing of secondary devices such as protection and control devices, and there is little system-level testing work for the whole station in the field. Even the testing method for the whole group of interlocking protection across intervals and levels is rarely seen. The testing of a substation secondary system still stays in the traditional mode, and there is no unified management of various tests of the whole station, and there is no automatic testing system running on the whole station level for testing. SUMMARY
[0004] The main purpose of the present application is to provide a method and device for automatically testing a whole digital substation, a computer readable storage medium and a computer program product, so as to at least solve the problem that it is difficult to uniformly manage the testing of a digital substation in the prior art.
[0005] In order to achieve the above object, according to one aspect of the present application, a digital substation whole-station interconnection automatic test method is provided, comprising: constructing a test interface of a whole-station test platform, the test interface comprising a main interface, a whole-station display interface and a whole-station function interface, the main interface being used for recording a substation test task list, the whole-station display interface being used for displaying a topology structure diagram and / or an IED list view of a digital substation, and the whole-station function interface comprising a plurality of function test interfaces; parsing an SCD file to obtain an IED file and a summary information file, the IED file comprising a data model and a data set channel information of an IED, and the summary information file being used for describing an interconnection relationship between IEDs; generating the topology structure diagram and / or the IED list view of the digital substation according to the summary information file; determining one IED as a measured device according to the topology structure diagram or the IED list view; in response to a predetermined operation acting on the measured device, jumping to the function test interface corresponding to the predetermined operation, executing a function test task of the measured device according to the IED file, and recording a test record of the function test task in the substation test task list.
[0006] Optionally, the whole-station function interface comprises a device data model consistency test interface, in response to a predetermined operation acting on the measured device, jumping to the function test interface corresponding to the predetermined operation, executing a function test task of the measured device according to the IED file, and recording a test record of the function test task in the substation test task list, comprising: in response to a first predetermined operation acting on the measured device, jumping to the device data model consistency test interface corresponding to the first predetermined operation; connecting the whole-station test platform and the measured device on-line to read a device data model file of the measured device; comparing the device data model file of the measured device with the IED file of the measured device to obtain a device data model consistency test result of the measured device, and recording the device data model consistency test result in the substation test task list corresponding to the function test task.
[0007] Optionally, the whole station function interface further comprises an intelligent configuration interface, in response to a predetermined operation acting on the measured device, jumping to the function test interface corresponding to the predetermined operation, performing a function test task of the measured device according to the IED file, and recording a test record of the function test task in the substation test task list, comprising: in response to a second predetermined operation acting on the measured device, jumping to the intelligent configuration interface corresponding to the second predetermined operation; generating a configuration file according to the data set channel information of the IED file of the measured device, the data set channel information comprising SV information, GOOSEIN information and GOOSEOUT information; establishing a connection between a test instrument and each IED according to the configuration file to obtain a configuration result, the test instrument being used to simulate a relay and an intelligent terminal to send telemetering and telecommunication to the measured device; and recording the configuration result in the substation test task list corresponding to the function test task.
[0008] Optionally, the whole station function interface further comprises a virtual terminal test interface, in response to a predetermined operation acting on the measured device, jumping to the function test interface corresponding to the predetermined operation, performing a function test task of the measured device according to the IED file, and recording a test record of the function test task in the substation test task list, comprising: in response to a third predetermined operation acting on the measured device, jumping to the virtual terminal test interface corresponding to the third predetermined operation; the whole station test platform is configured to drive a test instrument to send SV messages or GOOSE messages to the measured device through a virtual terminal channel, the test instrument being used to simulate a relay and an intelligent terminal; the whole station test platform reads a test result of the measured device to determine whether a virtual terminal connection corresponding to the virtual terminal channel is qualified, obtaining a virtual terminal test result; and recording the virtual terminal test result in the substation test task list corresponding to the function test task.
[0009] Optionally, the whole station function interface further comprises a protection function test interface, in response to a predetermined operation acting on the device under test, jumping to the function test interface corresponding to the predetermined operation, performing a function test task of the device under test according to the IED file, and recording a test record of the function test task in the substation test task list, comprising: in response to a fourth predetermined operation acting on the device under test, jumping to the protection function test interface corresponding to the fourth predetermined operation; in the case that the device under test is a protection device, the whole station test platform is configured to drive a tester to send SV messages or GOOSE messages to the protection device through a virtual terminal channel, the SV messages and the GOOSE messages being messages of simulation signals triggering the protection device to perform a protection action; the whole station test platform reads action information of the protection device, determines a function test result of the protection device according to whether the action information is consistent with an expected action of the protection device, and records the function test result in the substation test task list corresponding to the function test task.
[0010] Optionally, before the method of jumping to the function test interface corresponding to the predetermined operation acting on the device under test, performing a function test task of the device under test according to the IED file, the method further comprises: generating all the function test tasks of the digital substation according to the SCD file, and generating the substation test task list according to all the function test tasks.
[0011] Optionally, the SCD file is parsed to obtain the IED file and the summary information file, comprising: the SCD file is parsed by using a DOM method and a TinyXML parsing tool to obtain the IED file and the summary information file, the IED file comprising a data model of the IED and a data set model of the IED, the data set model of the IED comprising data set models of SmvOut, SmvIn, GsOut and GsIn, the data set model comprising a data set, data under the data set and a channel under the data set, the data set comprising an access point, a logical device, a logical node, an APPID, a MAC, a total number of input channels and a number of available channels.
[0012] According to another aspect of the present application, there is provided a digital substation whole-station interconnection automatic testing device, comprising: a construction unit configured to construct a test interface of a whole-station test platform, the test interface comprising a main interface, a whole-station display interface and a whole-station function interface, the main interface being configured to record a substation test task list, the whole-station display interface being configured to display a topology structure diagram and / or an IED list view of a digital substation, and the whole-station function interface comprising a plurality of function test interfaces; an analysis unit configured to analyze an SCD file to obtain an IED file and a summary information file, the IED file comprising a data model and a data set channel information of an IED, and the summary information file being configured to describe an interconnection relationship between IEDs; a first generation unit configured to generate the topology structure diagram and / or the IED list view of the digital substation according to the summary information file; a determination unit configured to determine one IED as a device under test according to the topology structure diagram or the IED list view; and a jump unit configured to jump to a function test interface corresponding to a predetermined operation of the device under test in response to the predetermined operation acting on the device under test, execute a function test task of the device under test according to the IED file, and record a test record of the function test task in the substation test task list.
[0013] According to still another aspect of the present application, there is provided a computer readable storage medium, comprising a stored program, wherein the computer readable storage medium controls a device where the computer readable storage medium is located to execute any of the methods when the program is run.
[0014] According to yet another aspect of the present application, there is provided a computer program product, comprising a computer program, which, when executed by a processor, implements any of the methods.
[0015] With the technical solution of the present application, in the digital substation whole-station interconnection automatic testing method, the test interface of the whole-station test platform is constructed, the topology structure diagram and / or the IED list view of the digital substation are generated and displayed according to the summary information file obtained by analyzing the SCD file, the interconnection relationship between IEDs is displayed, one IED can be selected as the device under test in the topology structure diagram or the IED list view, the function test task is executed in the whole-station function interface, the substation test task list is recorded in the main interface, the function test progress and other detailed test information are displayed, the whole-station unified test management of the digital substation is implemented, and the problem that the test of the digital substation is difficult to be managed uniformly in the prior art is solved. BRIEF DESCRIPTION OF DRAWINGS
[0016] Figure 1A hardware structure block diagram of a mobile terminal for performing a digitalized transformer substation whole-station interconnection automatic test method is shown according to an embodiment of the present application;
[0017] Figure 2 A flowchart of a digitalized transformer substation whole-station interconnection automatic test method is shown according to an embodiment of the present application;
[0018] Figure 3 A schematic diagram of a whole-station test platform architecture design is shown according to an embodiment of the present application;
[0019] Figure 4 A SCD file analysis schematic diagram is shown according to an embodiment of the present application;
[0020] Figure 5 A GOOSE and SMV data model association configuration diagram is shown according to an embodiment of the present application;
[0021] Figure 6 A whole-station file model composition schematic diagram is shown according to an embodiment of the present application;
[0022] Figure 7 An IED model hierarchy diagram is shown according to an embodiment of the present application;
[0023] Figure 8 A transformer substation whole-station graphical overall design architecture schematic diagram is shown according to an embodiment of the present application;
[0024] Figure 9 An IED test management interface design diagram is shown according to an embodiment of the present application;
[0025] Figure 10 A whole-station graphical interface design diagram is shown according to an embodiment of the present application;
[0026] Figure 11 A measured protection device topology structure interface is shown according to an embodiment of the present application;
[0027] Figure 12 A diagram whole-station list interface design diagram is shown according to an embodiment of the present application;
[0028] Figure 13 A smart transformer substation whole-station interconnection test flowchart is shown according to an embodiment of the present application;
[0029] Figure 14 A device data model consistency test flowchart is shown according to an embodiment of the present application;
[0030] Figure 15A schematic diagram of a device data model consistency test interface provided by an embodiment of the present application is shown.
[0031] Figure 16 A virtual terminal connection and test flow schematic diagram provided by an embodiment of the present application is shown.
[0032] Figure 17 A virtual terminal test process flow schematic diagram provided by an embodiment of the present application is shown.
[0033] Figure 18 A structural block diagram of a digitalized substation whole-station interconnection automatic test device provided by an embodiment of the present application is shown.
[0034] Among the above figures, the following reference signs are included:
[0035] 102, processor; 104, memory; 106, transmission device; 108, input and output device. DETAILED DESCRIPTION
[0036] It should be noted that the embodiments and features in the present application can be combined with each other without conflict. The present application will be described in detail below with reference to the accompanying drawings and in combination with the embodiments.
[0037] In order to enable those skilled in the art to better understand the present application, the technical solutions in the embodiments of the present application will be described clearly and completely below with reference to the accompanying drawings in the embodiments of the present application. Obviously, the described embodiments are only a part of the embodiments of the present application, rather than all the embodiments of the present application. Based on the embodiments in the present application, all other embodiments obtained by those skilled in the art without creative labor should fall within the scope of protection of the present application.
[0038] It should be noted that the terms "first", "second" and the like in the specification and claims of the present application and the above-mentioned figures are used to distinguish similar objects, and do not necessarily indicate a specific order or sequence. It should be understood that the data thus used can be interchanged under appropriate circumstances, so that the embodiments of the present application described herein can be implemented. In addition, the terms "include" and "have" and any variations thereof are intended to cover non-exclusive inclusion, for example, a process, method, system, product or device that includes a series of steps or units does not necessarily have to be limited to those steps or units clearly listed, but can include other steps or units that are not clearly listed or inherent to these processes, methods, products or devices.
[0039] For ease of description, some nouns or terms related to the embodiments of the present application are described below:
[0040] SCD file: SCD file, full name Substation Configuration Description file, namely substation configuration description file, is a very key component in the design and operation of intelligent substation. The SCD file is based on IEC61850 standard, used to describe the information model and communication configuration of the whole substation, including the configuration information of all intelligent electronic devices (IED, Intelligent Electronic Device), the communication connection between IEDs, and the topology of the substation.
[0041] IED: intelligent electronic device.
[0042] As introduced in the background, it is difficult to uniformly manage the test of the digital substation in the prior art. To solve the technical problem, the embodiment of the present application provides a digital substation whole-station interconnection automatic test method, device, computer readable storage medium and computer program product.
[0043] The technical solutions in the embodiments of the present application will be described clearly and completely in combination with the drawings in the embodiments of the present application.
[0044] The method embodiments provided in the embodiments of the present application can be executed in a mobile terminal, a computer terminal or a similar computing device. Taking the case of running on a mobile terminal, Figure 1 is a hardware structure block diagram of a mobile terminal of a digital substation whole-station interconnection automatic test method of the embodiment of the present application. As shown in Figure 1 , the mobile terminal can include one or more (only one in Figure 1 ) processor 102 (the processor 102 can include but is not limited to a processing device such as a microprocessor MCU or a programmable logic device FPGA) and a memory 104 for storing data, wherein the above-mentioned mobile terminal can further include a transmission device 106 for communication function and an input and output device 108. Those skilled in the art can understand, Figure 1 The structure shown is only schematic, which does not limit the structure of the above-mentioned mobile terminal. For example, the mobile terminal can further include more or less components than Figure 1 shown, or have a different configuration from Figure 1 shown.
[0045] The memory 104 can be used to store computer programs, such as software programs of application software and modules, such as the computer program corresponding to the method for automatically testing the whole station interconnection of the digitalized transformer substation in the embodiments of the present application. The processor 102 can execute various functional applications and data processing, i.e., implement the above method, by running the computer programs stored in the memory 104. The memory 104 can include a high-speed random access memory, and can further include a non-volatile memory, such as one or more magnetic storage devices, flash memories, or other non-volatile solid-state memories. In some examples, the memory 104 can further include memories remotely arranged with respect to the processor 102, which can be connected to the mobile terminal through a network. Examples of the above network include, but are not limited to, the Internet, an intranet, a local area network, a mobile communication network, and a combination thereof. The transmission device 106 is used to receive or send data through a network. The specific examples of the above network can include a wireless network provided by a communication provider of the mobile terminal. In one example, the transmission device 106 includes a network adapter (NIC), which can be connected to other network devices through a base station so as to communicate with the Internet. In one example, the transmission device 106 can be a radio frequency (RF) module, which is used to communicate with the Internet in a wireless manner.
[0046] In the embodiments, a method for automatically testing the whole station interconnection of a digitalized transformer substation running on a mobile terminal, a computer terminal or a similar computing device is provided. It should be noted that the steps shown in the flowchart of the accompanying drawings can be executed in a computer system such as a set of computer executable instructions, and although a logical order is shown in the flowchart, in some cases, the steps shown or described herein can be executed in an order different from that shown.
[0047] Figure 2 is a flowchart of the method for automatically testing the whole station interconnection of a digitalized transformer substation according to the embodiments of the present application. As shown in Figure 2 , the method includes the following steps:
[0048] In step S201, a test interface of the whole station test platform is constructed. The test interface includes a main interface, a whole station display interface and a whole station function interface. The main interface is used to record a test task list of the transformer substation. The whole station display interface is used to display a topology structure diagram and / or an IED list view of the digitalized transformer substation. The whole station function interface includes a plurality of function test interfaces.
[0049] Specifically, the large use of electronic transformers, intelligent terminals and other intelligent protection and control devices in smart substations makes a large number of cables in the secondary circuit of the substation replaced by optical fibers. The smart substation is integrated with SCD files by the power design institute in the construction stage, and the SCD files contain the interconnection between all IEDs in the station. When the IEDs are tested, the configuration files of the IEDs are generated according to the SCD files, so it is necessary to detect the correctness of the SCD files. The back of the protection and control device and the fault recording device in the secondary equipment of the traditional substation no longer has a large number of terminal blocks, but only a network cable. The network cable carries all the data of the measured device in the form of virtual terminals, so it is necessary to test the correctness of the virtual terminal connection configuration between the IEDs, the virtual terminal connection between the interval layer devices and the virtual terminal connection between the interval layer devices and the process layer devices. The concept of virtual terminal connects XML with relay protection terminal block, but virtual terminal is not a real terminal block, and it cannot be tested by traditional means, so it is necessary to study the virtual terminal detection scheme in the smart substation environment. These are the test contents of the whole station interconnection, which need to be managed uniformly.
[0050] The whole station test platform for the whole station interconnection is built to visually display all IEDs and the topological relationship between the IEDs in the substation, so as to manage the test tasks of the substation. The architecture of the whole station test platform is shown in Figure 3
[0051] The whole station interconnection test platform mainly includes the following aspects: SCD file analysis, whole station interface design and whole station test function design.
[0052] The SCD file of the intelligent substation applied to the whole station test is parsed. The SCD file completely describes the integration of each IED into a functional substation automation system, but the data of the SCD itself sequentially and hierarchically shows the information, the nested level is too much, it is cumbersome to view the data structure and data attribute of certain data, the structure is not clear, and the SCD file management and maintenance bring many inconveniences, therefore the SCD file is parsed to generate a whole station summary information file and an IED file of a single device, the whole station summary information file is used to form a graphical display interface to perform substation test management, and the IED file can be called to perform various functional tests. The interface design and test function design of the whole station, the test progress and test record of the substation are managed by the substation test management record interface, the graphical interface of the whole station, the list interface of the whole station, the intelligent configuration interface, the virtual terminal test interface and the like are displayed by the interface design, the whole station test platform realizes efficient test function through the intuitive interface display, therefore the platform provides the device data model consistency test function, the intelligent configuration function, the IED protection test function, the virtual terminal test function and the whole station test function design, the whole station test function is called on the graphical display interface of the substation to perform operation, the closed loop automatic test is realized, and the test report is output after the test is completed.
[0053] In step S202, the SCD file is parsed to obtain an IED file and a summary information file, the IED file includes the data model and data set channel information of the IED, and the summary information file is used to describe the interconnection relationship between each IED;
[0054] Specifically, the SCD contains all virtual loop information and actual communication parameters of the whole station. The communication parameters mainly include the multicast address, application flag, virtual local area network flag and virtual local area network priority of the SV and GOOSE publishing control block. The parsing of the SCD file is based on the understanding of IEC61850 and the in-depth analysis of the SCL file, an SCD file of a substation is input, programming is performed by using a VS2008 integrated development platform, a hierarchical structure and object-oriented modeling technology are adopted to comprehensively parse the SCD file, all useful information is extracted, a summary information file with a unified standard format is generated, and the summary information file is used for the whole station test, the output whole station test file is used as an input file of the whole station test, that is, the starting point of the whole station test.
[0055] As Figure 4As shown, the SCD file parser takes the SCD file as input, and outputs a summary information file and individual IED files. The summary information file has a suffix of.tscd, and specifically includes the interval information of the digital substation and the connection information between IEDs. The interval information is generally divided into different interval voltage levels according to the content contained in the SCD file, and all IEDs are divided according to different voltage levels. The connection information mainly includes the type, IP address, SvIn, SvOut, GsIn, GsOut information of each IED, through which the connection relationship of all IEDs can be easily obtained. The individual IED file mainly includes the device data model and configuration information thereof.
[0056] According to the "three-layer two-network" layout structure of the intelligent substation, the process layer devices mainly include intelligent terminals and merging units, and some process layer devices are integrated devices. The interval layer devices mainly include protection devices, measurement and control devices, and protection and measurement and control integrated devices. In order to more intuitively display the "three-layer two-network" layout structure of each IED in the entire substation, the IEDs in the SCD file need to be classified by type. According to the provisions of IEC61850-7-4, combined with the existing SCD file, the type of IED can be basically determined by the inst attribute of the logical device LD. The corresponding relationship is shown in Table 1. According to the comparison of a large number of SCD files, the type of IED can be basically determined according to the above corresponding method. When the program executes the traversal of the logical device, the inst of the LD logical device is judged to obtain the type of the IED.
[0057] Table 1
[0058] LD category containing inst attribute protection device "PROT" measurement and control device "MEAS" + "CTRL" protected measurement and control device "PROT + MEAS" or "PROT + CTRL" intelligent terminal "RPIT" merging unit "MU" intelligent integration "RPIT" + "MU" other other
[0059] According to the IEC61850 protocol, IEDs are connected through virtual terminals, mainly including the relationship between SV and GOOSE. SV is a sampling value, which is based on the publish / subscribe mechanism, exchanges the related model objects and services of the sampling values in the sampling data set, and the mapping of these model objects and services to ISO / IEC8802-3. GOOSE is a general object-oriented substation event. It is mainly used for information transmission between multiple IEDs, including transmission of jump closing, interlocking and other signals (commands), and has a high transmission success probability. The IEDs are mainly associated through SvIn / SvOut and GsIn / GsOut. One of the purposes of SCD file parsing is to clarify the SV and GOOSE information relationship between IEDs. The SCD file contains the relationship between IEDs, but it is relatively implicit and not convenient for direct observation and display.
[0060] The elements between the various parts of an SCD file are not independent of each other, especially the information related to GOOSE and SMV configuration, but are associated with each other through the name, description or attribute definition of the element, as shown in Figure 5 The ledName attribute of the Connected element is associated with the name attribute of the IED, and the apName attribute is associated with the name of the AccessPoint child node of the IED. The module marked "1" indicates that there is only one child node, and the module marked "1-n" indicates that there are multiple child nodes. The direction of the arrow indicates the hierarchical relationship from top to bottom, and the lower level is the child node of the upper level. The configuration of GOOSE and SMV is basically similar, except that at the access point of the IED, one corresponds to a "G" access point and one corresponds to an "M" access point. Specifically, at the logical node, it can be divided into LN0 and the remaining LN. LN0 includes the GSSEControl node or the SampledValueControl node, which is associated with GSE or SMV in Communication, respectively. The specific data corresponds to the DataSet in this LN0. The DataSet contains various FCDA child nodes. Each functional constraint data attribute FCDA has an LN corresponding to it. The LN contains all the information of the functional constraint data attribute FCDA.
[0061] Since the SCD file parsing program is mainly used to further organize the information of the SCD file and output a single IED file and a station summary information file, and since it is used for station testing, the station summary information file does not need to have a particularly complex structure. It only needs to clearly describe the interconnection relationship between the IEDs and be easy to read. Therefore, a station file model as shown in Figure 6 is constructed.
[0062] Among them, the IED structure model is the IED data model specified in IEC61850, CSclStation is the root node of the station summary file, which contains two class-based child nodes CSclBay and CSclIed. CSclBay is the electrical bay node, and CSclBayVLeyel and CSclBayRef are the voltage level of the electrical bay and the related IED node under the level, respectively. CSclled is the reconstructed IED model, which corresponds to the device data model of the structure level, as shown in Figure 7 .
[0063] The data set models of SmvOut, SmvIn, GsOut and GsIn are respectively constructed in the form of classes to describe the association between IEDs, CSclCtrlsSmvOut, CSclCtrlsSmvIn, CSclCtrlsGsOut and CSclCtrlsGsIn are respectively the data sets, CSclCtrlSmvOut, CSclCtrlSmvIn, CSclCtrlGsOut and CSclCtrlGsIn are respectively the data under the corresponding data set, CSclChSmvOut, CSclChSmvIn, CSclChGsOut and CSclChGsIn are respectively the channels under the data set, which correspond to IEC61850; the data set mainly includes the node information such as the access point, logical device and logical node, the communication information such as APPID and MAC, the total number of input channels and the number of available channels, for CSclCtrlGsIn and CSclCtrlSmvIn, there are also the IED data set information and addressing method for input, each output channel corresponds to multiple input channels, but each input channel has only one output channel, CSclChSmvIn and CSclChGsIn mainly include the internal LN description, DO description, DU description, serial number and path of itself and the external LN description, DO description, DU description, serial number and path for controlling the input; CSclChSmvOut and CSclChGsOut only include the external LN description, DO description, DU description, serial number and path for output.
[0064] The summary information file generated by the design mainly includes interval information and data set information of GOOSE and SMV, wherein the data set information does not necessarily include specific channel information, each main IED file generated includes the structure model of the IED and the data set information of GOOSE and SMV, and contains the channel information thereof.
[0065] In step S203, the topological structure diagram and / or the IED list view of the digitalized substation are generated according to the summary information file.
[0066] Specifically, the graphical management of the whole station test mainly visualizes the management of all test devices and test tasks of the whole station, directly displays the architecture of the whole substation by inputting the summary information file parsed from the SCD file, rather than adding and drawing the structure of the whole substation device by device according to specific conditions, integrates the dispersed layout of the IED device in the form of a topological structure diagram, specifically displays the virtual connection between devices, uniformly manages the test progress, intelligently configures, realizes closed-loop automatic testing during testing, reduces the testing difficulty, improves the testing efficiency, and makes the testing work more intuitive and specific. The design goals mainly include the following points:
[0067] (1)Record the test progress of the substation;
[0068] (2)Intuitively display the topology and data set of the substation;
[0069] (3)Configure the test instrument and complete the virtual terminal test of the whole substation;
[0070] (4)Intuitively display the configuration information (virtual terminal information) of each device under test;
[0071] (5)Generate the test task sequence of the whole substation;
[0072] (6)Realize the communication with the device and the automatic test of the device function.
[0073] Figure 8 The whole graphical design architecture of the substation is shown in the figure, which is mainly divided into three parts: the main interface, the whole station display interface and the whole station function interface. The main interface is the whole station test management interface, which is the first interface of opening the whole station test platform, mainly responsible for recording the test task list of the substation in detail, and also can create the whole station test task of the substation according to the summary information file obtained by parsing the SCD file of a substation. The interface design effect is shown in Figure 9 ; Selecting a substation on the whole station test management interface can enter the whole station graphical interface and the whole station list interface of the intelligent substation. The whole station graphical interface generates the topology structure diagram between all IEDs based on the summary information file. The IEDs are divided into two types: the bay layer and the process layer, which are displayed in two layers on the interface. The upper layer is the bay layer and the lower layer is the process layer. The whole station list interface displays the test information of all IEDs in the station, including the number, name, description, manufacturer, device model, test person, model test, virtual terminal test, protection test, download task time, upload report time and report location of each IED device, and the interface design framework is shown in Figure 10 、 Figure 11 and Figure 12 .
[0074] The graphical design needs to consider both function implementation and graphical display, so the whole station test management interface (including the following graphical interface and whole station list interface) includes the above tool bar and the following display interface two parts, as shown in Figure 9The upper toolbar of the test management interface design diagram shown includes function buttons such as test history record, and the lower display interface is a whole station test history record box, which displays the whole station test task information of each substation, including number, substation name, task name, creation time, creator, completion status, SCD file and other information. A whole station test task can be generated on the whole station test management interface according to the summary information file of the substation, and the substation is displayed in a graphical view and a list view, as shown in Figure 10 and Figure 12 The summary information file stores the connection information between all IEDs in detail. The VS2008 MFC interface design platform is used to traverse the summary information file, draw IED as a unit, and display the association between all IEDs, GSIN, GSOUT, SVIN and SVOUT with lines. In the graphical view, selecting an IED can display the detailed topology structure diagram of the IED, including all IEDs connected with the measured protection device through channels, including intelligent terminals, merging units, and other protection and control IEDs related to interlocking, as shown in Figure 11 The whole station graphical view and list view are two view forms of the summary information file. Selecting an IED on the two views can enter the related test function interface by selecting the test function through the right mouse button, including the device data model consistency test interface, the intelligent configuration interface, the virtual terminal test interface and the protection function test interface.
[0075] Step S204, determining an IED as a measured device according to the above topology structure diagram or the above IED list view;
[0076] Specifically, as shown in Figure 10 and Figure 12 The user selects an IED as a measured device for testing.
[0077] Step S205, in response to a predetermined operation on the measured device, jumping to the function test interface corresponding to the predetermined operation, executing the function test task of the measured device according to the IED file, and recording the test record of the function test task in the substation test task list.
[0078] Specifically, the whole-station interconnection test strategy of the smart substation refers to the specific procedure when performing the function test task, and involves the device data model detection of the device, the link connection information between all IEDs, and other aspects, which is the main aspect that the whole-station interconnection test of the smart substation differs from the test of the traditional substation. Through the explicit interface of the whole-station test platform, the consistency test of the device data model, the intelligent configuration of the tested device, the virtual terminal test and the protection function test are sequentially implemented, and each function is sequentially executed to form the test strategy of the whole-station interconnection test, which facilitates the overall management of the test management personnel of the smart substation.
[0079] The whole-station interconnection of the smart substation takes the whole substation as the research object, including the topology structure display of the whole substation, the complete IED list and the virtual terminal connection test between IEDs, and the like, which are all based on the interconnection information of the whole substation. However, in the specific test process, the single IED is still taken as the test object, but involves all the channel links associated with the tested IED, which is also the embodiment of the "whole-station interconnection". Therefore, the test strategy of the whole-station interconnection of the smart substation, i.e. the test procedure, is proposed, as shown in Figure 13 As shown in the figure, first, the test notebook and the tester installed with the whole-station test platform are connected to the switch, the hardware connection is completed, then the SCD file of the substation is imported to the whole-station test platform to generate the whole-station test task of the substation, and further generate the topology structure diagram and the IED list view of the substation. In the two views, a IED is selected as the test object, and its function test is performed, which specifically includes the device data model file consistency test, the intelligent configuration, the virtual terminal test and the function test of the IED. After each test is completed, the test result is fed back to the whole-station graphical view or the test status is recorded in the whole-station list.
[0080] The IEDs of the smart substation are numerous, and involve multiple protection types. In theory, all the IEDs should be tested to end the whole-station test. However, in the specific test process, several typical IEDs are often selected for testing, such as the IED of the line protection and the IED of the bus protection. Therefore, the selected IEDs for testing are determined according to the actual situation on site, and are not necessarily all measured. In addition, for the function test of the IED, the test template needs to be written according to the protection type of the IED, and the automatic test is performed.
[0081] In the above method for automatically testing the whole digital substation, the test interface of the whole-station test platform is constructed, so that the display interface of the whole station generates and displays the topology structure diagram and / or the IED list view of the digital substation according to the summary information file parsed from the SCD file, displays the interconnection relationship between the IEDs, and can arbitrarily select one IED as the measured device in the topology structure diagram or the IED list view, jump to the whole-station function interface to perform the function test task, record the substation test task list through the main interface, display detailed test information such as the function test progress, realize the unified test management of the whole digital substation, and solve the problem that the test of the digital substation is difficult to be managed uniformly in the prior art.
[0082] In order to realize the device data model consistency test, in an optional implementation, the whole-station function interface includes a device data model consistency test interface, and the step S205 includes:
[0083] In step S20501, in response to the first predetermined operation acting on the measured device, the device data model consistency test interface corresponding to the first predetermined operation is jumped to.
[0084] In step S20502, the whole-station test platform and the measured device are connected online to read the device data model file of the measured device.
[0085] In step S20503, the device data model file of the measured device is compared with the IED file of the measured device to obtain the device data model consistency test result of the measured device, and the device data model consistency test result is recorded in the substation test task list corresponding to the function test task.
[0086] In the above embodiment, after the SCD file is parsed, a summary information file and a device data model file of each IED are generated, and the consistency test of the device data model is mainly to compare the device data model of each IED parsed from the SCD file with the device data model read from the device. In the process of constructing the smart substation, the design institute designs the secondary circuit of the substation and generates the SSD file, the system integrator configures the SCD file according to the SSD file and the ICD file (factory configuration information file of the intelligent electronic device) of each IED, and the device data model file of each IED is parsed from the SCD file, so the correctness of the device data model in the whole process needs to be verified. In addition, the correctness of the device data model read from the device by the MMS message module also needs to be verified, so it is necessary to compare and test the consistency of the device data model parsed from the SCD file and the device data model read from the device, and if the two models are inconsistent, the communication between the whole station PC test end and the specific device under test will fail or the data will be incorrect.
[0087] Since the two device data model files are XML files, they can be opened and compared by XMLSpy, but the comparison is not good and the readability is poor, so a tool for comparing the consistency of the device data model is developed on the whole station test platform.
[0088] The device data model consistency test process is shown in Figure 14 , and the details are as follows:
[0089] First step: the test PC is connected to the device under test through the switch, and the MMS communication command calling button is provided in the tool bar of the whole station test management interface, the graphic view interface and the list view interface, so that the MMS communication module can read the device data model file of the device under test;
[0090] Second step: in the graphic view or list view, determine the IED to be tested, select the device data model consistency detection function, enter the device data model consistency detection interface, load the device data model file from the device under test and the IED file generated after the SCD is parsed, and perform comparison test;
[0091] Third step: the background program compares the above two files, and feeds back the comparison result to the device data model consistency detection interface.
[0092] The specific comparison process of the device data model needs to follow the modeling standard of IEC61850, and the comparison is performed step by step according to the design of Figure 7 , and the device data model hierarchy of the device is physical device, logical device, logical node set (data set), logical node, data object and data attribute (data value).
[0093] The device data model consistency test interface compares the two files, specifically relating to each logical device, each logical node, and each data set information. The interface design effect is as shown in Figure 15
[0094] In order to realize intelligent configuration, in an optional implementation, the above whole station function interface further includes an intelligent configuration interface, and the above step S205 further includes:
[0095] Step S20504, in response to a second predetermined operation acting on the above measured device, jumping to the above intelligent configuration interface corresponding to the above second predetermined operation;
[0096] Step S20505, generating a configuration file according to the above data set channel information of the above IED file of the above measured device, the above data set channel information including SV information, GOOSEIN information and GOOSEOUT information;
[0097] Step S20506, establishing a connection between a test instrument and each of the above IEDs according to the above configuration file, obtaining a configuration result, the above test instrument being used to simulate and unit and intelligent terminal to send telemetry and telecontrol to the above measured device;
[0098] Step S20507, recording the above configuration result in the above substation test task list corresponding to the above function test task.
[0099] In the above embodiment, the tester sends the remote measurement and remote signaling to the measured protection device as a simulator of the merging unit and the intelligent terminal. Although the tester and the PC are connected through the IP protocol on the switch, the specific channel connection relationship is not clear, and therefore a tester configuration process is needed. The tester and the PC are connected through the IP protocol on the switch. The configuration is generally divided into three parts, SMV configuration, GOOSEIN configuration and GOOSEOUT configuration. Specifically, the tester sends the SMV sampling value to the measured protection device, sends the switch state GOOSE information, and receives the trip GOOSE information sent by the protection device. According to the IED input information of the measured protection device, the specific channel output information of the tester is determined. All the configuration information of an IED is saved as an XML file with the suffix “.ixml” and downloaded to the tester, which is the configuration process of the tester. The intelligent configuration process of the tester is based on the whole station display interface, realizes one-key generation of the configuration file, and automatically generates the configuration file by clicking a specific IED on the “graph view” or “list view”, such as the SV information, GOOSEIN information and GOOSEOUT information associated with the IED, and displays the detailed configuration information of the IED on the whole station test interface.
[0100] In order to realize the virtual terminal test, in an optional embodiment, the whole station function interface further includes a virtual terminal test interface, and the step S205 further includes:
[0101] Step S20508, in response to a third predetermined operation acting on the measured device, jumping to the virtual terminal test interface corresponding to the third predetermined operation;
[0102] Step S20509, configuring the whole station test platform to drive the tester to send SV messages or GOOSE messages to the measured device through the virtual terminal channel, and the tester is used to simulate the merging unit and the intelligent terminal;
[0103] Step S20510, the whole station test platform reads the test result of the measured device to determine whether the virtual terminal connection corresponding to the virtual terminal channel is qualified, and obtains the virtual terminal test result;
[0104] Step S20511, recording the virtual terminal test result in the substation test task list corresponding to the function test task.
[0105] In the above embodiment, the virtual terminal directly determines the input / output information of the intelligent device and the information interaction relationship between devices, is the basis for correct operation of secondary equipment, and is the prerequisite for ensuring normal operation of the protection monitoring system. Therefore, the virtual terminal connection between devices must be verified one by one to ensure the normal development of subsequent debugging work. Since the virtual terminal is only related to configuration and has nothing to do with the construction and installation of field devices, the virtual terminal connection is given by the SCD configuration file of the whole station, and the virtual terminal signal mainly includes the following contents:
[0106] (1) Circuit breaker position signal and blocking signal of the intelligent terminal to the protection function;
[0107] (2) Control command of the measurement and control function to the intelligent terminal;
[0108] (3) Circuit breaker, isolating switch position signal and alarm signal of the intelligent terminal to the measurement and control function;
[0109] (4) Sampling value information of the merging unit to the protection and measurement and control functions;
[0110] (5) Alarm signal of the bay merging unit to the measurement and control function;
[0111] (6) Alarm type of the TV merging unit to the measurement and control function.
[0112] Based on the summary information file of the whole station SCD, the explicitness of the IED virtual terminal is first realized. According to the description of all devices of the whole station and their link relationships, the device data model of each IED, the virtual terminal link diagram, and the complete virtual terminal test scheme are generated, and the automatic test of the connection of each IED virtual terminal in the SCD is realized. The connection relationship of the virtual terminal can become a direct manifestation of the interconnection of the whole station of the intelligent substation. Often, a protection and measurement and control device will involve many merging units or intelligent terminal devices connected thereto. The test of the virtual terminal is taken as the specific test unit of the IED. In detail, it is tested whether the virtual terminal channel information related to a certain IED is connected normally. Specifically, it is tested whether the IED can receive the telemetering information sent by the merging unit, whether it can receive the input remote signaling of the intelligent terminal, and whether it can correctly open the remote signaling of the specified intelligent terminal. The above remote signaling and telemetering are specific to each virtual terminal channel. When testing the virtual terminal, the test PC, the tester, and the IED device to be tested need to be connected through a switch network to form a closed loop system for test operation, such as Figure 16As shown, a protection device will be connected with multiple merging units or intelligent terminals under normal circumstances, and if the telemetering or telesignalling quantity is sent to the measured protection device directly on each merging unit or intelligent terminal, the test of the virtual terminal will be a heavy work, therefore the tester is selected to simulate the merging units or intelligent terminals connected with the measured protection device. The tester is driven to communicate with the protection device through the configuration mode, the simulated telemetering and telesignalling quantity of the tester can be directly set on the virtual terminal interface of the test terminal computer, the test terminal computer reads the test result of the measured protection device through the switch to judge, and the unqualified virtual terminal or the related test report is directly displayed on the virtual terminal interface. The specific test process is as shown in the following figure. Figure 17
[0113] An IED is selected on the whole station graphical interface or list interface as the measured device, the virtual terminal display interface of the IED is entered, and all the data set virtual terminal connection lines of the IED connected with the device can be clearly seen on the interface. The corresponding electrical quantity items of the virtual terminal of all the IEDs connected with the measured device are set on the display interface, which are specifically the SV sampling value or GOOSE input information. After the setting is completed, the tester configuration is automatically downloaded to the tester, and the preparation work before the test is completed.
[0114] The virtual terminal test of the measured device is driven by the tester of the whole station test terminal, which is to test all the virtual terminal connection lines one by one. Before the test of each virtual terminal is performed, an initialization process of the virtual terminal is performed, which is to ensure the accuracy of the virtual terminal test. For a specific virtual terminal, the tester is controlled to output the corresponding test quantity to the measured device according to the established electrical quantity item. The MMS protocol module is automatically called by the whole station test terminal to collect the MMS message sent by the measured device after receiving the test quantity of the tester. The script is judged according to the result to compare the message information and the quantity added by the tester, to judge whether the connection line is correct, and to record the test result. After all the virtual terminals are tested, the test quantity, the collected quantity and the judgment result are integrated to generate the related test report, and the test result is also fed back to the graphical interface.
[0115] In order to realize the IED function test, an optional implementation manner is that the above whole station function interface further includes a protection function test interface, and the above step S205 further includes:
[0116] Step S20512, in response to the fourth predetermined operation acting on the above measured device, jumping to the above protection function test interface corresponding to the above fourth predetermined operation;
[0117] In step S20513, in the case where the device under test is a protection device, the integrated station test platform is configured to drive the tester to send SV messages or GOOSE messages to the protection device through the virtual terminal channel. The SV messages and GOOSE messages are messages of simulation signals for triggering the protection device to perform a protection action.
[0118] In step S20514, the integrated station test platform reads the action information of the protection device, and determines a function test result of the protection device according to whether the action information is consistent with an expected action of the protection device.
[0119] In step S20515, the function test result is recorded in the substation test task list corresponding to the function test task.
[0120] In the above embodiment, after ensuring the consistency of the device data model and implementing the virtual terminal test, the protection function test of the IED can be performed. The protection function test of the IED in the substation needs to meet the corresponding standards. The protection function test of the IED is analyzed according to the voltage level and actual situation in the station, and the difference in voltage level is removed. Generally, it is mainly divided into the following types: bus protection, line protection, bus coupler and section protection, transformer protection, circuit breaker protection, and reactor protection; different protection types are configured according to specific protection functions, for example, the main transformer protection mainly includes differential protection (longitudinal differential protection, split-phase differential protection, and zero-sequence differential protection), high and medium voltage side low impedance protection, high and medium voltage side zero-sequence overcurrent protection with and without direction, high and medium voltage side common winding overload protection, high voltage side over-excitation protection, neutral point zero-sequence overcurrent protection, low voltage side overcurrent protection, low voltage side zero-sequence overvoltage protection, and low voltage side small area differential protection.
[0121] In order to generate the substation test task list, in an optional embodiment, before performing the function test task of the device under test according to the IED file in response to a predetermined operation acting on the device under test, the method further includes:
[0122] In step S301, all function test tasks of the digital substation are generated according to the SCD file, and the substation test task list is generated according to all function test tasks.
[0123] In the above embodiment, an integrated station test task can be generated according to the summary information file parsed from the SCD file of the substation on the integrated station test management interface, and the substation is displayed in a graphical view and a list view, that is, the substation test task list is generated according to all function test tasks.
[0124] For the convenience of development, in an optional implementation, the step S202 includes:
[0125] In step S2021, the SCD file is parsed by using the DOM method and the TinyXML parsing tool to obtain the IED file and the summary information file, the IED file includes the data model of the IED and the data set model of the IED, the data set model of the IED includes the data set models of SmvOut, SmvIn, GsOut and GsIn, the data set model includes a data set, data under the data set and a channel under the data set, the data set includes an access point, a logical device, a logical node, an APPID, a MAC, a total number of input channels and a number of available channels.
[0126] In the above implementation, at present, the main methods for parsing XML files (such as SCD files) are the DOM (Document Object Model) mode and the SAX (Simple API for XML) mode. The SAX mode can process XML files of any size, but can only parse the file in sequence once, does not support random access to the file, can only read the XML file but cannot modify it. The DOM can randomly access any part of the file tree without time limit, can randomly modify the file tree, and is easy to develop, but is not suitable for processing large XML files. Considering that the size of a large SCD file is not particularly large, the DOM method and the TinyXML parsing tool are selected for parsing for the convenience of development. The TinyXML is an open source XML parsing tool based on the DOM method and can be used in C++.
[0127] It should be noted that the steps shown in the flowchart of the accompanying drawings can be executed in a computer system such as a set of computer-executable instructions, and although a logical order is shown in the flowchart, in some cases, the steps shown or described can be executed in an order different from that shown here.
[0128] The embodiments of the present application also provide a digital substation whole-station interconnection automatic testing device. It should be noted that the digital substation whole-station interconnection automatic testing device of the embodiments of the present application can be used to execute the digital substation whole-station interconnection automatic testing method provided by the embodiments of the present application. The device is used to realize the above embodiments and preferred embodiments, which have been described. As used below, the term "module" can be a combination of software and / or hardware that realizes a predetermined function. Although the device described in the following embodiments is preferably realized in software, hardware or a combination of software and hardware is also possible and is conceived.
[0129] The following introduces a digital substation whole-station interconnection automatic testing device provided by an embodiment of the present application.
[0130] Figure 18 is a structural block diagram of the digital substation whole-station interconnection automatic testing device according to the embodiment of the present application. As shown in Figure 18 , the device comprises:
[0131] A construction unit 10 is configured to construct a test interface of a whole-station test platform, the test interface comprising a main interface, a whole-station display interface and a whole-station function interface, the main interface being configured to record a substation test task list, the whole-station display interface being configured to display a topology structure diagram and / or an IED list view of a digital substation, and the whole-station function interface comprising a plurality of function test interfaces.
[0132] An analysis unit 20 is configured to analyze an SCD file to obtain an IED file and a summary information file, the IED file comprising a data model of an IED and data set channel information, and the summary information file being configured to describe an interconnection relationship between IEDs.
[0133] A first generation unit 30 is configured to generate the topology structure diagram and / or the IED list view of the digital substation according to the summary information file.
[0134] A determination unit 40 is configured to determine one IED as a measured device according to the topology structure diagram or the IED list view.
[0135] A jump unit 50 is configured to jump to a function test interface corresponding to a predetermined operation of the measured device in response to the predetermined operation acting on the measured device, execute a function test task of the measured device according to the IED file, and record a test record of the function test task in the substation test task list.
[0136] In the digital substation whole-station interconnection automatic testing device, the test interface of the whole-station test platform is constructed, the topology structure diagram and / or the IED list view of the digital substation are generated and displayed on the whole-station display interface according to the summary information file obtained by analyzing the SCD file, the interconnection relationship between IEDs is displayed, one IED can be selected as the measured device on the topology structure diagram or the IED list view, the function test task is executed on the whole-station function interface, the substation test task list is recorded on the main interface, and detailed test information such as function test progress is displayed, thereby realizing unified test management of the digital substation, and solving the problem that it is difficult to manage the test of the digital substation in the prior art.
[0137] In order to realize the device data model consistency test, in an optional implementation, the above whole station function interface includes a device data model consistency test interface, and the above jump unit includes:
[0138] A first jump module is configured to jump to the device data model consistency test interface corresponding to the first predetermined operation of the above device data model consistency test interface in response to the first predetermined operation of the above device under test.
[0139] An online module is configured to connect the above whole station test platform and the above device under test to read the device data model file of the above device under test.
[0140] A first recording module is configured to compare the device data model file of the above device under test with the above IED file of the above device under test to obtain the device data model consistency test result of the above device under test, and record the device data model consistency test result in the above substation test task list corresponding to the above function test task.
[0141] In the above implementation, after the SCD file is parsed, in addition to generating the summary information file, the device data model file of each IED is also generated, and the consistency test of the device data model is mainly to compare the IED device data model parsed from the SCD file with the device data model read from the device. In the process of constructing the intelligent substation, the design institute designs the secondary circuit of the substation to generate the SSD file, the system integrator configures the SCD file according to the SSD file and the ICD file (factory configuration information file of the intelligent electronic device) of each IED, and the device data model file of each IED is parsed from the SCD file, so the correctness of the device data model in the whole link needs to be verified. In addition, the correctness of the device data model read from the device under test by the MMS message module of the test system also needs to be verified, so it is necessary to compare and test the consistency of the IED device data model parsed and the device data model read from the device, and if the two models are inconsistent, the communication between the whole station PC test end and the specific device under test will fail or the data will be incorrect.
[0142] Since the two device data model files are XML files, they can be opened and compared by XMLSpy, but they do not have comparison nature and are not easy to read, so a tool for comparing the consistency of the device data model is developed on the whole station test platform.
[0143] The device data model consistency test process is shown in Figure 14 , and the details are as follows:
[0144] First step: the test PC is connected with the measured device through the switch, and the calling button of MMS communication command is provided in the toolbar of the whole station test management interface, the graphical view interface and the list view interface, so that the MMS communication module can read the device data model file of the measured device;
[0145] Second step: in the graphical view or the list view, the measured IED is determined, the device data model consistency detection function is selected, the device data model consistency detection interface is entered, the IED file generated after the device data model file of the measured device and the SCD are parsed is loaded on the interface, and the comparison test is performed;
[0146] Third step: the background program tests and compares the two files, and feeds back the comparison result to the device data model consistency detection interface.
[0147] The specific comparison process of the device data model needs to follow the modeling standard of IEC61850, and is designed according to the gradual comparison. Figure 7 The device data model hierarchy of the device is respectively: device, logical device, logical node set (data set), logical node, data object and data attribute (data value).
[0148] The device data model consistency test interface compares the two files, and specifically involves the information of each associated logical device, each logical node and each data set. The interface design effect is shown in Figure 15 .
[0149] In order to realize intelligent configuration, in an optional implementation, the whole station function interface further includes an intelligent configuration interface, and the jump unit further includes:
[0150] A second jump module is configured to jump to the intelligent configuration interface corresponding to the second predetermined operation of the measured device in response to the second predetermined operation acting on the measured device;
[0151] A generation module is configured to generate a configuration file according to the data set channel information of the IED file of the measured device, wherein the data set channel information includes SV information, GOOSEIN information and GOOSEOUT information;
[0152] An establishment module is configured to establish a connection between a test instrument and each IED according to the configuration file, so as to obtain a configuration result, wherein the test instrument is configured to simulate the unit and the intelligent terminal, so as to send the telemetering and the telesignalling to the measured device;
[0153] A second recording module is configured to record the configuration result in the substation test task list corresponding to the function test task.
[0154] In the above embodiment, the tester sends the remote measurement and remote signaling to the measured protection device as a simulator of the merging unit and the intelligent terminal. Although the tester and the PC are connected through the IP protocol on the switch, the specific channel connection relationship is not clear, and therefore a tester configuration process is needed. The tester and the PC are connected through the IP protocol on the switch. The configuration is generally divided into three parts, SMV configuration, GOOSEIN configuration and GOOSEOUT configuration. Specifically, the tester sends the SMV sampling value to the measured protection device, sends the switch state GOOSE information, and receives the trip GOOSE information sent by the protection device. According to the IED input information of the measured protection device, the specific channel output information of the tester is determined. All configuration information of an IED is saved as an XML file with the suffix “.ixml” and downloaded to the tester, which is the configuration process of the tester. The intelligent configuration process of the tester is based on the whole station display interface, realizes one-key generation of the configuration file, and automatically generates the configuration file by clicking a specific IED on the “graph view” or “list view”, such as the SV information, GOOSEIN information and GOOSEOUT information associated with the IED, and displays the detailed configuration information of the IED on the whole station test interface.
[0155] In order to realize the virtual terminal test, in an optional embodiment, the whole station function interface further includes a virtual terminal test interface, and the jump unit further includes:
[0156] A third jump module is configured to jump to the virtual terminal test interface corresponding to the third predetermined operation in response to the third predetermined operation acting on the measured device.
[0157] A first configuration module is configured to configure the whole station test platform to drive the tester to send SV messages or GOOSE messages to the measured device through the virtual terminal channel, and the tester is used to simulate the merging unit and the intelligent terminal.
[0158] A reading module is configured to read the test results of the measured device by the whole station test platform to determine whether the virtual terminal connection corresponding to the virtual terminal channel is qualified, and obtain the virtual terminal test results.
[0159] A third recording module is configured to record the virtual terminal test results in the substation test task list corresponding to the function test task.
[0160] In the above embodiments, the virtual terminal directly determines the input / output information of the intelligent device and the information interaction relationship between devices, is the basis for correct operation of secondary equipment, and is the prerequisite for ensuring normal operation of the protection monitoring system. Therefore, the virtual terminal connection between devices must be verified one by one to ensure the normal development of subsequent debugging work. Since the virtual terminal is only related to configuration and is irrelevant to the construction and installation of field devices, the virtual terminal connection is given by the SCD configuration file of the whole station, and the virtual terminal signal mainly includes the following contents:
[0161] (1) Circuit breaker position signal and blocking signal of the intelligent terminal to the protection function;
[0162] (2) Control command of the measurement and control function to the intelligent terminal;
[0163] (3) Circuit breaker, isolating switch position signal and alarm signal of the intelligent terminal to the measurement and control function;
[0164] (4) Sampling value information of the merging unit to the protection and measurement and control functions;
[0165] (5) Alarm signal of the bay merging unit to the measurement and control function;
[0166] (6) Alarm type of the TV merging unit to the measurement and control function.
[0167] Based on the summary information file of the whole station SCD, the explicitness of the IED virtual terminal is first realized, and according to the description of all devices of the whole station and their link relationships, the device data model of each IED, the virtual terminal link diagram and the complete virtual terminal test scheme are generated, and the automatic test of the connection of each IED virtual terminal in the SCD is realized. The connection relationship of the virtual terminal can become a direct manifestation of the interconnection of the whole station of the intelligent substation, and often a protection and measurement and control device will involve many merging units or intelligent terminal devices connected thereto. The test of the virtual terminal is taken as the specific test unit of the IED, and the virtual terminal channel information related to the IED is tested in detail. Specifically, whether the IED can receive the remote measurement information sent by the merging unit, whether it can receive the input remote signaling of the intelligent terminal, and whether it can correctly open the remote signaling of the specified intelligent terminal. The above remote signaling and remote measurement are specific to each virtual terminal channel. When testing the virtual terminal, the test PC, the tester, and the IED device to be tested are connected through a switch network to form a closed loop system for testing operation, such as Figure 16As shown, a protection device will be connected with multiple merging units or intelligent terminals under normal circumstances, and if the telemetering or telesignalling quantity is sent to the measured protection device directly on each merging unit or intelligent terminal, the test of the virtual terminal will be a heavy work, therefore the tester is selected to simulate the merging units or intelligent terminals connected with the measured protection device. The tester is driven to communicate with the protection device through the configuration mode, the simulated telemetering and telesignalling quantity of the tester can be directly set on the virtual terminal interface of the test terminal computer, the test terminal computer reads the test result of the measured protection device through the switch to judge, and the unqualified virtual terminal or the related test report is directly displayed on the virtual terminal interface. The specific test process is as shown in the following figure. Figure 17
[0168] An IED is selected on the whole station graphical interface or list interface as the measured device, the virtual terminal display interface of the IED is entered, and all the data set virtual terminal connection lines of the IED connected with the device can be clearly seen on the interface. The corresponding electrical quantity items of the virtual terminal of all the IEDs connected with the measured device are set on the display interface, which are specifically the SV sampling value or GOOSE input information. After the setting is completed, the tester configuration is automatically downloaded to the tester, and the preparation work before the test is completed.
[0169] The virtual terminal test of the measured device is performed by the whole station test terminal driving the tester, which is to test all the virtual terminal connection lines one by one. Before the test of each virtual terminal is performed, an initialization process of the virtual terminal is performed, which is to ensure the accuracy of the virtual terminal test. For a specific virtual terminal, the tester is controlled to output the corresponding test quantity to the measured device according to the established electrical quantity item. The MMS protocol module is automatically called by the whole station test terminal to collect the MMS message sent by the measured device after receiving the test quantity of the tester. The script judges the connection line according to the result, compares the message information and the quantity added by the tester, judges whether the connection line is correct, and records the test result. After all the virtual terminals are tested, the test quantity, the collected quantity and the judgment result are integrated to generate the related test report, and the test result is also fed back to the graphical interface.
[0170] In order to realize the IED function test, an optional implementation manner is that the above whole station function interface further includes a protection function test interface, and the above jump unit further includes:
[0171] A fourth jump module is configured to jump to the protection function test interface corresponding to the fourth predetermined operation in response to the fourth predetermined operation acting on the measured device.
[0172] The second configuration module is configured to, in the case that the device under test is a protection device, configure the whole-station test platform to drive the tester to send SV messages or GOOSE messages to the protection device through the virtual terminal channel, wherein the SV messages and the GOOSE messages are messages of simulated signals for triggering the protection device to perform a protection action.
[0173] The determining module is configured to read action information of the protection device by the whole-station test platform, and determine a function test result of the protection device according to whether the action information conforms to an expected action of the protection device.
[0174] The fourth recording module is configured to record the function test result in the substation test task list corresponding to the function test task.
[0175] In the embodiments, after the consistency test of the device data model and the virtual terminal test are ensured, the protection function test of the IED can be performed. The protection function test of the IED in the substation needs to conform to a corresponding standard. The protection function test of the IED is analyzed according to voltage levels and actual situations in the station, and the voltage level difference is removed. Generally, the protection function test mainly includes the following types: bus protection, line protection, bus coupler and section protection, transformer protection, circuit breaker protection, and reactor protection. Different protection types are configured according to specific protection functions. For example, the main transformer protection mainly includes differential protection (longitudinal differential protection, split-phase differential protection, and zero-sequence differential protection), high-voltage and medium-voltage side low-impedance protection, high-voltage and medium-voltage side zero-sequence overcurrent protection with and without direction, high-voltage and medium-voltage side common winding overload protection, high-voltage side over-excitation protection, neutral point zero-sequence overcurrent protection, low-voltage side overcurrent protection, low-voltage side zero-sequence overvoltage protection, and low-voltage side small-area differential protection.
[0176] To generate the substation test task list, in an optional embodiment, the device further includes:
[0177] The second generating unit is configured to, in response to a predetermined operation acting on the device under test, jump to the function test interface corresponding to the predetermined operation, generate all function test tasks of the digital substation according to the SCD file before performing the function test task of the device under test according to the IED file, and generate the substation test task list according to all the function test tasks.
[0178] In the embodiments, a whole-station test task can be generated according to the summary information file parsed from the SCD file of the substation on the whole-station test management interface, and the substation is displayed in a graphical view and a list view, so that the substation test task list is generated according to all the function test tasks.
[0179] For the convenience of development, in an optional implementation, the parsing unit comprises:
[0180] The parsing module is configured to parse the SCD file by using a DOM method and a TinyXML parsing tool to obtain the IED file and the summary information file, the IED file comprises a data model of the IED and a data set model of the IED, the data set model of the IED comprises data set models of SmvOut, SmvIn, GsOut and GsIn, the data set model comprises a data set, data under the data set and a channel under the data set, the data set comprises an access point, a logical device, a logical node, an APPID, a MAC, a total number of input channels and a number of available channels.
[0181] In the implementation, currently, the main methods for parsing an XML file (such as an SCD file) are a DOM (Document Object Model) mode and a SAX (Simple API for XML) mode, the SAX mode can process an XML file of any size, but can only parse the file in sequence, does not support random access to the file, and can only read the XML file but cannot modify it, the DOM can randomly access any part of a file tree without a time limit, can randomly modify the file tree, and is easy to develop, but is not suitable for processing large XML files. Considering that the size of a large SCD file is not particularly large, the DOM method and the TinyXML parsing tool are selected for the convenience of development, the TinyXML is an open-source XML parsing tool based on the DOM method and can be used in C++.
[0182] The digital substation whole-station interconnection automatic testing device comprises a processor and a memory, the construction unit, the parsing unit, the first generation unit, the determination unit and the jump unit are all stored in the memory as program units, and the corresponding functions are realized by the processor executing the program units stored in the memory. The modules are all located in the same processor, or the modules are located in different processors in any combination.
[0183] The processor comprises a core, and the core calls the corresponding program units from the memory. One or more than one core can be provided, and the problem that it is difficult to uniformly manage the testing of the digital substation in the prior art can be solved by adjusting the core parameters.
[0184] The memory can comprise a non-permanent memory in a computer readable medium, a random access memory (RAM) and / or a non-volatile memory such as a read-only memory (ROM) or a flash memory (flash RAM), and the memory comprises at least one memory chip.
[0185] The embodiment of the present application provides a computer readable storage medium, which comprises a stored program, wherein the program controls a device where the computer readable storage medium is located to execute the automatic test method for whole-station interconnection of a digitized transformer substation when the program is run.
[0186] Specifically, the automatic test method for whole-station interconnection of a digitized transformer substation comprises the following steps:
[0187] In step S201, a test interface of a whole-station test platform is constructed, the test interface comprises a main interface, a whole-station display interface and a whole-station function interface, the main interface is used for recording a test task list of a transformer substation, the whole-station display interface is used for displaying a topology structure diagram and / or an IED list view of the digitized transformer substation, and the whole-station function interface comprises a plurality of function test interfaces; in step S202, an SCD file is parsed to obtain an IED file and a summary information file, the IED file comprises a data model and data set channel information of an IED, and the summary information file is used for describing an interconnection relationship between IEDs; in step S203, the topology structure diagram and / or the IED list view of the digitized transformer substation are generated according to the summary information file; in step S204, an IED is determined as a measured device according to the topology structure diagram or the IED list view; and in step S205, in response to a predetermined operation acting on the measured device, the function test interface corresponding to the predetermined operation is jumped to, a function test task of the measured device is executed according to the IED file, and a test record of the function test task is recorded in the test task list of the transformer substation.
[0188] The embodiment of the present application provides a processor, which is used for running a program, wherein the program executes the automatic test method for whole-station interconnection of a digitized transformer substation when the program is run.
[0189] Specifically, the automatic test method for whole-station interconnection of a digitized transformer substation comprises the following steps:
[0190] Step S201, a test interface of the whole station test platform is constructed, the test interface includes a main interface, a whole station display interface and a whole station function interface, the main interface is used for recording a substation test task list, the whole station display interface is used for displaying a topology structure diagram and / or an IED list view of the digital substation, and the whole station function interface includes a plurality of function test interfaces; step S202, an SCD file is parsed to obtain an IED file and a summary information file, the IED file includes a data model and dataset channel information of the IED, and the summary information file is used for describing an interconnection relationship between the IEDs; step S203, the topology structure diagram and / or the IED list view of the digital substation are generated according to the summary information file; step S204, one IED is determined as a measured device according to the topology structure diagram or the IED list view; and step S205, in response to a predetermined operation acting on the measured device, the function test interface corresponding to the predetermined operation is jumped to, a function test task of the measured device is executed according to the IED file, and a test record of the function test task is recorded in the substation test task list.
[0191] The embodiment of the present application provides a whole station test platform, which comprises a processor, a memory and a program stored in the memory and capable of running on the processor, and at least the following steps are implemented when the processor executes the program:
[0192] Step S201, a test interface of the whole station test platform is constructed, the test interface includes a main interface, a whole station display interface and a whole station function interface, the main interface is used for recording a substation test task list, the whole station display interface is used for displaying a topology structure diagram and / or an IED list view of the digital substation, and the whole station function interface includes a plurality of function test interfaces; step S202, an SCD file is parsed to obtain an IED file and a summary information file, the IED file includes a data model and dataset channel information of the IED, and the summary information file is used for describing an interconnection relationship between the IEDs; step S203, the topology structure diagram and / or the IED list view of the digital substation are generated according to the summary information file; step S204, one IED is determined as a measured device according to the topology structure diagram or the IED list view; and step S205, in response to a predetermined operation acting on the measured device, the function test interface corresponding to the predetermined operation is jumped to, a function test task of the measured device is executed according to the IED file, and a test record of the function test task is recorded in the substation test task list.
[0193] The present application also provides a computer program product, which is adapted to execute the program initialized with at least the following method steps when executed on a data processing device:
[0194] In step S201, a test interface of the whole station test platform is constructed, the test interface including a main interface, a whole station display interface and a whole station function interface, the main interface being used for recording a test task list of the substation, the whole station display interface being used for displaying a topology structure diagram and / or an IED list view of the digital substation, and the whole station function interface including a plurality of function test interfaces; in step S202, an SCD file is parsed to obtain an IED file and a summary information file, the IED file including a data model and data set channel information of the IED, and the summary information file being used for describing an interconnection relationship between the IEDs; in step S203, the topology structure diagram and / or the IED list view of the digital substation are generated according to the summary information file; in step S204, one IED is determined as a device under test according to the topology structure diagram or the IED list view; and in step S205, in response to a predetermined operation acting on the device under test, the function test interface corresponding to the predetermined operation is jumped to, a function test task of the device under test is executed according to the IED file, and a test record of the function test task is recorded in the test task list of the substation.
[0195] The preferred embodiments of the present application have been described above with the preferred embodiments, the present application is not limited to the above, for those skilled in the art, the present application can have various changes and variations. Any modification, equivalent replacement, improvement, etc. within the spirit and principle of the present application shall be included in the protection scope of the present application.
Claims
1. An automatic testing method for the interconnection of the entire digital substation, characterized in that, include: The test interface of the whole substation test platform is constructed. The test interface includes a main interface, a whole substation display interface and a whole substation function interface. The main interface is used to record the substation test task list. The whole substation display interface is used to display the topology diagram and / or IED list view of the digital substation. The whole substation function interface includes multiple function test interfaces. The SCD file is parsed to obtain the IED file and the summary information file. The IED file includes the data model and dataset channel information of the IED, and the summary information file is used to describe the interconnection relationship between the IEDs. Generate the topology diagram of the digital substation and / or the IED list view based on the summary information file; Based on the topology diagram or the IED list view, one of the IEDs is identified as the device under test; In response to a predetermined operation performed on the device under test, the system jumps to the functional test interface corresponding to the predetermined operation, executes the functional test task of the device under test according to the IED file, and records the test record of the functional test task in the substation test task list.
2. The method according to claim 1, characterized in that, The substation's overall functional interface includes a device data model consistency test interface. In response to a predetermined operation performed on the device under test (DUT), the interface redirects to the corresponding functional test interface. Based on the IED file, it executes the functional test tasks for the DUT and records the test records of these tasks in the substation test task list, including: In response to a first predetermined operation performed on the device under test, the system jumps to the device data model consistency test interface corresponding to the first predetermined operation. Connect the whole-site testing platform and the device under test to read the device data model file of the device under test; The device data model file of the device under test is compared with the IED file of the device under test to obtain the device data model consistency test result of the device under test, and the device data model consistency test result is recorded in the substation test task list where the corresponding functional test task is located.
3. The method according to claim 1, characterized in that, The overall substation functional interface also includes an intelligent configuration interface. In response to a predetermined operation performed on the device under test (DUT), it jumps to the functional test interface corresponding to the predetermined operation, executes the functional test task of the DUT according to the IED file, and records the test record of the functional test task in the substation test task list, including: In response to a second predetermined operation performed on the device under test, the user is redirected to the intelligent configuration interface corresponding to the second predetermined operation. A configuration file is generated based on the dataset channel information in the IED file of the device under test, wherein the dataset channel information includes SV information, GOOSEIN information, and GOOSEOUT information. The tester establishes a connection with each of the IEDs according to the configuration file to obtain the configuration result. The tester is used to simulate and connect the unit and the smart terminal to send telemetry and teleindication to the device under test. The configuration results are recorded in the substation test task list where the corresponding functional test task is located.
4. The method according to claim 1, characterized in that, The substation's overall functional interface also includes a virtual terminal test interface. In response to a predetermined operation performed on the device under test (DUT), the interface jumps to the corresponding functional test interface, executes the DUT's functional test task according to the IED file, and records the test records of the functional test task in the substation test task list, including: In response to a third predetermined operation performed on the device under test, the system jumps to the virtual terminal test interface corresponding to the third predetermined operation. The whole-site test platform is configured to drive the tester to send SV messages or GOOSE messages to the device under test through a virtual terminal channel. The tester is used to simulate and connect units and smart terminals. The whole-site testing platform reads the test results of the device under test to determine whether the virtual terminal connection corresponding to the virtual terminal channel is qualified, and obtains the virtual terminal test results. The test results of the virtual terminal are recorded in the substation test task list where the corresponding functional test task is located.
5. The method according to claim 1, characterized in that, The substation's overall functional interface also includes a protection function test interface. In response to a predetermined operation performed on the device under test (DUT), the user is redirected to the corresponding functional test interface. The interface executes the functional test tasks of the DUT according to the IED file and records the test records of these tasks in the substation test task list, including: In response to a fourth predetermined operation performed on the device under test, the system jumps to the protection function test interface corresponding to the fourth predetermined operation. When the device under test is a protection device, the whole station test platform is configured to drive the tester to send SV messages or GOOSE messages to the protection device through a virtual terminal channel. The SV messages and GOOSE messages are simulation signals that trigger the protection device to perform protection actions. The whole-site testing platform reads the action information of the protection device and determines the functional test result of the protection device based on whether the action information matches the expected action of the protection device. The results of the functional tests are recorded in the substation test task list where the corresponding functional test task is located.
6. The method according to any one of claims 1 to 5, characterized in that, Before jumping to the functional test interface corresponding to the predetermined operation in response to the device under test, and executing the functional test task of the device under test according to the IED file, the method further includes: All the functional test tasks of the digital substation are generated based on the SCD file, and a substation test task list is generated based on all the functional test tasks.
7. The method according to any one of claims 1 to 5, characterized in that, The SCD file is parsed to obtain the IED file and a summary information file, including: The SCD file is parsed using the DOM method and TinyXML parsing tool to obtain the IED file and the summary information file. The IED file includes the IED's data model and the IED's dataset model. The IED's dataset model includes dataset models for SmvOut, SmvIn, GsOut, and GsIn. The dataset model includes the dataset, the data under the dataset, and the channels under the dataset. The dataset includes the access point, logical device, logical node, APPID, MAC, total number of input channels, and number of available channels.
8. An automatic testing device for the interconnection of the entire digital substation, characterized in that, include: The construction unit is used to build the test interface of the whole substation test platform. The test interface includes a main interface, a whole substation display interface and a whole substation function interface. The main interface is used to record the substation test task list. The whole substation display interface is used to display the topology diagram and / or IED list view of the digital substation. The whole substation function interface includes multiple function test interfaces. The parsing unit is used to parse the SCD file to obtain the IED file and the summary information file. The IED file includes the data model and dataset channel information of the IED, and the summary information file is used to describe the interconnection relationship between the IEDs. The first generation unit is used to generate the topology diagram of the digital substation and / or the IED list view based on the summary information file; The determining unit is used to determine an IED as a device under test based on the topology diagram or the IED list view. The jump unit is used to respond to a predetermined operation performed on the device under test, jump to the functional test interface corresponding to the predetermined operation, execute the functional test task of the device under test according to the IED file, and record the test record of the functional test task in the substation test task list.
9. A computer-readable storage medium, characterized in that, The computer-readable storage medium includes a stored program, wherein, when the program is executed, it controls the device on which the computer-readable storage medium is located to perform the method according to any one of claims 1 to 7.
10. A computer program product, comprising a computer program, characterized in that, When the computer program is executed by a processor, it implements the method described in any one of claims 1 to 7.