Relay protection equipment model file abnormity diagnosis and recovery method and system

By checking the legitimacy, consistency, and mapping of the relay protection device model file, issuing an alarm and loading the initial model to restart the device, the communication anomaly problem caused by model file errors was resolved, the device operation was quickly restored, safety protection requirements were met, and maintenance efficiency and reliability were improved.

CN120804770APending Publication Date: 2025-10-17NANJING GUODIAN NANZI POWER GRID AUTOMATION CO LTD
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202510754641.4
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2025-06-06
Publication Date
2025-10-17

AI Technical Summary

Technical Problem

In smart substations, errors in the relay protection device model files lead to communication anomalies. Operation and maintenance personnel are unable to restore normal equipment operation through the integrated application host, and private debugging tools cannot be installed on the integrated application host, making maintenance difficult.

Method used

By checking the legality, consistency and mapping of the model files of the relay protection equipment, an alarm will be issued and the equipment will be locked if there is any abnormality. The preset initial model will be loaded to restart the equipment, IEC61850 standard communication will be established, and the target model file will be downloaded from the host in a comprehensive manner.

Benefits of technology

It achieves rapid restoration of equipment communication while meeting safety protection requirements, improves operation and maintenance efficiency and reliability, and ensures safe equipment behavior under abnormal conditions.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN120804770A_ABST
    Figure CN120804770A_ABST
Patent Text Reader

Abstract

The invention discloses a relay protection equipment model file abnormity diagnosis recovery method and system, and relates to the technical field of power system relay protection automation, and the method comprises the steps: carrying out the legality check, consistency check and mapping check of a model file of relay protection equipment, and obtaining an abnormity diagnosis result; the abnormity diagnosis result comprises abnormity of the model file and normality of the model file; if the abnormal diagnosis result is that the model file is abnormal, the relay protection equipment is placed in a locking device and alarm information is sent out; after a model recovery instruction is obtained, loading a file name of a preset initial model into a starting configuration file; the relay protection equipment is restarted, and communication based on the IEC61850 standard between the relay protection equipment and the comprehensive application host is established through a preset initial model; and downloading the target model file corresponding to the relay protection equipment through the comprehensive application host. According to the invention, the technical problem that the communication cannot be normally operated due to model errors in the prior art is relieved.
Need to check novelty before this filing date? Find Prior Art

Description

TECHNICAL FIELD

[0001] The present application relates to the field of power system relay protection automation, in particular to a relay protection device model file abnormal diagnosis recovery method and system. BACKGROUND

[0002] The model is a communication description file of the relay protection device in the intelligent substation, and all communications in the substation are based on the model.

[0003] In order to meet the safety protection requirements of the secondary equipment of the intelligent substation, the relay protection device closes all ports irrelevant to operation and prohibits the use of general file transfer services. Before the substation is put into operation, the manufacturer personnel of the relay protection device use private debugging tools to download the CID model configured on site to the specified directory of the device through the debugging network port of the front panel. After the substation is put into operation, the operation and maintenance personnel use the file service defined in the IEC 61850 standard to upload or download the device model through the comprehensive application host.

[0004] However, the model is the basis for establishing IEC 61850 communication, and model errors will cause communication to fail to operate normally, so that the device cannot provide file transfer services. Once the comprehensive application host downloads the wrong model, it will cause the device to run abnormally and fail to establish a communication link. The operation and maintenance personnel cannot know the reason why the device cannot operate, and even if the reason is finally found, they can only recover through the private debugging tools of each manufacturer at this time.

[0005] Because the comprehensive application host application white list, version update, information security and other aspects are involved, the private debugging tools of each manufacturer are not allowed to be installed on the comprehensive application host. In addition, even if the security problem is solved, the operation and maintenance personnel cannot master all the debugging tools of the equipment manufacturers. SUMMARY

[0006] The purpose of the present application is to provide a relay protection device model file abnormal diagnosis recovery method and system to solve at least one of the above technical problems.

