Intelligent substation secondary circuit visualization method and device and electronic equipment

By analyzing the SCD files of the smart substation and generating the element module, the correctness of the connection relationship between the devices is determined, and the visualization of the secondary circuit of the smart substation is realized, which solves the problem of operation and maintenance difficulties in the existing technology, and improves the operation and maintenance efficiency.

CN119830548APending Publication Date: 2025-04-15GUANGDONG POWER GRID CO LTD +1
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202411883810.6
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2024-12-19
Publication Date
2025-04-15

AI Technical Summary

Technical Problem

The existing technology has high difficulty in operating and maintenance of secondary circuits of smart substations, resulting in low operation and maintenance efficiency.

Method used

By obtaining the SCD file of the smart substation, analyzing and processing generate IED device information and secondary loop information, and displaying it in graphic form, generating an IED graphic module to determine the correctness of the connection relationship between devices, thereby realizing the visualization of the secondary loop.

Benefits of technology

The visualization of the secondary circuit of the intelligent substation has been realized, reducing the difficulty of operation and maintenance, and improving operation and maintenance efficiency.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN119830548A_ABST
    Figure CN119830548A_ABST
Patent Text Reader

Abstract

The invention provides an intelligent substation secondary circuit visualization method and device and electronic equipment. Comprising the steps of obtaining an SCD file of an intelligent substation, inputting the SCD file into a file object model for analysis processing, and generating IED equipment information and secondary loop information corresponding to the SCD file; according to the IED equipment information and the secondary circuit information, secondary circuits among the IED equipment are displayed in a primitive mode, an IED primitive module is generated, the SCD file is converted into a CID file, and the CID file is downloaded into the IED primitive module so as to determine whether the connection relation among the IED equipment in the IED primitive module is correct or not; and under the condition that the connection relation is determined to be correct, a visual secondary loop of the intelligent substation is determined according to each IED primitive module, and the visual secondary loop is at least used for operation and maintenance of the intelligent substation. The problem that in the prior art, the operation and maintenance difficulty of a secondary circuit of an intelligent substation is high is solved.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present application relates to the technical field of visualization of secondary circuits of smart substations, and in particular to a method, device, computer-readable storage medium and electronic device for visualization of secondary circuits of smart substations. Background Art

[0002] The power grid has gradually entered a new stage of information intelligence development. As the core link of the power system, substations have begun to shift to unmanned operation mode, which has caused a fundamental change in the secondary circuit of the substation. Smart substations use IEC61850 as their communication standard and are constructed in layers by intelligent primary equipment and networked secondary equipment. New intelligent devices that conventional substations do not have, such as merging units and intelligent terminals, have been added. Only the maintenance and remote operation hard pressure plates of conventional substations are retained, and soft pressure plates such as SV input, GOOSE reception and export have been added. The secondary circuits used to transmit SV and GOOSE messages correspond to the AC and DC secondary circuits of conventional substations respectively. Switches and network analyzers are used in the station to realize the networking of communication platforms and the standardization of information sharing, providing advanced functions such as interaction with remote dispatching master stations for smart grids. At the same time, the secondary circuit of the substation has become "invisible", which has brought new challenges to operation and maintenance.

[0003] Many companies and manufacturers have conducted research on secondary circuit visualization and detection. However, since the system software they develop is intended for debugging and detecting their own equipment, it has its own characteristics and may not be universal among manufacturers. As a result, existing technologies have made it difficult to operate, maintain, and repair the secondary circuits of smart substations. Summary of the invention

[0004] The main purpose of the present application is to provide a method, device, computer-readable storage medium and electronic device for visualizing the secondary circuit of a smart substation, so as to at least solve the problem that the prior art has high difficulty in operating, maintaining and repairing the secondary circuit of a smart substation.

[0005] In order to achieve the above-mentioned purpose, according to one aspect of the present application, a method for visualizing the secondary circuit of a smart substation is provided, comprising: obtaining an SCD file of the smart substation, inputting the SCD file into a file object model for parsing, and generating IED device information and secondary circuit information corresponding to the SCD file; displaying the secondary circuits between each IED device in the form of graphics elements according to the IED device information and the secondary circuit information, generating an IED graphics element module, and converting the SCD file into a CID file, and downloading the CID file into the IED graphics element module to determine whether the connection relationship between each of the IED devices in the IED graphics element module is correct; when it is determined that the connection relationship is correct, determining the visualized secondary circuit of the smart substation according to each of the IED graphics element modules, wherein the visualized secondary circuit is at least used for operation, maintenance and repair of the smart substation.

[0006] Optionally, determining whether the connection relationship between the IED devices in the IED primitive module is correct includes: controlling the actual IED device and the IED primitive module corresponding to the actual IED device to simultaneously publish and subscribe to SV / GOOSE messages according to the IED device name; and determining whether the connection relationship between the IED devices is correct according to whether the actual IED device and the IED primitive module simultaneously publish and subscribe to SV / GOOSE messages in a consistent manner.

[0007] Optionally, the actual IED device and the IED graphic element module corresponding to the actual IED device are controlled to simultaneously publish SV / GOOSE messages according to the IED device name, including: setting the state and sampling value of the IED graphic element module according to the IED device information, and determining the communication configuration of the actual IED device; controlling the publication of SV / GOOSE messages by each of the actual IED devices and the IED graphic element module according to the communication configuration and the IED device name.

[0008] Optionally, controlling the actual IED device and the IED graphic element module corresponding to the actual IED device to subscribe to SV / GOOSE messages at the same time according to the IED device name, including: determining whether the message header information of the IED graphic element module is consistent with that of the actual IED device; when the message header information is consistent, determining whether the message status sequence and the quality bit of the IED graphic element module are correct; when determining that the message status sequence and the quality bit are correct, determining the communication configuration of the actual IED device; controlling the actual IED device and the IED graphic element module corresponding to the actual IED device to subscribe to SV / GOOSE messages at the same time according to the communication configuration and the IED device name.

[0009] Optionally, before displaying the secondary circuits between each IED device in the form of graphic elements according to the IED device information and the secondary circuit information, the method further includes: performing inspection and processing on the secondary circuit information, wherein the inspection and processing includes a secondary circuit function check and a communication description mechanism check, the secondary circuit function check is a check on the logical closed-loop integrity of the functional circuit and the correctness of the secondary circuit connection, and the communication description mechanism check is a communication mechanism check between each of the IED devices.

[0010] Optionally, the SCD file is input into a file object model for parsing and processing to generate secondary circuit information corresponding to the SCD file, including: extracting virtual terminals of each IED device in the SCD file, and displaying each IED device in a tree form according to the virtual terminals; and determining the secondary circuit information according to each IED device displayed in the tree form.

[0011] Optionally, after determining whether the connection relationship between each of the IED devices in the IED graphic element module is correct, the method further includes: when it is determined that the connection relationship between each of the IED devices in the IED graphic element module is incorrect, generating a prompt message, wherein the prompt message is used to remind to check the connection relationship between each of the IED devices in the IED graphic element module.

[0012] According to another aspect of the present application, a secondary circuit visualization device for a smart substation is provided, comprising: an acquisition unit, for acquiring an SCD file of the smart substation, inputting the SCD file into a file object model for parsing, and generating IED device information and secondary circuit information corresponding to the SCD file; a first determination unit, for displaying the secondary circuits between each IED device in a graphic form according to the IED device information and the secondary circuit information, generating an IED graphic element module, and converting the SCD file into a CID file, and downloading the CID file into the IED graphic element module to determine whether the connection relationship between each of the IED devices in the IED graphic element module is correct; a second determination unit, for determining the visualized secondary circuit of the smart substation according to each of the IED graphic element modules when it is determined that the connection relationship is correct, wherein the visualized secondary circuit is at least used for operation, maintenance and repair of the smart substation.

[0013] According to another aspect of the present application, a computer-readable storage medium is provided, wherein the computer-readable storage medium includes a stored program, wherein when the program is executed, the device where the computer-readable storage medium is located is controlled to execute any one of the smart substation secondary circuit visualization methods.

[0014] According to another aspect of the present application, an electronic device is provided, comprising: one or more processors, a memory, and one or more programs, wherein the one or more programs are stored in the memory and are configured to be executed by the one or more processors, and the one or more programs include a method for executing any one of the smart substation secondary circuit visualization methods.

