Relay protection equipment test system and method

By designing a test system for relay protection equipment, including test platform module, data forwarding module and equipment testing module, the problem of low testing efficiency and accuracy of relay protection equipment is solved, and efficient and accurate test results are achieved.

CN119689106AActive Publication Date: 2025-03-25CHINA SOUTHERN POWER GRID COMPANY
View PDF 3 Cites 0 Cited by

Patent Information

Application Number
CN202411728731.8
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2024-11-28
Publication Date
2025-03-25
Estimated Expiration
2044-11-28

AI Technical Summary

Technical Problem

The test efficiency of relay protection equipment is low and has low accuracy, making it difficult to quickly and accurately determine the fault condition and perform the removal operation when the power system fails.

Method used

A test system for relay protection equipment is designed, including a test platform module, a data forwarding module and a device testing module. The initial test data is collected through the equipment test module, the data forwarding module performs data conversion processing, generates test data to be analyzed, and performs data analysis based on the multi-task processing mechanism through the test platform module to determine the test results.

Benefits of technology

It improves the testing efficiency and accuracy of relay protection equipment, can process multiple test data to be analyzed simultaneously, and optimizes resource utilization and analysis efficiency.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN119689106A_ABST
    Figure CN119689106A_ABST
Patent Text Reader

Abstract

The invention discloses a system and a method for testing relay protection equipment. The system comprises an equipment test module which is connected with a data forwarding module and is used for collecting initial test data fed back when the relay protection equipment executes at least one test task and uploading the initial test data to the data forwarding module; the data forwarding module is connected with the test platform module and is used for receiving the initial test data, performing data conversion processing on the initial test data to obtain to-be-analyzed test data and sending the to-be-analyzed test data to the test platform module; and the test platform module is used for performing data analysis on the received to-be-analyzed test data based on a multi-task processing mechanism to obtain a data analysis result, and determining a test result corresponding to the relay protection equipment based on the data analysis result. The automatic test of the relay protection equipment is realized, and the test efficiency and accuracy of the relay protection equipment are improved.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present invention relates to the field of automated testing technology, and in particular to a testing system and method for relay protection equipment. Background Art

[0002] Relay protection devices play an indispensable role in the safe and stable operation of power systems.

[0003] When a fault occurs in the power system, the relay protection device must be able to quickly and accurately identify the fault situation at the first time, issue an alarm signal in time, and automatically perform the operation of removing the fault to minimize the damage caused by the fault to the operating equipment in the system, and reduce the negative impact of the fault on the entire power system, thereby maintaining the normal operation order of the power system. Therefore, in order to ensure that the relay protection equipment always maintains the correctness and reliability of its work during the long-term operation process, it has become a vital task to carry out comprehensive and in-depth testing work in a targeted manner at each key stage of the device's research and development, production, installation, and operation. Summary of the invention

[0004] The present invention provides a testing system and method for relay protection equipment, so as to ensure that the relay protection equipment always maintains working correctness and reliability during long-term operation.

[0005] According to one aspect of the present invention, a test system for relay protection equipment is provided, the system comprising: a test platform module, a data forwarding module and an equipment test module; wherein:

[0006] The equipment testing module is connected to the data forwarding module and is used to collect initial test data fed back from the relay protection device executing at least one test task, and upload the initial test data to the data forwarding module;

[0007] The data forwarding module is connected to the test platform module, and is used to receive the initial test data, perform data conversion processing on the initial test data to obtain the test data to be analyzed, and send the test data to be analyzed to the test platform module;

[0008] The test platform module is used to perform data analysis on the received test data to be analyzed based on a multi-task processing mechanism to obtain a data analysis result, and determine a test result corresponding to the relay protection device based on the data analysis result.

[0009] According to another aspect of the present invention, a test method for a relay protection device is provided. The method is applied to a test system for a relay protection device. The test of the relay protection device includes: a test platform module, a data forwarding module and a device test module. The test method for the relay protection device includes:

[0010] Collecting initial test data fed back by the relay protection device executing at least one test task through the device test module, and uploading the initial test data to the data forwarding module;

[0011] The data forwarding module receives the initial test data, performs data conversion processing on the initial test data to obtain the test data to be analyzed, and sends the test data to be analyzed to the test platform module;

[0012] The test platform module performs data analysis on the received test data to be analyzed based on a multi-task processing mechanism to obtain a data analysis result, and determines a test result corresponding to the relay protection device based on the data analysis result.

[0013] According to another aspect of the present invention, an electronic device is provided, the electronic device comprising:

[0014] at least one processor; and

[0015] a memory communicatively connected to the at least one processor; wherein,

[0016] The memory stores a computer program executable by the at least one processor, and the computer program is executed by the at least one processor so that the at least one processor can execute the test method for the relay protection device described in any embodiment of the present invention.

[0017] According to another aspect of the present invention, a computer-readable storage medium is provided, wherein the computer-readable storage medium stores computer instructions, and the computer instructions are used to enable a processor to implement the test method for a relay protection device according to any embodiment of the present invention when executed.

