Automatic test system and method for broadband oscillation monitoring control device
By using an automated testing system and precise communication via the CAN protocol, the problem of low efficiency in manual testing of wideband oscillation monitoring and control devices has been solved, achieving efficient and accurate automated testing and defect management, and adapting to the complex testing needs of power systems.
Patent Information
- Application Number
- CN202510923773.5
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2025-07-04
- Publication Date
- 2025-11-18
AI Technical Summary
Existing testing methods for broadband oscillation monitoring and control devices rely on manual operation, which is inefficient and makes it difficult to guarantee the consistency and comprehensiveness of the tests. They cannot meet the needs of large-scale mass production or multiple customized versions, especially in power systems where testing complexity and accuracy requirements are high.
An automated testing system is adopted, including a relay protection tester, auxiliary testing devices, switches, test servers, and a main control server. Through precise communication using the CAN protocol and automated testing tools, it realizes the screening and generation of automated test case libraries, combined with closed-loop management of defect records.
It improves testing efficiency, saves testing costs, enables dynamic adaptation of test cases and automated management of defect records, and reduces testing risks in product upgrades and customized development.
Smart Images

Figure CN120972849A_ABST
Abstract
Description
Technical Field
[0001] This invention belongs to the field of broadband oscillation monitoring and control, and particularly relates to an automatic testing system and method for broadband oscillation monitoring and control devices. Background Technology
[0002] The statements in this section are merely background information related to the present invention and do not necessarily constitute prior art.
[0003] In new power systems, traditional synchronous generators, wind and solar renewable energy sources, flexible AC / DC equipment, and electronic load terminals are interconnected through complex power networks, forming multi-timescale interactions involving mechanical, electrical, magnetic, and control systems. This interaction can induce broadband oscillations ranging from a few Hz to several kHz, seriously threatening equipment safety, system stability, and power quality. It has become a new stability problem and a major technological challenge restricting the development of the power industry. Against this backdrop, broadband oscillation monitoring and control devices are being widely applied in various engineering projects.
[0004] Wideband oscillation monitoring and control devices, as key equipment for addressing this new stability problem, have been applied in numerous engineering projects. However, with the iterative upgrades of embedded software platforms and the customized needs of different application scenarios, the development and testing of such devices have become increasingly complex. Currently, most testing methods rely on manual operation, which is inefficient and makes it difficult to guarantee the consistency and comprehensiveness of the tests. Especially when facing large-scale mass production or multiple customized versions, traditional testing methods often consume a lot of human resources and time, and cannot meet the requirements of rapid response and high reliability in modern power systems.
[0005] Although the concepts and technologies of automated testing have been widely applied in other industries, effective solutions are still lacking in the testing of power systems, especially broadband oscillation monitoring and control devices. This is mainly due to the specialized and complex nature of power equipment testing and the stringent requirements for testing accuracy, making the development of specialized automated testing systems a pressing technical challenge. Summary of the Invention
[0006] In order to solve the technical problems existing in the background art, the present invention provides an automatic testing system and method for a broadband oscillation monitoring and control device, which can greatly improve testing efficiency and save testing costs.
[0007] To achieve the above objectives, the present invention adopts the following technical solution: The first aspect of the present invention provides an automatic test system for a broadband oscillation monitoring and control device.
[0008] An automatic testing system for a broadband oscillation monitoring and control device includes: several relay protection testers, auxiliary testing devices, a switch, a test server, and a main control server; Each of the relay protection testers is connected to a broadband oscillation monitoring and control device under test, and is connected to the main control server through a switch; the auxiliary test device is connected to each broadband oscillation monitoring and control device, and is connected to the main control server through a switch. The test server is connected to the switch and the main control server respectively; the test server is used to obtain the configuration information of each broadband oscillation monitoring and control device through the switch, convert it into a configuration file and transmit it to the main control server. The main control server is used to: automatically filter test cases in the automatic test case library according to the configuration file, then form an automatic test case library suitable for the broadband oscillation monitoring and control device under test, and issue corresponding test simulation quantity sending instructions, and generate test results based on the received DO node information, panel information, LCD display and GOOSE output information of each broadband oscillation monitoring and control device.
[0009] In one implementation, the test server is equipped with a configuration generation tool and is connected to the management plugin of the broadband oscillation monitoring and control device via a switch to obtain the configuration information of the broadband oscillation monitoring and control device. The configuration information is agreed upon through a private CAN protocol to enable precise communication with the MASTER plugin of the device under test.
[0010] As one implementation method, the CAN protocol checksum calculation formula is as follows: ; The computation polynomial for CRC is: , The corresponding binary bit string is: 1 00010000 0010 0001; The formula for calculation is: ; in, For checksum, CRC and It is a hexadecimal number used to verify the message type, length, and parameters; ~ This represents the binary-to-hexadecimal data of each parameter; To discard the four most significant hexadecimal digits.
[0011] In one implementation, the main control server is equipped with an automatic testing tool. The automatic testing tool issues test information based on the automatic test case library. The test information is either a command to send test simulation quantities to the relay protection instrument or DI node information to the auxiliary testing device.
[0012] As one implementation method, the specific process by which the automated testing tool automatically filters the test case library based on the configuration file includes: Configuration file parsing steps: Parse the configuration file and generate structured feature tags; Multi-level filtering steps: Level 1: Load required test cases according to the basic function tags; Level 2: Match external interface use cases based on interface type; Level 3: Supplement monitoring and control function use cases with customized parameters; Prioritization steps: Adjust the execution order of test cases based on the parameter risk level, and test high-risk test cases first; Closed-loop optimization steps: After the test is completed, the automated testing tool automatically optimizes the filtering rule base based on defect records and pass rate data.
[0013] A second aspect of the present invention provides an automatic testing method for a broadband oscillation monitoring and control device.
[0014] An automatic testing method for a broadband oscillation monitoring and control device includes: The test server obtains the configuration information of each broadband oscillation monitoring and control device through the switch, converts it into a configuration file, and then transmits it to the main control server. The main control server automatically filters test cases from the automatic test case library according to the configuration file, and then combines manual and automatic test case filtering methods to form an automatic test case library suitable for the broadband oscillation monitoring and control device under test. The main control server tests each test case in the formed test case library one by one, and sends the corresponding test analog quantity transmission command to the relay protection tester through the switch. After receiving the test analog quantity transmission command, the relay protection tester sends the corresponding analog quantity to the corresponding broadband oscillation monitoring and control device to apply the analog quantity signal required in the test case to the device; at the same time, the auxiliary test device sends the DI node information that needs to be closed in the test case sent by the main control server to the broadband oscillation monitoring and control device. The broadband oscillation monitoring and control device performs broadband oscillation monitoring and control based on the received information, and sends the corresponding DO node information, panel information, LCD display and GOOSE output information to the auxiliary test device, which then sends them to the main control server through a switch. The main control server generates test results based on the received DO node information, panel information, LCD display, and GOOSE output information.
[0015] As one implementation method, the process by which the main control server automatically filters test cases from the automatic test case library based on the configuration file is as follows: After receiving the configuration file transmitted by the test server, the main control server automatically saves it to the path specified by the automatic testing tool; The automated testing tool filters test cases adapted to the broadband oscillation monitoring and control device from the automated test case library according to the configuration file, and classifies the filtered test cases into basic function test cases and external interface test cases; Based on the configuration file, manual selection and improvement of monitoring and control function test cases suitable for broadband oscillation monitoring and control devices are carried out; and the automatically generated basic functions, external interfaces and monitoring and control function test cases are combined to form an automatic test case library suitable for broadband oscillation monitoring and control devices.
[0016] As one implementation method, if the test result of the current test case is consistent with the expected result, the device is reset and the next test case is tested directly.
[0017] As one implementation method, if the test result of the current test case is inconsistent with the expected result, the test defect is automatically updated to the defect record table, and the device is reset to continue testing the next test case until all test cases are completed.
[0018] As one implementation, the defect record table supports multi-dimensional classification and is displayed in real time through the visual interface of the automated testing tool.
[0019] The beneficial effects of this invention are: This invention is applicable to broadband oscillation monitoring and control devices. It can automatically perform testing based on a test case library and automatically generate a defect record table. This method is more accurate and convenient than the previous manual method of recording defects. It can cope with the heavy testing work brought about by product upgrades and customization needs of broadband oscillation monitoring and control devices, and can greatly improve testing efficiency and save testing costs.
[0020] The CAN protocol verification method proposed in this invention boasts high accuracy, simple and fast calculation, and enhanced reliability. By collaborating with configuration generation tools and automated testing tools, this invention achieves dynamic adaptation of test cases, automated generation of defect records, and closed-loop management, addressing the pain points of low efficiency and difficulty in defect tracking inherent in existing manual testing technologies. In particular, the automatic defect recording function of the automated testing tool, through the combination of a logical judgment module and a structured database, makes defect management more standardized and traceable, significantly reducing testing risks in product upgrades and customized development.
[0021] Advantages of additional aspects of the invention will be set forth in part in the description which follows, and in part will be obvious from the description, or may be learned by practice of the invention. Attached Figure Description
[0022] The accompanying drawings, which form part of this invention, are used to provide a further understanding of the invention. The illustrative embodiments of the invention and their descriptions are used to explain the invention and do not constitute an improper limitation of the invention.
[0023] Figure 1 This is a schematic diagram of the automatic test system structure for a broadband oscillation monitoring and control device according to an embodiment of the present invention; Figure 2 This is a flowchart of an automatic testing method for a broadband oscillation monitoring and control device according to an embodiment of the present invention. Detailed Implementation
[0024] The present invention will be further described below with reference to the accompanying drawings and embodiments.
[0025] It should be noted that the following detailed description is illustrative and intended to provide further explanation of the invention. Unless otherwise specified, all technical and scientific terms used herein have the same meaning as commonly understood by one of ordinary skill in the art to which this invention pertains.
[0026] It should be noted that the terminology used herein is for the purpose of describing particular embodiments only and is not intended to limit the scope of exemplary embodiments according to the invention. As used herein, the singular form is intended to include the plural form as well, unless the context clearly indicates otherwise. Furthermore, it should be understood that when the terms "comprising" and / or "including" are used in this specification, they indicate the presence of features, steps, operations, devices, components, and / or combinations thereof.
[0027] according to Figure 1 As shown in the figure, an automatic test system for a broadband oscillation monitoring and control device according to an embodiment of the present invention includes: a plurality of relay protection testers, auxiliary test devices, switches, test servers and main control servers; Each of the relay protection testers is connected to a broadband oscillation monitoring and control device under test, and is connected to the main control server through a switch; the auxiliary test device is connected to each broadband oscillation monitoring and control device, and is connected to the main control server through a switch. The test server is connected to the switch and the main control server respectively; the test server is used to obtain the configuration information of each broadband oscillation monitoring and control device through the switch, convert it into a configuration file and transmit it to the main control server. The main control server is used to: automatically filter test cases in the automatic test case library according to the configuration file, then form an automatic test case library suitable for the broadband oscillation monitoring and control device under test, and issue corresponding test simulation quantity sending instructions, and generate test results based on the received DO node information, panel information, LCD display and GOOSE output information of each broadband oscillation monitoring and control device.
[0028] The number of relay protection testers here can be set according to the actual situation. For example, in this embodiment, the number is 8. The relay protection testers are used to obtain the test analog quantity transmission instructions issued by the main control server through the switch and send the corresponding analog quantity to the corresponding broadband oscillation monitoring and control device, i.e., the device under test. The auxiliary testing device is used to obtain the DI node information in the test cases issued by the main control server through the switch and send it to each broadband oscillation monitoring and control device. It is also used to upload the DO node information, panel information, LCD display and GOOSE output information of each broadband oscillation monitoring and control device to the main control server through the switch.
[0029] In this embodiment, the wideband oscillation monitoring and control device includes a CPU plugin, an AI plugin, a GOOSE plugin, a management plugin, a DI plugin, and a DO plugin.
[0030] The auxiliary testing device integrates a DI plug-in, a DO plug-in, and a management plug-in. The DI plug-in connects to the DO plug-in of each broadband oscillation monitoring and control device to transmit DO node information to the main control server. The DO plug-in connects to the DI plug-in of each broadband oscillation monitoring and control device to send the DI node information that needs to be closed in the test case to each broadband oscillation monitoring and control device. The management plug-in connects to the management plug-in and GOOSE plug-in of each broadband oscillation monitoring and control device to transmit the panel information, LCD display, and GOOSE output information of each broadband oscillation monitoring and control device to the main control server.
[0031] The test server is equipped with CPC configuration generation tool software and is connected to the management plug-in of the broadband oscillation monitoring and control device via a switch to obtain the configuration information of the broadband oscillation monitoring and control device, including: setpoint A, device parameters B, input C, output D, analog quantity E, print information F, panel information G, and operating condition H. The configuration information A to H is agreed upon through a private CAN protocol to enable precise communication with the MASTER plug-in of the device under test.
[0032] In this embodiment, the CAN protocol checksum calculation formula is as follows: ; The computation polynomial for CRC is: , The corresponding binary bit string is: 1 00010000 0010 0001; The formula for calculation is: ; in, For checksum, CRC and It is a hexadecimal number used to verify the message type, length, and parameters; ~ This represents the binary-to-hexadecimal data of each parameter; To discard the four most significant hexadecimal digits.
[0033] In this embodiment, after the configuration generation tool software CPC issues a configuration call message, the MASTER plugin of the device under test sends one categorized configuration information message every 100ms. CPC replies to the received configuration information messages one by one and recalculates the checksum. When the MASTER plugin does not receive a reply from CPC, it continuously sends 8 configuration information messages until it receives a reply from CPC. If it still does not receive a reply from CPC after sending 8 configuration information messages, the MASTER plugin issues an error alarm to notify the tester. When the checksum calculated by CPC for the configuration information message is inconsistent with the checksum in the received message, CPC issues an error alarm to notify the tester.
[0034] Preferably, the specific process by which the test server obtains configuration information through CPC software includes: CPC software sending a configuration call command to the MASTER plugin of the device under test through a private CAN protocol; the MASTER plugin returning categorized configuration information messages at 100ms intervals; the verified configuration information is parsed by multiple threads, matched with a configuration file template according to the device model, and the final configuration file is generated by integrating user-defined parameters; after the configuration file passes the logical conflict detection, version information is added and transmitted to the main control server to complete the automated configuration adaptation.
[0035] In this embodiment, the main control server is equipped with an automatic testing tool (such as WF-ATP). The automatic testing tool issues test information based on the automatic test case library. The test information is either a command to send test simulation quantities to the relay protection instrument or DI node information to the auxiliary testing device.
[0036] Specifically, the process by which the WF-ATP software automatically filters the use case library based on the configuration file includes: Configuration file parsing: The WF-ATP software parses parameters such as set values, plugin types, and interface definitions in the configuration file and generates structured feature tags; Multi-level filtering: Level 1: Load required test cases according to basic function tags (such as frequency monitoring, oscillation suppression); Level 2: Dynamically match external interface use cases based on interface type (e.g., GOOSE, DI / DO); Level 3: Supplement monitoring and control function use cases by combining customized parameters (such as special set values and user rules); Priority sorting: Adjust the execution order of test cases based on the risk level of parameters (such as high-frequency monitoring flags), and test high-risk test cases are tested first; Closed-loop optimization: After the test is completed, the WF-ATP software automatically optimizes the filtering rule base based on defect records and pass rate data to improve the efficiency of subsequent tests.
[0037] according to Figure 2 An automatic testing method for a broadband oscillation monitoring and control device according to an embodiment of the present invention includes: Step 1: The test server obtains the configuration information of each broadband oscillation monitoring and control device through the switch, converts it into a configuration file, and then transmits it to the main control server. For example, the test server uses the configuration generation tool software CPC to automatically convert the obtained configuration information of the broadband oscillation monitoring and control device into a configuration file and transmits it to the main control server via Ethernet.
[0038] Step 2: The main control server automatically filters test cases from the automatic test case library according to the configuration file, and then combines manual and automatic test case filtering methods to form an automatic test case library suitable for the broadband oscillation monitoring and control device under test; Specifically, the process by which the main control server automatically selects test cases from the automatic test case library based on the configuration file is as follows: After receiving the configuration file transmitted by the test server, the main control server automatically saves it to the path specified by the automatic testing tool; The automated testing tool filters test cases adapted to the broadband oscillation monitoring and control device from the automated test case library according to the configuration file, and classifies the filtered test cases into basic function test cases and external interface test cases; Based on the configuration file, manual selection and improvement of monitoring and control function test cases suitable for broadband oscillation monitoring and control devices are carried out; and the automatically generated basic functions, external interfaces and monitoring and control function test cases are combined to form an automatic test case library suitable for broadband oscillation monitoring and control devices.
[0039] Step 3: The main control server tests each test case in the formed test case library one by one, and sends the corresponding test analog quantity transmission command to the relay protection tester through the switch. After receiving the test analog quantity transmission command, the relay protection tester sends the corresponding analog quantity to the corresponding broadband oscillation monitoring and control device to apply the analog quantity signal required in the test case to the device; at the same time, the auxiliary test device sends the DI node information that needs to be closed in the test case sent by the main control server to the broadband oscillation monitoring and control device. Step 4: The broadband oscillation monitoring and control device performs broadband oscillation monitoring and control based on the received information, and sends the corresponding DO node information, panel information, LCD display and GOOSE output information to the auxiliary test device, which then sends them to the main control server through the switch. Step 5: The main control server generates test results based on the received DO node information, panel information, LCD display, and GOOSE output information.
[0040] If the test result of the current test case is consistent with the expected result, the next test case will be tested directly after the device is reset.
[0041] If the test result of the current test case is inconsistent with the expected result, the test defect will be automatically updated to the defect record table, and the device will be reset to continue testing the next test case until all test cases are completed.
[0042] The defect record table supports multi-dimensional classification (such as functional modules, defect levels, and repair status) and is displayed in real time through the visual interface of the automatic testing tool.
[0043] The above description is merely a preferred embodiment of the present invention and is not intended to limit the invention. Various modifications and variations can be made to the present invention by those skilled in the art. Any modifications, equivalent substitutions, improvements, etc., made within the spirit and principles of the present invention should be included within the scope of protection of the present invention.
Claims
1. An automatic testing system for a broadband oscillation monitoring and control device, characterized in that, include: Several relay protection testers, auxiliary test devices, switches, test servers and main control servers; Each of the relay protection testers is connected to a broadband oscillation monitoring and control device under test, and is connected to the main control server through a switch; the auxiliary test device is connected to each broadband oscillation monitoring and control device, and is connected to the main control server through a switch. The test server is connected to the switch and the main control server respectively; the test server is used to obtain the configuration information of each broadband oscillation monitoring and control device through the switch, convert it into a configuration file and transmit it to the main control server. The main control server is used to: automatically filter test cases in the automatic test case library according to the configuration file, then form an automatic test case library suitable for the broadband oscillation monitoring and control device under test, and issue corresponding test simulation quantity sending instructions, and generate test results based on the received DO node information, panel information, LCD display and GOOSE output information of each broadband oscillation monitoring and control device.
2. The automatic test system for a broadband oscillation monitoring and control device as described in claim 1, characterized in that, The test server is equipped with a configuration generation tool and is connected to the management plugin of the broadband oscillation monitoring and control device via a switch to obtain the configuration information of the broadband oscillation monitoring and control device. The configuration information is agreed upon through a private CAN protocol to enable precise communication with the MASTER plugin of the device under test.
3. The automatic test system for a broadband oscillation monitoring and control device as described in claim 2, characterized in that, The formula for calculating the checksum of the CAN protocol is as follows: ; The computation polynomial for CRC is: , The corresponding binary bit string is: 1 0001 00000010 0001; The formula for calculation is: ; in, For checksum, CRC and It is a hexadecimal number used to verify the message type, length, and parameters; ~ This represents the binary-to-hexadecimal data of each parameter; To discard the four most significant hexadecimal digits.
4. The automatic test system for a broadband oscillation monitoring and control device as described in claim 1, characterized in that, The main control server is equipped with an automatic testing tool. The automatic testing tool issues test information based on the automatic test case library. The test information is either a command to send test simulation quantities to the relay protection instrument or DI node information to the auxiliary testing device.
5. The automatic test system for a broadband oscillation monitoring and control device as described in claim 4, characterized in that, The specific process by which the automated testing tool automatically filters the test case library based on the configuration file includes: Configuration file parsing steps: Parse the configuration file and generate structured feature tags; Multi-level filtering steps: Level 1: Load required test cases according to the basic function tags; Level 2: Match external interface use cases based on interface type; Level 3: Supplement monitoring and control function use cases by incorporating customized parameters; Prioritization steps: Adjust the execution order of test cases based on the parameter risk level, and test high-risk test cases first; Closed-loop optimization steps: After the test is completed, the automated testing tool automatically optimizes the filtering rule base based on defect records and pass rate data.
6. A test method for an automatic test system for a broadband oscillation monitoring and control device based on any one of claims 1-5, characterized in that, include: The test server obtains the configuration information of each broadband oscillation monitoring and control device through the switch, converts it into a configuration file, and then transmits it to the main control server. The main control server automatically filters test cases from the automatic test case library according to the configuration file, and then combines manual and automatic test case filtering methods to form an automatic test case library suitable for the broadband oscillation monitoring and control device under test. The main control server tests each test case in the formed test case library one by one, and sends the corresponding test analog quantity transmission command to the relay protection tester through the switch. After receiving the test analog quantity transmission command, the relay protection tester sends the corresponding analog quantity to the corresponding broadband oscillation monitoring and control device to apply the analog quantity signal required in the test case to the device; at the same time, the auxiliary test device sends the DI node information that needs to be closed in the test case sent by the main control server to the broadband oscillation monitoring and control device. The broadband oscillation monitoring and control device performs broadband oscillation monitoring and control based on the received information, and sends the corresponding DO node information, panel information, LCD display and GOOSE output information to the auxiliary test device, which then sends them to the main control server through a switch. The main control server generates test results based on the received DO node information, panel information, LCD display, and GOOSE output information.
7. The test method as described in claim 6, characterized in that, The process by which the master control server automatically selects test cases from the automated test case library based on the configuration file is as follows: After receiving the configuration file transmitted by the test server, the main control server automatically saves it to the path specified by the automatic testing tool; The automated testing tool filters test cases adapted to the broadband oscillation monitoring and control device from the automated test case library according to the configuration file, and classifies the filtered test cases into basic function test cases and external interface test cases; Based on the configuration file, manual selection and improvement of monitoring and control function test cases suitable for broadband oscillation monitoring and control devices are carried out; and the automatically generated basic functions, external interfaces and monitoring and control function test cases are combined to form an automatic test case library suitable for broadband oscillation monitoring and control devices.
8. The test method as described in claim 6, characterized in that, If the test result of the current test case is consistent with the expected result, the next test case will be tested directly after the device is reset.
9. The test method as described in claim 6, characterized in that, If the test result of the current test case is inconsistent with the expected result, the test defect will be automatically updated to the defect record table, and the device will be reset to continue testing the next test case until all test cases are completed.
10. The test method as described in claim 9, characterized in that, The defect record table supports multi-dimensional classification and is displayed in real time through the visual interface of the automated testing tool.
Citation Information
Patent Citations
Automatic testing system and method for intelligent substation bay devices
CN102291277A
Automatic testing system and method for relay protection measuring and controlling device
CN103412558A
Closed-loop test method and system for new energy broadband oscillation monitoring protection device
CN117269637A
Plug-in test system and method of relay protection device
CN118625007A
Distributed relay protection automatic test system, method, device, equipment and medium
CN119471111A