[0015] Apply the technical solution of the present application, obtain the SCD file of the smart substation, input the SCD file into the file object model for parsing, generate the IED device information and secondary circuit information corresponding to the SCD file; display the secondary circuit between each IED device in the form of a graphic element according to the IED device information and the secondary circuit information, generate an IED graphic element module, and convert the SCD file into a CID file, and download the CID file into the IED graphic element module to determine whether the connection relationship between each IED device in the IED graphic element module is correct; when the connection relationship is determined to be correct, determine the visualized secondary circuit of the smart substation according to each IED graphic element module, wherein the visualized secondary circuit is at least used for the operation and maintenance of the smart substation. Displaying the internal logic of the SCD in a visualized form helps to quickly understand the logical link relationship between the IED devices contained in the secondary circuit and the similarities and differences between different SCDs. It is convenient for the debugging and operation and maintenance personnel of the smart substation to view, and can carry out equipment maintenance and status maintenance according to the structural hierarchy of the SCD file, reduce the difficulty of operation and maintenance of the secondary circuit, and solve the problem that the existing technology has a high difficulty in the operation and maintenance of the secondary circuit of the smart substation. BRIEF DESCRIPTION OF THE DRAWINGS

[0016] The drawings constituting part of the present application are used to provide a further understanding of the present application. The exemplary embodiments and descriptions of the present application are used to explain the present application and do not constitute an improper limitation on the present application. In the drawings:

[0017] Figure 1 A hardware structure block diagram of a mobile terminal for executing a method for visualizing a secondary circuit of a smart substation provided in an embodiment of the present application is shown;

[0018] Figure 2 A schematic diagram of a flow chart of a method for visualizing a secondary circuit of a smart substation provided according to an embodiment of the present application is shown;

[0019] Figure 3 A schematic diagram of a visualized secondary circuit for 220 kV line protection provided according to an embodiment of the present application is shown;

[0020] Figure 4 A schematic diagram of an interface of a device tree provided according to an embodiment of the present application is shown;

[0021] Figure 5A schematic diagram of an interface of a device connection tree provided according to an embodiment of the present application is shown;

[0022] Figure 6 A secondary circuit information flow chart provided according to an embodiment of the present application is shown;

[0023] Figure 7 A schematic diagram of a loop between two IED devices provided according to an embodiment of the present application is shown;

[0024] Figure 8 A secondary circuit GOOSE / SV message detection flow chart is shown according to an embodiment of the present application;

[0025] Fig. 9 A schematic diagram of a visualization function flow provided according to an embodiment of the present application is shown;

[0026] Fig.10 A structural block diagram of a secondary circuit visualization device for a smart substation provided according to an embodiment of the present application is shown.

[0027] The above drawings include the following reference numerals:

[0028] 102, processor; 104, memory; 106, transmission device; 108, input and output devices. DETAILED DESCRIPTION

[0029] It should be noted that, in the absence of conflict, the embodiments and features in the embodiments of the present application can be combined with each other. The present application will be described in detail below with reference to the accompanying drawings and in combination with the embodiments.

[0030] In order to enable those skilled in the art to better understand the solution of the present application, the technical solution in the embodiments of the present application will be clearly and completely described below in conjunction with the drawings in the embodiments of the present application. Obviously, the described embodiments are only part of the embodiments of the present application, not all of the embodiments. Based on the embodiments in the present application, all other embodiments obtained by ordinary technicians in this field without creative work should fall within the scope of protection of the present application.

[0031] It should be noted that the terms "first", "second", etc. in the specification and claims of the present application and the above-mentioned drawings are used to distinguish similar objects, and are not necessarily used to describe a specific order or sequential order. It should be understood that the data used in this way can be interchanged where appropriate, so that the embodiments of the present application described here. In addition, the terms "including" and "having" and any of their variations are intended to cover non-exclusive inclusions, for example, a process, method, system, product or device comprising a series of steps or units is not necessarily limited to those steps or units clearly listed, but may include other steps or units that are not clearly listed or inherent to these processes, methods, products or devices.

[0032] As introduced in the background technology, the existing technology has high difficulty in operating, maintaining and repairing the secondary circuits of smart substations. In order to solve the problem that the existing technology has high difficulty in operating, maintaining and repairing the secondary circuits of smart substations, the embodiments of the present application provide a method, device, computer-readable storage medium and electronic device for visualizing the secondary circuits of smart substations.

[0033] The technical solutions in the embodiments of the present invention will be described clearly and completely below in conjunction with the accompanying drawings in the embodiments of the present invention.

