A substation monitoring picture drawing method and device, a storage medium and equipment

By using an XML template library and image raster division technology, electrical diagrams are generated and embedded into a digital monitoring system. This solves the problems of lag and logical complexity in traditional drawing software when drawing substation monitoring screens, and realizes automatic layout and real-time status display of substation monitoring screens.

CN115457168BActive Publication Date: 2025-11-04CHINA RESOURCES POWER TECH RES INST CO LTD
View PDF 3 Cites 0 Cited by

Patent Information

Application Number
CN202210984884.3
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2022-08-16
Publication Date
2025-11-04
Estimated Expiration
2042-08-16

AI Technical Summary

Technical Problem

Traditional industrial drawing software suffers from problems such as lag, complex logic configuration, high manpower requirements, and difficulty in achieving real-time status monitoring when drawing substation monitoring screens.

Method used

Using an XML template library and image raster division technology, electrical diagrams are generated and embedded into a digital monitoring system to achieve automatic layout and real-time status display of substation monitoring screens.

Benefits of technology

It enables efficient rendering and real-time display of substation monitoring images, reducing manpower input and improving the efficiency and reliability of the monitoring system.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN115457168B_ABST
    Figure CN115457168B_ABST
Patent Text Reader

Abstract

The application relates to a substation monitoring picture drawing method, which comprises the following steps: acquiring electrical diagram information of a to-be-monitored substation, establishing an xml template library of the to-be-monitored substation; performing image grid division on a monitoring picture of the to-be-monitored substation according to the xml template library of the to-be-monitored substation, so as to obtain an image grid matrix; determining the position of each initial graphic element in each row of the image grid matrix and the position change logic of each graphic element in each row; identifying the element device ID with a listening attribute in the xml template library; generating an electrical diagram according to the image grid matrix, the position of each initial graphic element in each row of the image grid matrix, the position change logic of each graphic element in each row and the element device ID; and obtaining the monitoring picture of the to-be-monitored substation. Compared with the prior art, the application can draw the main picture and the subpicture of the substation monitoring, can embed the drawing file into the digital monitoring system, can realize the real-time display of closing, opening, alarming and network data, and can meet the actual application requirements.
Need to check novelty before this filing date? Find Prior Art

Description

TECHNICAL FIELD

[0001] The present application relates to the technical field of power plant and power system monitoring, in particular to a substation monitoring picture drawing method and device, a storage medium and power equipment. BACKGROUND

[0002] With the large increase in power installation scale, it is necessary and fundamental to build a digital monitoring system that meets the daily operation and maintenance needs of the substation. The substation refers to a place in the power system where voltage and current are transformed, electric energy is received and distributed. The construction of the substation monitoring system is very important for the safety management and operation and maintenance efficiency of the substation.

[0003] However, the substation monitoring for regional centralized control involves the drawing of a large number of electrical pictures. A region usually includes multiple power substations, and the electrical monitoring main picture and various sub-pictures of a single substation are as high as dozens, each picture including numerous electrical equipment and lines. Traditional professional drawing software such as CAD has certain requirements for industrial drawing capability. If a large drawing or complex logic configuration is to be processed, it is easy to cause lag, and high-performance computers and sufficient manpower need to be provided.

[0004] Therefore, the traditional industrial drawing method cannot cope with the problems of numerous substation monitoring pictures and complex logic configuration, and not only requires a large amount of drawing manpower, but also is difficult to realize real-time state monitoring of devices such as transformers, high-voltage circuit breakers, disconnectors, grounding switches, and busbars. SUMMARY

[0005] Therefore, it is necessary to provide a substation monitoring picture drawing method, device, storage medium and power equipment capable of drawing substation monitoring main pictures and sub-pictures, and embedding the drawing file into a digital monitoring system to realize real-time display of closing, opening, alarming, and network-related data.

[0006] The embodiment of the present application provides a substation monitoring picture drawing method, which comprises the following steps:

[0007] Obtain substation information of a to-be-monitored substation, and establish an xml template library of the to-be-monitored substation according to the substation information; wherein the xml template library comprises a device template library and a component template library;

[0008] According to the xml template library of the to-be-monitored substation, perform image grid division on the monitoring picture of the to-be-monitored substation to obtain an image grid matrix;

[0009] Determine the position of each initial image element in each row of the image grid matrix and the position change logic of each image element in each row;