[0018] The technical solution of the embodiment of the present invention is connected with the data forwarding module through the device test module, which is used to collect the initial test data fed back by the relay protection device when executing at least one test task, and upload the initial test data to the data forwarding module; the initial test data generated during the execution of the test task is collected in real time, ensuring the accuracy and timeliness of the data; then, the data forwarding module is connected with the test platform module, which is used to receive the initial test data, perform data conversion processing on the initial test data to obtain the test data to be analyzed, and send the test data to be analyzed to the test platform module; the initial test data is converted to obtain the test data to be analyzed with a unified format and easy to analyze, which provides convenience for subsequent data analysis; finally, the test platform module is used to perform data analysis on the received test data to be analyzed based on a multi-task processing mechanism to obtain a data analysis result, and determine the test result corresponding to the relay protection device based on the data analysis result. It can process multiple test data to be analyzed at the same time, which improves the efficiency and throughput of data analysis. It solves the problem of low test efficiency and low accuracy of relay protection equipment, and achieves the beneficial effect of improving the test efficiency and accuracy of relay protection equipment.

[0019] It should be understood that the contents described in this section are not intended to identify the key or important features of the embodiments of the present invention, nor are they intended to limit the scope of the present invention. Other features of the present invention will become easily understood through the following description. BRIEF DESCRIPTION OF THE DRAWINGS

[0020] In order to more clearly illustrate the technical solutions in the embodiments of the present invention, the drawings required for use in the description of the embodiments will be briefly introduced below. Obviously, the drawings described below are only some embodiments of the present invention. For ordinary technicians in this field, other drawings can be obtained based on these drawings without creative work.

[0021] Figure 1 is a structural schematic diagram of a test system for relay protection equipment provided according to Embodiment 1 of the present invention;

[0022] Figure 2a is a structural schematic diagram of a test system for relay protection equipment provided according to Embodiment 2 of the present invention;

[0023] Figure 2b is a schematic structural diagram of an optional example of a test system for relay protection equipment provided in Embodiment 2 of the present invention;

[0024] Figure 2c is a structural schematic diagram of a test platform layer of an optional example of a test system for relay protection equipment provided according to Embodiment 2 of the present invention;

[0025] Figure 2d is a structural schematic diagram of a high-speed communication architecture of an optional example of a test system for a relay protection device provided in accordance with Embodiment 2 of the present invention;

[0026] Figure 2e is a sample flow chart of processor communication of an optional example of a test system for relay protection equipment provided in accordance with the second embodiment of the present invention;

[0027] Figure 3 is a flow chart of a method for testing a relay protection device provided in accordance with a third embodiment of the present invention;

[0028] Figure 4 It is a structural schematic diagram of an electronic device for implementing the test method of the relay protection device of the embodiment of the present invention. DETAILED DESCRIPTION

[0029] In order to enable those skilled in the art to better understand the scheme of the present invention, the technical scheme in the embodiments of the present invention will be clearly and completely described below in conjunction with the drawings in the embodiments of the present invention. Obviously, the described embodiments are only 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 ordinary technicians in this field without creative work should fall within the scope of protection of the present invention.

[0030] It should be noted that the terms "first", "second", etc. in the specification and claims of the present invention and the above-mentioned drawings are used to distinguish similar objects, and are not necessarily used to describe a specific order or sequence. It should be understood that the data used in this way can be interchanged where appropriate, so that the embodiments of the present invention described herein can be implemented in an order other than those illustrated or described herein. In addition, the terms "including" and "having" and any variations thereof are intended to cover non-exclusive inclusions, for example, a process, method, system, product or device that includes a series of steps or units is not necessarily limited to those steps or units that are clearly listed, but may include other steps or units that are not clearly listed or inherent to these processes, methods, products or devices.

[0031] Embodiment 1

[0032] Figure 1 A structural diagram of a test system for a relay protection device is provided for the first embodiment of the present invention. Figure 1 As shown, the system includes: a test platform module 110 , a data forwarding module 120 and a device test module 130 .

[0033] Among them, the equipment testing module 110 is connected to the data forwarding module 120, and is used to collect initial test data fed back by the relay protection device when executing at least one test task, and upload the initial test data to the data forwarding module 120; the data forwarding module 120 is connected to the test platform module 130, and is used to receive the initial test data, perform data conversion processing on the initial test data to obtain test data to be analyzed, and send the test data to be analyzed to the test platform module 130; the test platform module 130 is used to perform data analysis on the received test data to be analyzed based on a multi-task processing mechanism to obtain data analysis results, and determine the test results corresponding to the relay protection device based on the data analysis results.

[0034] Among them, the test task can be understood as the test task for the relay protection device issued by the receiving interactive interface. The initial test data can be understood as the test data to be analyzed can be understood as the original data directly generated by the device under test (such as the relay protection device) when executing a specific test task during the equipment test process without any processing or conversion. The test data to be analyzed can be understood as the test data that is waiting for data analysis after data processing.

[0035] Specifically, the equipment test module collects the initial test data fed back by the relay protection device after executing a series of test tasks. The initial test data is uploaded to the data forwarding module. Among them, the initial test data may include key information such as current, voltage, switch state, and fault indication. The data forwarding module is responsible for receiving the initial test data from the equipment test module, and performing a series of preprocessing operations on the initial test data, such as data cleaning, format conversion, data verification, etc., to obtain the test data to be analyzed. The test platform module starts the data analysis process based on the multi-task processing mechanism, which may include multiple steps such as data preprocessing, feature extraction, model training, and predictive analysis. To extract the target information related to the performance, status or behavior of the relay protection device, so as to carry out subsequent evaluation and decision-making. After in-depth analysis, the test platform module generates data analysis results. The data analysis results may be presented in the form of charts, reports, and logs, and contain detailed information on equipment performance, failure mode, potential risks, etc. Based on the data analysis results, the test results corresponding to the relay protection device are further determined. The test results may include the qualified / unqualified status of the equipment, performance level, fault type and location, etc.