[0007] In a first aspect, an embodiment of the present application provides a method for diagnosing and recovering abnormality of a model file of a relay protection device, applied to a relay protection device based on IEC61850 standard; the method comprises: performing legality check, consistency check and mapping check on the model file of the relay protection device respectively to obtain an abnormality diagnosis result; the abnormality diagnosis result comprises that the model file is abnormal and the model file is normal; if the abnormality diagnosis result is that the model file is abnormal, the relay protection device is locked and an alarm information is sent; after a model recovery instruction is obtained, a file name of a preset initial model is loaded into a start configuration file; the relay protection device is restarted, communication between the relay protection device and a comprehensive application host based on IEC61850 standard is established through the preset initial model, and a target model file corresponding to the relay protection device is downloaded through the comprehensive application host.

[0008] Further, the legality check on the model file of the relay protection device comprises: legality check on file format, element and attribute content, namespace and data type of the model file respectively.

[0009] Further, the consistency check on the model file of the relay protection device comprises: consistency comparison and check on manufacturer information, device model, software and hardware version information of the model file and corresponding IED element attribute values read from the model file.

[0010] Further, the mapping check on the model file of the relay protection device comprises: one-to-one mapping of software and hardware configuration information of the relay protection device and logical nodes instantiated in the model file, establishment of mapping relationship between the relay protection device and the model file, and mapping check on the mapping relationship.

[0011] Further, the alarm information comprises abnormal event type, abnormal event reason and abnormal event time of the model file.

[0012] Further, the communication between the relay protection device and the comprehensive application host based on IEC61850 standard through the preset initial model comprises: starting all services of IEC61850 standard, locking remote control function of the relay protection device, and uploading all data changes to the comprehensive application host based on invalid quality according to the preset initial model.

[0013] Further, the method further comprises: saving the model file with abnormality to a download directory of the relay protection device.

[0014] In a second aspect, the embodiment of the present application further provides a relay protection device model file abnormal diagnosis recovery system, which is applied to a relay protection device based on the IEC61850 standard; the system comprises a diagnosis module, an alarm module, a loading module, an establishing module and a loading module; wherein the diagnosis module is used for performing legality check, consistency check and mapping check on the model file of the relay protection device respectively to obtain an abnormal diagnosis result; the abnormal diagnosis result comprises that the model file is abnormal and the model file is normal; the alarm module is used for placing the relay protection device in a locking device and sending an alarm information if the abnormal diagnosis result is that the model file is abnormal; the loading module is used for loading a file name of a preset initial model into a start configuration file after a model recovery instruction is obtained; the establishing module is used for restarting the relay protection device and establishing communication between the relay protection device and a comprehensive application host based on the IEC61850 standard through the preset initial model; and the loading module is used for downloading a target model file corresponding to the relay protection device through the comprehensive application host.

[0015] In a third aspect, the embodiment of the present application further provides an electronic device, comprising a memory, a processor and a computer program stored in the memory and executable on the processor, wherein the processor implements the method provided by the embodiment of the present application when executing the computer program.

[0016] In a fourth aspect, the embodiment of the present application further provides a computer readable storage medium, which stores computer instructions, wherein the computer instructions are executed by a processor to implement the method provided by the embodiment of the present application.

[0017] The present application provides a relay protection device model file abnormal diagnosis recovery method and system, which is based on IEC61850 communication link and port, actively alarms through model file abnormal diagnosis, loads a preset initial model after the model file is abnormal to recover the communication service of the relay protection device, and finally completes the on-site model downloading operation through a comprehensive application host to recover the normal operation of the relay protection device. The present application solves the actual problem that the model cannot be recovered on site in operation and maintenance under the premise of meeting the safety protection requirements of the secondary equipment of the intelligent substation, and improves the efficiency and reliability of the operation and maintenance of the relay protection device. BRIEF DESCRIPTION OF DRAWINGS

[0018] In order to more clearly illustrate the technical solutions in the embodiments of the present application or the prior art, the accompanying drawings needed to be used in the specific embodiments or prior art description will be briefly introduced. Obviously, the accompanying drawings in the following description are some embodiments of the present application, and other drawings can be obtained by those skilled in the art without any creative effort.

[0019] Figure 1 A flow chart of a relay protection device model file abnormal diagnosis recovery method provided by an embodiment of the present application is shown in the figure.

[0020] Figure 2 An alarm interface pop-up window schematic diagram provided by an embodiment of the present application is shown in the figure.

[0021] Figure 3 A schematic diagram of a relay protection device model file abnormal diagnosis recovery system provided by an embodiment of the present application is shown in the figure. DETAILED DESCRIPTION

