Multi-FTU device batch automatic point-to-point joint debugging method based on dynamic trigger discrimination mechanism
By constructing a dynamic triggering and discrimination mechanism that enables the test control server to work collaboratively with multiple test instruments, the problems of instruction confusion and data conflict in parallel testing of multiple FTU devices are solved, achieving efficient and reliable batch FTU debugging, reducing manual debugging time and improving test quality.
Patent Information
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- TIELING POWER SUPPLY COMPANY OF STATE GRID LIAONING ELECTRIC POWER COMPANY
- Filing Date
- 2025-12-19
- Publication Date
- 2026-04-28
AI Technical Summary
In the existing technology, during the testing of power distribution automation equipment, the parallel testing of multiple FTU devices suffers from problems such as command confusion, data conflicts, and low testing efficiency, resulting in long manual debugging time and poor quality.
A batch automatic point-to-point joint debugging method for multiple FTU devices based on a dynamic trigger discrimination mechanism is constructed. Through the collaborative work of a test control server and multiple test instruments, a hierarchical redundant network communication protocol and a redundant discrimination mechanism of dynamic trigger + timed discrimination are adopted to realize parallel testing of multiple FTUs and generate test reports.
It enables efficient and reliable parallel testing of multiple FTU devices, significantly reduces overall debugging time, improves test quality and efficiency, reduces manual intervention, and adapts to FTU debugging scenarios of different sizes and configurations.
Smart Images