[0036] Optionally, the test platform module includes a priority determination unit, a data division unit, a data analysis unit and a test result determination unit, wherein the priority determination unit is used to determine the time priority corresponding to each test task respectively when receiving the test data to be analyzed fed back by the relay protection device when executing multiple test tasks; the data division unit is used to divide the test data to be analyzed fed back by multiple test tasks into first data to be analyzed and second data to be analyzed based on the time priority and a preset time priority division threshold; the data analysis unit is used to analyze the first data to be analyzed based on the first processor to obtain a first data analysis result, and to perform data analysis on the second data to be analyzed based on the second processor to obtain a second data analysis result; the test result determination unit is used to determine the test result corresponding to the relay protection device based on the first data analysis result and the second data analysis result.

[0037] The first data to be analyzed may be understood as data to be analyzed for a non-real-time task, and the second data to be analyzed may be understood as data to be analyzed for a real-time task.

[0038] Specifically, when the priority determination unit receives the test data to be analyzed fed back after the relay protection device executes multiple test tasks, it determines a time priority for each test task. The time priority can be set based on factors such as the urgency, importance, and expected completion time of the test task. Each test task is evaluated based on a preset priority evaluation rule and a corresponding priority value is assigned to it. The priority value can be a number, a level, or a category for subsequent data division and processing. The test data to be analyzed fed back by the multiple test tasks are divided into first data to be analyzed and second data to be analyzed by the data division unit based on the time priority provided by the priority determination unit and the preset time priority division threshold. Ensure that the test data with high priority can be processed and analyzed first. Compare the time priority of each test task with the preset threshold. If the time priority is higher than or equal to the threshold, the corresponding test data is divided into the first data to be analyzed; if the time priority is lower than the threshold, the corresponding test data is divided into the second data to be analyzed. The data analysis unit uses different processors to check the divided data to be analyzed for data analysis. For the first data to be analyzed, the first processor core is used to analyze and obtain the first data analysis result; for the second data to be analyzed, the second processor core is used to analyze and obtain the second data analysis result. Ensure that high-priority tasks can be processed faster. The data analysis unit may include multiple data processing channels or threads, each of which is associated with a specific processor core. When the data to be analyzed is received, the unit will assign it to the corresponding processing channel or thread for processing according to the category of the data (the first or second data to be analyzed). The test result determination unit determines the test result corresponding to the relay protection device based on the first data analysis result and the second data analysis result provided by the data analysis unit. Finally, a test result report will be generated, which lists the results of each test task and the overall evaluation in detail.

[0039] In an embodiment of the present invention, the test platform module can efficiently process and analyze data from multiple test tasks of the relay protection device, ensuring that high-priority tasks are given priority, while optimizing resource utilization and improving analysis efficiency.

[0040] Optionally, the first processor core and the second processor core are integrated into one processor. The first processor core and the second processor core perform data exchange based on an asymmetric multi-processing framework.

[0041] Optionally, the test platform module includes a report display unit, wherein the report display unit is used to generate a test report based on the test result after determining the test result corresponding to the relay protection device, and display the test report.

[0042] Specifically, after the test platform module completes the data analysis of all test tasks and determines the test results corresponding to the relay protection equipment, the report display unit will automatically generate a test report based on the test results. This report may include the test task, test data, data analysis results, and test result summary. The generated test report is displayed to the user through the interactive interface.

[0043] In the embodiment of the present invention, the report display unit is responsible for generating and displaying the test report, so that the user can clearly and intuitively view the results of the test process, thereby improving the user's usage experience.

[0044] Optionally, the system further includes a time calibration module; wherein,

[0045] The time calibration module is used to determine initial acquisition time data corresponding to the initial test data, and calibrate the initial acquisition time data based on a time calibrator to obtain target acquisition time data corresponding to the initial test data.

[0046] The initial acquisition time data may be understood as the time data for acquiring the initial test data, and the target acquisition time data may be understood as the time data for acquiring the initial test data after calibration.

[0047] Specifically, the time calibration module obtains the initial acquisition time data associated with the initial test data from the device test module or the data forwarding module. The initial acquisition time data records the specific time when the test data is collected. The initial acquisition time data is calibrated based on the built-in time calibrator. Time errors caused by device clock deviations, network delays or other factors are eliminated to ensure the accuracy and consistency of time data. After calibration, the time calibration module generates target acquisition time data corresponding to the initial test data. Among them, the time calibration module may include one or more time calibrators for providing a standard time reference, which may maintain their accuracy by regularly synchronizing with an external time source (such as a network time server).

[0048] In the embodiment of the present invention, the time calibration module can eliminate the time error caused by the device clock deviation or other factors, thereby improving the accuracy of the time data. The calibrated time data can be kept consistent throughout the system, which helps to ensure the accuracy and reliability of tasks such as data analysis and test report generation. The time calibration module provides the necessary time reference and calibration functions.

[0049] Optionally, the test platform module includes an instruction set processor, and the data forwarding module includes an FPGA logic processor; the instruction set processor and the FPGA logic processor are connected via a PCIe communication bus.