[0022] The technical solutions in the embodiments of the present application will be described clearly and completely with reference to the accompanying drawings in the embodiments of the present application. Obviously, the described embodiments are only some of the embodiments of the present application, but not all the embodiments. Based on the embodiments in the present application, all other embodiments obtained by those skilled in the art without any creative effort are within the scope of protection of the present application.

[0023] Embodiment one

[0024] At present, in order to meet the safety protection requirements of secondary equipment of intelligent substation, all general ports irrelevant to operation are closed by relay protection equipment, and model files can only be transmitted by using file services defined by IEC 61850 standard through comprehensive application host. However, there are many devices in intelligent substation and model configuration is complex, and the problem of model downloading error may occur. Once the model is wrong, the relay protection equipment runs abnormally, and the communication link with the comprehensive application host cannot be established, so the operation and maintenance personnel cannot restore the normal operation of the relay protection equipment. The present application comprehensively considers the actual problems in the field, verifies the correctness of the model after downloading the relay protection equipment, and if the model is wrong, the relay protection equipment alarms to remind the operation and maintenance personnel to manually confirm the error. After the operation and maintenance personnel select model recovery, the default model is started to be loaded, and the communication service of the relay protection equipment is restored. At this time, the comprehensive application host can complete the on-site model downloading operation by connecting the relay protection equipment with IEDName as "TEMPLATE".

[0025] Figure 1It is a flow chart of a relay protection device model file abnormal diagnosis recovery method according to an embodiment of the present application, and the method is applied to a relay protection device based on IEC61850 standard. Figure 1 As shown in the figure, the method specifically includes the following steps:

[0026] Step S102, legality check, consistency check and mapping check are performed on the model file of the relay protection device respectively to obtain abnormal diagnosis results; the abnormal diagnosis results include model file abnormality and model file normality.

[0027] Step S104, if the abnormal diagnosis result is model file abnormality, the relay protection device is placed in a locking device and an alarm information is sent.

[0028] Step S106, after the model recovery instruction is obtained, the file name of the preset initial model is loaded into the start configuration file.

[0029] Step S108, the relay protection device is restarted, and the communication between the relay protection device and the integrated application host based on IEC61850 standard is established through the preset initial model.

[0030] Step S110, the target model file corresponding to the relay protection device is downloaded through the integrated application host.

[0031] Specifically, the legality check on the model file of the relay protection device includes: legality check is performed on the file format, element and attribute content, namespace and data type of the model file.

[0032] Specifically, the model file is an XML format file, and the legality of the file format, element and attribute content, namespace and data type of the model file is verified through the XML Schema pre-stored by the relay protection device.

[0033] Specifically, the consistency check on the model file of the relay protection device includes: consistency comparison check is performed on the manufacturer information, device model, software and hardware version information of the model file and the corresponding IED element attribute values read from the model file.

[0034] Specifically, three attribute values of the IED element in the model file are read: manufacturer, type, configVersion, and whether the manufacturer information, device model, software and hardware version information of the actual device are consistent is compared.

[0035] Specifically, the mapping check is performed on the model file of the relay protection device, including: one-to-one mapping the software and hardware configuration information of the relay protection device with the logical nodes instantiated in the model file, establishing the mapping relationship between the relay protection device and the model file, and performing the mapping check on the mapping relationship. Wherein, all configuration signal points in the relay protection device have only one unique data object representation in the model file.

[0036] In an optional implementation provided by the embodiment of the application, if the abnormal diagnosis result is that the model file is abnormal, all protection functions of the relay protection device are exited, the relay protection device is in a locked state, and the communication link between the relay protection device and the monitoring system is in an interrupted state.

[0037] Preferably, in step S104, the operation lamp of the device panel and the liquid crystal interface pop-up window alarm are extinguished to inform the operation and maintenance personnel that the relay protection device is abnormal.

[0038] Optionally, the liquid crystal interface pop-up window includes two parts of a title and content, the title is an abnormal alarm of the model file, and the content includes alarm information. Figure 2 is a schematic diagram of an alarm interface pop-up window according to the embodiment of the application. As shown in Figure 2 , the alarm information includes an abnormal event type, an abnormal event reason and an abnormal event time of the model file.

[0039] In an optional implementation provided by the embodiment of the application, the abnormal event type and the abnormal event reason are as shown in Table 1:

