Test method and system for smart substation acceptance

By classifying and CRC code calculation of IEDs in the smart substation, we determine the IED set that needs to be detected in the virtual loop, which solves the problem that communication parameters are changed due to changes in SCD files but the configuration of virtual terminals has not changed, and improves the accuracy and efficiency of virtual loop acceptance.

CN119401664BActive Publication Date: 2025-04-08LVLIANG POWER SUPPLY CO OF STATE GRID SHANXI ELECTRIC POWER CO
View PDF 3 Cites 0 Cited by

Patent Information

Application Number
CN202510006180.2
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2025-01-03
Publication Date
2025-04-08
Estimated Expiration
2045-01-03

AI Technical Summary

Technical Problem

During the acceptance process of smart substations, the SCD file changes caused the IED communication parameters to change, but the virtual terminal configuration information did not change, resulting in the IED communication parameters incompatible with the system configuration, and data transmission loss or errors occurred.

Method used

By classifying the IEDs and building a CRC code based on its virtual terminal configuration information, the stability coefficient α is calculated to determine the set of IEDs that require virtual loop detection. For IED sets whose stability coefficient is less than the threshold, detect the virtual loops of all IEDs; for IED sets whose stability coefficient is greater than or equal to the threshold, only the virtual loops of IEDs whose virtual terminal configuration information has changed.

Benefits of technology

Effectively filter out IEDs that need to detect virtual loops, reduce the scope of acceptance and testing, avoid potential configuration problems or system incompatibility, and improve the accuracy and efficiency of virtual loop acceptance and testing.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN119401664B_ABST
    Figure CN119401664B_ABST
Patent Text Reader

Abstract

The present invention relates to the technical field of smart substations, and the present invention relates to a test method and system for acceptance of smart substations. The present invention classifies IEDs and evaluates the stability of their communication parameters to determine the strategy for virtual circuit detection. For IEDs with large fluctuations in communication parameters, the present invention performs virtual circuit detection on all IEDs of this category. For IEDs with small fluctuations in communication parameters, virtual circuit detection is only performed on IEDs in which virtual terminal configuration information has been changed. Based on this, the present invention avoids potential configuration problems or system incompatibility, and improves the accuracy of IED virtual circuit acceptance detection.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present invention relates to the technical field of smart substations, and more specifically, to a testing method and system for smart substation acceptance. Background Art

[0002] The acceptance technology of smart substation configuration files mainly includes IED naming standard verification, communication subnet verification and ICD network version consistency verification. The Chinese patent application document with publication number CN106055684A discloses a substation SCD file comparison method. The patent application document unifies the standard files provided by the design institute and the SCD files completed by infrastructure construction by modifying the IED definition and DA definition; the comparison process is divided into intervals; and the comparison results are expressed in the form of a spreadsheet.

[0003] During the smart substation acceptance process, when the configuration file change involves a change in the SCD (addition, deletion or replacement of IED), the virtual circuits of other devices associated with the IED may also change. After the virtual circuit changes, the IED device configuration needs to be re-downloaded, and the virtual circuits, equipment functions, device linkage signals, etc. of the SCD after the changes must be re-accepted.

[0004] However, the prior art usually visualizes the SCD file to determine the scope affected by the SCD configuration file change, and then detects the virtual circuits of the IEDs within the scope. The theoretically affected interval IEDs and their links are tested, or a CRC check is performed for a certain voltage level to reduce the acceptance test scope. The prior art only detects IEDs whose virtual terminal configuration information has changed. However, if the SCD change causes the communication parameters of some IEDs to change but the virtual terminal configuration information has not changed, the communication parameters of this type of IED are incompatible with the system configuration, resulting in loss or errors in the data transmission process of this type of IED. At this time, the IED virtual circuit acceptance test is not accurate enough. Summary of the invention

[0005] In order to solve the technical problem that the above-mentioned SCD change causes the communication parameters of some IEDs to change but the virtual terminal configuration information does not change, making the communication parameters of this type of IED incompatible with the system configuration, resulting in loss or errors in the data transmission process of this type of IED, the present invention proposes a test method for smart substation acceptance.