[0050] The instruction set processor may be used to process preset instructions, and further, may be used to process instructions whose length is less than or equal to a preset length.

[0051] Optionally, the device testing module includes a power amplifier, in which a current power device and a voltage power device are integrated; the data forwarding module also includes a digital-to-analog converter and an analog-to-digital converter; the power amplifier is respectively connected to the digital-to-analog converter and the analog-to-digital converter.

[0052] The technical solution of the embodiment of the present invention is connected with the data forwarding module through the device test module, which is used to collect the initial test data fed back by the relay protection device when executing at least one test task, and upload the initial test data to the data forwarding module; the initial test data generated during the execution of the test task is collected in real time, ensuring the accuracy and timeliness of the data; then, the data forwarding module is connected with the test platform module, which is used to receive the initial test data, perform data conversion processing on the initial test data to obtain the test data to be analyzed, and send the test data to be analyzed to the test platform module; the initial test data is converted to obtain the test data to be analyzed with a unified format and easy to analyze, which provides convenience for subsequent data analysis; finally, the test platform module is used to perform data analysis on the received test data to be analyzed based on a multi-task processing mechanism to obtain a data analysis result, and determine the test result corresponding to the relay protection device based on the data analysis result. It can process multiple test data to be analyzed at the same time, which improves the efficiency and throughput of data analysis. It solves the problem of low test efficiency and low accuracy of relay protection equipment, and achieves the beneficial effect of improving the test efficiency and accuracy of relay protection equipment.

[0053] Embodiment 2

[0054] Figure 2a A structural schematic diagram of a test system for a relay protection device provided in Embodiment 2 of the present invention. This embodiment is optimized on the basis of the above-mentioned embodiment. The test system for the relay protection device provided in this embodiment includes: a test platform module 210, a data forwarding module 220, a transmission strategy determination module 230 and a device test module 240.

[0055] Among them, the transmission strategy determination module 230 is used to obtain the first network status data, determine the data type of the test data to be analyzed for each test data to be analyzed, determine the transmission priority corresponding to the test data to be analyzed based on the data type, and determine the initial data transmission strategy corresponding to the test data to be analyzed based on the transmission priority and the first network status data, wherein the network status data includes at least one of network delay, packet loss rate and bandwidth utilization.

[0056] The transmission priority can be understood as a policy level for setting different transmission priority levels according to the importance and urgency of the test data to be analyzed. The first network status data can be understood as historical network status data.

[0057] Specifically, the transmission strategy determination module obtains network status data in real time from the network monitoring system or the network status data source, including key indicators such as network delay, packet loss rate and bandwidth utilization. For each test data to be transmitted, identify its data type, such as binary files. Different data types have different requirements for network performance, so it is necessary to formulate a transmission strategy based on the data type. Based on the data type and business needs, a transmission priority will be assigned to each test data to be analyzed. The priority may be determined based on factors such as the real-time nature, importance, file size and user request of the data. Combined with the transmission priority and the first network status data, an initial data transmission strategy is formulated. The initial data transmission strategy includes adjustment of the transmission rate, use of data compression, selection of the transmission protocol, data segmentation and parallel transmission, etc.

[0058] In the embodiment of the present invention, by dynamically adjusting the transmission strategy, network resources are more effectively utilized to ensure the priority transmission of key data, while reducing network congestion and bandwidth waste. By selecting the appropriate transmission rate, compression method and transmission protocol, the delay of data transmission and bandwidth occupancy can be reduced, and the overall efficiency of data transmission can be improved.

[0059] Optionally, the system further includes a transmission strategy adjustment module, wherein:

[0060] The transmission strategy adjustment module is used to obtain second network status data, and adjust the initial data transmission strategy based on the second network status data to obtain a target data transmission strategy corresponding to the test data to be analyzed.

[0061] The second network status data can be understood as real-time network status data. The target data transmission strategy can be understood as the adjusted data transmission strategy.

[0062] Specifically, according to the real-time situation of network bandwidth, the data transmission rate is dynamically adjusted to avoid network congestion and data loss. According to the size of the data packet and the network delay, it is decided whether to split the data into smaller data packets for transmission to reduce the packet loss rate and improve the transmission efficiency. When data packet loss occurs, the retransmission strategy is adjusted according to the real-time status of the network, such as the number of retransmissions and the retransmission interval, to ensure the integrity of the data. Different transmission priorities are set for different data packets according to the urgency and importance of the data to ensure that key data can be transmitted first.

[0063] In the embodiment of the present invention, by comprehensively considering the real-time network status data and the initial data transmission strategy, the transmission strategy adjustment module can generate a target data transmission strategy corresponding to the test data to be analyzed. Optimizing data transmission under the current network environment helps to improve the efficiency and reliability of data transmission and reduce the risk of network congestion and data loss.

[0064] The technical solution of the embodiment of the present invention obtains the first network status data through a transmission strategy determination unit, determines the data type of the test data to be analyzed for each test data to be analyzed, determines the transmission priority corresponding to the test data to be analyzed based on the data type, and determines the initial data transmission strategy corresponding to the test data to be analyzed based on the transmission priority and the first network status data. The process of obtaining the first network status data through the transmission strategy determination unit, and determining the data type, transmission priority and formulating the initial data transmission strategy for each test data to be analyzed can optimize data transmission efficiency, improve network resource utilization and enhance the reliability and stability of data transmission.