[0010] identify the component ID of the xml template library with the monitoring attribute, generate an electrical diagram according to the image grid matrix, the position of the initial image element in each row of the image grid matrix, the position change logic of the image element in each row, and the component ID, and obtain the monitoring picture of the to-be-monitored substation according to the electrical diagram.

[0011] Further, the device template library includes one or more of outgoing lines, high-voltage busbars, low-voltage busbars, busbar PTs, main transformers, overhead transmission lines, grounding transformers, station transformers, and reactive power compensation devices.

[0012] The component template library includes one or more of circuit breakers, disconnectors, and grounding switches.

[0013] Further, according to the xml template library of the to-be-monitored substation, the monitoring picture of the to-be-monitored substation is divided into image grids to obtain an image grid matrix, specifically including:

[0014] According to the substation design file, design drawing, or manufacturer-supplied drawing of the to-be-monitored substation, the monitoring picture of the to-be-monitored substation is determined.

[0015] According to the xml template library of the to-be-monitored substation, the monitoring picture is divided into image grids to obtain an image grid matrix, and the image grid matrix is defined as R(m, n); where m takes the number of rows of image grids, and n takes the maximum value of the number of image grid elements in each row.

[0016] Further, the position of the initial image element in each row of the image grid matrix and the position change logic of the image element in each row are determined, specifically including:

[0017] The position of the initial image element in each row of the image grid matrix is determined through the image element position matrix, and the image element position matrix is defined as S(m, 2) to record the horizontal position and vertical position of the first element in each row of the image grid matrix in the xml;

[0018] The position change logic of the image element in each row of the image grid matrix is determined through the image element position logic matrix. If the devices in the same row follow the same position change rule, the image element position logic matrix is defined as M(m, 2) to represent the horizontal change step and vertical change step of each row position.

[0019] Further, according to the image grid matrix, the position of the initial image element in each row of the image grid matrix, the position change logic of the image element in each row, and the component ID, an electrical diagram is generated, specifically including:

[0020] The properties of all devices and / or components in the monitoring picture of the to-be-monitored substation are set through loop iteration.

[0021] The xml templates of the individual independent devices and / or components are combined to perform picture layout, and the electrical diagram is formed.

[0022] Further, the electrical diagram includes a main electrical diagram and a sub electrical diagram, and the monitoring picture of the to-be-monitored transformer substation is obtained according to the electrical diagram, and specifically includes:

[0023] The svg files of the main electrical diagram and the sub electrical diagram are embedded into the transformer substation monitoring system of the to-be-monitored transformer substation, and the monitoring picture content is viewed.

[0024] If the positions of the devices and / or components are not suitable, the step of determining the position of each initial picture element in each row of the image grid matrix and the position change logic of each picture element in each row is returned to perform fine adjustment until the picture layout meets the requirements.

[0025] Further, the method further includes:

[0026] When a monitoring device measurement point ID information subscription instruction is received, the measurement point information and the control information of the monitoring device are displayed in real time to the monitoring picture of the to-be-monitored transformer substation.

[0027] Another embodiment of the present application provides a transformer substation monitoring picture drawing device, and the device includes:

[0028] A template library creation module is configured to obtain transformer substation information of a to-be-monitored transformer substation, and establish an xml template library of the to-be-monitored transformer substation according to the transformer substation information, wherein the xml template library includes a device template library and a component template library.

[0029] An image grid division module is configured to perform image grid division on a monitoring picture of the to-be-monitored transformer substation according to the xml template library of the to-be-monitored transformer substation, and obtain an image grid matrix.

[0030] A position logic determination module is configured to determine the position of each initial picture element in each row of the image grid matrix and the position change logic of each picture element in each row.

[0031] A monitoring picture generation module is configured to identify a component ID with a listening attribute in the xml template library, generate an electrical diagram according to the image grid matrix, the position of each initial picture element in each row of the image grid matrix, the position change logic of each picture element in each row, and the component ID, and obtain a monitoring picture of the to-be-monitored transformer substation according to the electrical diagram.

[0032] Another embodiment of the present application also provides a computer readable storage medium, which includes a stored computer program; wherein the computer program controls a device where the computer readable storage medium is located to perform the transformer substation monitoring picture drawing method as described above when running.

[0033] Another embodiment of the present application also provides an electric power device, comprising a processor, a memory, and a computer program stored in the memory and configured to be executed by the processor, the processor implementing the substation monitoring picture drawing method as described above when executing the computer program.