[0034] 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 running on a mobile terminal as an example, Figure 1 1 is a hardware structure block diagram of a mobile terminal of a smart substation secondary circuit visualization method according to an embodiment of the present invention. Figure 1 As shown, the mobile terminal may include one or more ( Figure 1 Only one is shown in the figure) a processor 102 (the processor 102 may 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 mobile terminal may also include a transmission device 106 and an input / output device 108 for communication functions. It can be understood by those skilled in the art that Figure 1 The structure shown is for illustration only and does not limit the structure of the mobile terminal. Figure 1 More or fewer components as shown, or with Figure 1 Different configurations are shown.

[0035] The memory 104 can be used to store computer programs, for example, software programs and modules of application software, such as the computer program corresponding to the visualization method of the secondary circuit of the intelligent substation in the embodiment of the present invention. The processor 102 executes various functional applications and data processing by running the computer program stored in the memory 104, that is, the above method is implemented. The memory 104 may include a high-speed random access memory, and may also include a non-volatile memory, such as one or more magnetic storage devices, flash memory, or other non-volatile solid-state memory. In some instances, the memory 104 may further include a memory remotely arranged relative to the processor 102, and these remote memories can be connected to the mobile terminal via a network. Examples of the above-mentioned 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 via a network. The above-mentioned specific network example may include a wireless network provided by a communication provider of the mobile terminal. In one example, the transmission device 106 includes a network adapter (Network Interface Controller, referred to as 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 may be a radio frequency (RF) module, which is used to communicate with the Internet wirelessly.

[0036] In this embodiment, a method for visualizing the secondary circuit of an intelligent 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 can be executed in an order different from that shown here.

[0037] Figure 2 1 is a flow chart of a method for visualizing a secondary circuit of a smart substation according to an embodiment of the present application. Figure 2 As shown, the method comprises the following steps:

[0038] Step S201, obtaining the SCD file of the smart substation, inputting the SCD file into the file object model for parsing, and generating IED device information and secondary circuit information corresponding to the SCD file;

[0039] Specifically, the SCD is read using the Document Object Mode (DOM) method, parsed, and the secondary circuit configuration content in the SCD file is extracted, including devices, virtual terminals, soft pressure plates, control blocks, and communication parameter information.

[0040] Step S202, displaying the secondary circuits between the IED devices in the form of graphic elements according to the IED device information and the secondary circuit information, generating an IED graphic element module, converting the SCD file into a CID file, and downloading the CID file into the IED graphic element module to determine whether the connection relationship between the IED devices in the IED graphic element module is correct;

[0041] Specifically, the secondary circuit visualization software imports SCD and extracts the secondary circuit information contained in SCD. The software can display the secondary circuits between all IEDs in the form of graphics. At the same time, after SCD is converted into CID, CID is downloaded into all IED graphics modules, and the simulated IED publishes the output of CID at a certain time according to the determined rules. Secondly, all messages are captured and transmitted to the corresponding subscribing IED according to which subscription requirements they meet. Finally, the publishing and subscription of all IEDs are completed. All IEDs can generate corresponding reports, which include whether all messages are sent and received successfully. In this way, it is possible to check whether there is any difference between the actual IED secondary circuit in the station and the secondary circuit displayed visually. If there is no difference, it means that the SCD is accurate. Otherwise, it means that there is a problem in a certain link. This is how to check the SCD.

[0042] Step S203, when it is determined that the connection relationship is correct, determine the visualized secondary circuit of the smart substation according to each of the IED graphic primitive modules, wherein the visualized secondary circuit is at least used for operation and maintenance of the smart substation.

[0043] Through this embodiment, the SCD file of the smart substation is obtained, the SCD file is input into the file object model for parsing and processing, and the IED device information and secondary circuit information corresponding to the SCD file are generated; the secondary circuits between each IED device are displayed in the form of graphics according to the IED device information and the secondary circuit information, an IED graphics module is generated, and the SCD file is converted into a CID file, and the CID file is downloaded into the IED graphics module to determine whether the connection relationship between each IED device in the IED graphics module is correct; when the connection relationship is determined to be correct, the visualized secondary circuit of the smart substation is determined according to each IED graphics module, wherein the visualized secondary circuit is at least used for the operation and maintenance of the smart substation. Displaying the internal logic of the SCD in a visual form helps to quickly understand the logical link relationship between the IED devices contained in the secondary circuit and the similarities and differences between different SCDs. It is convenient for the debugging and operation and maintenance personnel of the smart substation to view, and can carry out equipment maintenance and status maintenance according to the structural hierarchy of the SCD file, reduce the difficulty of operation and maintenance of the secondary circuit, and solve the problem that the existing technology has a high difficulty in the operation and maintenance of the secondary circuit of the smart substation.

[0044] During the specific implementation process, it is determined whether the connection relationship between the above-mentioned IED devices in the above-mentioned IED primitive module is correct, including: controlling the actual IED device and the above-mentioned IED primitive module corresponding to the above-mentioned actual IED device to simultaneously publish and subscribe to SV / GOOSE messages according to the IED device name; and determining whether the connection relationship between the above-mentioned IED devices is correct based on whether the above-mentioned actual IED device and the above-mentioned IED primitive module simultaneously publish and subscribe to SV / GOOSE messages in a consistent manner.

[0045] In this method, the publishing and subscription of all IEDs are completed. All IEDs can generate corresponding reports, which include whether all messages are sent and received successfully. In this way, it is possible to check whether there is any difference between the actual IED secondary circuit in the station and the secondary circuit displayed visually. If there is no difference, it means that the SCD is accurate. Otherwise, it means that there is a problem in a certain link. In this way, the SCD can be checked.

[0046] Specifically, the actual IED device and the IED graphic element module corresponding to the actual IED device are controlled to simultaneously publish SV / GOOSE messages according to the IED device name, including: setting the state and sampling value of the IED graphic element module according to the IED device information, and determining the communication configuration of the actual IED device; controlling the publishing of SV / GOOSE messages by each of the actual IED devices and the IED graphic element module according to the communication configuration and the IED device name.

[0047] More specifically, the actual IED device and the IED graphic element module corresponding to the actual IED device are controlled to subscribe to SV / GOOSE messages at the same time according to the IED device name, including: determining whether the message header information of the IED graphic element module is consistent with that of the actual IED device; when the message header information is consistent, determining whether the message status sequence and the quality bit of the IED graphic element module are correct; when it is determined that the message status sequence and the quality bit are correct, determining the communication configuration of the actual IED device; according to the communication configuration and the IED device name, the actual IED device and the IED graphic element module corresponding to the actual IED device are controlled to subscribe to SV / GOOSE messages at the same time.

[0048] The method uses a parsing tool to traverse the substation SCD to obtain the secondary circuit information description. The visualization software completes the SV / GOOSE publishing and subscription function according to the mutual connection of the devices in the circuit. The IED module in the visualization software publishes GOOSE, and the corresponding associated IED is responsible for receiving it. According to the several types of station-wide unique data contained in GOOSE, it verifies whether the GOOSE message is qualified, and at the same time, the stored heartbeat message signal is represented by an arrow graphic element. The intelligent terminal module in the software publishes SV, and the corresponding associated IED is responsible for receiving it. According to the several types of station-wide unique data contained in SV, it verifies whether the SV message is qualified, and at the same time indicates the analog signal in the sampled message, which is represented in the form of a graphic element. After searching all IEDs in the intelligent station, the mutual connection information table between IEDs is obtained. Then this connection information table is compared with the connection information table extracted by SCD, and the consistency of the corresponding circuit information contained in the substation secondary circuit SCD is dynamically verified by the software.

[0049] Furthermore, before displaying the secondary circuits between the IED devices in the form of graphic elements according to the IED device information and the secondary circuit information, the method further includes: performing inspection and processing on the secondary circuit information, wherein the inspection and processing includes a secondary circuit function inspection and a communication description mechanism inspection, the secondary circuit function inspection is an inspection of the logical closed-loop integrity of the functional circuit and the correctness of the secondary circuit connection, and the communication description mechanism inspection is an inspection of the communication mechanism between the IED devices.

[0050] This method can check the functional loop of the secondary system in a progressive manner, by checking the correctness of the interval, device, and function. Combined with the secondary system inspection rule base, the function-based loop correctness check can cover the following contents:

[0051] 1) Integrity of the logical closed loop of the functional circuit: Taking line protection as an example, the complete logical closed loop includes analog and switch quantity sampling, protection tripping action output and other circuits.

[0052] 2) Correctness of specific loop connections: Extract the type characteristics of the loop based on the model and description of the secondary virtual loop configured in the SCD file, match and compare with the rule base, and check whether the loop connection is complete and correct.

[0053] The inspection based on the communication description mechanism needs to be carried out based on the characteristics of SCD, combined with communication elements such as data sets, APPID, Mac addresses, etc., to check the correctness and standardization. The inspection content includes:

[0054] 1) Whether the address configurations of GOOSE and SMV control blocks correspond one to one, and whether there is an address conflict;

[0055] 2) Whether the format and range of APPID and Mac address meet the specifications;

[0056] 3) Whether the allocation of IP addresses is reasonable and whether there are any conflicts.

[0057] Furthermore, the above-mentioned SCD file is input into the file object model for parsing and processing to generate the secondary circuit information corresponding to the above-mentioned SCD file, including: extracting the virtual terminals of each IED device in the above-mentioned SCD file, and displaying each of the above-mentioned IED devices in a tree form according to the above-mentioned virtual terminals; determining the above-mentioned secondary circuit information according to each of the above-mentioned IED devices displayed in the tree form.

[0058] Among them, the above-mentioned IED devices displayed in tree form require secondary circuit graphical software to achieve unified display of all IEDs in the secondary system of the smart station.

[0059] Specifically, after determining whether the connection relationship between each of the above-mentioned IED devices in the above-mentioned IED graphic element module is correct, the above-mentioned method also includes: when it is determined that the connection relationship between each of the above-mentioned IED devices in the above-mentioned IED graphic element module is incorrect, generating a prompt information, wherein the above-mentioned prompt information is used to remind to check the connection relationship between each of the above-mentioned IED devices in the IED graphic element module.

[0060] This method imports the virtual terminal connection information in the substation configuration file, and then simulates the publishing and subscription of GOOSE / SV messages to verify whether the loop is correct, thereby ensuring that the devices in the actual smart station can work normally and enhancing its overall reliability.

[0061] In order to enable those skilled in the art to more clearly understand the technical solution of the present application, the implementation process of the smart substation secondary circuit visualization method of the present application will be described in detail below in combination with specific embodiments.

[0062] This embodiment relates to a specific smart substation secondary circuit visualization method based on the IEC61850 standard. The IEC61850 standard draws on multiple protocols and standards including the IEC60870-5-101 telecontrol protocol, the IEC60870-5-103 relay protection information interface standard, and the UCA2.0 substation and feeder communication protocol, which solves the interoperability problem of equipment from different manufacturers in the substation and realizes the standardization of smart substation engineering applications.

[0063] All IEDs of smart substations are modeled according to the IEC61850 standard, so that the simulation, debugging, and maintenance of smart substations can be observed intuitively. The configuration file, as the core of the device, defines the input and output characteristics of the device. The whole station configuration defines the application and performance of the entire substation. The whole station system configuration file SCD is the basis and key to ensure the visualization of the substation secondary circuit.

[0064] The physical connection ports of the secondary equipment of the smart substation are divided into output ports and receiving ports according to the direction of signal transmission. The signal output port can be further divided into multiple ports according to the signal source. The switch signal or AC sampling signal of the smart substation is always sent from the output port to the signal receiving port. Therefore, it can be determined that the data information transmitted in the secondary circuit has a certain direction. The mapping relationship between publish-subscribe data within the secondary system constitutes a virtual wire in the secondary circuit. The concept of virtual wire is set for ease of understanding and corresponds to the secondary circuit cable of a conventional substation. Therefore, in order to show the connection relationship between such devices, a directed arrow can be used to point from the output signal port to the input signal port. Finally, a connection relationship diagram including the secondary equipment and its input and output ports and SV and GOOSE signals can be used, such as Figure 3 shown.