[0065] Figure 2b A schematic diagram of an optional example of a test system for a relay protection device is provided. Figure 2b As shown, the system includes: a test platform layer, a device control layer and a hardware process layer, 1 is an ARM processor; 2 is the first processor core, equipped with a human-computer interaction Linux system; 3 is an inter-core communication component; 4 is the second processor core, equipped with an RT-Thread real-time processing system; 5 is a PCIe communication bus; 6 is an FPGA logic processing unit; 7 is a DAC digital-to-analog converter; 8 is an analog-to-digital converter; and 9 is a voltage and current power amplifier.

[0066] From an architectural perspective, the system is divided into a test platform layer, a device control layer, and a hardware process layer. Each layer interacts with signals and data through a standardized interface, thereby achieving a good balance between performance and power consumption, mutual collaboration among functional units, and minimal resource overhead.

[0067] Figure 2c A schematic diagram of the structure of the test platform layer of an optional example of a test system for relay protection equipment is provided. Figure 2cAs shown in the figure, the design mode of asymmetric multi-processing at the test platform layer (multiple processing cores of one CPU: each core runs tasks independently, each core is isolated from each other, and each core runs a different operating system). The Linux system is equipped with a cross-platform Qt application, and the RT-Thread system is equipped with a relay protection real-time processing algorithm. The two systems communicate and interact based on the MailBox or IRQ mode. Fast data interaction between the application and the real-time processing unit is achieved. This is completed within one CPU, which greatly improves the security and reliability of data interaction, and also reduces the power consumption in multi-CPU mode.

[0068] The human-computer interaction Linux system occupies one core of the ARM chip, running the non-real-time part and handling the human-computer interaction, including the display and operation response of the graphical user interface, the parsing and execution of user commands; data storage management, covering the storage, reading, updating and backup of test data, configuration files, program codes, etc.; complex data analysis and processing, including but not limited to statistical analysis and waveform processing of test results; data exchange tasks with external devices to ensure stable communication with external computers, servers and other equipment; calculation of voltage and current output parameters according to the type of protection device and test requirements, and the calculation process comprehensively considers the device characteristics, test standards and user settings.

[0069] The RT-Thread real-time processing system is used for the control calculation of the real-time part of the RTOS. The RTOS runs on another core of the ARM chip and is responsible for real-time monitoring of the hardware status, including but not limited to the real-time collection and analysis of temperature, voltage, and current parameters, as well as timely detection of abnormal conditions. The monitoring frequency is dynamically adjusted according to the importance and real-time requirements of the hardware equipment; it collaborates with the FPGA to complete the rapid processing and transmission of data, including converting the calculation results into a suitable protocol format to meet the communication requirements of different hardware devices, data forwarding to enable accurate transmission of data between hardware modules, real-time message transmission and reception to achieve real-time communication with protection devices and other equipment, and switch quantity acquisition to accurately obtain the switch status information of the hardware equipment; and adjust the output parameters of the power amplifier module according to the test requirements, including but not limited to rapid adjustment of power, frequency, and phase parameters when simulating different fault scenarios.

[0070] Based on the multi-task interaction mechanism, an asymmetric multi-processing framework is constructed, so that the first processor core and the second processor core perform data interaction based on the asymmetric multi-processing framework.

[0071] Figure 2d A schematic diagram of a high-speed communication architecture of an optional example of a test system for a relay protection device is provided. Figure 2dAs shown, the test platform layer and the device control layer adopt the architecture of ARM instruction set processor + FPGA logic processor + PCIe communication bus high-speed communication, and the ARM instruction set processor and FPGA logic processor are connected based on the high-speed PCIe bus.

[0072] Figure 2e A sample flow chart of processor communications for an alternative embodiment of a test system for a relay protection device is provided. Figure 2e As shown, exemplarily, the communication process between the ARM instruction set processor and the FPGA logic processor includes: the ARM side configures direct memory access (DMA), including setting the source address / destination address and data size, and the FPGA side implements the PCIe endpoint (EP) function; the ARM side starts DMA transmission through the ioctl command, and uses PCIe to move the data in the FPGA block random access memory (BRAM) to the double data rate synchronous dynamic random access memory; the FPGA side responds to the read and write requests for the PCIe base address register (BAR0) from the PCIe root complex (RC); the FPGA side caches the data received by PCIe BAR0 into the FPGA's BRAM and enters the logic processing unit; the FPGA side completes the conversion of data to hardware signals according to the logic algorithm.

[0073] The hardware control layer includes a power amplifier, in which current power devices and voltage power devices are integrated. For example, the power amplifier can use a switching amplifier (convert the input analog audio signal or PCM digital information into a PWM (pulse width modulation) or PDM (pulse density modulation) pulse signal, and then use the PWM or PDM pulse signal to control the high-power switching device to turn on / off the audio power amplifier, also known as a switching amplifier. It has the outstanding advantage of high efficiency). The power amplifier output stage uses an 0CL circuit composed of discrete components, the driver stage uses an integrated chip, and the entire power amplifier stage uses a large-loop voltage negative feedback.

[0074] The technical solution of the embodiment of the present invention can separate and encapsulate different functional modules through layered design, reduce the coupling between systems, and thus improve the stability and reliability of the system. Through reasonable layered design and task allocation, hardware and software resources can be fully utilized to improve the overall performance and efficiency of the system.