[0034] The substation monitoring picture drawing method as described above, first acquires substation information of a to-be-monitored substation, and establishes an xml template library of the to-be-monitored substation according to the substation information; wherein the xml template library comprises a device template library and a component template library; according to the xml template library of the to-be-monitored substation, performs image grid division on a monitoring picture of the to-be-monitored substation, to obtain an image grid matrix; determines a position of each initial graphic element in each row of the image grid matrix and a position change logic of each graphic element in each row; identifies a component ID with a listening attribute in the xml template library, generates an electrical diagram according to the image grid matrix, the position of each initial graphic element in each row of the image grid matrix, the position change logic of each graphic element in each row, and the component ID, and obtains a monitoring picture of the to-be-monitored substation according to the electrical diagram. Compared with the prior art, the present application can draw a substation monitoring main picture and sub-pictures, and can embed a drawing file into a digital monitoring system, to realize real-time display of closing, opening, alarming, and network-related data, and to meet actual application requirements. BRIEF DESCRIPTION OF DRAWINGS

[0035] Figure 1 A flowchart of a substation monitoring picture drawing method provided by an embodiment of the present application;

[0036] Figure 2 An example effect diagram of a substation monitoring picture drawing provided by an embodiment of the present application;

[0037] Figure 3 Another example effect diagram of a substation monitoring picture drawing provided by an embodiment of the present application;

[0038] Figure 4 A structural block diagram of a substation monitoring picture drawing device provided by an embodiment of the present application;

[0039] Figure 5 A structural diagram of an electric power device provided by an embodiment of the present application. DETAILED DESCRIPTION

[0040] The technical solutions in the embodiments of the present application will be clearly and completely described with reference to the drawings in the embodiments of the present application. Obviously, the described embodiments are only a part of the embodiments of the present application, rather than all the embodiments of the present application. Based on the embodiments in the present application, all other embodiments obtained by a person of ordinary skill in the art without creative effort belong to the scope of the present application.

[0041] It should be noted that the step numbers in the text are only for the convenience of explaining the specific embodiments, and do not serve as the basis for determining the execution sequence of the steps. The method provided in the present embodiment can be executed by a related server, and the server is taken as an example for description hereinafter.

[0042] As shown in Figures 1 to 3 The substation monitoring picture drawing method provided in the embodiment of the present application includes steps S11 to S14:

[0043] In step S11, the substation information of a to-be-monitored substation is acquired, and an xml template library of the to-be-monitored substation is established according to the substation information. The xml template library includes a device template library and a component template library.

[0044] It should be noted that, in order to solve the problem that the traditional professional drawing software such as CAD has certain requirements for industrial drawing capability, and if a large drawing or a complex logic configuration is to be processed, a high-performance computer needs to be equipped and sufficient human resources need to be invested; and in order to solve the problem that some picture recognition methods for design drawings or vendor drawings adopt computer vision technologies such as feature extraction and image recognition, and a plurality of machine learning algorithms are applied for feature-based image matching, and the steps are relatively complex and the scene adaptability is not strong, the present application forms an electrical diagram svg file based on the xml templates of basic devices and components and a position adjustment strategy, constructs a substation monitoring user interface by using a front-end technology, identifies a component ID attribute of an imported electrical diagram file, and listens to changes in real-time subscription data, so as to realize real-time display of closing, opening, alarming and network-related data.

[0045] Specifically, taking a main wiring diagram as an example, the device template library can include one or more of an outgoing line, a high-voltage bus, a low-voltage bus, a bus PT, a main transformer, a power collection line, a grounding transformer, a station transformer and a reactive power compensation device; and the component template library can include one or more of a circuit breaker, a disconnector and a grounding knife switch. The device template library and the component template library can both independently form an electrical diagram svg file, and the file can be opened and viewed through a code editor, a browser or a professional drawing software. It can be understood that the types of devices or components included in the device template library and the component template library in other embodiments are also adjusted according to actual needs.

[0046] Step S12, according to the xml template library of the substation to be monitored, the monitoring picture of the substation to be monitored is divided into image grid, and the image grid matrix is obtained.

[0047] Specifically, according to the substation design file, design drawing or manufacturer's drawing of the substation to be monitored, the monitoring picture of the substation to be monitored is determined; according to the xml template library of the substation to be monitored, the monitoring picture is divided into image grid, and the image grid matrix is obtained, and the image grid matrix is defined as R(m,n); wherein m takes the number of image grid rows, and n takes the maximum value in each row of image grid element. In addition, in this embodiment, the elements in the matrix can represent different devices with specific numbers, and each row is filled from the first element to the back, and the subsequent elements are replaced with 0 when the maximum element number is not enough.