[0065] The visualization is divided into the following three steps:

[0066] (1) Import and parse the substation SCD to obtain the corresponding communication parameters and corresponding virtual terminals of all devices, analyze the mapping relationship between the internal subscription data of the secondary equipment and the data published by the external device, and thus establish the loop connection model and data mapping model;

[0067] (2) Design the main window mode of the complete software interface and complete the drawing of the corresponding template diagrams of each element such as each IED, secondary circuit connection and SV receiving pressure plate;

[0068] (3) Finally, the corresponding template map and loop connection map of each element are combined together to obtain the following at the appropriate window coordinates: Figure 3 The secondary circuit display image is shown.

[0069] like Figure 3 As shown, the middle device in the figure is the master IED device, and the two sides are slave IEDs related to the master IED. The arrow lines represent GOOSE and SV signals. It should be possible to display all communication links related to the selected IED device in a graphical manner, with the selected IED device as the main body; the communication status of the communication link should be intuitively reflected in the figure, with red indicating communication interruption and green indicating normal communication. When there is "event" type information, a symbol should be marked on the communication link; the current value of the single-point or dual-point state quantity contained in a GOOSE communication link should be retrieved through graphics.

[0070] 1. Cross-platform technology application:

[0071] Cross-platform technology is a key definition in the system design industry. Software with this technology can run on multiple operating systems. Software or programs developed in a certain operating system environment can still run when installed on other system platforms without changing their source code.

[0072] The visualization of the secondary circuit of the intelligent substation simulates the planning, operation and maintenance process of the intelligent station on the computer server. To make this application more extensive, the functions of the equipment and circuits simulated by the software must be closer to reality. The IEDs of the intelligent station are all developed through embedded modules, and the programming language used is mainly C language. Generally, computer languages ​​can be cross-platform. This article uses the C++ language. The standard syntax of this language is consistent on every platform. Therefore, the software system designed with the C++ language can be compiled and run on any platform as long as the platform has a compiler that supports standard syntax. The graphics development of the software in the present invention relies on the Qt platform to write programs. Qt is a cross-platform C++ graphical user interface design program development platform designed by Qiqu Company. Under the premise of being practical and reliable, the core module of the visualization software for the secondary circuit of the intelligent substation adopts the cross-platform idea and uses QT software to draw visualized graphics, which can make the software more widely used and can easily and accurately develop a system that can be used for debugging and testing the secondary circuit of the intelligent station.

[0073] 2. Main steps of visualization of secondary circuit of smart substation:

[0074] 2.1. SCD model detection:

[0075] At present, a large number of IED devices based on the IEC61850 standard are used in smart substations. The IED model information is included in the SCD, but whether the file is consistent with the online device and whether the function described in the file exists in the device requires the SCD model to be tested. Since the SCD only contains the functional performance of the secondary circuit, the inspection should focus on the functional realization of the process layer network.

[0076] The work of visualization software also needs to parse SCD, form virtual terminal connections, and display IED name, message, soft pressure plate and other information. However, SCD often has information type conflicts, IED parameter discrepancies and language errors, which makes project planning and construction impossible to implement smoothly. Therefore, the software is used in the debugging and operation of smart stations to detect the imported SCD to determine the correctness of the SCD and the consistency with the actual equipment, which can reduce the fault error rate during substation operation, reduce the time consumption of smart station project construction, and reduce unnecessary duplication of work.

[0077] The verification schemes for the SCD files of smart stations can be divided into the following three categories:

[0078] (1) Based on the language specification inspection, the Schema test standard in the appendix of DL / T860-6 is used to determine whether the SCL language is qualified. The items to be tested are shown in Table 1.

[0079] Table 1Schema detection items

[0080]

[0081]

[0082] (2) Based on the secondary circuit function check:

[0083] The inspection of the secondary system function loop can be carried out in a progressive manner, with intervals, devices, and functions being checked for correctness. Combined with the secondary system inspection rule base, the function-based loop correctness check can cover the following contents:

[0084] 1) Integrity of the logical closed loop of the functional circuit: Taking line protection as an example, the complete logical closed loop includes analog and switch quantity sampling, protection tripping action output and other circuits.

[0085] 2) Correctness of specific loop connections: Extract the type characteristics of the loop based on the model and description of the secondary virtual loop configured in the SCD file, match and compare with the rule base, and check whether the loop connection is complete and correct.

[0086] (3) Inspection based on communication description mechanism:

[0087] The IEC61850 standard describes the information association between IEDs through GOOSE. Therefore, it is necessary to check the correctness and standardization of SCD features, combined with communication elements such as data sets, APPID, and Mac addresses. The contents of the check include:

[0088] 1) Whether the address configurations of GOOSE and SMV control blocks correspond one to one, and whether there is an address conflict;

[0089] 2) Whether the format and range of APPID and Mac address meet the specifications;

[0090] 3) Whether the allocation of IP addresses is reasonable and whether there are any conflicts.

[0091] 2.2. Parsing of SCD files and extraction of secondary circuits:

[0092] (1) Analysis of SCD files:

[0093] The SCD is read and parsed using the Document Object Mode (DOM). First, each intelligent device is retrieved to extract its basic information such as order and configuration. Then, Inputs are obtained step by step from IED to LD, the basic information of each IED and the LD information of its subordinate logical devices are obtained, and an IED object List is constructed. From the Inputs node of each LD, the virtual connection information under the LD is obtained, the virtual terminal number of the output end is constructed, and stored in the virtual connection list of the LD. For each input virtual terminal in the connection object, the internal connection address (int Addr) and the output virtual terminal number just constructed are referenced to the corresponding local LN and the sending device to send the LN to search and obtain the corresponding input and output virtual terminal descriptions.

[0094] (2) Extraction of secondary circuit:

[0095] The connection between devices in the process layer network is reflected by the transmission of GOOSE / SV messages through the secondary loop. The physical interface that reflects the message publishing / subscription data of the intelligent device is the virtual terminal, which is used to distinguish the secondary loop signal that expresses the association of IEDs in the secondary system, equivalent to the screen terminal of the conventional station. The secondary loop connection is the logical link of all IED devices, that is, the mapping of message publishing and subscription. The secondary loop configuration content extracted from the SCD file includes devices, virtual terminals, soft pressure plates, control blocks, and communication parameter information.

[0096] In the SCD model, the secondary connection information is extracted. Then, the secondary visualization graphical interface can directly display the IED and its secondary circuit communication link. The transmission of GOOSE / SV uses a one-way arrow to reflect the relevant IED and the transmission direction. The method of simulating IED with graphic elements can be directly displayed on the software interface, making it easier for the software to receive and understand the secondary circuit information.

[0097] Get basic information of secondary circuit, such as IED subnet, data set corresponding to control block, whether control block is sending or receiving; read data set and data, GSE control block for storing GOOSE network access point, SMV control block for storing SV network access point, inputs and subnet information.

[0098] 2.3. Visual software interface design:

[0099] The software interface consists of the main frame, secondary circuit display, difference comparison and IED publishing and subscription. After the software is started, select Open Project Directory, select a file in the directory, and after confirming the selection, analyze all the devices in the directory and list them in the device tree in the device directory on the left by category, such as Figure 4 shown.

[0100] Specify an IED in the IED list to operate, and display this IED and other IEDs with which it has input and output in the visualization software window, using one-way arrows to connect them to express the input and output relationship. If the software cannot find a related IED, the "missing" IED module element will still be displayed at the corresponding position on the interface, but it will be distinguished from the normally operating IEDs by adding a red MISS sign to it, indicating that it is an IED that is offline or faulty. Figure 5 shown.

[0101] Select the virtual IED element on the interface, which encapsulates the configuration information and function options of the corresponding IED. You can use the dynamic detection function, that is, to make the associated IED perform publish and subscribe operations, and at the same time make the corresponding real IED transmit GOOSE / SV to the switch interface. After the corresponding real IED obtains the message, it reflects the situation on the visualization software interface, that is, let the IEDs in the IED list detect whether they meet their subscription standards. If they do, the corresponding IEDs are connected to each other to show normal communication. The corresponding loops with normal communication are displayed with blue lines in the visualization display window, and the publish-subscribe relationship is marked above the IED on the loop.