[0006] In a first aspect, a test method for smart substation acceptance includes: classifying IEDs before SCD change according to IED substation interval and IED type; for any IED in any type of IED: before SCD change, constructing a first CRC code according to its virtual terminal configuration information; after SCD change, constructing a second CRC code according to its virtual terminal configuration information; wherein each IED corresponds to a first CRC code and a second CRC code; in response to a type of IED including at least one IED satisfying that the first CRC code of the IED is not equal to the second CRC code, determining the type of IED as a target IED set, and for any target IED set, calculating its stability coefficient α :

[0007] ;

[0008] x i For this target IED, focus on i The Hamming distance between the communication parameters of an IED before the SCD change and the communication parameters after the SCD change, x max is the maximum value of the Hamming distances corresponding to all IEDs in the target IED set, m is the number of IEDs in the target IED set, exp() is an exponential function with natural exponent e as the base; for a target IED set whose stability coefficient is less than a threshold of a predetermined size, the virtual circuits of all IEDs in the target IED set are detected; for a target IED set whose stability coefficient is greater than or equal to the threshold, the virtual circuits of the IEDs in the target IED set whose first CRC code is not equal to the second CRC code are detected.

[0009] The beneficial effects of the present invention are as follows: the present invention classifies IEDs and determines the stability of communication parameters of various IEDs including IEDs whose virtual terminal configuration information has changed. For a class of IEDs with large fluctuations in communication parameters (stability coefficient is less than a threshold), the virtual circuits of all IEDs in the class are detected. For a class of IEDs with small fluctuations in communication parameters (stability coefficient is greater than or equal to a threshold), the virtual circuits of IEDs in the class with changed virtual terminal configuration information are detected. Among them, a class of IEDs usually follows similar design standards and communication protocols. On the one hand, the present invention screens out IEDs that need to detect virtual circuits, reducing the acceptance test scope of the virtual circuits of IEDs. On the other hand, the present invention performs virtual circuit detection on a class of IEDs including IEDs with changed virtual terminal configuration information and large fluctuations in communication parameters, avoiding potential configuration problems or system incompatibility (for example, the IED virtual terminal configuration is correct but the communication protocol is incompatible with other IEDs), and improving the accuracy of IED virtual circuit acceptance detection.

[0010] Preferably, determining the target IED set includes: for all IEDs in any type of IED: concatenating the first CRC codes corresponding to the IEDs in the order of IED naming and calculating the first check code through a CRC algorithm; concatenating the second CRC codes corresponding to the IEDs in the order of IED naming and calculating the second check code through a CRC algorithm; in response to the first check code and the second check code corresponding to the IED of this type being unequal, determining the IED of this type to be the target IED set.

[0011] In the present invention, when the first check code is not equal to the second check code, it can be determined that there is at least one IED in the type of IED whose first CRC code is not equal to the second CRC code. Compared with comparing one by one whether the first CRC code of each IED in a type of IED is equal to the second CRC code (in order to obtain a target IED set), the present invention improves the detection efficiency.

[0012] Preferably, for any IED in any target IED set, calculating the Hamming distance corresponding to the IED includes: converting the communication parameters of the IED before the SCD change into binary to obtain a first binary number; converting the communication parameters of the IED after the SCD change into binary to obtain a second binary number; performing an XOR operation on the first binary number and the second binary number to obtain an operation result, and the number of times each binary bit in the operation result appears as 1 is the Hamming distance corresponding to the IED.

[0013] The present invention calculates the Hamming distance corresponding to the IED, identifies the difference in communication parameters before and after the SCD is changed, and then evaluates the impact of the communication parameter change on the IED.

[0014] Preferably, the first CRC code and the second CRC code constructed according to the virtual terminal configuration information of any IED include: converting the virtual terminal configuration information of the IED before the SCD is changed into a first string; converting the virtual terminal configuration information of the IED after the SCD is changed into a second string; wherein the first string and the second string are both in string format; calculating the first string by the CRC-32 algorithm to obtain the first CRC code of the IED; calculating the second string by the CRC-32 algorithm to obtain the second CRC code of the IED.

[0015] The present invention simplifies the configuration management and troubleshooting process by converting the virtual terminal configuration information of the IED before and after the SCD is changed into a CRC check code (it can be determined whether the virtual terminal configuration information of the IED has changed by comparing the CRC check code of the IED before and after the SCD is changed).

