Substation secondary equipment interface description dynamic updating method

By using a dynamic update method based on IEC61850 model files and signal point mapping tables, the problem of inconsistent interface descriptions for secondary equipment in smart substations was solved, achieving efficient and accurate automatic interface updates and reducing operation and maintenance costs.

CN121785627APending Publication Date: 2026-04-03NANJING GUODIAN NANZI POWER GRID AUTOMATION CO LTD
View PDF 0 Cites 0 Cited by

Patent Information

Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2025-11-19
Publication Date
2026-04-03

AI Technical Summary

Technical Problem

In smart substations, the human-machine interface signal descriptions of secondary equipment are inconsistent with the back-end monitoring system, resulting in high operation and maintenance costs, low modification efficiency, and easy omissions or misconfigurations.

Method used

The SCD file is configured using the IEC61850 model file. The CID file is generated through the system configuration tool. The human-machine interface module is used to detect changes in the CID file in real time, generate a signal point mapping table, and verify consistency by combining CRC check mechanism and hash algorithm, and automatically update the secondary device interface description.

Benefits of technology

It enables dynamic updates of the secondary device interface description, improves modification efficiency, ensures the correctness and consistency of signal point descriptions, and avoids errors from manual modification and the need for restarts.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN121785627A_ABST
    Figure CN121785627A_ABST
Patent Text Reader

Abstract

The invention discloses a method for dynamically updating interface description of secondary equipment of a transformer substation, which belongs to the technical field of secondary equipment of a power system and comprises the following steps of: configuring SCD (substation configuration description) according to an IEC61850 model file, and modifying signal point description; downloading the CID file to a human-computer interface module through a system configuration tool; the human-computer interface module detects CID file changes in real time, analyzes leaf nodes and signal point descriptions, matches effective leaf nodes through a Hash algorithm, updates a signal point mapping relation table, extracts differential data of the signal point mapping relation table and sends the differential data to the CPU, and the CPU positions target signal points and dynamically updates interface descriptions. Dynamic updating of interface description is realized through a matching mechanism of the CID file and the model mapping file, the problem of low modification efficiency of human-computer interface description in the debugging process of the secondary equipment of the transformer substation is solved, and the operation and maintenance efficiency of the transformer substation is remarkably improved.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] This invention belongs to the field of power system secondary equipment technology, specifically relating to a method for dynamically updating the interface description of substation secondary equipment. Background Technology

[0002] In the current commissioning and operation and maintenance of smart substations, the human-machine interface signal descriptions of secondary equipment (such as relay protection devices and measurement and control devices) are often not consistent with the background monitoring system and dispatch master station. This makes it impossible to intuitively determine each signal point at the device end, and it is necessary to rely on drawings or background databases to verify the signal points, which significantly increases the operation and maintenance costs.

[0003] The current mainstream solution involves connecting to secondary equipment via PC-based debugging tools and manually modifying signal descriptions one by one. This process is cumbersome and labor-intensive, especially in large substations where thousands of signals are involved. Not only is the modification inefficient, but omissions or misconfigurations are also prone to occur. Summary of the Invention

[0004] The purpose of this invention is to provide a method for dynamically updating the interface description of substation secondary equipment, so as to solve the problem of low efficiency in modifying the human-machine interface description of substation secondary equipment.

[0005] To achieve the above objectives, the present invention adopts the following technical solution:

[0006] A method for dynamically updating the interface description of secondary equipment in a substation includes: configuring a Substation Configuration Description (SCD) file based on an IEC61850 model file and modifying signal point descriptions; generating a CID (Configured IED Description) file corresponding to the SCD file using a system configuration tool and downloading the CID file to a human-machine interface (HMI) module; the HMI module continuously monitors whether the CID file has changed; in response to a change in the CID file, the HMI module generates a new signal point mapping table and verifies the consistency between the old and new signal point mapping tables; if the old and new signal point mapping tables are consistent, the secondary equipment interface description is not updated; if the old and new signal point mapping tables are inconsistent, the differentiated data between the old and new signal point mapping tables is extracted and sent to a CPU, whereby the CPU parses the differentiated data, locates the changed signal points, and updates the secondary equipment interface description accordingly.