[0102] When the mouse hovers over the line, the reference of the point is displayed. Select the IED inter-loop to display the secondary loop diagram of two IEDs in one window. The secondary loop diagram window of two IEDs only contains a pair of IEDs with a publish-subscribe relationship. The virtual device is designed graphically using C++ language. The main graphic element designs include translation, resizing, and other operations.

[0103] 3. Realization of visualization of secondary circuit of smart substation:

[0104] The present embodiment studies the reason why the software graphically displays the secondary circuit to detect whether there are errors in the secondary circuit connection between IEDs in the substation planning and design. The display mode of the visualization software is defined as IED graphic element modules and arrows. The connection of all IED graphic elements is displayed using arrow links, so that the secondary circuit and the IED therein are clear at a glance.

[0105] 3.1. Import SCD file:

[0106] Select the SCD file of a smart substation to be imported from the open file. After importing the SCD file, the software can display the equipment and loop information of the smart substation; or the system can automatically import the SCD file by dragging and dropping the selected SCD file to the toolbar.

[0107] Set the system navigation bar on the left border of the initial interface, and set the main window on the right as the information display area, including detailed information such as lists and graphics. In the navigation bar, the intelligent device displays all IED devices of the intelligent station in several sub-columns according to different equipment types. Click the intelligent device node in the IED list to display the information of all IEDs in the substation in the right view window, including IED name, description, manufacturer and equipment model; you can search for qualified IED devices through the input box; click the IED device subnode under the intelligent device in the IED list, and the information flow diagram with the device as the core will be displayed in the right view window of the tool, and the basic information and networking status of the device will be displayed in the device title bar at the bottom right; click basic information to display the basic information of SCD in the tree view on the left. Clicking historical information will display the version information of SCD in the main interface on the right; clicking verification results will display the detected SCD warnings and errors; clicking the device type involved in this station will display the device according to the device manufacturer and type; clicking the communication subnet will display the networking status of this station. After clicking one of the subnets, the device status of this network will be displayed in the main interface.

[0108] 3.2. Detect SCD file:

[0109] After the SCD is generated by the configuration tool, the manufacturer must convert the SCD into the CID in the produced intelligent device and download it into the corresponding device. If the whole station is debugged in the station, the debugging personnel will have a lot of work to do. The secondary circuit visualization software imports the SCD and extracts the secondary circuit information contained in the SCD. The software can display the secondary circuits between all IEDs in the form of graphics. At the same time, after the SCD is converted into CID, the CID is downloaded into all IED graphics modules, and the simulated IED publishes the output of the CID at a certain time according to the determined rules. Secondly, all messages are captured and transmitted to the corresponding subscribing IED according to which subscription requirements they meet. Finally, the publishing and subscription of all IEDs are completed. All IEDs can generate corresponding reports, which include whether all messages are sent and received successfully. In this way, it is possible to check whether there is any difference between the actual IED secondary circuit in the station and the secondary circuit displayed visually. If there is no difference, it means that the SCD is accurate. On the contrary, it means that there is a problem in a certain link. This is how to check the SCD.

[0110] Click the Detect button to detect the current SCD file. If the SCD file exists, it will be detected. During SCD verification, click the "Export Detection Results" button above the verification results to export the verification results to an Excel file.

[0111] 3.3. SCD file visualization:

[0112] SCD is an XML format file written in SCL language, so it can be displayed based on the plain text comparison mode and a graphical interface method. Take the external reference of a device's GOOSE control block as an example. According to this reference definition, IEDName and other information can be used to retrieve the logical device from which the signal comes. By retrieving the data set contained in this logical device, the corresponding data entry can be obtained. By traversing the message control block information contained in this logical device, all relevant information can be obtained. The specific method is as follows:

[0113] (1) Device virtual terminal. According to the specification, the virtual terminal is defined based on the control block, which is defined in the G1 access point. Therefore, the following steps are taken to retrieve the virtual terminal:

[0114] 1) Check ICD / CID documents;

[0115] 2) Traverse the control block tags under LN0, extract parameters such as name, data set, configuration version, etc. for all tags, and save them as a virtual terminal block;

[0116] 3) According to the data set, retrieve the corresponding data set name, extract all the data, and save each item as a virtual terminal to store its related information;

[0117] 4) Until the data set retrieval is completed;

[0118] 5) Until the control block retrieval is completed.

[0119] (2) Secondary circuit. The device instance configuration CID file of the smart substation contains the secondary circuit details of the device. Taking the GOOSE secondary circuit as an example, the following steps are taken to retrieve the secondary circuit:

[0120] 1) Check the SCD / CID file;

[0121] 2) Search for input nodes;

[0122] 3) Search all external references;

[0123] 4) Extract information such as device name, instance name, data object name, etc. and combine them into a secondary loop;

[0124] 5) According to the secondary loop information above, search for the corresponding message control block, extract the corresponding event control block, and save the data set, control block ID and other information;

[0125] 6) According to the corresponding GOCB, search for the communication parameters of the CID and obtain the communication information of the GOCB;

[0126] 7) Until the input node is found.

[0127] In this way, the secondary circuit between devices can be constructed according to which data set entry of which GOOSE control block the external reference is associated with. Referring to the above steps, all virtual terminal connections in SCD can be constructed in the same way, so as to display the data relationship between each IED and other IEDs in the graphical interface, such as Figure 6 shown.

[0128] The device at the core of the graph is the master IED, and the slave IEDs on both sides are associated with it. The arrow lines represent GOOSE and SV signals. The design idea is that rolling the mouse wheel in the graph can zoom in and out, and pressing the left mouse button can drag the enlarged graph.

[0129] In the information flow diagram, double-click the connection line between two IEDs, and the loop diagram between the two devices will pop up to show the connection relationship between the master IED device and one of its slave IED devices through a specific control block, such as Figure 7 The software obtains the loop connection relationship table between the two devices according to the selected two IEDs, sorts it according to the terminal name of the master IED, and then draws the master and slave virtual terminal elements.

[0130] By retrieving the secondary connection file, the loop connections contained in the intelligent devices in the process layer network can be obtained, so that the secondary loop configuration description is no longer a complex text mode. The graphics display the detailed information of the loop, which is clear and convenient for the maintenance and inspection of the secondary loop.

[0131] 4. Verification of the accuracy of dynamic connection of secondary circuit:

[0132] Import the virtual terminal connection information in the substation configuration file, and then simulate the publishing and subscription of GOOSE / SV messages to verify whether the loop is correct, thereby ensuring that the devices in the actual smart station can work normally and enhance its overall reliability.

[0133] According to the subscription and release of SV / GOOSE contained in the secondary circuit information, all intelligent devices in the substation must publish their own corresponding messages, and also subscribe to messages that meet their own requirements according to the communication parameters. The obtained communication network is compared with the secondary circuit in the SCD to determine whether the device instance configuration imported into the intelligent station IED is qualified, and whether the message information circuit is correct. This is the connotation of dynamic inspection.

[0134] Detailed process as Figure 8:Traverse the substation SCD with a parsing tool to obtain the secondary circuit information description. The visualization software connects the devices in the circuit to complete the SV / GOOSE publishing and subscription functions. The IED module in the visualization software publishes GOOSE, and the corresponding associated IED is responsible for receiving it. According to the several types of unique data in the entire station contained in GOOSE, it verifies whether the GOOSE message is qualified, and at the same time, the stored heartbeat message signal is represented by an arrow graphic element. The intelligent terminal module in the software publishes SV, and the corresponding associated IED is responsible for receiving it. According to the several types of unique data in the entire station contained in SV, it verifies whether the SV message is qualified, and at the same time indicates the analog signal in the sampled message, which is represented in the form of graphic elements.

[0135] After searching all IEDs in the intelligent station, the interconnection information table between IEDs is obtained. Then this connection information table is compared with the connection information table extracted by SCD, and the consistency of the corresponding circuit information contained in the substation secondary circuit SCD is dynamically verified by software.

[0136] 5. Visualization implementation process:

[0137] The graphical display method of the secondary circuit of the smart substation is to first obtain the SCD configuration file from the smart substation server, then scan the obtained SCD configuration file, extract the IED device list, and then retrieve the virtual terminal sending / receiving end information of all IEDs in the IED device table. Finally, the secondary circuit of the smart substation is analyzed from the IED sending and receiving information, and displayed in a hierarchical graphical manner.