[0016] Preferably, converting the virtual terminal configuration information of any IED into a first string includes: before changing the SCD, arranging and combining the virtual terminal configuration information of the IED in a predetermined order to obtain a first preprocessed string; converting the first preprocessed string into a string format to obtain the first string.

[0017] Preferably, converting the virtual terminal configuration information of any IED into a second string includes: after changing the SCD, arranging and combining the virtual terminal configuration information of the IED in a predetermined order to obtain a second preprocessed string; converting the second preprocessed string into a string format to obtain the second string.

[0018] The present invention unifies the format of the virtual terminal configuration information of the IED, thereby ensuring the consistency of the configuration information of all IEDs in data representation.

[0019] Preferably, classifying IEDs before the SCD change according to the IED substation interval and IED type includes: obtaining the interval, manufacturer data, voltage level data, and functional data of each IED before the SCD change; and classifying IEDs with the same interval, the same manufacturer, the same voltage level, and the same function into one category, wherein the functions of the IED include control, detection, and protection.

[0020] In a second aspect, the present invention provides a test system for smart substation acceptance, comprising a processor and a memory, wherein the memory stores a computer program, and the processor executes the computer program to implement any one of the test methods for smart substation acceptance described in the above invention.

[0021] The beneficial effects of the present invention are as follows: the present invention classifies IEDs and evaluates the stability of communication parameters of various IEDs, thereby optimizing the detection process of virtual circuits. The unified format of virtual terminal configuration information and the method for calculating the Hamming distance improve data consistency and accuracy, and through screening and targeted detection, the test scope is reduced and potential configuration and compatibility problems are avoided, thereby significantly improving the accuracy and efficiency of virtual circuit acceptance. BRIEF DESCRIPTION OF THE DRAWINGS

[0022] By reading the following detailed description with reference to the accompanying drawings, the above and other objects, features and advantages of the exemplary embodiments of the present invention will become readily understood. In the accompanying drawings, several embodiments of the present invention are shown in an exemplary and non-limiting manner, and the same or corresponding reference numerals represent the same or corresponding parts, wherein:

[0023] Figure 1 is a flowchart schematically illustrating the steps of a test method for smart substation acceptance according to an embodiment of the present invention;

[0024] Figure 2 FIG. 4 is a block diagram schematically showing a structure of a test system for smart substation acceptance according to an embodiment of the present invention. DETAILED DESCRIPTION

[0025] The following will be combined with the drawings in the embodiments of the present invention to clearly and completely describe the technical solutions in the embodiments of the present invention. Obviously, the described embodiments are part of the embodiments of the present invention, not all of the embodiments. Based on the embodiments of the present invention, all other embodiments obtained by those skilled in the art without creative work are within the scope of protection of the present invention.

[0026] The specific embodiments of the present invention are described in detail below with reference to the accompanying drawings.

[0027] Figure 1 The figure is a flowchart schematically showing the steps of a testing method for smart substation acceptance according to an embodiment of the present invention.

[0028] Step S1: Classify the IEDs before SCD change according to the IED substation bay and IED type.

[0029] In one embodiment, classifying the IEDs before the SCD is changed according to the IED substation bay and IED type includes: obtaining bay, manufacturer data, voltage level data, and function data of each IED before the SCD is changed; and classifying IEDs of the same bay, the same manufacturer, the same voltage level, and the same function into one category. IEDs of the same function may be IED devices that perform the same task, for example, IEDs of a certain category are all protection, measurement, or control devices.

[0030] Among them, IEDs of one category usually follow similar design standards and communication protocols for the following reasons: IEDs from the same manufacturer usually use the same communication protocol; the function of the IED determines how it communicates with other devices, for example, current protection relays usually use the same communication protocol and data format to exchange protection data; IEDs of the same voltage level work in a similar electrical environment, and the physical distance between IEDs in the same bay is relatively close, so the communication parameters of IEDs in the same bay and the same voltage level in the loop are usually compatible in configuration.

[0031] Step S2: for any IED in any type of IED, respectively construct the first CRC code and the second CRC code of each IED before and after the SCD is changed.