[0007] Furthermore, the human-machine interface module generates a new signal point mapping table, including: reading all leaf nodes in the model mapping file and constructing a hash set of the leaf nodes in the model mapping file using a hash algorithm; parsing each leaf node in the CID file, calculating its hash value, and matching it in the hash set of the leaf nodes in the model mapping file; if the match is successful, a mapping relationship is generated and stored in the signal point mapping table; if the match fails, no mapping relationship is generated; after all leaf nodes in the CID file have been parsed, a new signal point mapping table is obtained.

[0008] Furthermore, the consistency of the old and new signal point mapping tables is verified through a CRC check mechanism, including: calculating the check code of the signal point mapping table using the CRC32 check algorithm and storing it in memory; if the check codes of the old and new signal point mapping tables are equal, then the old and new signal point mapping tables are consistent; if the check codes of the old and new signal point mapping tables are not equal, then the old and new signal point mapping tables are inconsistent.

[0009] Furthermore, the extraction of differentiated data from the old and new signal point mapping tables includes: extracting all fields of each entry in the new signal point mapping table, concatenating them into a string in chronological order, and calculating the hash value of the string using a hash algorithm; storing the hash values ​​of all entries in the new signal point mapping table as the current hash index table, and comparing the current hash index table with the historical hash index table corresponding to the old signal point mapping table to identify the changed entries as differentiated data.

[0010] Furthermore, the information in the signal point mapping table includes: CPU number, CPU data point number, data type, logical device, leaf node, original description, and signal point description.

[0011] Furthermore, the differentiated data is encapsulated in JSON format and includes: operation type, leaf node, and associated field data.

[0012] Furthermore, the human-machine interface module transmits differentiated data to the CPU through a dedicated communication protocol.

[0013] Furthermore, before the human-machine interface module generates a new signal point mapping table, the process includes: traversing the signal point description information in the CID file and obtaining the field length M of the signal point description information; if the field length M of the signal point description information is greater than the maximum display character length N of the human-machine display module, then an alarm message is generated and recorded in the log file, and the generation process of the signal point mapping table is interrupted.

[0014] Furthermore, after the CPU updates the secondary device interface description, it also includes: using a timer triggering mechanism, every minute, the CPU calculates the check code of the current signal point mapping table in memory and sends it back to the human-machine interface module via the bus; the human-machine interface module compares the check code sent back by the CPU with the check code stored in itself; if the two are consistent, no processing is performed; if the two are inconsistent, an alarm message is issued and the previous version of the signal point mapping table is transmitted to the CPU, and the CPU automatically rolls back the interface description to the previous version.

[0015] Furthermore, an update flag is set to indicate the update result: 0 indicates that the secondary device interface description update failed, and 1 indicates that the secondary device interface description update succeeded. In response to the failure of the secondary device interface description update, the CPU sends update flag 0 to the human-machine interface module. In response to the completion of the secondary device interface description update, the CPU sends update flag 1 to the human-machine interface module.

[0016] Compared with the prior art, the present invention has the following beneficial effects:

[0017] (1) The substation secondary equipment interface description dynamic update method provided by the present invention monitors the update status of the CID file in real time. When the CID file changes, the interface description of the secondary equipment can be dynamically updated by detecting the change of the signal point mapping table without restarting the secondary equipment. It abandons the traditional manual item-by-item verification and manual modification mode, which not only shortens the debugging time, but also ensures the correctness of the modified signal description;

[0018] (2) The substation secondary equipment interface description dynamic update method provided by the present invention avoids field omissions and format errors caused by manual modification through the signal point mapping relationship table generation mechanism. At the same time, the CPU periodically sends back CRC check value and automatic rollback mechanism, which can realize bidirectional verification of interface description data and effectively prevent data inconsistency caused by malicious tampering or memory abnormality. Attached Figure Description