[0048] Step S13, determining the position of each initial element in the image grid matrix and the position change logic of each element in the row.

[0049] Specifically, the position of each initial element in the image grid matrix is determined through the element position matrix, and the element position matrix is defined as S(m,2), which records the horizontal position and vertical position of the first element in the image grid matrix in the xml. The position change logic of each element in the image grid matrix is determined through the element position logic matrix, and if the devices of the same row elements follow the same position change rule, the element position logic matrix is defined as M(m,2), which represents the horizontal change step and vertical change step of each row position. It can be understood that if the devices of the same row elements do not follow the same position change rule, the rule can be further refined, and multiple matrices can be defined to describe the position change of each row.

[0050] Step S14, identifying the component ID with the listening attribute of the xml template library, generating the electrical diagram according to the image grid matrix, the position of each initial element in the image grid matrix, the position change logic of each element in the row, and the component ID, and obtaining the monitoring picture of the substation to be monitored according to the electrical diagram.

[0051] Among them, for the components with dynamic effect change in the template library such as circuit breaker, disconnecting switch and grounding knife switch, the classification of listening attribute is carried out, such as closing and opening, component color change and the like, and the component ID attribute is obtained by adding prefix or suffix to the related measuring point ID.

[0052] Specifically, properties of all devices and / or components in a monitoring picture of the to-be-monitored substation are set through cyclic iteration; xml templates of individual devices and / or components are combined for picture layout to form the electrical diagram. The electrical diagram includes a main electrical diagram and sub electrical diagrams, and the main electrical diagram can reflect connection relationship between devices and components and overall dynamics, and the sub electrical diagrams are used to reflect working states of corresponding components or devices in real time.

[0053] Further, svg files of the main electrical diagram and the sub electrical diagrams are embedded into a substation monitoring system of the to-be-monitored substation to view monitoring picture content; if positions of devices and / or components are not suitable, the step of determining positions of each row of initial picture elements in the image grid matrix and position change logic of each row of picture elements is returned to fine-tune until the picture layout meets requirements.

[0054] Further, the substation monitoring picture drawing method can further display, in real time, point information and control information of a monitoring device to a monitoring picture of the to-be-monitored substation when receiving a point ID information subscription instruction of the monitoring device.

[0055] For example, please refer to Figure 2 , a substation electrical diagram, in which components mainly include circuit breakers (represented by rectangles), busbars (represented by horizontal straight lines), and general lines (represented by vertical lines). Note: this diagram is only used for example, and an actual electrical diagram is more complex.

[0056] According to a work flow:

[0057] First, assuming that a final monitoring picture resolution is 1920*1080, and assuming that a circuit breaker icon height H and width W are respectively 80 and 40, a busbar length L is 800, and a general line length K is 80, an xml template library is established.

[0058] Further, the monitoring picture is divided into an image grid matrix according to the xml template library of the to-be-monitored substation, and a matrix R(m,n) is defined, so that m is 11 and n is 16.

[0059] A number 1 represents a circuit breaker, a number 2 represents a busbar, and a number 3 represents a general line, so that

[0060]

[0061] Further, the position of each initial primitive in each row of the image grid matrix is determined by the primitive position matrix, and the primitive position matrix is defined as the horizontal position and vertical position of the primitive corresponding to the first element in each row (i.e. all elements in the first column of R) in S1(m,2) record R. After determining the position of the first element in the first row, the positions of other elements can be obtained according to some symmetry relations, which need to be planned in advance through a sketch or a drawing software.

[0062]

[0063] Similarly, the horizontal unknown and vertical position of the primitive corresponding to all elements in the i-th column of R can be represented by S i .

[0064] Further, the position change logic of each primitive in each row of the image grid matrix is determined by the primitive position logic matrix, and the primitive position logic matrix M(m,2) is defined to represent the horizontal change step and the vertical change step of the position of each row,

[0065]

[0066] It can be deduced that

[0067] S i =S i-1 +M

[0068] Further, the point ID of all circuit breakers is associated, and the real-time state data of the device can be obtained through this attribute in the interface display in the subsequent steps.

[0069] Then, according to the recursive formula S i =S i-1 +M, the value of S i i=2,…n. can be determined, i.e. the position of all components in the electrical diagram, and thus the basic primitives in the xml template library are combined to form a complete electrical diagram.