[0032] Among them, for any IED in any type of IED: before the SCD is changed, a first CRC code is constructed according to its virtual terminal configuration information; after the SCD is changed, a second CRC code is constructed according to its virtual terminal configuration information; each IED corresponds to a first CRC code and a second CRC code.

[0033] In one embodiment, the virtual terminal configuration information of the IED includes: the name of each virtual terminal of the IED, the data type processed by each virtual terminal (the data type can be a Boolean value, an integer or a floating point type), the communication protocol used by each virtual terminal (for example, GOOSE, SMV, etc. in IEC 61850), the mapping relationship of the actual input / output of each virtual terminal, and the logical address or identifier of each virtual terminal in the network.

[0034] In one embodiment, the first CRC code and the second CRC code constructed based on the virtual terminal configuration information of any IED include: converting the virtual terminal configuration information of the IED before the SCD is changed into a first string; converting the virtual terminal configuration information of the IED after the SCD is changed into a second string; wherein the first string and the second string are both in string format; calculating the first string by the CRC-32 algorithm to obtain the first CRC code of the IED; calculating the second string by the CRC-32 algorithm to obtain the second CRC code of the IED.

[0035] The step of converting the virtual terminal configuration information of an IED into a first string includes: before changing the SCD, arranging and combining the virtual terminal configuration information of the IED in a predetermined order to obtain a first preprocessed string; converting the first preprocessed string into a string format to obtain the first string. The step of converting the virtual terminal configuration information of any IED into a second string includes: after changing the SCD, arranging and combining the virtual terminal configuration information of the IED in a predetermined order to obtain a second preprocessed string; converting the second preprocessed string into a string format to obtain the second string.

[0036] Step S3: In response to a type of IED including at least one IED satisfying that the first CRC code of the IED is not equal to the second CRC code, the type of IED is determined as a target IED set, and for any target IED set, its stability coefficient is calculated α .

[0037] Among them, calculate the stability coefficient of the target IED set α The calculation formula is:

[0038] .

[0039] x iFor this target IED, focus on i The Hamming distance between the communication parameters of an IED before the SCD change and the communication parameters after the SCD change, x max It is the maximum value of the Hamming distances corresponding to all IEDs in the target IED set.

[0040] It should be noted that there is at least one IED in the target IED set that satisfies: the first CRC code corresponding to the IED is not equal to the second CRC code corresponding to it. Based on this, by calculating the Hamming distance between the communication parameters of each IED in the target IED set before the SCD change and the communication parameters after the SCD change, the Hamming distance is used to represent the difference between the communication parameters of the IED before and after the SCD change, wherein the larger the Hamming distance corresponding to the IED, the larger the difference between the communication parameters of the IED before and after the SCD change.

[0041] It is represented as the average value of the Hamming distances corresponding to all IEDs in the target IED set. The larger the Hamming distance, the greater the change in the communication parameters of the IED before and after the SCD change. The stability coefficient of the target IED set α Inversely proportional, that is The larger the value, the greater the stability coefficient of the target IED set. α The smaller.

[0042] x max It is expressed as the maximum value of the Hamming distances corresponding to all IEDs in the target IED set, which explains the most serious degree of change in the communication parameters of this type of IED (all IEDs in the target IED set) before and after the SCD change. x max The stability coefficient of the target IED set α Inversely proportional, that is x max The larger the value, the greater the stability coefficient of the target IED set. α The smaller.

[0043] Based on this, the smaller the stability coefficient, the greater the proportion of changes in the communication parameters of a type of IED represented by the target IED set after the SCD is changed, and the greater the maximum amplitude of changes in the communication parameters. The larger the stability coefficient, the smaller the proportion of changes in the communication parameters of a type of IED represented by the target IED set after the SCD is changed, and the smaller the maximum amplitude of changes in the communication parameters.

[0044] Furthermore, calculating the Hamming distance between the communication parameters of an IED before the SCD is changed and the communication parameters after the SCD is changed includes: converting the communication parameters of the IED before the SCD is changed into binary to obtain a first binary number; converting the communication parameters of the IED after the SCD is changed into binary to obtain a second binary number; performing an XOR operation on the first binary number and the second binary number to obtain an operation result, and the number of times each binary bit in the operation result appears as 1 is the Hamming distance corresponding to the IED. Wherein, converting the communication parameters of the IED before the SCD is changed into binary includes: obtaining the decimal code of each character in the communication parameter from the ASCII table; converting the decimal code into binary bytes.