[0138] The specific method of displaying the interrelated information between IED devices is as follows:

[0139] (1) Select one of the IEDs from the list of devices in the station, and the graphic mode will display the devices and information associated with the input and output of this IED;

[0140] (2) Specify the output information of a certain IED from all the related IED devices displayed in this graph, and then search the input information source of other IEDs to see whether the information of this IED exists; if the information of the specified IED exists, the information transmission connection relationship between the specified IED and the specified IED is displayed;

[0141] (3) Find out all the information input and output connection relationships between the specified IED and its associated IEDs, delete the duplicate IED and device connections in the middle, and thus obtain a complete and correct secondary circuit connection relationship.

[0142] This secondary circuit graphical method contains three layers of structure: the first layer is the list information of all retrieved IEDs; the second layer is to designate a certain IED as the core, and display the network topology diagram between this designated IED and all the IEDs associated with it; the third layer is the virtual terminal connection diagram between the designated IED and a certain associated IED. In order to make the R&D design idea more accurate and clear, it is explained according to the flowchart of the secondary circuit visualization display, such as Fig. 9 As shown:

[0143] (1) SCD model detection: As an information source, the SCD file is imported into the software. Assuming that the SCD file passes the inspection, it means that the planning scheme of the substation is reasonable.

[0144] (2) Extracting virtual terminals: This means obtaining loop information in the process layer network, which can be considered similar to the secondary loop diagram of a conventional substation. In particular, the terminal connection between intelligent relay protection devices is very critical. Once an error occurs, the correct relay protection function may not operate, or the value that should have been sampled may not be delivered to the IED as required.

[0145] (3) Tree display equipment: The secondary circuit graphical software realizes unified display of all IEDs in the secondary system of the intelligent station.

[0146] (4) Export device configuration files: Since all IEDs in the smart station are based on the IEC61850 standard, the IEDs are modeled and the CID is downloaded to the IEDs to implement their corresponding functions.

[0147] (5) Forming a virtual IED: Based on the acquired CID, all IED graphic element modules corresponding to the real IED are displayed.

[0148] (6) SV / GOOSE publishing and subscription: The real IED and its corresponding IED primitive module simultaneously publish and subscribe to SV / GOOSE, and the software verifies whether the station planning is qualified or not.

[0149] (7) Debugging actual equipment: Use graphic display software to debug the actual equipment in the secondary circuit.

[0150] This embodiment is based on the IEC61850 standard, uses computers as the application scenario, and adopts the Qt software system to propose a cross-platform, image-displaying smart substation secondary circuit visualization solution. This solution graphically displays the GOOSE / SV signal transmission subscribed between related devices by parsing the loops and configuration descriptions between devices. The layered presentation of the internal logic of the SCD in a graphical form helps to quickly understand the logical link relationship between the IED devices included in the secondary circuit and the similarities and differences between different SCDs. It is convenient for the debugging and operation and maintenance personnel of the smart substation to view, and can carry out equipment maintenance and status maintenance based on the structural hierarchy of the SCD file, reducing the difficulty of secondary circuit operation and maintenance.

[0151] The embodiment of the present application also provides a smart substation secondary circuit visualization device. It should be noted that the smart substation secondary circuit visualization device of the embodiment of the present application can be used to execute the smart substation secondary circuit visualization method provided by the embodiment of the present application. The device is used to implement the above-mentioned embodiments and preferred implementation modes, and the descriptions that have been made will not be repeated. As used below, the term "module" can implement a combination of software and / or hardware for a predetermined function. Although the device described in the following embodiments is preferably implemented in software, the implementation of hardware, or a combination of software and hardware, is also possible and conceived.

[0152] The following is an introduction to the smart substation secondary circuit visualization device provided in an embodiment of the present application.

[0153] Fig.10 Schematic diagram of a visualization device for a secondary circuit of a smart substation according to an embodiment of the present application. Fig.10 As shown, the device comprises:

[0154] An acquisition unit 1001 is used to acquire an SCD file of a smart substation, input the SCD file into a file object model for parsing, and generate IED device information and secondary circuit information corresponding to the SCD file;

[0155] The first determining unit 1002 is used to display the secondary circuits between the IED devices in the form of graphic elements according to the IED device information and the secondary circuit information, generate an IED graphic element module, convert the SCD file into a CID file, and download the CID file into the IED graphic element module to determine whether the connection relationship between the IED devices in the IED graphic element module is correct;

[0156] The second determining unit 1003 is used to determine the visualized secondary circuit of the smart substation according to each of the IED graphic primitive modules when determining that the connection relationship is correct, wherein the visualized secondary circuit is at least used for operation and maintenance of the smart substation.

[0157] In this embodiment, the acquisition unit is used to obtain the SCD file of the smart substation, input the above SCD file into the file object model for parsing, and generate the IED device information and secondary circuit information corresponding to the above SCD file; the first determination unit is used to display the secondary circuit between each IED device in the form of a graphic element according to the above IED device information and the above secondary circuit information, generate an IED graphic element module, and convert the above SCD file into a CID file, and download the above CID file into the above IED graphic element module to determine whether the connection relationship between each of the above IED devices in the above IED graphic element module is correct; the second determination unit is used to determine the visualized secondary circuit of the above smart substation according to each of the above IED graphic element modules when determining that the above connection relationship is correct, wherein the above visualized secondary circuit is at least used for the operation and maintenance of the above smart substation. Displaying the internal logic of the SCD in a visual form helps to quickly understand the logical link relationship between the IED devices contained in the secondary circuit and the similarities and differences between different SCDs. It is convenient for debugging, operation and maintenance personnel of smart substations to view, and can carry out equipment maintenance and status maintenance according to the structural hierarchy of SCD files, reduce the difficulty of secondary circuit operation and maintenance, and solve the problem that the existing technology has high difficulty in the operation and maintenance of secondary circuits of smart substations.

[0158] As an optional scheme, the first determination unit includes a publish-subscribe module and a first determination module; the publish-subscribe module is used to control the actual IED device and the above-mentioned IED graphic element module corresponding to the above-mentioned actual IED device to simultaneously publish and subscribe to SV / GOOSE messages according to the IED device name; the first determination module is used to determine whether the connection relationship between the above-mentioned IED devices is correct according to whether the above-mentioned actual IED device and the above-mentioned IED graphic element module simultaneously publish and subscribe to SV / GOOSE.

[0159] An optional solution, the publish-subscribe module includes a first determination submodule and a publishing submodule; the first determination submodule is used to set the state and sampling value of the above-mentioned IED graphic element module according to the above-mentioned IED device information, and determine the communication configuration of the above-mentioned actual IED device; the publishing submodule is used to control the publishing of SV / GOOSE messages between each of the above-mentioned actual IED devices and the above-mentioned IED graphic element module according to the above-mentioned communication configuration and the above-mentioned IED device name.

[0160] An optional solution, the publish-subscribe module also includes a second determination submodule, a third determination submodule, a fourth determination submodule and a subscription submodule; the second determination submodule is used to determine whether the message header information of the above-mentioned IED graphic element module is consistent with the above-mentioned actual IED device; the third determination submodule is used to determine whether the message status sequence and quality bit of the above-mentioned IED graphic element module are correct when the above-mentioned message header information is consistent; the fourth determination submodule is used to determine the communication configuration of the above-mentioned actual IED device when it is determined that the above-mentioned message status sequence and quality bit are correct; the subscription submodule is used to control the actual IED device and the above-mentioned IED graphic element module corresponding to the above-mentioned actual IED device to subscribe to SV / GOOSE messages at the same time according to the above-mentioned communication configuration and the above-mentioned IED device name.

[0161] An optional solution, the device also includes an inspection processing unit, which is used to inspect and process the above-mentioned secondary circuit information before displaying the secondary circuit between each IED device in the form of a graphic element based on the above-mentioned IED device information and the above-mentioned secondary circuit information, wherein the above-mentioned inspection and processing includes a secondary circuit function check and a communication description mechanism check, the above-mentioned secondary circuit function check is an inspection of the logical closed-loop integrity of the functional circuit and the correctness of the secondary circuit connection, and the above-mentioned communication description mechanism check is a communication mechanism check between each of the above-mentioned IED devices.