[0070] Further, according to the above steps, the electrical diagram shown below can be obtained, and it can be found that the positions of the 9th-16th elements in the last two rows need to be adjusted, at which time the step of determining the position change logic of each primitive in each row of the image grid matrix can be returned, and the primitives that need to be adjusted are perfected through the following recursive loop.

[0071]

[0072] S i =S1+(i-1)*M+N

[0073] Finally, subscribe to all the circuit breaker associated with the point ID information, listen to the change of subscription ID data to realize the real-time display of the device state, such as the circuit breaker in this example, the received subscription value is 1, which shows the red closing state, and the value is 0, which shows the green opening state.

[0074] It can be understood that the present application solves the problem of large software mapping workload and high professional requirement in the prior art; realizes automatic arrangement of sub-devices of a substation monitoring picture, real-time state and data display of the substation monitoring picture, and organic fusion with other monitoring pictures to construct a large power application, and meets actual application requirements.

[0075] The above substation monitoring picture drawing method first acquires substation information of a to-be-monitored substation, and establishes an xml template library of the to-be-monitored substation according to the substation information; wherein the xml template library comprises a device template library and a sub-device template library; image raster division is performed on a monitoring picture of the to-be-monitored substation according to the xml template library of the to-be-monitored substation, to obtain an image raster matrix; the position of each initial graph element in each row of the image raster matrix and the position change logic of each graph element in each row are determined; a sub-device ID with a listening attribute in the xml template library is identified; an electrical diagram is generated according to the image raster matrix, the position of each initial graph element in each row of the image raster matrix, the position change logic of each graph element in each row, and the sub-device ID; and a monitoring picture of the to-be-monitored substation is obtained according to the electrical diagram. Compared with the prior art, the present application can draw a substation monitoring main picture and sub-pictures, and can embed a drawing file into a digital monitoring system to realize real-time display of closing, opening, alarming, and network-related data, and meets actual application requirements.

[0076] It should be understood that, although each step in the above flowchart is shown in sequence according to the arrow, these steps are not necessarily executed in the order indicated by the arrow. Unless explicitly stated herein, there is no strict order limitation for the execution of these steps, and these steps can be executed in other orders. Moreover, at least part of the steps in the above flowchart can include multiple sub-steps or multiple stages, which are not necessarily executed at the same time, but can be executed at different times, and the execution order of these sub-steps or stages is not necessarily sequential, but can be executed in rotation or alternation with at least part of other steps or sub-steps or stages of other steps.

[0077] Referring to Figure 4 The present application also provides a substation monitoring picture drawing device, which comprises:

[0078] The template library creation module 21 is configured to acquire substation information of a to-be-monitored substation, and establish an XML template library of the to-be-monitored substation according to the substation information; wherein the XML template library comprises a device template library and a component template library.

[0079] It should be noted that, in order to solve the problem that the traditional professional drawing software such as CAD has certain requirements for industrial drawing capability, and if a large drawing or a complex logical configuration is to be processed, a high-performance computer needs to be equipped and sufficient human resources need to be ensured; and other picture recognition methods for design drawings or vendor drawings adopt computer vision technologies such as feature extraction and image recognition, and various machine learning algorithms are applied for feature-based image matching, and the steps are relatively complex and the scene adaptability is not strong. The present application forms an electrical diagram SVG file based on the XML template of the basic equipment and the component and the position adjustment strategy, constructs a substation monitoring user interface by using a front-end technology, identifies the component id attribute of the imported electrical diagram file, and listens to the change of real-time subscription data to realize real-time display of closing, opening, alarm and network-related data.

[0080] Specifically, taking a main wiring diagram as an example, the device template library can include one or more of an outgoing line, a high-voltage bus, a low-voltage bus, a bus PT, a main transformer, a power transmission line, a grounding transformer, a station transformer and a reactive power compensation device; and the component template library can include one or more of a circuit breaker, a disconnector and a grounding knife switch. The device template library and the component template library can independently form an electrical diagram SVG file, and the file can be opened and viewed through a code editor, a browser or professional drawing software. It can be understood that the types of devices or components included in the device template library and the component template library in other embodiments are also adjusted according to actual needs.

[0081] The image grid division module 22 is configured to perform image grid division on a monitoring picture of the to-be-monitored substation according to the XML template library of the to-be-monitored substation, to obtain an image grid matrix.

