# US 2019/0170822 A1 · Fully-automatic closed-loop detection method and device for intelligent substation

> Agents: this data is available as JSON from the patentgrep API and MCP server — see https://patentgrep.com/llms.txt

- Number: US 2019/0170822 A1
- Document ID: US20190170822A1
- Status: Published application
- Kind: A1
- Application number: 16/254,426
- Filed: 2019-01-22
- Published: 2019-06-06
- Earliest claimed: 2017-12-05
- Assignees: State Grid Hebei Electric Power Research Institute; State Grid Corporation of China; Wuhan Kemov Electric Co., Ltd; State Grid Hebei Energy Technology Service Co., Lt D
- Applicants: State Grid Hebei Electric Power Research Institute; State Grid Corporation of China; Wuhan Kemov Electric Co.,Ltd; State Grid Hebei Energy Technology Service Co., Ltd.
- Inventors: Peng LUO; Hui FAN; Jingchao YANG; Xiaoguang HAO; Yuhao ZHAO; Lei HE; Qun RAO
- Web page: https://patentgrep.com/patent/US20190170822A1

## CPC

- G01R 31/31724: {Test controller, e.g. BIST state machine (for scan test G01R31/318555)}
- G01R 31/31703: {Comparison aspects, e.g. signature analysis, comparators (concerning scan tests G01R31/318566; concerning testers G01R31/3193)}
- H04L 12/00: Data switching networks (interconnection of, or transfer of information or other signals between, memories, input/output devices or central processing units G06F13/00)
- H04L 12/40136: {Nodes adapting their rate to the physical link properties (LAN switches H04L49/351)}
- G01R: MEASURING ELECTRIC VARIABLES; MEASURING MAGNETIC VARIABLES (indicating correct tuning of resonant circuits H03J3/12)
- H04L: TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION (arrangements common to telegraphic and telephonic communication H04M)

## Abstract

The fully-automatic closed-loop detection method includes: comparing a SCD file of a to-be-tested substation with a device-type data template file, so as to determine whether configuration information about the to-be-tested substation is correct; when the configuration information about the to-be-tested substation is correct, parsing the SCD file of the to-be-tested substation and generating a SSD topological diagram of the to-be-tested substation; and acquiring a testing item from a predetermined testing item library in accordance with the SSD topological diagram of the to-be-tested substation, generating a testing scheme for the to-be-tested substation, performing a testing operation and outputting a testing result.

## Claims

### Claim 1

A fully-automatic closed-loop detection method for an intelligent substation, comprising:
comparing a substation configuration description (SCD) file with a device-type data template file so as to determine whether configuration information about a to-be-tested substation is correct;
when the configuration information about the to-be-tested substation is correct, parsing the SCD file, and generating a system specification description (SSD) topological diagram of the to-be-tested substation; and
acquiring a testing item from a predetermined testing item library in accordance with the SSD topological diagram, generating a testing scheme for the to-be-tested substation, performing a testing operation and outputting a testing result.

### Claim 2 (depends on 1)

The fully-automatic closed-loop detection method according to claim 1, wherein the comparing the SCD file with the device-type data template file so as to determine whether the configuration information about the to-be-tested substation is correct comprises:
acquiring the SCD file and a virtual terminal connection standard template file, and comparing the SCD file with the virtual terminal connection standard template file so as to determine whether a connection relationship between SCD virtual terminals of the to-be-tested substation is correct; and
when the connection relationship between the SCD virtual terminals of the to-be-tested substation is correct, reading model configuration information in the SCD file, acquiring a device operating model of the to-be-tested substation, and comparing the model configuration information in the SCD file with the device operating model of the to-be-tested substation, so as to determine whether the configuration information about the to-be-tested substation is correct.

### Claim 3 (depends on 2)

The fully-automatic closed-loop detection method according to claim 2, wherein the acquiring the SCD file and the virtual terminal connection standard template file and comparing the SCD file with the virtual terminal connection standard template file so as to determine whether the connection relationship between the SCD virtual terminals of the to-be-tested substation is correct comprises:
generating a virtual terminal connection typical template library in accordance with the virtual terminal connection standard template file;
parsing the SCD file of the to-be-tested substation, and acquiring a connection relationship between virtual terminals of a protection device and an associated device in the SCD file; and
comparing the connection relationship between the virtual terminals of the protection device and the associated device with the corresponding virtual terminal connection standard template file in the virtual terminal connection typical template library, so as to determine whether the connection relationship between the SCD virtual terminals of the to-be-tested substation is correct.

### Claim 4 (depends on 1)

