A method and system for building a relay protection test environment

By automatically establishing the channel correspondence between the tester and the device under test, the time-consuming and labor-intensive manual configuration problem in the existing technology is solved, fast and accurate signal correspondence and use case reuse are achieved, and the preparation work for relay protection testing is simplified.

CN114814405BActive Publication Date: 2025-09-05NR ELECTRIC CO LTD +1
View PDF 4 Cites 0 Cited by

Patent Information

Application Number
CN202210237944.5
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2022-03-10
Publication Date
2025-09-05
Estimated Expiration
2042-03-10

AI Technical Summary

Technical Problem

In the prior art, during the testing process of the relay protection device, the correspondence between the signal terminals of the tester and the device under test needs to be manually configured, which is time-consuming and labor-intensive. Moreover, when the tester or the test object is replaced, the reused test cases need to be adjusted, which consumes almost the same amount of work, making it difficult to reuse test cases of the same category.

Method used

By automatically establishing a channel correspondence between the tester and the device under test, using the tester's output signal and recording the device's response, the channel correspondence is generated. There is no need to pay attention to hardware models and terminal serial numbers. The software automatically establishes channel associations and generates configuration files.

Benefits of technology

It can quickly and accurately establish the signal correspondence between the tester and the device under test, simplify the configuration work before the test, and make the same type of test lines universal. Test cases can be reused between different devices under test, reducing manual configuration time and errors.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN114814405B_ABST
    Figure CN114814405B_ABST
Patent Text Reader

Abstract

A method and system for building a relay protection test environment, used in the preparation stage of relay protection testing, enables the tester to automatically detect the terminals of the device under test and establish a mapping, and then generates the configuration text required for the test case execution process, which contains both the correspondence between the device under test and the tester channel, and all the parameters and coefficients required for actual operation. This method is applicable to conventional analog quantities and switching quantities, as well as digital SV analog quantities and GOOSE switching quantities. Through this method, the relay protection test does not need to worry about practical issues such as spacing and terminal numbers during the wiring and software configuration stages. It only needs to ensure that the major categories are not connected incorrectly, and the signal correspondence between the tester and the device under test can be established entirely by software. Furthermore, test lines of the same major category can be universal, test cases (scripts) can be reused between different devices under test, and the configuration and preparation work before the test can also be greatly simplified by the software program.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present invention belongs to the field of relay protection testing of power systems, and in particular relates to a method and system for building a relay protection testing environment. Background Art

[0002] During the development and testing of relay protection devices, a series of signals (analog, switching, SV, GOOSE, and soft messages) must interact with the tester. The tester sends these signals in the order specified in the test case. After receiving the response from the device under test, the test case determines whether the response is correct. Currently, there is no necessary connection between the terminals on the tester that send signals and the terminals on the device under test that receive signals, or vice versa. When conducting a test, the corresponding connection between the tester and the device under test must be configured in the software based on the actual connection conditions. This allows the test case to be run accurately, logical judgments to be made, and results to be obtained.

[0003] Prior Art Document 1 (CN106033102A) discloses a relay protection test method and system that maps conventional switching values ​​to GOOSE switching values ​​using mapping technology during configuration file configuration. Prior Art Document 2 (CN108549017A) discloses a cloud-based relay protection test method and system that divides the R&D process into four sub-elements: establishing a device configuration file, designing a test data file, executing the test process, and collecting test reports.

[0004] The drawback of existing technologies is that establishing the corresponding relationships in the configuration files is extremely time-consuming and labor-intensive. Furthermore, changing the tester or test object, or using test cables with different terminal definitions, can render the previous test case inoperable. Adjusting and reusing a test case consumes almost the same amount of work as creating a new one. Even reusing test cases with similar functionality within the same device under test is quite difficult. Summary of the Invention

[0005] To address the above issues, the present invention proposes a method for establishing a relay protection test environment. This method is applicable to the test preparation phase and includes the configuration files mentioned in prior art documents 1 and 2. This method automatically, quickly, and accurately establishes a channel correspondence between the tester and the device under test. This method is applicable to both conventional analog and switching quantities, as well as digital SV analog quantities and GOOSE switching quantities.

[0006] The present invention adopts the following technical solution. A first aspect of the present invention provides a method for building a relay protection test environment, comprising the following steps:

[0007] Step 1: Connect the paired interfaces of the tester and the device under test without paying attention to the channel numbers of the tester and the device under test;

[0008] Step 2: After completing the connection in step 1, command one channel of the tester to output a signal. After receiving the response from the device under test, the program records the channel correspondence and then commands the tester to output the signal of the next channel until all channels of the tester have outputted.