[0082] Specifically, the monitoring picture of the to-be-monitored substation is determined according to a substation design file, a design drawing or a vendor drawing of the to-be-monitored substation; the monitoring picture is divided into an image grid according to the XML template library of the to-be-monitored substation, to obtain an image grid matrix, and the image grid matrix is defined as R(m, n); wherein m is the number of rows of the image grid, and n is the maximum value in the number of image grid elements in each row. In addition, in this embodiment, the elements in the matrix can represent different devices by using specific numbers, and each row is filled from one element to the back, and the subsequent elements are replaced by 0 when the maximum number of elements is not sufficient.

[0083] A position logic determination module 23 is configured to determine the position of each initial image element in each row of the image grid matrix and the position change logic of each image element in each row.

[0084] Specifically, the position of each initial image element in each row of the image grid matrix is determined through an image element position matrix, and the image element position matrix is defined as S(m, 2) to record the horizontal position and vertical position of the first element in each row of the image grid matrix in the xml. The position change logic of each image element in each row of the image grid matrix is determined through an image element position logic matrix, and the image element position logic matrix is defined as M(m, 2) to represent the horizontal change step and vertical change step of the position of each row. It can be understood that if the devices of the image elements in the same row do not follow the same position change rule, the rule can be further refined to define multiple matrices to respectively describe the position change of each row.

[0085] A monitoring picture generation module 24 is configured to identify the component ID with a monitoring attribute in the xml template library, generate an electrical diagram according to the image grid matrix, the position of each initial image element in each row of the image grid matrix, the position change logic of each image element in each row, and the component ID, and obtain the monitoring picture of the to-be-monitored substation according to the electrical diagram.

[0086] For the components with dynamic effect change in the template library, such as circuit breakers, disconnectors, grounding switches and the like, the classification of the monitoring attribute is performed, such as closing and opening, component color change and the like, and the component ID attribute is obtained by adding a prefix or suffix to the related measuring point ID.

[0087] Specifically, the attributes of all devices and / or components in the monitoring picture of the to-be-monitored substation are set through loop iteration; the xml templates of each independent device and / or component are combined to perform picture layout to form the electrical diagram. The electrical diagram includes a main electrical diagram and sub electrical diagrams, and the main electrical diagram can reflect the connection relationship between the devices and components and the overall dynamics, and the sub electrical diagrams are used to reflect the working state of the corresponding components or devices in real time.

[0088] Further, the svg files of the main electrical diagram and the sub electrical diagrams are embedded into the substation monitoring system of the to-be-monitored substation to view the monitoring picture content; if the positions of the devices and / or components are not suitable, the step of determining the position of each initial image element in each row of the image grid matrix and the position change logic of each image element in each row is returned to fine-tune until the picture layout meets the requirements.

[0089] Further, the substation monitoring picture drawing method of the present application can also display the measuring point information and control information of the monitoring device to the monitoring picture of the to-be-monitored substation in real time when receiving a measuring point ID information subscription instruction of the monitoring device.

[0090] It can be understood that the present application solves the problem of large software mapping workload and high professional requirements in the prior art; realizes automatic arrangement of sub-components of a substation monitoring picture, real-time state and data display of the substation monitoring picture, and organic fusion with other monitoring pictures to construct a large power application, and meets actual application requirements.

[0091] The substation monitoring picture drawing device provided by the embodiment of the present application first acquires substation information of a to-be-monitored substation, and establishes an xml template library of the to-be-monitored substation according to the substation information; wherein the xml template library comprises a device template library and a sub-component template library; image grid division is performed on a monitoring picture of the to-be-monitored substation according to the xml template library of the to-be-monitored substation, to obtain an image grid matrix; the position of each initial graphic element in each row of the image grid matrix and the position change logic of each graphic element in each row are determined; a sub-component ID with a listening attribute in the xml template library is identified; an electrical diagram is generated according to the image grid matrix, the position of each initial graphic element in each row of the image grid matrix, the position change logic of each graphic element in each row, and the sub-component ID; and a monitoring picture of the to-be-monitored substation is obtained according to the electrical diagram. Compared with the prior art, the present application can draw a main picture and sub-pictures of a substation monitoring picture, and can embed a drawing file into a digital monitoring system, realize real-time display of closing, opening, alarming, and network-related data, and meet actual application requirements.

[0092] The embodiment of the present application further provides a computer readable storage medium, which comprises a stored computer program; wherein the computer program controls a device where the computer readable storage medium is located to execute the substation monitoring picture drawing method as described above when running.