The fully-automatic closed-loop detection method according to claim 1, wherein the parsing the SCD file and generating the SSD topological diagram of the to-be-tested substation when the configuration information about the to-be-tested substation is correct comprises:
when the configuration information about the to-be-tested substation is correct, parsing the SCD file, generating a main wiring diagram and a bay wiring diagram to generate the SSD topological diagram of the to-be-tested substation, and acquiring an association relationship between a primary device and a secondary device of the to-be-tested substation; and
reading a network communication message of the secondary device, and mapping an operating parameter of the to-be-tested substation to the SSD topological diagram of the to-be-tested substation.

### Claim 5 (depends on 4)

The fully-automatic closed-loop detection method according to claim 4, wherein the parsing the SCD file, generating the main wiring diagram and the bay wiring diagram to generate the SSD topological diagram of the to-be-tested substation, and acquiring the association relationship between the primary device and the secondary device of the to-be-tested substation comprises:
parsing the SCD file, and acquiring a voltage level and bay information in the parsed SCD file;
generating a bay topological feature code in accordance with the bay information, and acquiring a bay wiring diagram template adapted to the bay topological feature code from a predetermined bay device pattern template library, so as to generate the bay wiring diagram;
creating a bus primitive in accordance with the voltage level, and arranging the bay wiring diagram in accordance with the bus primitive so as to generate the main wiring diagram; and
generating the SSD topological diagram of the to-be-tested substation in accordance with the bay wiring diagram and the main wiring diagram, and acquiring the association relationship between the primary device and the secondary device of the to-be-tested substation.

### Claim 6 (depends on 4)

The fully-automatic closed-loop detection method according to claim 4, wherein the reading the network communication message of the secondary device and mapping the operating parameter of the to-be-tested substation to the SSD topological diagram comprises:
reading the network communication message of the secondary device, and parsing and extracting relay protection state information, element position information and device operating state information about the secondary device from the network communication message; and
mapping the relay protection state information, the element position information and the device operating state information about the secondary device to the SSD topological diagram.

### Claim 7 (depends on 1)

The fully-automatic closed-loop detection method according to claim 1, wherein the acquiring the testing item from the predetermined testing item library in accordance with the SSD topological diagram, generating the testing scheme for the to-be-tested substation, performing the testing operation and outputting the testing result comprises:
acquiring information about a to-be-tested device of the to-be-tested substation in accordance with the SSD topological diagram and the SCD file;
extracting a testing item matching the information about the to-be-tested device from the predetermined testing item library, and generating the testing scheme for the to-be-tested substation in accordance with the testing item and a predetermined arrangement rule; and
performing the testing operation on the to-be-tested substation in accordance with the testing scheme, and outputting the testing result.

### Claim 8 (depends on 7)

The fully-automatic closed-loop detection method according to claim 7, wherein the extracting the testing item matching the information about the to-be-tested device from the predetermined testing item library, and generating the testing scheme for the to-be-tested substation in accordance with the testing item and the predetermined arrangement rule comprises:
acquiring a protection logical node of the to-be-tested device, and extracting a testing item matching the protection logical node from the predetermined testing item library; and
generating the testing scheme for the to-be-tested substation in accordance with the extracted testing item and the predetermined arrangement rule.

### Claim 9 (depends on 7)

The fully-automatic closed-loop detection method according to claim 7, wherein the performing the testing operation on the to-be-tested substation in accordance with the testing scheme and outputting the testing result comprises:
outputting a fault amount to the to-be-tested device corresponding to the testing item in the testing scheme, and setting state information about the protection logical node in a target logical node model corresponding to the to-be-tested device; and
comparing the state information about the protection logical node in the target logical node model with actual operating state information about the protection logical node of the to-be-tested device, so as to perform the testing operation on the to-be-tested substation and output the testing result.

### Claim 10

A fully-automatic closed-loop detection device for an intelligent substation, comprising:
a comparison module configured to compare an SCD file with a device-type data template file so as to determine whether configuration information about a to-be-tested substation is correct;
a generation module configured to, when the configuration information about the to-be-tested substation is correct, parse the SCD file, and generate an SSD topological diagram of the to-be-tested substation; and
a testing module configured to acquire a testing item from a predetermined testing item library in accordance with the SSD topological diagram, generate a testing scheme for the to-be-tested substation, perform a testing operation and output a testing result.

### Claim 11 (depends on 10)

The fully-automatic closed-loop detection device according to claim 10, wherein the comparison module comprises:
a comparison submodule configured to acquire the SCD file and a virtual terminal connection standard template file, and compare the SCD file with the virtual terminal connection standard template file so as to determine whether a connection relationship between SCD virtual terminals of the to-be-tested substation is correct; and
a determination submodule configured to, when the connection relationship between the SCD virtual terminals of the to-be-tested substation is correct, read model configuration information in the SCD file, acquire a device operating model of the to-be-tested substation, and compare the model configuration information in the SCD file with the device operating model of the to-be-tested substation, so as to determine whether the configuration information about the to-be-tested substation is correct.