[0075] Embodiment 3

[0076] Figure 3A flow chart of a method for testing a relay protection device provided in the third embodiment of the present invention. This embodiment is applicable to the case of testing a relay protection device, and the method can be applied to the test of the relay protection device to be executed, and the test system of the relay protection device can be implemented in the form of hardware and / or software. Specifically, the test system of the relay protection device includes: a test platform module, a data forwarding module and a device test module, the data forwarding module is connected to the test platform module and the device test module respectively, and the instruction sending module is connected to the load control module, such as Figure 3 As shown, the test method of the relay protection device includes:

[0077] S310, collecting initial test data fed back by the relay protection device executing at least one test task through the device test module, and uploading the initial test data to the data forwarding module;

[0078] S320, receiving the initial test data through the data forwarding module, performing data conversion processing on the initial test data to obtain test data to be analyzed, and sending the test data to be analyzed to the test platform module;

[0079] S330. Perform data analysis on the received test data to be analyzed based on a multi-task processing mechanism through the test platform module to obtain a data analysis result, and determine a test result corresponding to the relay protection device based on the data analysis result.

[0080] Optionally, performing data analysis on the received test data to be analyzed based on a multi-task processing mechanism to obtain a data analysis result, and determining a test result corresponding to the relay protection device based on the data analysis result includes:

[0081] By means of a priority determination unit, upon receiving the test data to be analyzed fed back by the relay protection device executing a plurality of the test tasks, respectively determining the time priority corresponding to each test task;

[0082] By means of a data division unit, the to-be-analyzed test data fed back by the plurality of test tasks are divided into first to-be-analyzed data and second to-be-analyzed data based on the time priority and a preset time priority division threshold;

[0083] By means of a data analysis unit, the first data to be analyzed is analyzed based on the first processor to obtain a first data analysis result, and the second data to be analyzed is analyzed based on the second processor to obtain a second data analysis result;

[0084] A test result determining unit determines a test result corresponding to the relay protection device based on the first data analysis result and the second data analysis result.

[0085] Optionally, the first processor core and the second processor core perform data exchange based on an asymmetric multi-processing framework.

[0086] Optionally, after determining the test result corresponding to the relay protection device, the method further includes: generating a test report based on the test result through a report display unit, and displaying the test report.

[0087] Optionally, before sending the test data to be analyzed to the test platform module, it also includes

[0088] A transmission strategy determination module is used to obtain first network status data, and for each test data to be analyzed, a data type of the test data to be analyzed is determined; a transmission priority corresponding to the test data to be analyzed is determined based on the data type; and an initial data transmission strategy corresponding to the test data to be analyzed is determined based on the transmission priority and the first network status data, wherein the network status data includes at least one of network delay, packet loss rate, and bandwidth utilization rate.

[0089] Optionally, after determining the initial data transmission strategy corresponding to the test data to be analyzed based on the transmission priority and the first network status data, the method further includes:

[0090] The second network status data is acquired through the transmission strategy adjustment module, and the initial data transmission strategy is adjusted based on the second network status data to obtain a target data transmission strategy corresponding to the test data to be analyzed.

[0091] Optionally, the method further includes:

[0092] The initial acquisition time data corresponding to the initial test data is determined through a time calibration unit module, and the initial acquisition time data is calibrated based on a time calibrator to obtain target acquisition time data corresponding to the initial test data.

[0093] Optionally, the test platform module includes an instruction set processor, and the data forwarding module includes an FPGA logic processor; the instruction set processor and the FPGA logic processor are connected via a PCIe communication bus.

[0094] Optionally, the device testing module includes a power amplifier, in which a current power device and a voltage power device are integrated; the data forwarding module also includes a digital-to-analog converter and an analog-to-digital converter; the power amplifier is respectively connected to the digital-to-analog converter and the analog-to-digital converter.

[0095] The technical solution of the embodiment of the present invention is connected with the data forwarding module through the device test module, which is used to collect the initial test data fed back by the relay protection device when executing at least one test task, and upload the initial test data to the data forwarding module; the initial test data generated during the execution of the test task is collected in real time, ensuring the accuracy and timeliness of the data; then, the data forwarding module is connected with the test platform module, which is used to receive the initial test data, perform data conversion processing on the initial test data to obtain the test data to be analyzed, and send the test data to be analyzed to the test platform module; the initial test data is converted to obtain the test data to be analyzed with a unified format and easy to analyze, which provides convenience for subsequent data analysis; finally, the test platform module is used to perform data analysis on the received test data to be analyzed based on a multi-task processing mechanism to obtain a data analysis result, and determine the test result corresponding to the relay protection device based on the data analysis result. It can process multiple test data to be analyzed at the same time, which improves the efficiency and throughput of data analysis. It solves the problem of low test efficiency and low accuracy of relay protection equipment, and achieves the beneficial effect of improving the test efficiency and accuracy of relay protection equipment.

[0096] Embodiment 4

[0097] Figure 4 A schematic diagram of the structure of an electronic device 10 that can be used to implement an embodiment of the present invention is shown. The electronic device is intended to represent various forms of digital computers, such as laptop computers, desktop computers, workstations, personal digital assistants, servers, blade servers, mainframe computers, and other suitable computers. The electronic device can also represent various forms of mobile devices, such as personal digital processing, cellular phones, smart phones, wearable devices (such as helmets, glasses, watches, etc.) and other similar computing devices. The components shown herein, their connections and relationships, and their functions are merely examples and are not intended to limit the implementation of the present invention described and / or required herein.