[0093] The embodiment of the present application further provides a power equipment, as shown in Figure 5 The power equipment comprises a processor, a memory, and a computer program stored in the memory and configured to be executed by the processor, and the processor realizes the substation monitoring picture drawing method as described above when executing the computer program.

[0094] Preferably, the computer program can be divided into one or more modules / units (such as a computer program 1, a computer program 2, and the like), which are stored in the memory 20 and executed by the processor 10 to complete the present application. The one or more modules / units can be a series of computer program instruction segments capable of completing a specific function, which are used to describe the execution process of the computer program in the power equipment.

[0095] The processor can be a central processing unit (CPU), and can also be other general-purpose processors, a digital signal processor (DSP), an application specific integrated circuit (ASIC), a field-programmable gate array (FPGA) or other programmable logic device, discrete gate or transistor logic, discrete hardware components, etc. The general-purpose processor can be a microprocessor, or the processor can also be any conventional processor. The processor is a control center of the power device, and connects various parts of the power device through various interfaces and lines.

[0096] The memory mainly includes a program storage area and a data storage area. The program storage area can store an operating system, at least one application required by a function, etc., and the data storage area can store related data, etc. In addition, the memory can be a high-speed random access memory, and can also be a non-volatile memory, such as a plug-in hard disk, a smart media card (SMC), a secure digital (SD) card, a flash card, etc., or the memory 20 can also be other volatile solid-state storage devices.

[0097] It should be noted that the above power device can include, but is not limited to, a processor and a memory, and those skilled in the art can understand that Figure 5 The structural block diagram is only an example of the power device, and does not constitute a limitation on the power device, and can include more or fewer components than those shown, or combine certain components, or different components.

[0098] In summary, the substation monitoring picture drawing method, device, storage medium and power equipment provided by the present application first acquire substation information of a to-be-monitored substation, and establish an xml template library of the to-be-monitored substation according to the substation information; wherein the xml template library comprises a device template library and a component template library; image grid division is performed on a monitoring picture of the to-be-monitored substation according to the xml template library of the to-be-monitored substation, to obtain an image grid matrix; the position of each initial graphic element in each row of the image grid matrix and the position change logic of each graphic element in each row are determined; a component ID with a listening attribute in the xml template library is identified, and an electrical diagram is generated according to the image grid matrix, the position of each initial graphic element in each row of the image grid matrix, the position change logic of each graphic element in each row, and the component ID, and a monitoring picture of the to-be-monitored substation is obtained according to the electrical diagram. Compared with the prior art, the present application can draw a substation monitoring main picture and a subpicture, and can embed a drawing file into a digital monitoring system, realize real-time display of closing, opening, alarming and network-related data, and meet the actual application requirements.

[0099] The above only describes the preferred embodiments of the present application, and it should be noted that those skilled in the art can make several improvements and modifications without departing from the technical principles of the present application, and these improvements and modifications should also be considered as the protection scope of the present application.

Claims

1. A method for drawing a substation monitoring screen, characterized in that, The method includes the following steps: Obtain substation information of the substation to be monitored, and establish an XML template library for the substation to be monitored based on the substation information; wherein, the XML template library includes an equipment template library and a component template library; Based on the XML template library of the substation to be monitored, the monitoring screen of the substation to be monitored is divided into image raster blocks to obtain an image raster matrix; The system determines the initial position of each row of primitives in the image raster matrix and the position change logic of each row of primitives. Specifically, the position of each row of primitives in the image raster matrix is ​​determined using a primitive position matrix, which is defined as S(m,2), recording the horizontal and vertical positions of the first element of each row in the image raster matrix within the XML file. The position change logic of each row of primitives in the image raster matrix is ​​determined using a primitive position logic matrix. If devices with primitives in the same row follow the same position change rule, the primitive position logic matrix is ​​defined as M(m,2), representing the horizontal and vertical change step size of each row's position. Here, m is the number of rows in the image raster. If devices with primitives in the same row do not follow the same position change rule, multiple matrices are defined to describe the position change of each row. The component ID with the listening attribute is identified in the XML template library. Based on the image raster matrix, the position of the initial graphic element in each row of the image raster matrix and the logic of the position change of each graphic element, and the component ID, an electrical diagram is generated, and the monitoring screen of the substation to be monitored is obtained based on the electrical diagram.