[0040] Table 1 Abnormal event type and abnormal event reason

[0041]

[0042]

[0043] In the embodiment of the application, when the host computer cannot establish a communication connection with the relay protection device, the abnormal reason can be queried through the liquid crystal interface, it is found that the model file error causes the device communication link to be unable to recover. The operation and maintenance personnel manually confirm, select to recover to the factory model of the device through the interface menu, and restart the relay protection device.

[0044] Specifically, step S108 further includes: starting all services of the IEC61850 standard, locking the remote control function of the relay protection device, and uploading all data changes to the host computer based on the preset initial model with invalid quality.

[0045] Specifically, the relay protection device is restored to the factory model (i.e. the preset initial model), the default model template.icd at the factory is loaded into the start configuration to replace the abnormal model file. The comprehensive application host can establish a communication link with the relay protection device by connecting the relay protection device with the IEDName of "TEMPLATE". Then all service functions of the IEC61850 standard are enabled. The device will lock the remote control function, and at the same time, set all data object qualities to be invalid. The comprehensive application host reads the previously abnormal model file through the file reading service to analyze and modify, and then completes the download of the model file through the file writing service.

[0046] Specifically, after the relay protection device is restarted, the comprehensive application host can establish a communication link with the relay protection device by connecting the relay protection device with the IEDName of "TEMPLATE". The relay protection device adopts the factory default model at this time, and all service functions of the IEC61850 standard are enabled. Since the default model file only contains the information of the relay protection device itself, and lacks the configuration information of the actual field and the associated information of other relay protection devices, the relay protection device will lock the remote control function, and at the same time, set all data object qualities to be invalid. The comprehensive application host reads the previously abnormal model through the file reading service to analyze and modify, and then completes the download of the correct model in the field through the file writing service.

[0047] Finally, the relay protection device is restarted again, and the relay protection device resumes normal operation in the field model.

[0048] Preferably, the method provided by the embodiment of the application further comprises: saving the abnormal model file to the download directory of the relay protection device.

[0049] In the embodiment of the application, the abnormal model file will not be deleted, but saved in the download directory of the relay protection device, for comparison and analysis of the model file error backup by the comprehensive application host after the communication is restored.

[0050] As can be seen from the above description, the embodiment of the application provides a relay protection device model file abnormal diagnosis and recovery method, which has the following technical effects compared with the prior art:

[0051] (1) Information completeness: the model file abnormal diagnosis classifies the abnormal information for alarm, which is beneficial to the analysis and finding of the abnormal reasons;

[0052] (2) Running safety: after the model file is abnormal, the relay protection device is locked, the running light is turned off, and the reason is prompted on the liquid crystal interface. The subsequent recovery operation must be executed after being confirmed by the operation and maintenance personnel, so that the behavior of the protection relay protection device is more secure after the abnormal condition;

[0053] (3) fast recovery: reestablish communication by restoring the default model, which meets the safety protection requirements of the secondary equipment of the smart substation and quickly restores the operation of the relay protection device to ensure the on-site operation requirements.

[0054] Embodiment Two

[0055] Figure 3 is a schematic diagram of a relay protection device model file abnormal diagnosis recovery system provided by an embodiment of the present application, applied to a relay protection device based on the IEC61850 standard. Figure 3 As shown in the figure, the system includes a diagnosis module 10, an alarm module 20, a loading module 30, an establishment module 40, and a loading module 50.

[0056] Specifically, the diagnosis module 10 is configured to perform legality checking, consistency checking, and mapping checking on the model file of the relay protection device respectively to obtain an abnormal diagnosis result, wherein the abnormal diagnosis result includes a model file abnormality and a model file normality.

[0057] The alarm module 20 is configured to place the relay protection device in a locking device and issue an alarm information if the abnormal diagnosis result is the model file abnormality.

[0058] The loading module 30 is configured to load the file name of a preset initial model into a start configuration file after obtaining a model recovery instruction.

[0059] The establishment module 40 is configured to restart the relay protection device and establish communication between the relay protection device and a comprehensive application host based on the IEC61850 standard through the preset initial model.

[0060] The loading module 50 is configured to download a target model file corresponding to the relay protection device through the comprehensive application host.

[0061] The present application also provides an electronic device, including a memory, a processor, and a computer program stored in the memory and executable on the processor, wherein the processor implements the method provided by the embodiments of the present application when executing the computer program.