[0009] Step 3: Write the complete channel correspondence obtained in step 2 into the configuration file of the formal test for the test program to call.

[0010] Preferably, in step 1, the paired interface connecting the tester and the device under test includes: at least one of a switch quantity paired interface, an analog quantity paired interface, a GOOSE paired interface and a SV paired interface connecting the tester and the device under test.

[0011] Preferably, in step 1, without paying attention to the specific model of the hardware, the same test line is used to connect the same type of paired interfaces, and multiple plug-ins of the device under test are connected to the same plug-in of the tester through a bundle of test lines; or multiple plug-ins of the device under test are connected to multiple independent plug-ins of the tester through multiple bundles of independent test lines.

[0012] Preferably, in step 2, there is no need to manually establish the channel association between the tester and the device under test in the software configuration; the channel association between the tester and the device under test in the software configuration is automatically established by the software through addition and feedback from the device under test; the interval only exists in the test case and does not exist in the configuration file.

[0013] Preferably, in step 2, if no response is obtained after a certain channel of the tester outputs, it is considered that there is no physical wire or virtual terminal connection between the channel and the device under test.

[0014] Preferably, step 3 further includes: generating a channel correspondence diagram between the tester and the device under test for reference by test personnel for troubleshooting.

[0015] The second aspect of the present invention provides a system for building a relay protection test environment, and a method for running the system for building a relay protection test environment, comprising: a tester, a test line, and a configuration file generation module; characterized in that:

[0016] The tester and the device under test have paired interfaces;

[0017] The test line is used to connect the tester and the device under test with a paired interface;

[0018] The configuration file generation module is used to automatically establish the channel association between the tester and the device under test through the tester input and the feedback of the device under test, without the need to manually establish the channel association between the tester and the device under test in the software configuration.

[0019] Preferably, the number of channels provided by the tester is greater than or equal to the number of channels connected to the terminals of the device under test;

[0020] The number of channels mentioned does not equal the actual number of terminals;

[0021] Each channel of the device under test needs to be connected to a unique channel on the tester;

[0022] The tester applies a set signal to the device under test and receives a response from the device under test.

[0023] Preferably, the system for quickly building a relay protection test environment further includes: a channel correspondence diagram generation module, which is used to generate a channel correspondence diagram between the tester and the device under test for reference by test personnel for troubleshooting.

[0024] The beneficial technical effect of the present invention is at least that, through this method, relay protection testing does not need to worry about practical issues such as spacing and terminal numbers during the wiring and software configuration stages. It only needs to ensure that the major categories are connected correctly, such as but not limited to voltage, current, small signals, inputs, and outputs. The signal correspondence between the tester and the device under test can all be established by software. Furthermore, test lines of the same major category can be universal, test cases (scripts) can be reused between different devices under test, and pre-test configuration and preparation work can also be greatly simplified by software programs. BRIEF DESCRIPTION OF THE DRAWINGS

[0025] In order to make the contents of the present invention more clearly understood, the present invention is further described in detail below based on specific embodiments in conjunction with the accompanying drawings.

[0026] Figure 1 This is a wiring diagram of a method for building a relay protection test environment provided by the present invention;

[0027] Figure 2 This is another wiring diagram of a method for building a relay protection test environment provided by the present invention;

[0028] Figure 3 This is a flow chart of a method for building a relay protection test environment provided by the present invention. DETAILED DESCRIPTION

[0029] The present application will be further described below in conjunction with the accompanying drawings. The following embodiments are only used to more clearly illustrate the technical solutions of the present invention and are not intended to limit the scope of protection of the present application.

[0030] Embodiment 1 of the present invention provides a method for establishing a relay protection test environment, comprising the following steps:

[0031] Step 1: Connect the paired interfaces of tester 100 and DUT 200, regardless of the channel numbers of the tester and DUT. Whether they are digital, analog, GOOSE, or SV, as long as the tester and DUT interface types are paired, the connections can be made; the terminal order does not affect the test results.

[0032] It should be noted that the interface terminals between the tester and the device under test in the present invention may be physical terminals or virtual terminals.

[0033] In a preferred but non-limiting embodiment of the present invention, each set of paired test interfaces can be connected using the same test line 300, regardless of the specific hardware model.

[0034] Further preferably, the paired interfaces of the tester and the device under test include but are not limited to the following:

[0035] The interfaces of the tester and the device under test are both AC 0~400V;

[0036] The interfaces of the tester and the device under test are both AC 0~300A current;