### Claim 12 (depends on 11)

The fully-automatic closed-loop detection device according to claim 11, wherein the comparison submodule comprises:
a first generation unit configured to generate a virtual terminal connection typical template library in accordance with the virtual terminal connection standard template file;
a first acquisition unit configured to parse the SCD file of the to-be-tested substation, and acquire a connection relationship between virtual terminals of a protection device and an associated device in the SCD file; and
a comparison unit configured to compare the connection relationship between the virtual terminals of the protection device and the associated device with the corresponding virtual terminal connection standard template file in the virtual terminal connection typical template library, so as to determine whether the connection relationship between the SCD virtual terminals of the to-be-tested substation is correct.

### Claim 13 (depends on 10)

The fully-automatic closed-loop detection device according to claim 10, wherein the generation module comprises:
a generation submodule configured to, when the configuration information about the to-be-tested substation is correct, parse the SCD file, generate a main wiring diagram and a bay wiring diagram to generate the SSD topological diagram of the to-be-tested substation, and acquire an association relationship between a primary device and a secondary device of the to-be-tested substation; and
a mapping submodule configured to read a network communication message of the secondary device, and map an operating parameter of the to-be-tested substation to the SSD topological diagram of the to-be-tested substation.

### Claim 14 (depends on 13)

The fully-automatic closed-loop detection device according to claim 13, wherein the generation submodule comprises:
a parsing unit configured to parse the SCD file, and acquire a voltage level and bay information in the parsed SCD file;
a second generation unit configured to generate a bay topological feature code in accordance with the bay information, and acquire a bay wiring diagram template adapted to the bay topological feature code from a predetermined bay device pattern template library, so as to generate the bay wiring diagram;
a third generation unit configured to generate a bus primitive in accordance with the voltage level, and arrange the bay wiring diagram in accordance with the bus primitive so as to generate the main wiring diagram; and
a second acquisition unit configured to generate the SSD topological diagram of the to-be-tested substation in accordance with the bay wiring diagram and the main wiring diagram, and acquire the association relationship between the primary device and the secondary device of the to-be-tested substation.

### Claim 15 (depends on 13)

The fully-automatic closed-loop detection device according to claim 13, wherein the mapping submodule comprises:
a third acquisition unit configured to read the network communication message of the secondary device, and parse and extract relay protection state information, element position information and device operating state information about the secondary device from the network communication message; and
a mapping unit configured to map the relay protection state information, the element position information and the device operating state information about the secondary device to the SSD topological diagram.

### Claim 16 (depends on 10)

The fully-automatic closed-loop detection device according to claim 10, wherein the testing module comprises:
an acquisition submodule configured to acquire information about a to-be-tested device of the to-be-tested substation in accordance with the SSD topological diagram and the SCD file;
an extraction submodule configured to extract a testing item matching the information about the to-be-tested device from the predetermined testing item library, and generate the testing scheme for the to-be-tested substation in accordance with the testing item and a predetermined arrangement rule; and
a testing submodule configured to perform the testing operation on the to-be-tested substation in accordance with the testing scheme, and output the testing result.

### Claim 17 (depends on 16)

The fully-automatic closed-loop detection device according to claim 16, wherein the extraction submodule comprises:
an extraction unit configured to acquire a protection logical node of the to-be-tested device, and extract a testing item matching the protection logical node from the predetermined testing item library; and
a fourth generation unit configured to generate the testing scheme for the to-be-tested substation in accordance with the extracted testing item and the predetermined arrangement rule.

### Claim 18 (depends on 16)

The fully-automatic closed-loop detection device according to claim 16, wherein the testing submodule comprises:
an output unit configured to output a fault amount to the to-be-tested device corresponding to the testing item in the testing scheme, and set state information about the protection logical node in a target logical node model corresponding to the to-be-tested device; and
a testing unit configured to compare the state information about the protection logical node in the target logical node model with actual operating state information about the protection logical node of the to-be-tested device, so as to perform the testing operation on the to-be-tested substation and output the testing result.

### Claim 19 (depends on 1)

An electronic device, comprising one or more processors, a memory, and one or more computer programs, wherein the one or more computer programs are stored in the memory and capable of being executed by the one or more processors, so as to implement the fully-automatic closed-loop detection method according to claim 1.

### Claim 20 (depends on 1)

A computer-readable storage medium storing therein a computer program, wherein the computer program is capable of being executed by a processor so as to implement the fully-automatic closed-loop detection method according to claim 1.