[0045] In one embodiment, the communication parameters of the IED include a network identifier, a gateway address, a port number, a communication protocol type, a data format, and a communication protocol parameter of the IED device; wherein the communication protocol parameter includes a logical device (LD), a logical node (LN), and a data set (DS). Before the SCD is changed, the communication parameters of the IED are arranged in a predetermined order and converted into binary to obtain a first binary number of the IED; after the SCD is changed, the communication parameters of the IED are arranged in a predetermined order and converted into binary to obtain a second binary number of the IED.

[0046] In one embodiment, determining the target IED set includes: for all IEDs in any type of IED: splicing the first CRC codes corresponding to each IED in the order of IED naming and calculating the first check code through the CRC algorithm; splicing the second CRC codes corresponding to each IED in the order of IED naming and calculating the second check code through the CRC algorithm; in response to the first check code and the second check code corresponding to the type of IED being unequal, determining the type of IED as the target IED set. The CRC algorithm used to calculate the spliced ​​first CRC code and the second CRC code of each IED is the same, and the CRC algorithm can be a CRC-32 algorithm, a CRC-16 algorithm, or a CRC-64 algorithm.

[0047] Step S4: For a target IED set whose stability coefficient is less than or equal to a threshold value of a predetermined size, the virtual circuits of all IEDs in the target IED set are detected.

[0048] When the stability coefficient of a target IED set is less than or equal to a predetermined threshold, it indicates that the change of SCD has a greater impact on the communication parameters of the target IED set. In order to avoid potential configuration problems or system incompatibility, it is necessary to detect the virtual circuit of this type of IED to avoid communication failure.

[0049] Step S5: For a target IED set whose stability coefficient is greater than a threshold, the virtual circuits of the IEDs in the target IED set whose first CRC code is not equal to the second CRC code are detected.

[0050] Among them, when the stability coefficient of a target IED set is greater than a predetermined threshold, it means that the change of SCD has little effect on the communication parameters of this type of IED in the target IED set. At this time, only the virtual circuit of the IED whose virtual terminal configuration has changed in this type of IED (i.e., the IED whose first CRC code is not equal to the second CRC code) is detected to avoid communication failure.

[0051] Figure 2 FIG. 4 is a block diagram schematically showing a structure of a test system for smart substation acceptance according to an embodiment of the present invention.

[0052] The present invention also provides a test system for smart substation acceptance. Figure 2 As shown, the system includes a processor and a memory, wherein the memory stores computer program instructions, and when the computer program instructions are executed by the processor, the test method for smart substation acceptance according to the first aspect of the present invention is implemented.

[0053] In the present invention, the aforementioned memory may be any tangible medium containing or storing a program that can be used by or in combination with an instruction execution system, apparatus or device. For example, a computer-readable storage medium may be any appropriate magnetic storage medium or magneto-optical storage medium, such as a resistive random access memory RRAM (Resistive Random Access Memory), a dynamic random access memory DRAM (Dynamic Random Access Memory), a static random access memory SRAM (Static Random-Access Memory), an enhanced dynamic random access memory EDRAM (Enhanced Dynamic Random Access Memory), a high-bandwidth memory HBM (High-Bandwidth Memory), a hybrid memory cube HMC (Hybrid Memory Cube), etc., or any other medium that can be used to store the required information and can be accessed by an application, a module, or both. Any such computer storage medium may be part of a device or accessible or connectable to a device. Any application or module described in the present invention may be implemented using computer-readable / executable instructions that may be stored or otherwise maintained by such a computer-readable medium.

[0054] In the description of this specification, "plurality" or "several" means at least two, such as two, three or more, etc., unless otherwise clearly and specifically defined.

[0055] Although this specification has shown and described a number of embodiments of the present invention, it will be apparent to those skilled in the art that such embodiments are provided by way of example only. Those skilled in the art will conceive of many modifications, changes and alternatives without departing from the ideas and spirit of the present invention. It should be understood that in the practice of the present invention, various alternatives to the embodiments of the present invention described herein may be employed.