[0037] The interfaces of the tester and the device under test are both AC small signals;

[0038] The interfaces of the tester and the device under test are both DC small signals;

[0039] The interfaces of the tester and the device under test are both SV;

[0040] Tester input and device under test output;

[0041] Tester input and device under test input;

[0042] Tester GOOSE input and device under test GOOSE output;

[0043] Tester GOOSE output and DUT GOOSE input, etc.

[0044] It's worth noting that conventional analog signals in relay protection applications typically enter the AC plug-in at 0-400V AC voltage and 0-300A AC current. This signal is then converted via a transformer on the AC plug-in into a 0-10V small signal and then input into the bus board of the device under test. During testing, the tester often outputs the small signal directly to the bus board, eliminating the intermediate 0-400V and 0-300A steps. Therefore, the small signal in this context refers to the analog quantity that the device under test can receive during normal operation.

[0045] like Figure 1 As shown, the left side represents the tester's terminals, the right side represents the DUT's terminals, and the center represents the physical or virtual terminal connections. It is understood that the number of terminals on both sides does not need to be the same. To fully test the DUT, the tester should provide more terminals than the DUT. More specifically, the method for rapidly establishing a relay protection test environment according to the present invention requires the following conditions to be met:

[0046] (1) The number of channels that the tester can provide is greater than or equal to the number of channels connected to the terminals of the device under test.

[0047] (2) The number of channels stated in condition 1 does not equal the actual number of terminals. For example, if two open-in contacts share a negative terminal, they are counted as two channels, but there are actually three terminals. Alternatively, if the three-phase voltages A, B, and C are connected in a star configuration with a single neutral point, four terminals are required for the three channels. The same applies to other channel types.

[0048] (3) Each channel of the device under test needs to be connected to a unique channel on the tester. Conventional quantities are connected by wires, digital quantities are connected by virtual terminals, and the link is unobstructed.

[0049] (4) The tester applies a set signal to the device under test, and the tester or test software can receive the response from the device under test.

[0050] Continue to see Figure 1 In one exemplary but non-limiting embodiment, the device under test includes: a device under test analog quantity plug-in 210, a first binary input plug-in 221, a second binary input plug-in 222, and a third binary input plug-in 223. The analog quantity of the device under test is output via the device under test analog quantity plug-in, including four voltages (Ua, Ub, Uc, and Ux) and four currents (Ia, Ib, Ic, and I0). The first binary input plug-in, the second binary input plug-in, and the third binary input plug-in each have four digital inputs. A tester includes: a tester analog quantity plug-in 110, a first binary output plug-in 121, and a second binary output plug-in 122. The tester analog quantity plug-in can provide 12 small signal outputs, and the first binary output plug-in and the second binary output plug-in can each provide 8 digital outputs.

[0051] Use the test line to connect the tester and the device under test to ensure that when each channel of the tester outputs a signal, the device under test can have a unique channel to receive and respond. Figure 1 The lines in the figure are almost parallel on the left and right, but this is not necessary in reality. In many scenarios, "parallel" correspondence cannot be achieved. Because of this, manually configuring a correspondence that conforms to physical reality is very time-consuming and prone to errors. This is also the problem that the present invention focuses on solving.

[0052] It is worth noting that the plug-in type and / or number of terminals of the device under test and the tester in the preferred embodiment of the present invention is only a preferred but non-restrictive embodiment, which is not necessarily consistent with the actual embodiment. Without departing from the core concept of the present invention, technical personnel in the relevant field can choose the plug-in type of the device under test and the tester other than this embodiment, and the number of terminals may also be different.

[0053] It is also important to note that multiple input plug-ins of the device under test can be connected to the same output plug-in of the tester through a bundle of test wires, for example but not limited to, Figure 1 As shown, the first input plug-in and the second input plug-in of the device under test are connected to the first output plug-in of the tester through a bundle of test lines; multiple input plug-ins of the device under test can also be connected to multiple independent output plug-ins of the tester through multiple independent test lines, for example but not limited to, Figure 2 As shown, the second input plug-in of the device under test is connected to the third output plug-in 123 of the tester through an independent test line, and the third input plug-in of the device under test is connected to the second output plug-in of the tester through an independent test line.

[0054] It can be seen from this that since the configuration file is generated in real time based on the actual wiring, the order of terminals and plug-ins does not affect the execution results of subsequent test cases. The method proposed in the present invention has practical significance for the reuse of test scripts and the unification of test lines.

