A method for automatically checking functions and performance of an intelligent remote machine
By automatically generating test plans, the intelligent telemetry system enables real-time on-demand startup of the simulation master station and IED, ensuring accurate forwarding and recording of data signals. This solves the problem of low testing efficiency in existing technologies and achieves efficient functional performance verification.
Patent Information
- Application Number
- CN202210700475.6
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2022-06-20
- Publication Date
- 2026-02-10
- Estimated Expiration
- 2042-06-20
AI Technical Summary
Existing technologies for testing the functions and performance of intelligent telemetry machines are inefficient, lack efficient testing methods, and are difficult to build testing environments for large-scale engineering site acceptance and periodic inspections.
The test plan is automatically generated by using the abstract instantiation features of the test case scheme. The test case abstract template is selected through the template repository file, the remote control configuration description file and the substation model file are parsed, an instantiated measurement point record set is generated, the data structure is established and compared and mapped, the communication between the simulation device and the master station is simulated, the comparison data is verified and the test report is recorded.
It enables automatic verification of the functional performance of intelligent telemetry machines, improves testing efficiency, ensures error-free simulation and real-time data recording, and solves the problems of low efficiency and untraceable test data.
Smart Images

Figure CN115168185B_ABST
Abstract
Description
Technical Field
[0001] This invention relates to the field of power system equipment, and specifically to a method for automatically verifying the function and performance of an intelligent remote motor. Background Technology
[0002] Currently, the testing tasks for intelligent remote actuators mainly focus on verifying the correctness of data acquisition and forwarding, including the stand-alone testing capabilities of intelligent remote actuators. At present, there is a lack of efficient testing methods for the functions and performance of intelligent remote actuators, and there is a problem that testing can only be carried out by relying on field devices. In the face of a large number of field acceptance and periodic inspection of intelligent remote actuator projects, it is difficult to build a test environment. Summary of the Invention
[0003] To address the aforementioned problems, this invention provides an automatic verification method for the functions and performance of intelligent telemetry engines, thereby improving the efficiency of functional performance verification for intelligent telemetry engines. The specific technical solution is as follows:
[0004] A method for automatically verifying the function and performance of an intelligent telemetry engine, comprising the following steps:
[0005] S1: Select the appropriate test case abstract template from the template repository file according to the functional or performance test metric requirements;
[0006] S2: Parse the remote control configuration description file (RCD) and the substation SCD model file under each remote transmission zone, generate an instantiated measurement point record set file, establish a data structure, and store the instantiated measurement point information under each remote transmission zone;
[0007] S3: Extract abstract test point information from the test case abstract template in S1, compare and map it with the data structure in S2, and generate a test case scheme collection file;
[0008] S4: Traverse the test case scheme set file, load each sub-scheme in turn, and parse to obtain the data structure set of the simulation device and the data structure set of the simulation master station;
[0009] S5: Traverse the data structure set of the simulation device and the data structure set of the simulation master station under the current sub-scheme, check the communication configuration parameters, and start the simulation device program and the simulation master station program respectively until m simulation device programs and k simulation master station programs start normally and the connection between them and the intelligent remote motor is normal.
[0010] S6: After the simulation device program and the simulation master station program run normally, the simulation device obtains the data trigger signal from the simulation device's data structure set and records the data T to the internal data bus; the intelligent remote motor forwards the uploaded signal to the simulation master station, and after receiving the uploaded signal, the simulation master station transfers the data R to the internal data bus;
[0011] S7: The internal data bus integrates data, and data T and data R are verified and compared, and recorded in the test report;
[0012] S8: After completing the traversal of the current sub-solution in S5, continue to the loading test of the next sub-solution until the traversal of all sub-solution tests is completed.
[0013] Furthermore, the template repository file includes information describing test cases, parameters describing test cases, abstract information describing the current remote transmission zone, and information describing the test points under the remote transmission zone.
[0014] Furthermore, the instantiated measurement point record set includes information describing the current remote transmission area, information describing the current master station's communication parameter configuration, and information describing each instantiated measurement point.
[0015] Furthermore, the data structure set of the simulation master station includes information covering CID model data, A / B network card IP communication information, and protocol information covering the simulation master station.
[0016] Furthermore, the cid model corresponds to each simulation device, and the substation SCD model is composed of multiple cid models.
[0017] Furthermore, the simulation device is an IEC61850 simulation device.
[0018] Furthermore, the simulation master station is an IEC101 or IEC104 master station.
[0019] Furthermore, the template repository file, the instantiated test point record collection file, and the test case scheme collection file are in XML format.
[0020] Compared with existing technologies, the beneficial effects are:
[0021] This invention utilizes the abstract instantiation features of test case schemes to automatically generate test plans. After loading and executing the test plan, the intelligent telescopic machine can achieve real-time, on-demand startup of the connected simulation master station and the connected simulation IED, ensuring error-free simulation. The internal data bus extracts and triggers signals, which are then forwarded by the intelligent telescopic machine and returned to the internal data bus, ensuring real-time data recording. This new automatic verification method for the functional performance of intelligent telescopic machines solves the problems of low efficiency, missing items, and untraceable test data when testing functional performance. Attached Figure Description
[0022] To more clearly illustrate the technical solutions in the embodiments of the present invention or the prior art, the drawings used in the description of the embodiments or the prior art will be briefly introduced below. Obviously, the drawings described below are only some embodiments of the present invention. For those skilled in the art, other drawings can be obtained based on these drawings without creative effort.
[0023] Figure 1 This is a flowchart illustrating an automatic verification method for the function and performance of an intelligent telemetry engine according to the present invention. Detailed Implementation
[0024] The embodiments of this disclosure will now be described in detail with reference to the accompanying drawings.
[0025] The following specific examples illustrate the implementation of this disclosure. Those skilled in the art can easily understand other advantages and effects of this disclosure from the content disclosed in this specification. Obviously, the described embodiments are only a part of the embodiments of this disclosure, and not all of them. This disclosure can also be implemented or applied through other different specific embodiments, and the details in this specification can also be modified or changed based on different viewpoints and applications without departing from the spirit of this disclosure. It should be noted that, in the absence of conflict, the following embodiments and features in the embodiments can be combined with each other. Based on the embodiments in this disclosure, all other embodiments obtained by those skilled in the art without creative effort are within the scope of protection of this disclosure.
[0026] An automatic verification method for the function and performance of an intelligent telemetry engine, such as Figure 1 As shown, the steps include:
[0027] S1: Select the appropriate test case abstract template from the template repository file according to the functional or performance test metric requirements.
[0028] Specifically, select the appropriate test case abstract template in the template repository XML file TestCases.xml.
[0029] The template repository XML file TestCases.xml contains the `function` tag, the `param` sub-tag, the `remote_no` sub-tag, and the `data` sub-tag. The `function` tag describes information about a specific test case; the `param` sub-tag describes parameters required for the test case, such as master station / IED communication recovery timeout and formula calculation timeout; the `remote_no` sub-tag describes which remote transmission zone it currently belongs to; and the `data` sub-tag describes abstract information about certain test points within this remote transmission zone, i.e., information not yet bound to any actual IED device.
[0030] The abstract templates include: three-phase merging signal, total fault signal, motion unified configuration tool check, motion storage capacity test, maintenance equipment information shielding, remote control test, remote adjustment test, remote control switching function, IED communication status transmission, motion data quality bit, motion data quality bit transmission method, SOE signal test, telemetry overload, telemetry dead zone, IED communication status transmission to A network, avalanche simulation test, and full-site undervoltage test, etc.
[0031] S2: Parse the remote control configuration description file (RCD) and the substation SCD model file under each remote transmission zone, generate an instantiated measurement point record set file, establish a data structure, and store the instantiated measurement point information under each remote transmission zone.
[0032] Specifically, the remote control configuration description file (RCD) and the substation SCD model file under each remote transmission zone are parsed to generate instantiated measurement point record collection XML files remote_1, remote_2,..., remote_N, and data structures DataA, DataB,... are established to store the linked list of all instantiated measurement point information under each remote transmission zone.
[0033] The XML file remote_N.xml contains the remote_N tag, the PortParas sub-tag, and the item sub-tag. The remote_N tag describes the information of the current remote transmission zone, the PortParas sub-tag describes the communication parameter configuration of the current master station, and the item sub-tag describes the information of each instantiated measurement point. For example, the reference sub-tag describes leaf information, the negative sub-tag describes the polarity of the measurement point, the my_class sub-tag describes the attribute category of the measurement point, and the link_dev sub-tag describes the IED to which it belongs.
[0034] S3: Extract abstract test point information from the test case abstract template in S1, instantiate and compare it with the data structure in S2, and generate a test case scheme set file.
[0035] Specifically, abstract test point information is extracted from the test case abstract template in S1 and instantiated and mapped with the data structures DataA, DataB, ... in S2 to generate a test case scheme collection file (TestCase_1, TestCase_2, ..., TestCase_N), which is a custom XML file AutoTestPro_xxx.xml.
[0036] S4: Traverse the test case scheme set file, load each sub-scheme in turn, and parse to obtain the data structure set of the simulation device and the data structure set of the simulation master station.
[0037] Specifically, the test case scheme set is traversed, each sub-scheme TestCase is loaded in turn, and the data structure set (IED_1,IED_2,...,IED_m) of the 61850 device to be simulated and the data structure set (remote_1,remote_2,...,remote_k) of the 101 / 104 master station to be simulated are parsed and obtained.
[0038] In this context, each TestCase sub-scheme is a TestCase node in the AutoTestPro_xxx.xml file. Sub-schemes TestCase are generated after the abstract template is instantiated.
[0039] Data_IED_m contains CID model data and A / B network interface card IP communication information, while Data_remote_k contains IEC 61850 protocol information. Each CID model corresponds to a specific IEC 61850 device model, and the SCD is composed of multiple CID models.
[0040] S5: Traverse the data structure set of the simulation device and the data structure set of the simulation master station under the current sub-scheme, check the communication configuration parameters, and start the simulation device program and the simulation master station program respectively until m simulation device programs and k simulation master station programs start normally and the connection between them and the intelligent remote motor is normal.
[0041] Specifically, iterate through all Data_IED_m and Data_remote_k under the current sub-scheme TestCase, check the communication configuration parameters, and start the IED simulation program 61850server.exe and iec101 / 104.exe until m simulated IED programs and k simulated master station programs start normally and connect normally with the intelligent remote motor.
[0042] S6: After the simulation device program and the simulation master station program run normally, the simulation device obtains the data trigger signal from the data structure set of the simulation device and records the data T to the internal data bus; the intelligent remote motor forwards the up-send signal to the simulation master station, and after receiving the up-send signal, the simulation master station transfers the data R to the internal data bus.
[0043] Specifically, after the simulation program runs normally, the simulation IED obtains data from Data_IED_m to trigger the 61850MMS signal and records the data Trigger_Data to the internal data bus of the program. The 61850MMS signal data is forwarded by the intelligent remote motor to send the 101 / 104 signal to the simulation master station. After receiving the sent signal, the simulation master station transfers the data Recev_Data to the internal data bus for integration.
[0044] S7: The internal data bus integrates data, and data T and data R are verified and compared, and recorded in the test report.
[0045] Specifically, the internal data bus extracts the Trigger_Data and Recev_Data data structures for verification and comparison, and records the results in the test report.
[0046] S8: After completing the traversal of the current sub-solution in S5, continue to the loading test of the next sub-solution until the traversal of all sub-solution tests is completed.
[0047] This invention discloses an automatic verification method for the function and performance of intelligent telemetry units (TMUs). Based on multi-MMS server concurrent control technology, it simulates IED devices such as protection and measurement and control units operating at the entire station scale to achieve IEC 61850 MMS communication simulation at the station scale. By importing the TMU configuration description RCD file, the data measurement points for communication interaction between the TMU and the master station system are obtained through parsing. Multiple dispatch master stations are simulated using IEC104 and IEC101 simulations. A test case scheme set file for the TMU's function and performance is automatically generated based on test indicators. The test case scheme set file is loaded, and the IED triggers the MMS signal; the master station receives 101 / 104 signals forwarded by the TMU, and the results are verified and compared through the internal data bus of the program. The test results are generated, automatically recorded, and exported to the acceptance test report.
[0048] This invention utilizes the abstract instantiation features of test case schemes to automatically generate test plans. After loading and executing the test plan, the intelligent telescopic machine can achieve real-time, on-demand startup of the connected simulation master station and the connected simulation IED, ensuring error-free simulation. The internal data bus extracts and triggers signals, which are then forwarded by the intelligent telescopic machine and returned to the internal data bus, ensuring real-time data recording. This new automatic verification method for the functional performance of intelligent telescopic machines solves the problems of low efficiency, missing items, and untraceable test data when testing functional performance.
[0049] The foregoing has shown and described the basic principles, main features, and advantages of the present invention. Those skilled in the art should understand that the present invention is not limited to the above embodiments. The embodiments and descriptions in the specification are merely illustrative of the principles of the invention. Various changes and modifications can be made to the invention without departing from its spirit and scope, and all such changes and modifications fall within the scope of the present invention as claimed. The scope of protection of this invention is defined by the appended claims and their equivalents.
[0050] The above description is merely illustrative of the embodiments of the present invention and is not intended to limit the present invention. For those skilled in the art, any modifications, equivalent substitutions, improvements, etc., made without creative effort within the spirit and principles of the present invention should be included within the protection scope of the present invention.
Claims
1. A method for automatically verifying the function and performance of an intelligent telemetry engine, characterized by the following steps: include: S1: Select the appropriate test case abstract template from the template repository file according to the functional or performance test metric requirements; S2: Parse the remote control configuration description file (RCD) and the substation SCD model file under each remote transmission zone, generate an instantiated measurement point record set file, establish a data structure, and store the instantiated measurement point information under each remote transmission zone; S3: Extract abstract test point information from the test case abstract template in S1, compare and map it with the data structure in S2, and generate a test case scheme collection file; S4: Traverse the test case scheme set file, load each sub-scheme in turn, and parse to obtain the data structure set of the simulation device and the data structure set of the simulation master station; S5: Traverse the data structure set of the simulation device and the data structure set of the simulation master station under the current sub-scheme, check the communication configuration parameters, and start the simulation device program and the simulation master station program respectively until m simulation device programs and k simulation master station programs start normally and the connection between them and the intelligent remote motor is normal. S6: After the simulation device program and the simulation master station program run normally, the simulation device obtains the data trigger signal from the data structure set of the simulation device and records the data T to the internal data bus. The intelligent remote control forwards the uploaded signal to the simulation master station. After receiving the uploaded signal, the simulation master station saves the data R to the internal data bus. S7: The internal data bus integrates data, and data T and data R are verified and compared, and recorded in the test report; S8: After completing the traversal of the current sub-solution in S5, continue to the loading test of the next sub-solution until the traversal of all sub-solution tests is completed.
2. The method for automatic verification of the function and performance of the intelligent telemetry engine according to claim 1, characterized in that: The template repository file includes information describing test cases, parameters describing test cases, descriptions of the current remote transmission zone, and abstract information describing the test points under the remote transmission zone.
3. The method for automatic verification of the function and performance of the intelligent telemetry engine according to claim 1, characterized in that: The instantiated measurement point record set includes information describing the current remote transmission area, the current master station's communication parameter configuration, and each instantiated measurement point.
4. The method for automatic verification of the function and performance of the intelligent telemetry engine according to claim 1, characterized in that: The data structure set of the simulation master station includes information covering CID model data, A / B network card IP communication information, and protocol information covering the simulation master station.
5. The method for automatic verification of the function and performance of the intelligent telemetry engine according to claim 4, characterized in that: The cid model corresponds to each simulation device, and the substation SCD model is composed of multiple cid models.
6. The method for automatic verification of the function and performance of the intelligent telemetry engine according to claim 1, characterized in that: The simulation device is an IEC61850 simulation device.
7. The method for automatic verification of the function and performance of the intelligent telemetry engine according to claim 1, characterized in that: The simulation master station is an IEC101 or IEC104 master station.
8. The method for automatic verification of the function and performance of the intelligent telemetry engine according to claim 1, characterized in that: The template repository file, the instantiated test point record collection file, and the test case scheme collection file are in XML format.
Citation Information
Patent Citations
Automatic testing device and method for a telecontrol machine of intelligent substation
CN111308245A
Intelligent telecontrol machine closed-loop comprehensive test method
CN111708700A