2. The substation monitoring screen drawing method according to claim 1, characterized in that, The equipment template library includes one or more of the following: outgoing lines, high-voltage busbars, low-voltage busbars, busbar PTs, main transformers, collector lines, grounding transformers, station service transformers, and reactive power compensation devices. The component template library includes one or more of circuit breakers, disconnect switches, and grounding switches.

3. The method for drawing substation monitoring screens according to claim 1, characterized in that, Based on the XML template library of the substation to be monitored, the monitoring screen of the substation to be monitored is divided into image raster blocks to obtain an image raster matrix, specifically including: Based on the substation design documents, design drawings, or manufacturer-supplied drawings of the substation to be monitored, determine the monitoring screen of the substation to be monitored; Based on the XML template library of the substation to be monitored, the monitoring screen is divided into image grids to obtain an image grid matrix, and the image grid matrix is ​​defined as R(m,n); where n is the maximum value of the number of image grid primitives in each row.

4. The method for drawing substation monitoring screens according to claim 1, characterized in that, Based on the image raster matrix, the position of the initial primitives in each row of the image raster matrix, the logic for the position change of primitives in each row, and the component ID, an electrical diagram is generated, specifically including: The attributes of all equipment and / or components in the monitoring screen of the substation to be monitored are set through iterative loops. The electrical diagram is formed by combining the XML templates of the individual devices and / or components and laying them out on the screen.

5. The method for drawing substation monitoring screens according to claim 4, characterized in that, The electrical diagram includes a main electrical diagram and sub-electrical diagrams. Based on the electrical diagram, a monitoring screen for the substation to be monitored is obtained, specifically including: Embed the SVG files of the main electrical diagram and the sub-electrical diagram into the substation monitoring system of the substation to be monitored, and view the monitoring screen content; If the position of the device and / or components is not suitable, return to the step of determining the position of the initial primitive in each row of the image raster matrix and the position change logic of each row of primitives for fine-tuning until the screen layout meets the requirements.

6. The method for drawing substation monitoring screens according to claim 4, characterized in that, The method further includes: When a subscription instruction for the measurement point ID information of a monitoring device is received, the measurement point information and control information of the monitoring device are displayed in real time on the monitoring screen of the substation to be monitored.

7. A device for drawing monitoring screens in a substation, characterized in that, The device includes: The template library creation module is used to obtain substation information of the substation to be monitored and to establish an XML template library for the substation to be monitored based on the substation information; wherein, the XML template library includes an equipment template library and a component template library; The image grid division module is used to divide the monitoring screen of the substation to be monitored into image grids according to the XML template library of the substation to be monitored, and obtain an image grid matrix. The position logic determination module is used to determine the position of the initial primitive in each row of the image raster matrix and the position change logic of each row of primitives. Specifically, the position of the initial primitive in each row of the image raster matrix is ​​determined using a primitive position matrix, which is defined as S(m,2), recording the horizontal and vertical positions of the first element in each row of the image raster matrix within the XML file. The position change logic of each row of primitives in the image raster matrix is ​​determined using a primitive position logic matrix. If the devices of primitives in the same row follow the same position change rule, the primitive position logic matrix is ​​defined as M(m,2), representing the horizontal and vertical change step sizes of each row's position; where m is the number of rows in the image raster. If the devices of primitives in the same row do not follow the same position change rule, multiple matrices are defined to describe the position change of each row. The monitoring screen generation module is used to identify the component IDs with listening attributes in the XML template library, generate an electrical diagram based on the image raster matrix, the position of the initial graphic element in each row of the image raster matrix and the logic of the position change of each graphic element, and the component ID, and obtain the monitoring screen of the substation to be monitored based on the electrical diagram.

8. A computer-readable storage medium, characterized in that, The computer-readable storage medium includes a stored computer program; wherein, when the computer program is executed, it controls the device on which the computer-readable storage medium is located to perform the substation monitoring screen drawing method as described in any one of claims 1 to 7.

9. An electrical device, characterized in that, The method includes a processor, a memory, and a computer program stored in the memory and configured to be executed by the processor, wherein the processor, when executing the computer program, implements the substation monitoring screen drawing method as described in any one of claims 1 to 7.

Citation Information

Patent Citations

  • Multi-view linkage and switching method for power grid operation monitoring image

    CN103024351A

  • Customizing system and customizing method for graph real-time monitoring interface based on SVG (Scalable Vector Graphics)

    CN103473068A

  • Method and system for automatically identifying monitoring picture of transformer substation

    CN113688829A