[0062] The present application also provides a computer readable storage medium, which stores computer instructions, and the computer instructions are executed by the processor to implement the method provided by the embodiments of the present application.

[0063] It will be obvious to a person skilled in the art that the application is not limited to the details of the foregoing exemplary embodiments and can be implemented in other concrete forms without departing from the spirit or essential characteristics of the application. The embodiments are therefore to be considered in all respects as illustrative and not restrictive, the scope of the application being indicated by the appended claims rather than by the foregoing description, and all changes which come within the meaning and range of equivalency of the claims are therefore intended to be embraced therein. No reference signs in the claims should be considered as limiting the scope of the claims to the identity of the reference signs therein.

[0064] Furthermore, it should be understood that although the description is made on the basis of the embodiments, not every embodiment contains only one independent technical solution, and the description of the specification is only for the sake of clarity, and those skilled in the art should consider the specification as a whole, and the technical solutions in each embodiment can also be appropriately combined to form other embodiments that those skilled in the art can understand.

Claims

1. A method for diagnosing and recovering abnormalities in a relay protection device model file, characterized in that: Applied to relay protection equipment based on the IEC61850 standard; the method comprises: Performing a legality check, a consistency check, and a mapping check on the model file of the relay protection device to obtain an abnormality diagnosis result; the abnormality diagnosis result includes whether the model file is abnormal or normal; If the abnormality diagnosis result is that the model file is abnormal, the relay protection device is placed in a locking device and an alarm message is issued; After obtaining the model recovery instruction, the file name of the preset initial model is loaded into the startup configuration file; Restarting the relay protection device, and establishing communication between the relay protection device and the integrated application host based on the IEC61850 standard through the preset initial model; The target model file corresponding to the relay protection device is downloaded through the comprehensive application host.

2. The method according to claim 1, wherein: Performing a validity check on the model file of the relay protection device includes: performing a validity check on the file format, element and attribute content, namespace and data type of the model file respectively.

3. The method according to claim 1, wherein: Performing a consistency check on the model file of the relay protection device includes: performing a consistency comparison check on the manufacturer information, device model, software and hardware version information of the model file and the corresponding IED element attribute value read from the model file.

4. The method according to claim 1, wherein: Performing a mapping check on the model file of the relay protection device includes: mapping the software and hardware configuration information of the relay protection device to the logical nodes instantiated in the model file one by one, establishing a mapping relationship between the relay protection device and the model file, and performing a mapping check on the mapping relationship.

5. The method according to claim 1, wherein: The alarm information includes the abnormal event type, abnormal event cause and abnormal event time of the model file.

6. The method according to claim 1, wherein: The communication between the relay protection device and the integrated application host based on the IEC61850 standard is established through the preset initial model, including: starting all services of the IEC61850 standard, locking the remote control function of the relay protection device, and invalidating all data changes based on the preset initial model and sending them to the integrated application host.

7. The method according to claim 1, wherein: The method further includes: saving the model file with the abnormality into a download directory of the relay protection device.

8. A relay protection equipment model file abnormality diagnosis and recovery system, characterized in that: Applicable to relay protection equipment based on IEC61850 standard; the system includes: diagnosis module, alarm module, loading module, establishment module and loading module; wherein, The diagnostic module is used to perform a legality check, a consistency check, and a mapping check on the model file of the relay protection device to obtain an abnormality diagnosis result; the abnormality diagnosis result includes whether the model file is abnormal or normal; The alarm module is configured to place the relay protection device in a locking device and issue an alarm message if the abnormality diagnosis result indicates that the model file is abnormal; The loading module is used to load the file name of the preset initial model into the startup configuration file after obtaining the model recovery instruction; The establishing module is used to restart the relay protection device and establish communication between the relay protection device and the integrated application host based on the IEC61850 standard through the preset initial model; The loading module is used to download the target model file corresponding to the relay protection device through the comprehensive application host.

9. An electronic device, characterized in that: include: A memory, a processor, and a computer program stored in the memory and executable on the processor, wherein the processor implements the method according to any one of claims 1 to 7 when executing the computer program.

10. A computer-readable storage medium, characterized in that The computer-readable storage medium stores computer instructions, and when the computer instructions are executed by a processor, the method according to any one of claims 1 to 7 is implemented.