Figure CN121933864A_ABST
Abstract
Description
Technical Field
[0001] This invention relates to the field of power distribution automation terminal testing, specifically a method for batch automatic point-to-point commissioning of multiple FTU devices based on a dynamic triggering and discrimination mechanism. Background Technology
[0002] Automatic point-to-point commissioning technology for distribution automation terminals has always been a key technological research direction for the national power energy sector. With the rapid development of distribution automation, the terminal coverage rate of distribution automation is also increasing year by year, which leads to an increase in the number of terminals that need to be commissioned. Before the use of automation technology, the access and commissioning of distribution automation terminals mainly relied on manual verification. Due to the cumbersome process and complex operation, it may lead to problems such as errors in the diagram and model channels and inaccurate setting inputs. Moreover, the verification of each function needs to be checked one by one, which requires a lot of personnel and takes a long time, resulting in a heavy workload and low work efficiency for commissioning personnel.
[0003] However, existing methods for batch automatic point-to-point commissioning of multiple FTU devices based on dynamic triggering and discrimination mechanisms have the following drawbacks: they are limited to serial testing of a single device and cannot utilize the test time window to process multiple devices in parallel; they lack a communication protocol specifically designed for batch, parallel, and collaborative testing, making it easy for test commands and responses between the master station and multiple testers to become chaotic, and failing to efficiently simulate concurrent scenarios where the master station interacts with multiple FTUs simultaneously; the binding of test cases to test devices and FTUs is inflexible, and the generation of test reports is difficult to automatically associate with the identity of the test devices. Therefore, there is an urgent need for a technical method that can enable multiple FTUs to complete point-to-point commissioning simultaneously, automatically, and reliably, improve FTU commissioning efficiency, reduce commissioning time for large-scale terminal network access, and provide technological means for the construction of distribution automation. Summary of the Invention
[0004] The present invention aims to provide a method for batch automatic point-to-point joint commissioning of multiple FTU devices based on a dynamic triggering and discrimination mechanism, which is mainly used to solve the technical problems existing in the prior art (description of technical problems).
[0005] To solve the above-mentioned technical problems, the present invention provides the following technical solution:
[0006] The method for batch automatic point-to-point commissioning of multiple FTU devices based on a dynamic triggering and discrimination mechanism includes the following steps:
[0007] A test system running on a test control server is constructed. The test system includes a wireless communication module, a test channel management module, a master station communication management module, a test task allocation module, a test case management module, and a test task execution module, which are used to realize batch collaborative test management and information interaction between multiple test instruments and multiple FTU devices.
[0008] The test control server controls multiple testers in parallel, generates an overall test plan based on the test table file and application configuration of the multiple FTU devices under test, and transmits the test plan to the distribution automation master station through the IEC104 communication protocol file service function.
[0009] The test control server controls multiple testers to perform voltage, current and switch position simulations on the corresponding FTU devices in sequence according to the test plan, and generates simulated test signals to trigger the FTU devices to feed back measured data. Before the simulation, the distribution automation master station is notified in advance via IEC104 short frame message.
[0010] The distribution automation master station collects the theoretical test values from the test instrument and the actual measured data fed back by the FTU device. It adopts a redundant discrimination mechanism of dynamic triggering + timed discrimination to distinguish between the theoretical test values and the actual measured data. Through a single test channel, the test information of multiple FTU devices is synchronously exchanged, and finally a test report is generated.
[0011] Working principle and beneficial effects of the present invention:
[0012] 1. Working principle: By constructing a test system module architecture that runs on the test control server, the limitations of traditional test systems with mixed functions are broken. Through clear functional division, efficient connection between each link is achieved, providing structured system support for multi-FTU batch parallel testing and ensuring the orderly and controllable test process.
[0013] The parallel control mode breaks through the bottleneck of existing single-device serial testing. Combined with the standardized transmission characteristics of the IEC104 protocol, it ensures the accuracy and timeliness of test scheme transmission and provides a unified execution basis for multi-FTU collaborative testing.
[0014] By constructing a network communication protocol with a layered redundancy structure, the problem of command confusion in concurrent interaction of multiple devices is specifically solved. The layered redundancy design not only ensures the independence of the functions of each layer, but also improves the reliability of information interaction through collaborative linkage, filling the technical gap in batch parallel test communication protocols.
[0015] Orderly signal simulation ensures the relevance and standardization of testing, while the advance notification mechanism enables the main station to accurately predict test nodes, providing a time window for dynamic triggering and discrimination, and effectively improving the efficiency of the connection between testing and discrimination.
[0016] The redundancy discrimination mechanism balances testing efficiency and result reliability, the multi-device information synchronization and interaction design on a single channel saves hardware resources, and the automatic generation of test reports reduces manual intervention, comprehensively solving the core problems of low efficiency and poor quality in batch FTU joint debugging.
[0017] 2. Beneficial effects:
[0018] (1) By controlling multiple testers in parallel through the test control server and combining the exclusive network communication protocol with the layered redundancy design, the parallel collaborative testing of multiple FTU devices can be realized, which completely changes the traditional mode of debugging one device at a time. It effectively utilizes the test time window to process multiple terminals at the same time. With the redundancy discrimination mechanism of dynamic triggering + timed discrimination, the completion time of a single test item is controlled within 0~30S, which significantly reduces the overall debugging time of a large number of FTUs entering the network and solves the core problems of traditional manual debugging and existing automated tools being time-consuming and inefficient.
[0019] (2) By standardizing the instruction set of the control layer, identifying the unique identity of the identifier layer, expanding the frame format of the data layer, and implementing the dual verification mechanism of the verification layer, the problem of instruction confusion and data conflict when multiple devices interact concurrently is completely solved. Among them, the data layer achieves synchronous interaction of test information of multiple FTUs through the one-to-one mapping design between the dataset and the FTU, which reduces the hardware deployment cost and ensures clear distinction and reliable transmission of test data of different devices and different types. The dual protection of CRC32 cyclic redundancy check and timestamp synchronization check effectively avoids data packet loss and tampering, and provides accurate data support for the judgment of test results.
[0020] (3) The test system achieves one-to-one mapping management between the test instrument and FTU, flexible configuration of test cases, orderly allocation of test tasks and automatic generation of test reports through multi-module collaborative design. This solves the problems of inflexible test case binding and difficulty in associating test reports with device identity in the existing technology. The power distribution automation master station adopts the "mutation transmission + timed general call" data acquisition method, combined with the redundant discrimination logic of "dynamic triggering + timed discrimination + general call intervention". This ensures the objectivity and fairness of test result discrimination, and also makes up for the information loss caused by network delay or equipment response lag through the active general call mechanism. This greatly reduces the incidence of problems such as diagram channel errors and inaccurate set value input, and improves the overall quality of batch FTU debugging.
[0021] (4) The entire process of test scheme generation, signal simulation, result discrimination and report output is automated, without the need for a large number of personnel to cooperate, which significantly reduces the workload of debugging personnel and reduces the dependence on the professional skills of operators. The test system and the distribution automation master station are seamlessly connected through the IEC104 communication protocol. The overall solution does not require major modifications to the existing master station system. It is flexible in deployment and highly compatible, and can quickly adapt to batch debugging scenarios of FTUs of different scales and configurations. It provides efficient and reliable technical support for the construction of distribution automation, ensures the online rate of distribution automation terminals, and helps the safe and stable operation of the distribution automation system.
[0022] Preferably, the wireless communication module serves as the physical communication interface between the test system and the distribution automation master station, establishing a test communication channel; the test channel management module implements a one-to-one mapping management between the test instrument and the FTU under test; the master station communication management module uniformly manages the unique identification codes such as IP address and port number of the FTU, test device, and master station communication; the test task allocation module manages the test items of the FTU under test; the test case management module manages the signal control output test cases of the test instrument for FTU testing; and the test task execution module completes the test result evaluation and test report generation. The functions of each module are clearly defined and work together to ensure the stability and orderliness of the test system operation, while providing hardware functional support for subsequent batch parallel testing of multiple FTUs, ensuring the accuracy and controllability of the testing process.
[0023] Preferably, a layered redundant network communication protocol is constructed. This protocol, from top to bottom, includes a control layer, an identification layer, a data layer, and a verification layer, used to realize information interaction between the test control server, multiple test instruments, and the power distribution automation master station. Each layer of the network communication protocol meets the following requirements: the identification layer includes a start character, device ID, serial number, number of test instruments, and time slot parameters, used to identify the unique identity of the test server and allocate communication routes; the control layer defines a set of collaborative control instructions such as device registration instructions, time slot allocation instructions, and point-to-point start instructions, with the instruction format adopting a standardized structure of "instruction code + parameter length + parameter content"; the data layer adopts an extensible data frame format, including data identifier bits, transmission reason bits, data unit address bits, data object address bits, point number information, and data element bits; the verification layer adopts a dual mechanism of CRC32 cyclic redundancy check + timestamp synchronization check. This layered redundant protocol design solves the problem of instruction chaos in concurrent interaction of multiple devices. Each layer is functionally independent yet collaboratively linked, providing dedicated communication guarantees for efficient information interaction in multi-FTU batch testing, filling the gap in existing technologies for batch parallel collaborative testing communication protocols.
[0024] Preferably, the collaborative control instruction set of the control layer also includes data upload instructions, abnormal termination instructions, and result feedback instructions; covering the control requirements of the entire batch testing process, ensuring that the instruction interaction of each link such as device registration, data transmission, and abnormal handling during the testing process is unified and standardized, and improving the flexibility and reliability of multi-device collaborative testing.
[0025] Preferably, the data layer includes a data identifier bit to distinguish test information of telemetry, telesignaling, and remote control types; a transmission reason bit to cover three message interaction modes: sudden change, loop, and general call; a data unit address bit to transmit the tester number and corresponding IP information; a data object address bit to transmit the number, port number, and IP address of the FTU under test; a point number information corresponding to the test item point number transmitted in the message; and a data element bit corresponding to the telemetry value or telesignaling / remote control position status of the test item point number. The scalable data frame format and precise field division enable clear distinction and efficient transmission of different types of test information and different device identifiers, ensuring data interaction without confusion during multi-FTU parallel testing and guaranteeing accurate judgment of test results.
[0026] Preferably, the verification layer includes a CRC32 checksum for data integrity verification, and a timestamp synchronization verification that compares the deviation between the response time and the allocated time slot to achieve data integrity and time slot synchronization verification. If the verification fails, a retransmission mechanism is triggered. The synergistic effect of the dual verification mechanism not only ensures the integrity of data transmission, but also achieves time slot synchronization control, effectively avoiding data packet loss and conflict problems in parallel transmission of multiple devices, and ensuring the reliability and accuracy of test data upload.
[0027] Preferably, the redundant discrimination mechanism of dynamic triggering + timed discrimination specifically includes the following steps: after the test project is started, the distribution automation master station first starts a 15-second timer. If any sudden change test information from any FTU is received within 15 seconds, the 15-second timer is closed and a 5-second timer is started. If all the sudden change test information from the tested FTUs is received within 5 seconds, the result is immediately judged and the next test project is entered. If not all the information is received, a general call is initiated and the 15-second timer is restarted. If all the test information is received within the restarted 15 seconds, the result is judged and the next project is entered. If not all the information is received, the result is judged according to the timed end method. If no FTU test information is received within the initial 15-second timer, a general call is initiated and the 15-second timer is restarted, and the result judgment is completed according to the above rules. This redundant discrimination mechanism takes into account both test efficiency and result reliability. It responds quickly to effective test information through dynamic triggering, and ensures data integrity by combining timed and general call intervention. It completes a single test project within 0 to 30 seconds, shortens the debugging time of a single project, and adapts to the high-efficiency requirements of batch testing.
[0028] Preferably, the method for enabling information interaction between multiple FTUs in a single test channel is as follows: the identifier layer transmits the number N of test instruments participating in the joint debugging, and the data layer transmits the test items and test results information of the N tested FTUs through N datasets respectively, with each dataset corresponding to a specific tested FTU. No additional test channel hardware is required. The one-to-one mapping between datasets and FTUs enables synchronous information interaction between multiple devices in a single channel, which reduces hardware deployment costs, solves the channel resource limitation problem of concurrent testing of multiple FTUs, and improves the deployment flexibility of the test system.
[0029] Preferably, the overall test plan includes the nameplate information, setting parameters, communication parameters of each FTU device, as well as the commissioning items and the commissioning item increment plan for a batch of FTU devices; the comprehensive and detailed overall test plan provides a clear basis for the personalized test of each FTU and the collaborative test of a batch of FTUs, ensuring that the test process conforms to the actual application scenario, guaranteeing the accuracy of single-device testing and achieving orderly collaboration in batch testing.
[0030] Preferably, if the theoretical test value sent by the tester to the master station is the same as the measured value sent by the被测 FTU to the master station, the test is qualified; otherwise, the test fails. Each test point is independently executed according to the order of the test task list; the unified discrimination standard and the orderly execution method of the test points ensure the fairness and accuracy of the batch test results. The independent execution of each test point facilitates problem location and provides a clear result basis for the automatic associated generation of the test report, improving the credibility and practicality of the test report. BRIEF DESCRIPTION OF THE DRAWINGS
[0031] Figure 1 It is a flowchart of the method for batch automatic point-to-point joint debugging of multiple FTU devices based on the dynamic trigger discrimination mechanism of the present invention;
[0032] Figure 2 It is a block diagram of the method for batch automatic point-to-point joint debugging of multiple FTU devices based on the dynamic trigger discrimination mechanism of the present invention;
[0033] Figure 3 It is a schematic diagram of the test control server of the method for batch automatic point-to-point joint debugging of multiple FTU devices based on the dynamic trigger discrimination mechanism of the present invention;
[0034] Figure 4 It is a flowchart of the network communication protocol of the method for batch automatic point-to-point joint debugging of multiple FTU devices based on the dynamic trigger discrimination mechanism of the present invention;
[0035] Figure 5 It is a flowchart of the test information of the tester of the method for batch automatic point-to-point joint debugging of multiple FTU devices based on the dynamic trigger discrimination mechanism of the present invention;
[0036] Figure 6 It is a time flowchart of the method for batch automatic point-to-point joint debugging of multiple FTU devices based on the dynamic trigger discrimination mechanism of the present invention. DETAILED DESCRIPTION OF THE EMBODIMENTS
[0037] The technical solutions of the embodiments of the present invention will be clearly and completely described below with reference to the accompanying drawings. Obviously, the described embodiments are only some embodiments of the present invention, and not all embodiments. Based on the embodiments of the present invention, all other embodiments obtained by those skilled in the art without creative effort are within the scope of protection of the present invention.
[0038] like Figures 1-6 As shown, the method for batch automatic point-to-point commissioning of multiple FTU devices based on a dynamic triggering and discrimination mechanism includes the following steps:
[0039] S1. Build a multi-module collaborative testing system;
[0040] An integrated testing system running on a test control server was built. This system consists of six independent yet collaborative core modules. Each module performs its own function and works seamlessly together, comprehensively covering the entire testing process management needs:
[0041] Wireless communication module: As the physical communication interface between the test system and the power distribution automation master station, it is specifically responsible for building a stable and reliable test communication channel, providing solid physical link support for data transmission;
[0042] Test Channel Management Module: The core implementation manages the one-to-one mapping between multiple testers and the FTU under test, clarifies the relationship between test equipment and the terminal under test, and avoids confusion in the transmission of test commands from the source;
[0043] The master station communication management module: uniformly registers and manages the unique identification codes such as IP address and port number required for communication between FTU, test device and master station, to ensure that the power distribution automation master station can accurately identify the identity information of the complete set of test instruments and each FTU under test;
[0044] Test Task Allocation Module: Based on the testing requirements of the FTU under test, it enables the systematic organization and flexible allocation of test projects, and supports the customization of test tasks according to terminal type, debugging priority and other dimensions;
[0045] Test Case Management Module: Stores and manages signal control output test cases from different testers during FTU testing. Standardized test case design standardizes the testing process and ensures the reliability and accuracy of test results.
[0046] Test task execution module: responsible for executing specific test processes, evaluating test results in real time, and automatically generating test reports that are accurately associated with the identity of the test device, completing the closed-loop management of test-judgment-report;
[0047] S2. Generate and deliver the overall test plan;
[0048] The test control server adopts a parallel control mode, establishing communication connections with multiple test instruments simultaneously to obtain the real-time operating status of each instrument. Based on this, the test control server automatically generates a comprehensive overall test plan according to the point table files of the multiple FTU devices under test and the actual application configuration. This plan specifically includes two core parts: first, the configuration information of a single FTU, covering the nameplate information, setpoint parameters, communication parameters, etc. of each FTU device; second, the batch FTU collaborative test information, including the commissioning items of the batch FTU devices and the commissioning item escalation plan, etc. After generation, the test control server transmits the overall test plan completely and accurately to the distribution automation master station through the test channel between the two stations, using the file service function of the IEC104 communication protocol, providing a unified execution basis for both parties to conduct collaborative testing.
[0049] S3. Design a network communication protocol with a layered redundancy structure:
[0050] To address the issues of command confusion and data conflicts during concurrent interaction of multiple FTUs, a layered redundant network communication protocol was specifically constructed. This protocol is divided into a control layer, an identification layer, a data layer, and a verification layer, from top to bottom. Each layer functions independently yet works collaboratively to achieve efficient and orderly information exchange between the test control server, multiple test instruments, and the power distribution automation master station. The specific design requirements for each layer are as follows:
[0051] Identification layer: The core is used to identify the unique identity of the test server and assign communication routes. It includes key information such as startup character, device ID, serial number, number of configured testers and time slot parameters to ensure accurate identity verification and information exchange with the distribution automation master station.
[0052] Control Layer: Defines the collaborative control instruction set of the tested FTU, covering the entire process of control instructions such as device registration instructions, time slot allocation instructions, point start instructions, data upload instructions, abnormal stop instructions, and result feedback instructions. All instructions adopt a standardized structure of "instruction code + parameter length + parameter content" to ensure the uniformity and standardization of instruction interaction.
[0053] Data Layer: Employs an extensible data frame format to support efficient transmission of information between different test instruments and their corresponding FTUs under test. Key fields are designed as follows:
[0054] Data identifier bits: used to clearly distinguish the telemetry, telesignaling, and remote control types of test information;
[0055] Transmission reason bit: Covers three message interaction methods: mutation, loop, and general call, to adapt to data transmission needs in different scenarios;
[0056] Data unit address bits: These are specifically used to transmit the tester's serial number and corresponding IP information, clearly indicating the data source;
[0057] Data object address: Transmits identification information such as the FTU number, port number, and IP address of the device under test, accurately locating the device under test;
[0058] Point number information: corresponds to the point number of the test item transmitted in this frame, which clarifies the test object;
[0059] Data element bit: The telemetry value or remote signaling and control position status corresponding to the test item point number, carrying the core test data;
[0060] Verification layer: A dual protection mechanism of "CRC32 cyclic redundancy check + timestamp synchronization check" is adopted. The CRC32 check code is used to verify the integrity of data transmission and prevent data tampering. The timestamp synchronization check achieves dual control of data integrity and timestamp synchronization by comparing the deviation between the data response time and the allocated time slot. The data stream that passes the verification will be stored in the host computer database. If the verification fails, the retransmission mechanism will be triggered immediately to ensure that there is no data conflict and no packet loss when multiple devices transmit in parallel.
[0061] S4. Simulate and notify test signals in advance:
[0062] According to the overall test plan, the test control server synchronously sends control commands to multiple testers, controlling each tester to output voltage, current and switch position analog signals to the corresponding FTU device in a preset order. The parameters and rhythm of the analog signals strictly match the requirements of the test plan to ensure the relevance and standardization of the test. Before the tester performs the additional simulation operation for each test item, the test control server informs the distribution automation master station of the test start information in advance through IEC104 short frame messages, so that the master station can accurately predict the test node and prepare for result discrimination, effectively improving the connection efficiency between the test and discrimination links.
[0063] S5. Implement redundancy detection and multi-FTU information interaction to generate a test report;
[0064] The multi-FTU information interaction on a single test channel is achieved using a dataset mapping method of "identifier layer + data layer". This method enables synchronous information interaction between multiple FTUs within a single test channel: the identifier layer explicitly conveys the number N of testers participating in the joint commissioning through data information elements, informing the distribution automation master station of the current scale of concurrent testing terminals; the data layer sets up N independent datasets, which respectively convey the test items and test results information of the N tested FTUs. The first dataset corresponds to the first tested FTU, the second dataset corresponds to the second tested FTU, and so on, achieving a one-to-one correspondence between datasets and tested FTUs, ensuring orderly and unconfused information interaction between multiple devices under a single channel;
[0065] The redundancy mechanism of dynamic triggering and timed judgment is implemented. The distribution automation master station uses the redundancy judgment mechanism of dynamic triggering and timed judgment to objectively judge the test results. The specific process is as follows:
[0066] After the test project is started, the power distribution automation master station receives the start notification command from the test control server, immediately starts the 15-second timer and enters the dynamic discrimination state;
[0067] If any test information from an FTU mutation is received within 15 seconds, immediately close the 15-second timer and start the 5-second timer:
[0068] If the sudden change test information of all tested FTUs is successfully received within 5 seconds, the distribution automation master station will immediately judge the test results of all FTUs and automatically proceed to the next test item after the judgment is completed.
[0069] If the mutation test information of all tested FTUs is not received within 5 seconds, the master station will automatically initiate a general call command for the FTUs that have not returned information, and at the same time restart the 15-second timer to enter the next discrimination stage.
[0070] After restarting the 15-second timer:
[0071] If all test information is received from FTUs via mutation or general recall within 15 seconds, the master station completes the result judgment and proceeds to the next test item.
[0072] If all test information is not received after the 15-second timer expires, the master station will judge the results of the FTUs that have received information according to the timer termination method, and record the test results of the FTUs that have not received information according to the corresponding rules, and then proceed to the next test item.
[0073] If no test information from any FTU is received within the initial 15-second timer, the master station will directly initiate a general call command for all tested FTUs and restart the 15-second timer. The result judgment will then be completed according to the rules in steps 2 and 3.
[0074] The core criterion for judging test results and generating reports is as follows: if the theoretical test value sent to the master station by the test instrument matches the actual measured value sent to the master station by the FTU under test, the test item is deemed qualified; if they do not match, the test is deemed a failure. All test points are independent test units, executed sequentially according to the test task sheet. After all test points and test items are completed, the system automatically summarizes the test results of each FTU, generates a complete test report accurately associated with the identity of the test device, and completes the automatic point-to-point commissioning of batch FTU devices.
[0075] As can be seen from the above, the specific embodiments of the present invention are as follows:
[0076] I. Construct a multi-module collaborative testing system;
[0077] Build a closed-loop testing system running on the test control server. The system consists of 6 functionally independent but collaborative core modules. The specific functions and implementation requirements of each module are as follows:
[0078] Wireless communication module: As the physical communication interface between the test system and the power distribution automation master station, it is responsible for building a stable test communication channel, providing reliable physical link support for data transmission, and ensuring the smooth transmission of test commands and feedback information;
[0079] Test Channel Management Module: The core implementation manages the one-to-one mapping between multiple testers and the FTUs under test, clearly defining the test objects of each tester, avoiding confusion of test commands from the source, and ensuring the orderliness of batch testing;
[0080] The master station communication management module uniformly registers and manages the unique identification codes such as IP addresses and port numbers required for communication between FTUs, test devices and the master station, ensuring that the power distribution automation master station can accurately identify the identity information of the complete set of test instruments and each FTU under test, and realize effective information exchange;
[0081] Test Task Allocation Module: Systematically manages the test items of the FTU under test, supports flexible allocation of debugging tasks according to FTU type and test requirements, and adapts to the diverse needs of batch testing;
[0082] Test Case Management Module: Stores and manages signal control output test cases from different testers during FTU testing. Standardized test case design standardizes the testing process and ensures the reliability and accuracy of test results.
[0083] Test task execution module: responsible for executing specific test processes, evaluating test results in real time, and automatically generating a test report that is accurately associated with the identity of the test device after all test items are completed, thus completing the closed-loop management of "test-judgment-report".
[0084] II. Test control server core operations and information interaction;
[0085] The test control server, as the core control unit for batch joint debugging, adopts a parallel control mode to achieve multi-device collaboration. The specific implementation process is as follows:
[0086] Overall Test Plan Generation and Transmission: The host computer control module of the test control server communicates with multiple test instruments in real time to obtain the operating status of each instrument. Simultaneously, based on the point table files and application configurations of the multiple FTU devices under test, it automatically generates an overall test plan. This plan contains two core components: first, individual FTU-specific configuration information, covering nameplate information, setpoint parameters, communication parameters, etc., for each FTU; second, batch FTU collaborative test information, including commissioning items and incremental commissioning plans for the batch FTUs. After generation, the test control server transmits the complete overall test plan to the distribution automation master station through the test channel between the server and the distribution automation master station, utilizing the file service function of the IEC104 communication protocol, providing a unified execution basis for collaborative testing between the two parties.
[0087] Test signal simulation and advance notification: According to the overall test plan, the test control server synchronously sends control commands to multiple testers, controlling each tester to output voltage, current and switch position simulation signals to the corresponding FTU device in a preset order. The simulation parameters strictly match the requirements of the debugging project's scaling scheme. Before the tester performs the scaling simulation operation for each test project, the test control server informs the distribution automation master station of the test start information in advance through IEC104 short frame messages, so that the master station can prepare for result judgment, clarify the "test execution role" of the tester and the "result judgment role" of the master station, and ensure the precise connection between the testing and judgment links.
[0088] III. Design a hierarchical redundant network communication protocol;
[0089] To address the issues of command confusion and data conflicts during concurrent interaction among multiple FTUs, a layered redundant network communication protocol was specifically designed. From top to bottom, it consists of a control layer, an identification layer, a data layer, and a verification layer. Each layer functions independently yet works collaboratively. The specific design is as follows:
[0090] Identification layer: Used to identify the unique identity of the test server and allocate communication routes, enabling precise information exchange with the power distribution automation master station. This layer contains key information such as startup character, device ID, serial number, number of configured testers and time slot parameters, clarifying the scale of equipment currently participating in the joint commissioning and the communication route allocation rules;
[0091] Control Layer: Defines the collaborative control instruction set for the tested FTU, covering the entire process of control instructions such as device registration instructions, time slot allocation instructions, point-to-point start instructions, data upload instructions, abnormal termination instructions, and result feedback instructions; all instructions adopt a standardized structure of "instruction code + parameter length + parameter content" to ensure the uniformity and standardization of instruction interaction between multiple devices and avoid instruction confusion;
[0092] Data Layer: Employs an extensible data frame format to support efficient transmission of information between different test instruments and their corresponding FTUs under test. Specific field designs are as follows:
[0093] Data identifier bits: used to distinguish the telemetry, telesignaling, and remote control types of test information;
[0094] Transmission reason bit: Covers three message interaction methods: mutation, loop, and general call, to adapt to data transmission needs in different scenarios;
[0095] Data unit address bits: transmit the tester number and corresponding IP information element, clarifying the data source;
[0096] Data object address: Transmits identification information elements such as the number, port number, and IP address of the FTU being tested, enabling precise location of the device under test;
[0097] Point number information: The point number corresponding to the test item transmitted in this frame message is used to clarify the test object;
[0098] Data element bits: core test data such as telemetry values / remote signaling and remote control position status corresponding to the point number of the test item;
[0099] CRC checksum: Provides basic integrity verification for the corresponding dataset;
[0100] Verification Layer: A dual protection mechanism of CRC32 cyclic redundancy check and timestamp synchronization check is adopted. The CRC32 checksum is used to verify the integrity of data transmission and prevent data tampering. Timestamp synchronization check compares the deviation between the data response time and the allocated time slot to achieve dual control over data integrity and time slot synchronization. Data streams that pass verification are stored in the host computer database. If verification fails, a retransmission mechanism is immediately triggered to ensure no data conflicts and no packet loss during parallel transmission by multiple devices.
[0101] IV. Implementation of multi-FTU information interaction in a single test channel;
[0102] To address the requirement of multiple FTUs interacting with the main station through a single test channel, a dataset mapping approach of "identifier layer + data layer" is adopted, as detailed below:
[0103] The test control server and the distribution automation master station adopt a master-slave interaction mode. The test control server acts as the server, sending test value information, test status, or location information for specific test items through telemetry and remote signaling messages. The distribution automation master station acts as the client, sending test judgment results for different tested FTU devices through remote control messages.
[0104] Taking the information interaction of N tested FTUs as an example: the identifier layer explicitly conveys the information "N testers are participating in the joint debugging" through data information elements, informing the main station of the current concurrent test scale; the data layer sets up N independent datasets accordingly. The first dataset conveys the test items and test results information of the first tested FTU, the second dataset conveys the relevant information of the second tested FTU, and so on. The Nth dataset conveys the information of the Nth tested FTU, realizing that a single test channel can simultaneously meet the synchronous interaction of test information of multiple FTU devices without the need to add additional hardware channels;
[0105] V. Implementation of a dynamic triggering + timed redundancy detection mechanism;
[0106] To achieve a balance between testing efficiency and result reliability, the distribution automation master station adopts a data acquisition method of "FTU test information sudden transmission + timed general recall of FTU test information," combined with a redundant discrimination mechanism of "dynamic triggering + timed discrimination." Each test point is an independent test unit, executed sequentially according to the test task sheet. The discrimination criterion is "if the theoretical test value sent to the master station by the tester matches the actual measured value sent to the master station by the tested FTU, it is qualified; otherwise, it fails." The specific implementation process is as follows:
[0107] Timer settings: Considering network transmission latency and the time requirements for FTU devices to send data to the master station as specified in the standard, two timers, 5S and 15S, are set to ensure that each test item is completed within 0~30S;
[0108] Judgment Process Initiation: Before starting the test project, the test control server transmits the start information to the distribution automation master station via telemetry or telesignal messages, and simultaneously controls the test instrument to perform signal simulation; after receiving the start notification command, the master station immediately starts a 15-second timer and performs dynamic result judgment:
[0109] If any FTU test-related information is received within 15 seconds, initiate step S1;
[0110] If no FTU test-related information is received within 15 seconds, proceed to step S3.
[0111] Step S1 execution: The 15S timer is turned off. After the master station receives the test information transmitted by any FTU mutation for the first time, the 5S timer is started:
[0112] If the master station receives all mutation test information sent by the tested FTUs within 5 seconds, it immediately judges the test results of all tested FTUs, dynamically ends the test item, and automatically enters the next test item.
[0113] If the master station does not receive all mutation test information from the tested FTUs after 5 seconds, it will initiate a general call command for the tested FTUs that have not received information, restart the 15-second timer, and proceed to step S2.
[0114] Step S2 is executed as follows:
[0115] If the master station receives all test information from all FTUs via mutation or general call within 15 seconds, it immediately determines the result and proceeds to the next test item.
[0116] If the test information from all tested FTUs is not received by a sudden change or general call after the 15-second timer expires, the master station will judge the test results of all tested FTUs by the timer termination method, end the test of this item, and automatically enter the next test item.
[0117] Step S3 execution: Disable the 15S timer, the master station initiates a general call command to all tested FTUs, and restarts the 15S timer:
[0118] If all test-related information sent by the tested FTU is received within 15 seconds, the master station will determine the result and proceed to the next test item.
[0119] If all test information is not received after the 15-second timer expires, the master station will determine the result by ending the timer, terminate the test for that item, and automatically proceed to the next test item.
[0120] Results Summary: After all test points are completed in the above logical order, the system automatically summarizes all test results, generates corresponding test reports, and completes the automatic point-to-point commissioning of batch FTU devices.
[0121] The above descriptions are merely embodiments of the present invention, and common knowledge regarding specific structures and characteristics is not elaborated upon here. It should be noted that those skilled in the art can make various modifications and improvements without departing from the structure of the present invention, and these should also be considered within the scope of protection of the present invention. These modifications and improvements will not affect the effectiveness of the present invention or the practicality of the patent. The scope of protection claimed in this application should be determined by the content of its claims, and the specific embodiments described in the specification can be used to interpret the content of the claims.
Claims
1. A method for batch automatic point-to-point joint commissioning of multiple FTU devices based on a dynamic triggering and discrimination mechanism, characterized in that, Includes the following steps: A test system running on a test control server is constructed. The test system includes a wireless communication module, a test channel management module, a master station communication management module, a test task allocation module, a test case management module, and a test task execution module, which are used to realize batch collaborative test management and information interaction between multiple test instruments and multiple FTU devices. The test control server controls multiple testers in parallel, generates an overall test plan based on the test table file and application configuration of the multiple FTU devices under test, and transmits the test plan to the distribution automation master station through the IEC104 communication protocol file service function. The test control server controls multiple testers to perform voltage, current and switch position simulations on the corresponding FTU devices in sequence according to the test plan, and generates simulated test signals to trigger the FTU devices to feed back measured data. Before the simulation, the distribution automation master station is notified in advance via IEC104 short frame message. The distribution automation master station collects the theoretical test values from the test instrument and the actual measured data fed back by the FTU device. It adopts a redundant discrimination mechanism of dynamic triggering + timed discrimination to distinguish between the theoretical test values and the actual measured data. The test information of multiple FTU devices is synchronously exchanged through a single test channel, and finally a test report is generated.
2. The method for batch automatic point-to-point commissioning of multiple FTU devices based on a dynamic triggering discrimination mechanism according to claim 1, characterized in that: The wireless communication module serves as the physical communication interface between the test system and the distribution automation master station, establishing a test communication channel. The test channel management module implements a one-to-one mapping management between the test instrument and the FTU under test. The master station communication management module uniformly manages the unique identification codes such as IP address and port number of the FTU, test device, and master station communication. The test task allocation module manages the test items for the FTU under test. The test case management module manages the signal control output test cases of the test instrument for FTU testing. The test task execution module completes the test result evaluation and test report generation.
3. The method for batch automatic point-to-point commissioning of multiple FTU devices based on a dynamic triggering discrimination mechanism according to claim 2, characterized in that: A layered redundant network communication protocol is constructed, comprising a control layer, an identification layer, a data layer, and a verification layer from top to bottom. This protocol facilitates information exchange between the test control server, multiple test instruments, and the power distribution automation master station. Each layer of the network communication protocol meets the following requirements: The identification layer includes a start character, device ID, serial number, number of test instruments, and time slot parameters, used to identify the unique identity of the test server and allocate communication routes; the control layer defines a set of collaborative control instructions, such as device registration instructions, time slot allocation instructions, and point-to-point start instructions, with the instruction format adopting a standardized structure of "instruction code + parameter length + parameter content"; the data layer adopts an extensible data frame format, including data identifier bits, transmission reason bits, data unit address bits, data object address bits, point number information, and data element bits; the verification layer employs a dual mechanism of CRC32 cyclic redundancy check and timestamp synchronization check.
4. The method for batch automatic point-to-point commissioning of multiple FTU devices based on a dynamic triggering discrimination mechanism according to claim 3, characterized in that: The collaborative control instruction set of the control layer also includes data upload instructions, abnormal termination instructions, and result feedback instructions.
5. The method for batch automatic point-to-point commissioning of multiple FTU devices based on a dynamic triggering discrimination mechanism according to claim 3, characterized in that: The data layer includes a data identifier bit to distinguish test information of telemetry, telesignaling, and remote control types; a transmission reason bit to cover three message interaction modes: mutation, loop, and general call; a data unit address bit to transmit the test instrument number and corresponding IP information; a data object address bit to transmit the number, port number, and IP address of the FTU under test; a point number information corresponding to the test item point number transmitted in the message; and a data element bit corresponding to the telemetry value or telesignaling / remote control position status of the test item point number.
6. The method for batch automatic point-to-point commissioning of multiple FTU devices based on a dynamic triggering discrimination mechanism according to claim 3, characterized in that: The verification layer includes a CRC32 checksum for data integrity verification. The timestamp synchronization verification verifies data integrity and timestamp synchronization by comparing the deviation between the response time and the allocated timestamp. If the verification fails, a retransmission mechanism is triggered.
7. The method for batch automatic point-to-point commissioning of multiple FTU devices based on a dynamic triggering discrimination mechanism according to claim 1, characterized in that: The redundant discrimination mechanism of dynamic triggering + timed discrimination specifically includes the following: after the test project is started, the distribution automation master station first starts a 15S timer. If the test information of any FTU change is received within 15S, the 15S timer is closed and a 5S timer is started. If the test information of all the tested FTUs change within 5S, the result is immediately judged and the next test project is entered. If not all test information is received, initiate a general call and restart the 15-second timer; if all test information is received within the restarted 15 seconds, determine the result and proceed to the next item. If the data is still not fully received, the result will be determined according to the timer termination method; if no FTU test information is received within the initial 15-second timer, a general call will be initiated and the 15-second timer will be restarted, and the result will be determined according to the above rules.
8. The method for batch automatic point-to-point commissioning of multiple FTU devices based on a dynamic triggering discrimination mechanism according to claim 1, characterized in that: The method for enabling information exchange between multiple FTUs through a single test channel is as follows: the identifier layer transmits the number N of test instruments participating in the joint debugging, and the data layer transmits the test items and test results information of the N tested FTUs through N datasets respectively, with each dataset corresponding to a tested FTU.
9. The method for batch automatic point-to-point commissioning of multiple FTU devices based on a dynamic triggering discrimination mechanism according to claim 7, characterized in that: The overall test plan includes the nameplate information, setpoint parameters, and communication parameters of each FTU device, as well as the commissioning items and the plan for increasing the number of commissioning items for batch FTU devices.
10. The method for batch automatic point-to-point commissioning of multiple FTU devices based on a dynamic triggering discrimination mechanism according to claim 1, characterized in that: If the theoretical test value sent to the master station by the tester is consistent with the actual test value sent to the master station by the FTU under test, the test is qualified; otherwise, the test fails. Each test point is executed independently according to the test task sheet sequence.