[0019] Figure 1 This is a schematic diagram of the dynamically updated architecture scheme in an example of the present invention;

[0020] Figure 2 This is a flowchart of the dynamic update process in an example of the present invention;

[0021] Figure 3 This is a schematic diagram of the model mapping file in an example of the present invention;

[0022] Figure 4 This is a schematic representation of the signal point mapping relationship in an example of the present invention;

[0023] Figure 5 This is a schematic diagram of the JSON data packet format in an example of the present invention. Detailed Implementation

[0024] The present invention will be further described below with reference to the accompanying drawings. The following embodiments are only used to more clearly illustrate the technical solution of the present invention, and should not be used to limit the scope of protection of the present invention.

[0025] Example 1

[0026] Figure 1 This is a schematic diagram of the architecture of the present invention. In the diagram, the Human Machine Interface (HMI) module interacts with the CPU via an internal bus, using a dedicated communication protocol for data transmission. Simultaneously, both the HMI and the CPU are connected to the HMI display module via a bus for controlling information output. The maximum display character length of the HMI display module is N.

[0027] During the commissioning of the intelligent substation, the secondary equipment is connected through the PC-based commissioning tool to dynamically update the interface description of the substation's secondary equipment.

[0028] like Figure 2 As shown, this embodiment provides a method for dynamically updating the interface description of substation secondary equipment, including the following process:

[0029] Step 1: Configure the SCD file according to the IEC61850 model file and modify the signal point description.

[0030] As is generally known, the SCD file is the configuration description of a smart substation according to the IEC 61850 standard, containing the configurations of the primary system, secondary equipment, and communication network. During commissioning, the SCD file is used to build the overall substation model and describe the relationships between all IED devices. The CID file is the configuration file for a single IED device, and multiple CID files correspond to one SCD file.

[0031] The SCD file, CID file, and signal point mapping table have a unique correspondence. Any change to any layer must be backtracked and verified against the other two layers.

[0032] like Figure 4 As shown, the information in the signal point mapping table includes: CPUID, DATAINFO, DATATYPE, CPULD, DATALEAF, DU, and DESC; where CPUID is the CPU number, DATAINFO is the CPU data point number, DATATYPE is the data type, CPULD is the logical device, DATALEAF is the leaf node, DU is the original description, and DESC is the signal point description.

[0033] The signal point description here refers to the DESC field, which is a text label for human viewing.

[0034] Generate a CID file corresponding to the SCD file using the system configuration tool.

[0035] Step 2: Input the maximum character length N of the human-machine interface module.

[0036] Step 3: Use the system configuration tool on the PC to download the CID file to the HMI module.

[0037] Step 4: The HMI monitors changes to the CID file in real time. When an update to the CID file is detected, it iterates through the DESC field in the CID file and obtains the field length M.

[0038] Step 5: The HMI determines whether the character length M of the DESC field is greater than the maximum display character length N of the human-machine display module. If M > N, proceed to step 6; otherwise, proceed to step 7.

[0039] Step 6: Exit the signal point mapping table generation process and print the descriptions of the non-compliant signal points and their corresponding leaf nodes to the Core.log file in the HMI file directory; and the HMI sends an alarm signal to the human-machine interface module via the bus. After the human-machine interface module recognizes the alarm signal, it pops up an alarm message indicating that the signal point mapping table generation failed.

[0040] Step 7: The HMI reads the model mapping file, extracts all DATALEAF leaf node fields, standardizes them, calculates their hash values ​​using a hash algorithm, and stores them to construct a set of hashes for the leaf nodes of the model mapping file.

[0041] like Figure 3 As shown, the model mapping file contains: CPUID, DATAINFO, DATATYPE, CPULD, DATALEAF, and DU.