[0055] In step 2, after completing the connection in step 1, command one channel of the tester to output a signal. After receiving a response from the DUT, the program records the corresponding relationship and then commands the tester to output a signal from the next channel, continuing until all channels of the tester have output. In other words, there is no need to manually establish channel associations between the tester and the DUT in the software configuration; the channel associations between the tester and the DUT in the software configuration are automatically established by the software through additions and feedback from the DUT. The concept of intervals exists only in test cases, not in configuration files. Intervals do not need to serve as an intermediate quantity connecting the tester terminals and the DUT terminals; they only have logical and functional significance defined by the DUT.

[0056] Continue to see Figure 1 In a preferred but non-restrictive embodiment of the present invention, after completing the connection in step 1, the program is used to command the tester to output a small signal of a set value on channel 1 of the tester's analog plug-in. At the same time, communication is used to traverse the analog channels of the device under test, detect the channel that receives the signal, record the channel, and assume that it corresponds to channel 1 of the tester's analog plug-in.

[0057] The tester is then instructed to output a small half-scale signal on channel 2 of the analog plug-in until the small signal is completely traversed. Note that the small half-scale signal is only an example and not a limitation. The actual input requirements can be determined based on hardware and logic, as long as the channels with analog input can be distinguished from those without.

[0058] The same is true for switch quantities. The program is used to command the first secondary contact of the first output plug-in of the tester to close, and the communication is used to traverse the switch input channels of the device under test. If a value of 1 is encountered, it is considered that the channel of the device under test has a corresponding relationship with channel 1 of the first output plug-in of the tester. Then the tester is commanded to close the second secondary contact of the first output plug-in until all channels of the first output plug-in and the second output plug-in are traversed.

[0059] If there is no response after a channel output, please refer to Figure 1 For example, channels 5, 10 to 12 of the tester analog plug-in, and channels 5 to 8 of the second output plug-in, it is considered that there is no physical wire or virtual terminal connection between the channel and the device under test.

[0060] Step 3: Write the complete channel correspondence obtained in step 2 into the configuration file of the formal test for the test program to call; and generate a correspondence diagram for the test personnel to refer to and troubleshoot problems.

[0061] In the prior art, Figure 1 、 2 The terminal information on the left and right sides shown can be set by software default or imported from the outside. The corresponding relationship needs to be established by drawing lines in the software interface or manually configuring according to the actual physical or virtual terminal connections. The present invention aims to quickly build a relay protection test environment, allowing each channel of the tester to send signals in turn. The input of the tester requires software to send a message to command the device under test to send a signal. The tester receives feedback and judges and establishes the corresponding relationship between the channels based on this, writes it into the configuration file of the formal test, and generates a corresponding relationship diagram for reference by test personnel for troubleshooting.

[0062] Embodiment 2 of the present invention provides a system for rapidly building a relay protection test environment, which is used to run a method for rapidly building a relay protection test environment, and includes: a tester, a test line, and a configuration file generation module.

[0063] The tester and the device under test have paired interfaces; the number of channels of the tester is greater than or equal to the number of channels connected to the terminals of the device under test; each channel of the device under test needs to be connected to a unique channel on the tester.

[0064] The test line is used to connect the tester and the device under test with a paired interface. A preferred but non-limiting embodiment is that different input plug-ins of the device under test can be connected to the same output plug-in of the tester through a bundle of test lines, for example but not limited to, Figure 1 As shown, the first input plug-in and the second input plug-in of the device under test are connected to the first output plug-in of the tester through a bundle of test lines; multiple input plug-ins of the device under test can also be connected to multiple independent output plug-ins of the tester through multiple independent test lines, for example but not limited to, Figure 2 As shown, the second input plug-in of the device under test is connected to the third output plug-in of the tester through an independent test line, and the third input plug-in of the device under test is connected to the second output plug-in of the tester through an independent test line.

[0065] The configuration file generation module eliminates the need to manually establish channel associations between the tester and the DUT in software configuration. Instead, the software automatically establishes channel associations between the tester and the DUT based on tester input and DUT feedback. Channel associations between the tester and the DUT are not manually created by importing text or by drawing lines in any software interface; rather, they are calculated and assigned by the program.

[0066] The system for quickly building a relay protection test environment also includes: a channel correspondence diagram generation module, which is used to generate a channel correspondence diagram between the tester and the device under test for reference by test personnel for troubleshooting.