Claims

1. A test method for acceptance of a smart substation, characterized in that: include: Classify the IEDs before SCD change according to the IED substation bay and IED type; For any IED in any type of IED: before the SCD is changed, a first CRC code is constructed according to its virtual terminal configuration information; after the SCD is changed, a second CRC code is constructed according to its virtual terminal configuration information; wherein each IED corresponds to a first CRC code and a second CRC code; In response to a type of IED including at least one IED satisfying that the first CRC code of the IED is not equal to the second CRC code, the type of IED is determined as a target IED set, and for any target IED set, its stability coefficient is calculated α : ; x i For this target IED, focus on i The Hamming distance between the communication parameters of an IED before the SCD change and the communication parameters after the SCD change, x max is the maximum value of the Hamming distances corresponding to all IEDs in the target IED set, m is the number of IEDs in the target IED set, exp() is an exponential function with the natural exponent e as the base; For a target IED set whose stability coefficient is less than or equal to a threshold, the virtual circuits of all IEDs in the target IED set are detected; For a target IED set whose stability coefficient is greater than a threshold, a virtual circuit of an IED in the target IED set whose first CRC code is not equal to a second CRC code is detected.

2. The test method for smart substation acceptance according to claim 1, characterized in that: The target IED set includes: For all IEDs of any type: The first CRC codes corresponding to the IEDs are concatenated in the order of the IED naming and then calculated by the CRC algorithm to obtain a first check code; The second CRC codes corresponding to the IEDs are concatenated in the order of the IED naming and then calculated by the CRC algorithm to obtain a second check code; In response to the first check code and the second check code corresponding to the type of IED being unequal, the type of IED is determined to be a target IED set.

3. The test method for smart substation acceptance according to claim 1, characterized in that: For any IED in any target IED set, calculating the Hamming distance corresponding to the IED includes: Converting the communication parameter of the IED before the SCD is changed into a binary number to obtain a first binary number; Convert the communication parameter of the IED after the SCD is changed into a binary number to obtain a second binary number; An XOR operation is performed on the first binary number and the second binary number to obtain an operation result, and the number of times that each binary bit in the operation result appears as 1 is used as the Hamming distance corresponding to the IED.

4. The test method for smart substation acceptance according to claim 1, characterized in that: The first CRC code and the second CRC code constructed according to the virtual terminal configuration information of any IED include: Convert the virtual terminal configuration information of the IED before the SCD is changed into a first string; convert the virtual terminal configuration information of the IED after the SCD is changed into a second string; wherein the first string and the second string are both in string format; The first character string is calculated by using a CRC-32 algorithm to obtain a first CRC code of the IED; and the second character string is calculated by using a CRC-32 algorithm to obtain a second CRC code of the IED.

5. The test method for smart substation acceptance according to claim 4, characterized in that: Converting the virtual terminal configuration information of any IED into a first character string includes: Before changing the SCD, the virtual terminal configuration information of the IED is arranged and combined in a predetermined order to obtain a first pre-processed character string; The first preprocessed string is converted into a string format to obtain the first string.

6. The test method for smart substation acceptance according to claim 4, characterized in that: Converting the virtual terminal configuration information of any IED into a second character string includes: After the SCD is changed, the virtual terminal configuration information of the IED is arranged and combined in a predetermined order to obtain a second pre-processed character string; The second preprocessed string is converted into a string format to obtain the second string.

7. The test method for smart substation acceptance according to claim 1, characterized in that: Classifying IEDs before SCD change according to IED substation interval and IED type includes: obtaining the interval, manufacturer data, voltage level data, and function data of each IED before SCD change; and classifying IEDs with the same interval, the same manufacturer, the same voltage level, and the same function into one category, wherein the functions of IED include control, detection, and protection.

8. A test system for smart substation acceptance, comprising a processor and a memory, wherein the memory stores a computer program, characterized in that: The processor executes the computer program to implement the testing method for smart substation acceptance as described in any one of claims 1-7.

Citation Information

Patent Citations

  • SCD file comparison method of transformer substation

    CN106055684A

  • Sample time offset alignment of electric power system samples independent of a common time source

    US20220239089A1

  • PPDU transmission method and apparatus

    WO2024114671A1