[0162] An optional solution, the acquisition unit includes an extraction module and a display module; the extraction module is used to extract the virtual terminals of each IED device in the above-mentioned SCD file, and display each of the above-mentioned IED devices in a tree-like manner according to the above-mentioned virtual terminals; the display module is used to determine the above-mentioned secondary circuit information according to each of the above-mentioned IED devices displayed in a tree-like manner.

[0163] In an optional scheme, the device also includes a generating unit, which is used to generate a prompt information after determining whether the connection relationship between each of the above-mentioned IED devices in the above-mentioned IED graphic element module is correct, if it is determined that the connection relationship between each of the above-mentioned IED devices in the above-mentioned IED graphic element module is incorrect, wherein the above-mentioned prompt information is used to remind to check the connection relationship between each of the above-mentioned IED devices in the IED graphic element module.

[0164] The above-mentioned smart substation secondary circuit visualization device includes a processor and a memory, and the above-mentioned acquisition unit, the first determination unit, the second determination unit, etc. are all stored in the memory as program units, and the processor executes the above-mentioned program units stored in the memory to realize corresponding functions. The above-mentioned modules are all located in the same processor; or, the above-mentioned modules are located in different processors in the form of any combination.

[0165] The processor includes a kernel, which retrieves the corresponding program unit from the memory. One or more kernels can be set, and the problem of the high difficulty of secondary circuit operation and maintenance of smart substations in the prior art can be solved by adjusting kernel parameters.

[0166] The memory may include non-permanent memory in a computer-readable medium, random access memory (RAM) and / or non-volatile memory, such as read-only memory (ROM) or flash RAM, and the memory includes at least one memory chip.

[0167] An embodiment of the present invention provides a computer-readable storage medium, wherein the computer-readable storage medium includes a stored program, wherein when the program is running, the device where the computer-readable storage medium is located is controlled to execute the smart substation secondary circuit visualization method.

[0168] Specifically, the visualization method of the secondary circuit of the smart substation includes:

[0169] Step S201, obtaining the SCD file of the smart substation, inputting the SCD file into the file object model for parsing, and generating IED device information and secondary circuit information corresponding to the SCD file;

[0170] Step S202, displaying the secondary circuits between the IED devices in the form of graphic elements according to the IED device information and the secondary circuit information, generating an IED graphic element module, converting the SCD file into a CID file, and downloading the CID file into the IED graphic element module to determine whether the connection relationship between the IED devices in the IED graphic element module is correct;

[0171] Step S203, when it is determined that the connection relationship is correct, determine the visualized secondary circuit of the smart substation according to each of the IED graphic primitive modules, wherein the visualized secondary circuit is at least used for operation and maintenance of the smart substation.

[0172] An embodiment of the present invention provides a processor, which is used to run a program, wherein the program executes the smart substation secondary circuit visualization method when running.

[0173] Specifically, the visualization method of the secondary circuit of the smart substation includes:

[0174] Step S201, obtaining the SCD file of the smart substation, inputting the SCD file into the file object model for parsing, and generating IED device information and secondary circuit information corresponding to the SCD file;

[0175] Step S202, displaying the secondary circuits between the IED devices in the form of graphic elements according to the IED device information and the secondary circuit information, generating an IED graphic element module, converting the SCD file into a CID file, and downloading the CID file into the IED graphic element module to determine whether the connection relationship between the IED devices in the IED graphic element module is correct;

[0176] Step S203, when it is determined that the connection relationship is correct, determine the visualized secondary circuit of the smart substation according to each of the IED graphic primitive modules, wherein the visualized secondary circuit is at least used for operation and maintenance of the smart substation.

[0177] An embodiment of the present invention provides an electronic device, the device comprising a processor, a memory, and a program stored in the memory and executable on the processor, and when the processor executes the program, at least the following steps are implemented:

[0178] Step S201, obtaining the SCD file of the smart substation, inputting the SCD file into the file object model for parsing, and generating IED device information and secondary circuit information corresponding to the SCD file;

[0179] Step S202, displaying the secondary circuits between the IED devices in the form of graphic elements according to the IED device information and the secondary circuit information, generating an IED graphic element module, converting the SCD file into a CID file, and downloading the CID file into the IED graphic element module to determine whether the connection relationship between the IED devices in the IED graphic element module is correct;

[0180] Step S203, when it is determined that the connection relationship is correct, determine the visualized secondary circuit of the smart substation according to each of the IED graphic primitive modules, wherein the visualized secondary circuit is at least used for operation and maintenance of the smart substation.

[0181] The devices in this article can be servers, PCs, PADs, mobile phones, etc.

[0182] The present application also provides a computer program product, which, when executed on a data processing device, is suitable for executing a program for initializing at least the following method steps:

[0183] Step S201, obtaining the SCD file of the smart substation, inputting the SCD file into the file object model for parsing, and generating IED device information and secondary circuit information corresponding to the SCD file;

[0184] Step S202, displaying the secondary circuits between the IED devices in the form of graphic elements according to the IED device information and the secondary circuit information, generating an IED graphic element module, converting the SCD file into a CID file, and downloading the CID file into the IED graphic element module to determine whether the connection relationship between the IED devices in the IED graphic element module is correct;

[0185] Step S203, when it is determined that the connection relationship is correct, determine the visualized secondary circuit of the smart substation according to each of the IED graphic primitive modules, wherein the visualized secondary circuit is at least used for operation and maintenance of the smart substation.

[0186] Obviously, those skilled in the art should understand that the above modules or steps of the present invention can be implemented by a general computing device, they can be concentrated on a single computing device, or distributed on a network composed of multiple computing devices, they can be implemented by a program code executable by a computing device, so that they can be stored in a storage device and executed by the computing device, and in some cases, the steps shown or described can be executed in a different order than here, or they can be made into individual integrated circuit modules, or multiple modules or steps therein can be made into a single integrated circuit module for implementation. Thus, the present invention is not limited to any specific combination of hardware and software.

[0187] Those skilled in the art will appreciate that the embodiments of the present application may be provided as methods, systems, or computer program products. Therefore, the present application may adopt the form of a complete hardware embodiment, a complete software embodiment, or an embodiment in combination with software and hardware. Moreover, the present application may adopt the form of a computer program product implemented in one or more computer-usable storage media (including but not limited to disk storage, CD-ROM, optical storage, etc.) that include computer-usable program code.

[0188] The present application is described with reference to the flowcharts and / or block diagrams of the methods, devices (systems), and computer program products according to the embodiments of the present application. It should be understood that each process and / or box in the flowchart and / or block diagram, as well as the combination of the processes and / or boxes in the flowchart and / or block diagram, can be implemented by computer program instructions. These computer program instructions can be provided to a processor of a general-purpose computer, a special-purpose computer, an embedded processor, or other programmable data processing device to generate a machine, so that the instructions executed by the processor of the computer or other programmable data processing device generate instructions for implementing the processes in the flowchart and / or block diagram. Figure 1 A process or multiple processes and / or boxes Figure 1 A device that provides the functions specified in a block or multiple blocks.

[0189] These computer program instructions may also be stored in a computer-readable memory capable of directing a computer or other programmable data processing device to operate in a specific manner, so that the instructions stored in the computer-readable memory produce an article of manufacture comprising an instruction device, which implements the process Figure 1 A process or multiple processes and / or boxes Figure 1 A function specified in one or more boxes.

[0190] These computer program instructions can also be loaded onto a computer or other programmable data processing device so that a series of operating steps are executed on the computer or other programmable device to produce a computer-implemented process, thereby providing instructions for implementing the process. Figure 1 A process or multiple processes and / or boxes Figure 1 The steps for the functions specified in one or more boxes.

[0191] In a typical configuration, a computing device includes one or more processors (CPU), input / output interfaces, network interfaces, and memory.

[0192] The memory may include non-permanent memory in a computer-readable medium, random access memory (RAM) and / or non-volatile memory in the form of read-only memory (ROM) or flash RAM. The memory is an example of a computer-readable medium.