[0098] like Figure 4As shown, the electronic device 10 includes at least one processor 11, and a memory connected to the at least one processor 11, such as a read-only memory (ROM) 12, a random access memory (RAM) 13, etc., wherein the memory stores a computer program that can be executed by at least one processor, and the processor 11 can perform various appropriate actions and processes according to the computer program stored in the read-only memory (ROM) 12 or the computer program loaded from the storage unit 18 to the random access memory (RAM) 13. In the RAM 13, various programs and data required for the operation of the electronic device 10 can also be stored. The processor 11, the ROM 12, and the RAM 13 are connected to each other through a bus 14. An input / output (I / O) interface 15 is also connected to the bus 14.

[0099] A number of components in the electronic device 10 are connected to the I / O interface 15, including: an input unit 16, such as a keyboard, a mouse, etc.; an output unit 17, such as various types of displays, speakers, etc.; a storage unit 18, such as a disk, an optical disk, etc.; and a communication unit 19, such as a network card, a modem, a wireless communication transceiver, etc. The communication unit 19 allows the electronic device 10 to exchange information / data with other devices through a computer network such as the Internet and / or various telecommunication networks.

[0100] The processor 11 may be a variety of general and / or special processing components with processing and computing capabilities. Some examples of the processor 11 include, but are not limited to, a central processing unit (CPU), a graphics processing unit (GPU), various dedicated artificial intelligence (AI) computing chips, various processors running machine learning model algorithms, digital signal processors (DSPs), and any appropriate processors, controllers, microcontrollers, etc. The processor 11 executes the various methods and processes described above, such as the method for testing relay protection equipment.

[0101] In some embodiments, the method of testing a relay protection device may be implemented as a computer program, which is tangibly contained in a computer-readable storage medium, such as a storage unit 18. In some embodiments, part or all of the computer program may be loaded and / or installed on the electronic device 10 via the ROM 12 and / or the communication unit 19. When the computer program is loaded into the RAM 13 and executed by the processor 11, one or more steps of the method of testing a relay protection device described above may be performed. Alternatively, in other embodiments, the processor 11 may be configured to perform the method of testing a relay protection device in any other appropriate manner (e.g., by means of firmware).

[0102] Various implementations of the systems and techniques described above herein can be implemented in digital electronic circuit systems, integrated circuit systems, field programmable gate arrays (FPGAs), application specific integrated circuits (ASICs), application specific standard products (ASSPs), systems on chips (SOCs), load programmable logic devices (CPLDs), computer hardware, firmware, software, and / or combinations thereof. These various implementations can include: being implemented in one or more computer programs that can be executed and / or interpreted on a programmable system including at least one programmable processor, which can be a special purpose or general purpose programmable processor that can receive data and instructions from a storage system, at least one input device, and at least one output device, and transmit data and instructions to the storage system, the at least one input device, and the at least one output device.

[0103] Computer programs for implementing the methods of the present invention may be written in any combination of one or more programming languages. These computer programs may be provided to a processor of a general-purpose computer, a special-purpose computer, or other programmable data processing device, so that when the computer program is executed by the processor, the functions / operations specified in the flow chart and / or block diagram are implemented. The computer program may be executed entirely on the machine, partially on the machine, partially on the machine and partially on a remote machine as a stand-alone software package, or entirely on a remote machine or server.

[0104] In the context of the present invention, a computer-readable storage medium may be a tangible medium that may contain or store a computer program for use by or in combination with an instruction execution system, device or equipment. A computer-readable storage medium may include, but is not limited to, electronic, magnetic, optical, electromagnetic, infrared, or semiconductor systems, devices or equipment, or any suitable combination of the foregoing. Alternatively, a computer-readable storage medium may be a machine-readable signal medium. A more specific example of a machine-readable storage medium may include an electrical connection based on one or more lines, a portable computer disk, a hard disk, a random access memory (RAM), a read-only memory (ROM), an erasable programmable read-only memory (EPROM or flash memory), an optical fiber, a portable compact disk read-only memory (CD-ROM), an optical storage device, a magnetic storage device, or any suitable combination of the foregoing.

[0105] To provide interaction with a user, the systems and techniques described herein may be implemented on an electronic device having: a display device (e.g., a CRT (cathode ray tube) or LCD (liquid crystal display) monitor) for displaying information to the user; and a keyboard and a pointing device (e.g., a mouse or trackball) through which the user can provide input to the electronic device. Other types of devices may also be used to provide interaction with the user; for example, the feedback provided to the user may be any form of sensory feedback (e.g., visual feedback, auditory feedback, or tactile feedback); and input from the user may be received in any form (including acoustic input, voice input, or tactile input).

[0106] The systems and techniques described herein may be implemented in a computing system that includes backend components (e.g., as a data server), or a computing system that includes middleware components (e.g., an application server), or a computing system that includes frontend components (e.g., a user computer with a graphical user interface or a web browser through which a user can interact with implementations of the systems and techniques described herein), or a computing system that includes any combination of such backend components, middleware components, or frontend components. The components of the system may be interconnected by any form or medium of digital data communication (e.g., a communication network). Examples of communication networks include: a local area network (LAN), a wide area network (WAN), a blockchain network, and the Internet.