[0042] Step 8, cyclically parse the leaf nodes in the CID file: standardize the leaf nodes, calculate their hash values ​​using a hash algorithm, and query for matching in the hash set of leaf nodes in the model mapping file;

[0043] If no match is found in the hash set of the leaf nodes of the model mapping file, no mapping relationship is generated, and the next leaf node is parsed; if a match is successfully found in the hash set of the leaf nodes of the model mapping file, a mapping relationship is generated and stored in the signal point mapping relationship table.

[0044] It should be noted that the standardization process described in steps 7 and 8 refers to unifying the capitalization.

[0045] Step 9: After the CID file is completely parsed and a new signal point mapping table is obtained, the HMI uses the CRC32 check algorithm to calculate the check code of the current signal point mapping table and stores it.

[0046] Step 10: Compare whether the current check code and the historical check code are equal;

[0047] If the two are equal, it is assumed that the signal point description information has not been updated. The HMI sends a flag to the CPU through the internal dedicated communication protocol to inform the CPU not to process this update and exits the dynamic update process of the secondary device interface description. If the two are not equal, the HMI extracts the differential data and transmits the differential data to the CPU in real time.

[0048] Step 11: The HMI first encapsulates the differentiated data into a JSON format data packet; then it transmits the differentiated data packet to the CPU in real time.

[0049] like Figure 5 As shown, the JSON data includes the operation type update, the leaf node dataleaf, the CPU number CPUID, and the CPU data point number DATAINFO.

[0050] In some specific embodiments, to avoid coupling with other data, the HMI uses an internal proprietary communication protocol to transmit differentiated data packets to the CPU in real time;

[0051] Step 12: After the CPU parses the data packet, it locates the target signal point based on the leaf node path in the data packet and updates the corresponding secondary device interface description. Dynamic updates can be achieved without restarting the secondary device.

[0052] Step 13: After the interface description is updated, the CPU sends an update flag to the HMI to inform it of the update result, and the HMI displays a pop-up window on the human-machine interface.

[0053] Step 14: Using a timer triggering mechanism, every minute, the CPU calculates the CRC check value of the current signal point mapping table in the current memory and sends it back to the HMI via the bus;

[0054] Step 15: The HMI compares the CRC check value returned by the CPU with the check value stored in its own memory.

[0055] If the CRC checksums match, no processing is performed; if the CRC checksums do not match, an alarm message is issued through the HMI display module; at the same time, the HMI transmits the previous version's signal point mapping table to the CPU, and the CPU automatically rolls back the interface description to the previous version.

[0056] Example 2

[0057] Based on Example 1, this example provides a process for extracting differentiated data from an HMI.

[0058] In this embodiment, the HMI extracts differentiated data based on a hash algorithm, specifically including:

[0059] Extract all fields (CPUID, DATAINFO, DATATYPE, CPULD, DATALEAF, DU, DESC) of each entry in the current signal point mapping table, concatenate them into a string in chronological order, and use a hash algorithm to calculate the hash value of the string as a unique identifier for the entry;

[0060] Store the hash values ​​of all entries in the current signal point mapping table as the current hash index table, compare it with the previous historical hash index table, identify the changed entries based on the unique identifier of the entries, and thus obtain differentiated data.

[0061] The above description is only a preferred embodiment of the present invention. It should be noted that for those skilled in the art, several improvements and modifications can be made without departing from the technical principles of the present invention, and these improvements and modifications should also be included within the protection scope of the present invention.

Claims

1. A method for dynamically updating the interface description of secondary equipment in a substation, characterized in that, include: Configure the SCD file according to the IEC61850 model file and modify the signal point description; The system configuration tool generates a CID file corresponding to the SCD file, and the CID file is downloaded to the human-machine interface module. The human-machine interface module detects whether the CID file has changed in real time. In response to a change in the CID file, the human-machine interface module generates a new signal point mapping table and verifies the consistency between the old and new signal point mapping tables. If the mapping table of the old and new signal points is consistent, the secondary device interface description will not be updated. In response to the inconsistency between the old and new signal point mapping tables, the differential data between the old and new signal point mapping tables is extracted and sent to the CPU. The CPU parses the differential data, locates the signal points that have changed, and updates the secondary device interface description accordingly.