[0193] Computer readable media include permanent and non-permanent, removable and non-removable media that can be implemented by any method or technology to store information. Information can be computer readable instructions, data structures, program modules or other data. Examples of computer storage media include, but are not limited to, phase change memory (PRAM), static random access memory (SRAM), dynamic random access memory (DRAM), other types of random access memory (RAM), read-only memory (ROM), electrically erasable programmable read-only memory (EEPROM), flash memory or other memory technology, compact disk read-only memory (CD-ROM), digital versatile disk (DVD) or other optical storage, magnetic cassettes, magnetic tape disk storage or other magnetic storage devices or any other non-transmission media that can be used to store information that can be accessed by a computing device. As defined herein, computer readable media does not include temporary computer readable media (transitory media), such as modulated data signals and carrier waves.

[0194] It should also be noted that the terms "include", "comprises" or any other variations thereof are intended to cover non-exclusive inclusion, so that a process, method, commodity or device including a series of elements includes not only those elements, but also other elements not explicitly listed, or also includes elements inherent to such process, method, commodity or device. In the absence of more restrictions, the elements defined by the sentence "comprises a ..." do not exclude the existence of other identical elements in the process, method, commodity or device including the elements.

[0195] From the above description, it can be seen that the above embodiments of the present application achieve the following technical effects:

[0196] 1) A method for visualizing the secondary circuit of a smart substation of the present application includes: obtaining the SCD file of the smart substation, inputting the above SCD file into the file object model for parsing, and generating the IED device information and secondary circuit information corresponding to the above SCD file; displaying the secondary circuit between each IED device in the form of a graphic element according to the above IED device information and the above secondary circuit information, generating an IED graphic element module, and converting the above SCD file into a CID file, and downloading the above CID file into the above IED graphic element module to determine whether the connection relationship between each of the above IED devices in the above IED graphic element module is correct; when it is determined that the above connection relationship is correct, determining the visualized secondary circuit of the above smart substation according to each of the above IED graphic element modules, wherein the above visualized secondary circuit is at least used for the operation and maintenance of the above smart substation. Displaying the internal logic of the SCD in a visual form helps to quickly understand the logical link relationship between the IED devices contained in the secondary circuit and the similarities and differences between different SCDs. It is convenient for debugging, operation and maintenance personnel of smart substations to view, and can carry out equipment maintenance and status maintenance according to the structural hierarchy of SCD files, reduce the difficulty of secondary circuit operation and maintenance, and solve the problem that the existing technology has high difficulty in the operation and maintenance of secondary circuits of smart substations.

[0197] 2) A secondary circuit visualization device for a smart substation of the present application includes: an acquisition unit, which is used to acquire the SCD file of the smart substation, input the above SCD file into the file object model for parsing, and generate the IED device information and secondary circuit information corresponding to the above SCD file; a first determination unit, which is used to display the secondary circuit between each IED device in the form of a graphic element according to the above IED device information and the above secondary circuit information, generate an IED graphic element module, and convert the above SCD file into a CID file, and download the above CID file into the above IED graphic element module to determine whether the connection relationship between each of the above IED devices in the above IED graphic element module is correct; a second determination unit, which is used to determine the visualized secondary circuit of the above smart substation according to each of the above IED graphic element modules when determining that the above connection relationship is correct, wherein the above visualized secondary circuit is at least used for the operation and maintenance of the above smart substation. Displaying the internal logic of the SCD in a visual form helps to quickly understand the logical link relationship between the IED devices contained in the secondary circuit and the similarities and differences between different SCDs. It is convenient for debugging, operation and maintenance personnel of smart substations to view, and can carry out equipment maintenance and status maintenance according to the structural hierarchy of SCD files, reduce the difficulty of secondary circuit operation and maintenance, and solve the problem that the existing technology has high difficulty in the operation and maintenance of secondary circuits of smart substations.

[0198] The above description is only the preferred embodiment of the present application and is not intended to limit the present application. For those skilled in the art, the present application may have various modifications and variations. Any modification, equivalent replacement, improvement, etc. made within the spirit and principle of the present application shall be included in the protection scope of the present application.

Claims

1. A method for visualizing a secondary circuit of a smart substation, characterized in that: include: Obtaining an SCD file of the smart substation, inputting the SCD file into a file object model for parsing, and generating IED device information and secondary circuit information corresponding to the SCD file; Display the secondary circuits between the IED devices in the form of graphic elements according to the IED device information and the secondary circuit information, generate an IED graphic element module, convert the SCD file into a CID file, and download the CID file into the IED graphic element module to determine whether the connection relationship between the IED devices in the IED graphic element module is correct; When it is determined that the connection relationship is correct, a visualized secondary circuit of the smart substation is determined according to each of the IED graphic element modules, wherein the visualized secondary circuit is at least used for operation, maintenance and repair of the smart substation.

2. The method according to claim 1, characterized in that Determining whether the connection relationship between the IED devices in the IED primitive module is correct includes: Control the actual IED device and the IED primitive module corresponding to the actual IED device to publish and subscribe to SV / GOOSE messages simultaneously according to the IED device name; Whether the connection relationship between the IED devices is correct is determined based on whether the actual IED device and the IED primitive module simultaneously publish and subscribe to SV / GOOSE in accordance with each other.

3. The method according to claim 2, characterized in that Controlling the actual IED device and the IED primitive module corresponding to the actual IED device to simultaneously publish SV / GOOSE messages according to the IED device name, including: Setting the state and sampling value of the IED primitive module according to the IED device information, and determining the communication configuration of the actual IED device; The publishing SV / GOOSE messages of each of the actual IED devices and the IED primitive module are controlled according to the communication configuration and the IED device name.

4. The method according to claim 2, characterized in that: Controlling the actual IED device and the IED primitive module corresponding to the actual IED device to subscribe to SV / GOOSE messages simultaneously according to the IED device name, including: Determine whether the message header information of the IED primitive module is consistent with that of the actual IED device; In the case where the message header information is consistent, determining whether the message state sequence and the quality bit of the IED primitive module are correct; When determining that the message status sequence and the quality bit are correct, determining the communication configuration of the actual IED device; According to the communication configuration and the IED device name, the actual IED device and the IED primitive module corresponding to the actual IED device are controlled to subscribe to SV / GOOSE messages at the same time.

5. The method according to claim 1, characterized in that: Before displaying the secondary circuits between the IED devices in the form of graphic elements according to the IED device information and the secondary circuit information, the method further includes: The secondary circuit information is checked and processed, wherein the checking and processing includes a secondary circuit function check and a communication description mechanism check, wherein the secondary circuit function check is a check of the logical closed-loop integrity of the functional circuit and the correctness of the secondary circuit connection, and the communication description mechanism check is a check of the communication mechanism between the IED devices.

6. The method according to claim 1, characterized in that The SCD file is input into the file object model for parsing and processing to generate secondary circuit information corresponding to the SCD file, including: Extracting the virtual terminals of each IED device in the SCD file, and displaying each IED device in a tree form according to the virtual terminals; The secondary circuit information is determined according to each of the IED devices presented in a tree form.

7. The method according to claim 1, characterized in that After determining whether the connection relationship between the IED devices in the IED primitive module is correct, the method further includes: When it is determined that the connection relationship between the IED devices in the IED primitive module is incorrect, a prompt message is generated, wherein the prompt message is used to remind the user to check the connection relationship between the IED devices in the IED primitive module.

8. A visualization device for secondary circuits of smart substations, characterized in that: include: An acquisition unit is used to acquire an SCD file of a smart substation, input the SCD file into a file object model for parsing, and generate IED device information and secondary circuit information corresponding to the SCD file; A first determining unit is used to display the secondary circuits between the IED devices in the form of graphic elements according to the IED device information and the secondary circuit information, generate an IED graphic element module, convert the SCD file into a CID file, and download the CID file into the IED graphic element module to determine whether the connection relationship between the IED devices in the IED graphic element module is correct; The second determining unit is used to determine the visualized secondary circuit of the smart substation according to each of the IED graphic element modules when it is determined that the connection relationship is correct, wherein the visualized secondary circuit is at least used for operation and maintenance of the smart substation.

9. A computer-readable storage medium, characterized in that: The computer-readable storage medium includes a stored program, wherein when the program is executed, the device where the computer-readable storage medium is located is controlled to execute the smart substation secondary circuit visualization method according to any one of claims 1 to 7.

10. An electronic device, characterized in that: include: One or more processors, a memory, and one or more programs, wherein the one or more programs are stored in the memory and are configured to be executed by the one or more processors, and the one or more programs include a method for executing the smart substation secondary circuit visualization method as described in any one of claims 1 to 7.