[0067] The beneficial technical effect of the present invention is at least that, compared with the prior art, in the preparation stage of the relay protection test, the method for quickly building a relay protection test environment provided by the present invention can enable the tester to automatically detect the terminals of the device under test and establish a mapping, thereby generating the configuration text required for the test case execution process, which contains both the correspondence between the device under test and the tester channel and all the parameters and coefficients required for actual operation. The method is applicable to both conventional analog and switching quantities and digital SV analog quantities and GOOSE switching quantities. Through this method, the relay protection test does not need to worry about practical issues such as spacing and terminal numbers during the wiring and software configuration stages. It only needs to ensure that the major categories are not connected incorrectly, such as but not limited to voltage, current, small signals, input, output, etc. are not connected incorrectly, and the signal correspondence between the tester and the device under test can all be established by software. Further beneficial technical effects are that test lines of the same major category can be universal, test cases (scripts) can be reused between different devices under test, and the configuration and preparation work before the test can also be greatly simplified by software programs.

[0068] The basic principles, main features, and advantages of the present invention are shown and described above. Those skilled in the art should understand that the present invention is not limited to the above embodiments. The above embodiments and descriptions are merely illustrative of the principles of the present invention. Various changes and modifications may be made to the present invention without departing from the spirit and scope of the present invention. Such changes and modifications are intended to fall within the scope of the present invention. The scope of protection claimed in the present invention is defined by the appended claims and their equivalents.

Claims

1. A method for building a relay protection test environment, characterized in that: The following steps are involved: Step 1, connecting paired interfaces of the tester (100) and the device under test (200) without paying attention to the channel serial numbers of the tester and the device under test; Step 2: After completing the connection in step 1, command one channel of the tester to output a signal. After receiving a response from the device under test, the program records the channel correspondence and then commands the tester to output a signal from the next channel, until all channels of the tester have output signals. Manually establishing the channel association between the tester and the device under test in the software configuration is not necessary; the channel association between the tester and the device under test in the software configuration is automatically established by the software through measurement and feedback from the device under test. Step 3: Write the complete channel correspondence obtained in step 2 into the configuration file of the formal test for the test program to call.

2. The method for constructing a relay protection test environment according to claim 1, wherein: In step 1, the paired interface connecting the tester (100) and the device under test (200) includes at least one of a switch quantity paired interface, an analog quantity paired interface, a GOOSE paired interface, and an SV paired interface connecting the tester and the device under test.

3. The method for constructing a relay protection test environment according to claim 1, wherein: In step 1, without paying attention to the specific hardware model, use the same test line to connect the same type of paired interfaces. Multiple plug-ins of the device under test are connected to the same plug-in of the tester through a bundle of test lines; or multiple plug-ins of the device under test are connected to multiple independent plug-ins of the tester through multiple bundles of independent test lines.

4. A method for establishing a relay protection test environment according to any one of claims 1 to 3, characterized in that: In step 2, the interval only exists in the test case, not in the configuration file.

5. A method for establishing a relay protection test environment according to any one of claims 1 to 3, characterized in that: In step 2, if no response is received after a channel of the tester outputs, it is considered that there is no physical wire or virtual terminal connection between the channel and the device under test.

6. A method for constructing a relay protection test environment according to any one of claims 1 to 3, characterized in that: Step 3 also includes: generating a channel correspondence diagram between the tester and the device under test for reference by test personnel for troubleshooting.

7. A system for establishing a relay protection test environment, executing the method for establishing a relay protection test environment according to any one of claims 1 to 6, comprising: Tester, test line and configuration file generation module; characterized in that, The tester and the device under test have paired interfaces; The test line is used to connect the tester and the device under test with a paired interface; The configuration file generation module is used to automatically establish the channel association between the tester and the device under test through the tester input and the feedback of the device under test, without the need to manually establish the channel association between the tester and the device under test in the software configuration.

8. The system for building a relay protection test environment according to claim 7, characterized in that: The number of channels provided by the tester is greater than or equal to the number of channels connected to the terminals of the device under test; The number of channels mentioned does not equal the actual number of terminals; Each channel of the device under test needs to be connected to a unique channel on the tester; The tester applies a set signal to the device under test and receives a response from the device under test.

9. A system for constructing a relay protection test environment according to claim 7 or 8, characterized in that: The system for building a relay protection test environment also includes: a channel correspondence diagram generating module, which is used to generate a channel correspondence diagram between the tester and the device under test for reference by test personnel for troubleshooting.

Citation Information

Patent Citations

  • Relay protection test method and system

    CN106033102A

  • Relay protection testing method based on cloud sharing and system thereof

    CN108549017A

  • Method associating PMU measurement equipment with electrical-network operational data equipment

    CN103400215A

  • Testing method and device of communication device

    CN103580761A