[0107] A computing system may include a client and a server. The client and the server are generally remote from each other and usually interact through a communication network. The client and server relationship is generated by computer programs running on the corresponding computers and having a client-server relationship with each other. The server may be a cloud server, also known as a cloud computing server or cloud host, which is a host product in the cloud computing service system to solve the defects of difficult management and weak business scalability in traditional physical hosts and VPS services.

[0108] It should be understood that the various forms of processes shown above can be used to reorder, add or delete steps. For example, the steps described in the present invention can be executed in parallel, sequentially or in different orders, as long as the desired results of the technical solution of the present invention can be achieved, and this document does not limit this.

[0109] The above specific implementations do not constitute a limitation on the protection scope of the present invention. It should be understood by those skilled in the art that various modifications, combinations, sub-combinations and substitutions can be made according to design requirements and other factors. Any modification, equivalent substitution and improvement made within the spirit and principle of the present invention should be included in the protection scope of the present invention.

Claims

1. A test system for relay protection equipment, characterized in that: include: Test platform module, data forwarding module and equipment test module; among them, The equipment testing module is connected to the data forwarding module and is used to collect initial test data fed back from the relay protection device executing at least one test task, and upload the initial test data to the data forwarding module; The data forwarding module is connected to the test platform module, and is used to receive the initial test data, perform data conversion processing on the initial test data to obtain the test data to be analyzed, and send the test data to be analyzed to the test platform module; The test platform module is used to perform data analysis on the received test data to be analyzed based on a multi-task processing mechanism to obtain a data analysis result, and determine a test result corresponding to the relay protection device based on the data analysis result.

2. The system according to claim 1, characterized in that The test platform module includes a priority determination unit, a data partitioning unit, a data analysis unit and a test result determination unit, wherein: The priority determination unit is used to determine the time priority corresponding to each test task respectively when receiving the test data to be analyzed fed back by the relay protection device when executing a plurality of the test tasks; The data division unit is used to divide the to-be-analyzed test data fed back by the plurality of test tasks into first to-be-analyzed data and second to-be-analyzed data based on the time priority and a preset time priority division threshold; The data analysis unit is configured to analyze the first data to be analyzed based on the first processor to obtain a first data analysis result, and to analyze the second data to be analyzed based on the second processor to obtain a second data analysis result; The test result determination unit is used to determine a test result corresponding to the relay protection device based on the first data analysis result and the second data analysis result.

3. The system according to claim 2, characterized in that The first processor core and the second processor core perform data exchange based on an asymmetric multi-processing framework.

4. The system according to claim 1, characterized in that The test platform module includes a report display unit, wherein: The report display unit is used to generate a test report based on the test result after determining the test result corresponding to the relay protection device, and display the test report.

5. The system according to claim 1, characterized in that The data forwarding module includes a transmission strategy determination unit, wherein: The transmission strategy determination unit is used to obtain the first network status data, determine the data type of each test data to be analyzed, determine the transmission priority corresponding to the test data to be analyzed based on the data type, and determine the initial data transmission strategy corresponding to the test data to be analyzed based on the transmission priority and the first network status data, wherein the network status data includes at least one of network delay, packet loss rate and bandwidth utilization.

6. The system according to claim 5, characterized in that The data forwarding module includes a transmission strategy adjustment unit, wherein: The transmission strategy adjustment unit is used to obtain second network status data, and adjust the initial data transmission strategy based on the second network status data to obtain a target data transmission strategy corresponding to the test data to be analyzed.

7. The system according to claim 1, characterized in that The device testing module includes a time calibration unit; wherein, The time calibration unit is used to determine initial acquisition time data corresponding to the initial test data, and calibrate the initial acquisition time data based on a time calibrator to obtain target acquisition time data corresponding to the initial test data.

8. The system according to claim 1, characterized in that The test platform module includes an instruction set processor, and the data forwarding module includes an FPGA logic processor; the instruction set processor and the FPGA logic processor are connected via a PCIe communication bus.

9. The system according to claim 8, characterized in that The equipment testing module comprises a power amplifier, in which a current power device and a voltage power device are integrated; the data forwarding module further comprises a digital-to-analog converter and an analog-to-digital converter; the power amplifier is connected to the digital-to-analog converter and the analog-to-digital converter respectively.

10. A method for testing a relay protection device, characterized in that: A test system for a relay protection device, wherein the test of the relay protection device comprises: a test platform module, a data forwarding module and a device test module, wherein the data forwarding module is connected to the test platform module and the device test module respectively, wherein the test method of the relay protection device comprises: Collecting initial test data fed back by the relay protection device executing at least one test task through the device test module, and uploading the initial test data to the data forwarding module; The data forwarding module receives the initial test data, performs data conversion processing on the initial test data to obtain the test data to be analyzed, and sends the test data to be analyzed to the test platform module; The test platform module performs data analysis on the received test data to be analyzed based on a multi-task processing mechanism to obtain a data analysis result, and determines a test result corresponding to the relay protection device based on the data analysis result.

Citation Information

Patent Citations

  • Method and device of optimizing database

    CN108268546A

  • Load balancing method, device and system in lossless network of data center and medium

    CN116055404A

  • Substation protection device acceptance system and method

    CN118033270A