2. The method for dynamically updating the interface description of substation secondary equipment according to claim 1, characterized in that, The human-machine interface module generates a new signal point mapping table, including: Read all leaf nodes in the model mapping file and construct a hash set of the leaf nodes in the model mapping file using a hash algorithm; The leaf nodes in the CID file are parsed one by one, their hash values ​​are calculated, and they are matched against the hash set of the leaf nodes in the model mapping file. If a match is successful, a mapping relationship is generated and stored in the signal point mapping relationship table; If the match fails, no mapping relationship is generated; Once all leaf nodes in the CID file have been parsed, a new signal point mapping table is obtained.

3. The method for dynamically updating the interface description of substation secondary equipment according to claim 1, characterized in that, The consistency of the mapping table between the old and new signal points is verified through a CRC check mechanism, including: The CRC32 checksum algorithm is used to calculate the checksum of the signal point mapping table and store it in memory; If the check codes of the old and new signal point mapping tables are equal, then the old and new signal point mapping tables are consistent. If the check codes of the old and new signal point mapping tables are not equal, then the old and new signal point mapping tables are inconsistent.

4. The method for dynamically updating the interface description of substation secondary equipment according to claim 1, characterized in that, The extracted differential data from the mapping table of old and new signal points includes: Extract all fields from each entry in the new signal point mapping table, concatenate them into a string in chronological order, and calculate the hash value of the string using a hash algorithm. Store the hash values ​​of all entries in the new signal point mapping table as the current hash index table, and compare the current hash index table with the historical hash index table corresponding to the old signal point mapping table to identify the changed entries as differentiated data.

5. The method for dynamically updating the interface description of substation secondary equipment according to claim 1, characterized in that, The information in the signal point mapping table includes: CPU number, CPU data point number, data type, logical device, leaf node, original description, and signal point description.

6. The method for dynamically updating the interface description of substation secondary equipment according to claim 1, characterized in that, The differentiated data is encapsulated in JSON format and includes: operation type, leaf node, and related field data.

7. The method for dynamically updating the interface description of substation secondary equipment according to claim 1, characterized in that, The human-machine interface module transmits differentiated data to the CPU through a dedicated communication protocol.

8. The method for dynamically updating the interface description of substation secondary equipment according to claim 1, characterized in that, Before the human-machine interface module generates a new signal point mapping table, it also includes: Iterate through the signal point description information in the CID file and obtain the field length M of the signal point description information; If the field length M of the signal point description information is greater than the maximum display character length N of the human-machine display module, an alarm message is generated and recorded in the log file, and the generation process of the signal point mapping table is interrupted.

9. The method for dynamically updating the interface description of substation secondary equipment according to claim 3, characterized in that, After the CPU updates the secondary device interface description, it also includes: Using a timer triggering mechanism, the CPU cyclically calculates the check code of the signal point mapping table in the current memory according to a preset time period, and sends it back to the human-machine interface module through the bus; The human-machine interface module compares the checksum returned by the CPU with the checksum stored in its own memory. If they match, no action is taken. If they do not match, an alarm message is issued and the previous version of the signal point mapping table is transmitted to the CPU. The CPU then automatically rolls back the interface description to the previous version.

10. The method for dynamically updating the interface description of substation secondary equipment according to claim 1, characterized in that, The update flag indicates the update result: 0 indicates that the update of the secondary device interface description failed, and 1 indicates that the update of the secondary device interface description was successful. In response to the failure to update the secondary device interface description, the CPU sends an update flag 0 to the human-machine interface module. In response to the completion of the secondary device interface description update, the CPU sends update flag 1 to the human-machine interface module.