An automatic testing method, system, device, and storage medium for fiber optic differential protection.
By creating a basic information database and configuring 5G communication parameters on the test management server, the dual-end automatic joint debugging test of line fiber differential protection is realized, which solves the problems of excessive human intervention and low automation in existing test methods and improves the safety and accuracy of the test.
Patent Information
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- YUNNAN POWER GRID CO LTD
- Filing Date
- 2026-01-15
- Publication Date
- 2026-05-05
AI Technical Summary
Existing fiber optic differential protection testing methods cannot achieve automatic dual-end commissioning, resulting in problems such as excessive human intervention, difficulty in simulating faults, low automation, and inability to exchange data to form a unified report.
By creating a basic information database on the test management server, configuring 5G communication parameters, establishing a secure communication tunnel and an independent communication channel, the test terminal can achieve encrypted connection and protocol interface with mobile terminals, relay protection devices and GPS clock sources, automatically synchronize testing and generate standardized reports.
It improves the security, accuracy, and automation of testing, ensures the timely transmission and standardized management of test data, and provides reliable testing basis.
Smart Images

Figure CN121540975B_ABST
Abstract
Description
Technical Field
[0001] This invention relates to the field of automatic testing technology for secondary equipment in substations, and in particular to an automatic testing method, system, equipment, and storage medium for fiber optic differential protection. Background Technology
[0002] In the field of automatic testing of substation secondary equipment, fiber optic differential protection for lines, as the main protection method for line protection, is increasingly widely used in practice due to its ability to effectively protect the entire length of the line and its significant advantages such as sensitivity and reliability. However, fiber optic differential protection for lines is usually deployed between different substations, with distances reaching tens or even hundreds of kilometers, which poses a significant challenge to its testing. How to achieve automatic dual-end commissioning and testing of fiber optic differential protection for lines has become an urgent technical problem to be solved.
[0003] Currently, conventional protection commissioning methods cannot achieve automated two-end commissioning tests for fiber optic differential protection. Existing testing methods require manual communication between personnel at both ends to synchronously trigger the test, resulting in significant human intervention throughout the process. While this method requires minimal modification to existing testing equipment, it suffers from numerous drawbacks. For example, fault simulation is difficult, and the need for telephone communication between personnel at both ends for test configuration leads to low automation. Furthermore, the two-end testing equipment operates independently, preventing data exchange and hindering the generation of unified test reports and result assessments, making it extremely inconvenient to use. Summary of the Invention
[0004] In view of the above-mentioned problems, the present invention is proposed.
[0005] Therefore, the technical problem solved by this invention is that when line fiber optic differential protection is deployed between different substations, conventional protection commissioning methods cannot achieve automatic commissioning and testing at both ends, and the existing testing methods suffer from problems such as excessive human intervention, difficulty in simulating faults, low automation, and inability to exchange data to form unified reports and judgment results.
[0006] To solve the above-mentioned technical problems, the present invention provides the following technical solution:
[0007] In a first aspect, the present invention provides an automatic testing method for fiber optic differential protection, comprising:
[0008] Based on the required metadata of various test resources, a basic information database is created and maintained on the test management server. Based on the elements in the information database, basic test case templates are configured in a configuration manner.
[0009] Configure 5G communication parameters for the server and on-site mobile terminals, and enable 5G networking between the mobile terminals and the server;
[0010] At the substation site, complete the physical connection and communication protocol docking between the test terminal and the mobile terminal, the test terminal and the relay protection device, and the test terminal and the GPS clock source in the station.
[0011] The mobile terminal obtains specific test cases and substation configuration files from the server through the established 5G connection, and sends them to the test terminal after Bluetooth encryption and compression; the test terminal parses the received file and instantiates the basic test case template into a test sequence.
[0012] The mobile terminal sends a start command, and the test terminal automatically synchronizes the test.
[0013] After the test is completed, the slave device uploads the collected data to the host device; the host device integrates the data from both sides and uses the logical judgment module in the test sequence to perform a global evaluation; finally, a standardized test report is automatically generated and transmitted back to the server for archiving via the network.
[0014] As a preferred solution for automatic testing methods of fiber optic differential protection, wherein:
[0015] The step of configuring 5G communication parameters for the server and the on-site mobile terminal, and enabling 5G networking between the mobile terminal and the server, includes:
[0016] The work area server is equipped with dedicated network equipment, bound to a fixed network address and encrypted port, to establish a secure communication tunnel; the mobile terminal integrates a communication module, is equipped with an authenticated communication card, to achieve fully encrypted communication, and is allocated an independent communication channel at the network level;
[0017] Station engineers log in via mobile terminal authentication to remotely access the server. The server automatically parses the personnel's permission information and associates it with the corresponding substation information database. The server distributes test case packages and substation configuration files through the 5G channel. After receiving the files, the mobile terminal verifies the data integrity, executes local decryption and format conversion strategies, and generates test scripts that can be recognized by the test terminal.
[0018] The beneficial effects of this preferred technical solution are as follows: by configuring dedicated network equipment, binding fixed addresses and encrypted ports, integrating communication modules and loading authentication communication cards, a secure and reliable 5G communication network is established, ensuring the security and integrity of data transmission. At the same time, through personnel permission parsing and association information database, accurate data distribution and use are achieved, improving the standardization and efficiency of the testing process.
[0019] As a preferred solution for automatic testing methods of fiber optic differential protection, wherein:
[0020] The process of completing the physical connection and communication protocol integration between the test terminal and the mobile terminal, the test terminal and the relay protection device, and the test terminal and the GPS clock source within the substation at the substation site includes:
[0021] At the substation site, test terminals and mobile terminals are deployed locally. The test terminal establishes an encrypted connection with the mobile terminal through a key exchange protocol, and the main control unit of the test terminal is connected to the station control layer network port of the relay protection device. The test unit of the test terminal is connected to the process layer direct acquisition port and GOOSE direct trip port of the relay protection device through different types of optical fibers, respectively, to send messages to apply excitation, construct virtual circuit breaker signals, and parse trip signals based on the corresponding protocols. The test terminal is connected to the time synchronization port of the GPS time synchronization device.
[0022] The beneficial effects of this preferred technical solution are as follows: establishing an encrypted connection through a key exchange protocol ensures the security of communication between the test terminal and the mobile terminal; the connection between the test terminal and different ports of the relay protection device and the application of corresponding protocols enable comprehensive testing of the relay protection device; and access to the GPS time synchronization device provides accurate time synchronization for testing, improving the accuracy and reliability of test results.
[0023] As a preferred solution for automatic testing methods of fiber optic differential protection, wherein:
[0024] The mobile terminal obtains specific test cases and substation configuration files from the server via an established 5G connection, and sends them to the test terminal after Bluetooth encryption and compression. The test terminal parses the received files and instantiates the basic test case template into a test sequence, including:
[0025] After receiving the file, the test terminal uses the built-in parsing module to parse the substation configuration file, extract relevant information about the relay protection device, generate signal point data instances, bind the test signal points in the test cases with the signal point data instances, and establish a mapping relationship.
[0026] Based on the mapping relationship of basic signal points, different types of test modules are instantiated; for pressure plate activation / deactivation test modules, the addresses and descriptions of relevant signals are obtained from the corresponding dataset; for logic judgment test modules, the relevant identifiers and descriptions of monitoring signals are obtained from the corresponding dataset and report control block information; for differential protection test modules, the calculation method and rated parameters are selected according to the manufacturer and model of the relay protection device, and the fault quantity is calculated differently.
[0027] The beneficial effects of this preferred technical solution are as follows: by parsing the substation configuration file and establishing signal point mapping relationships, customized instantiation of test cases is realized; different instantiation methods are adopted for different types of test modules, enabling differentiated testing based on the actual situation of the relay protection device, thereby improving the pertinence and accuracy of the test.
[0028] As a preferred solution for automatic testing methods of fiber optic differential protection, wherein:
[0029] The mobile terminal obtains specific test cases and substation configuration files from the server via an established 5G connection, and sends them to the test terminal after Bluetooth encryption and compression. The test terminal parses the received files, instantiates the basic test case template into a test sequence, and also includes:
[0030] The test terminal constructs a serialized test sequence containing pressure plate activation / deactivation, differential protection, and logic judgment based on the instantiated signal points and the association between the test modules in the test cases, as well as the relay protection test execution logic in the test modules, thereby realizing the fully automatic generation of substation test sequences.
[0031] As a preferred solution for automatic testing methods of fiber optic differential protection, wherein:
[0032] The mobile terminal issues a start command, and the test terminal automatically synchronizes the test, including:
[0033] The mobile terminal sends a start test command. After receiving the command, the host triggers a synchronization test command and uploads it to the host-side mobile terminal via Bluetooth. The host-side mobile terminal uploads the synchronization test command to the server via the 5G network. The server then forwards the command to the slave-side mobile terminal via the 5G network. The slave-side mobile terminal sends the synchronization test command to the slave device. The host and slave devices then begin automatic synchronization testing based on the synchronization test command.
[0034] As a preferred solution for automatic testing methods of fiber optic differential protection, wherein:
[0035] After the test is completed, the slave device uploads the collected data to the host device; the host device integrates the data from both sides and performs a global evaluation using the logical judgment module in the test sequence; finally, a standardized test report is automatically generated and transmitted back to the server for archiving via the network, including:
[0036] After receiving feedback signals from both sides, the host calls the logic judgment test module for evaluation;
[0037] After the test task is completed, the host-side main control unit automatically generates a standardized test report based on the preset test sequence and corresponding evaluation results.
[0038] Secondly, the present invention provides an automatic testing system for fiber optic differential protection, comprising:
[0039] The basic information and test case template creation module is used to create and maintain a basic information database on the test management server based on the required metadata of various test resources, and to configure basic test case templates through configuration based on the elements in the information database.
[0040] The 5G networking configuration module is used to configure 5G communication parameters for the server and on-site mobile terminals, and to enable 5G networking between the mobile terminals and the server.
[0041] The field equipment connection and docking module is used to complete the physical connection and communication protocol docking between the test terminal and the mobile terminal, the test terminal and the relay protection device, and the test terminal and the GPS clock source in the substation.
[0042] The test sequence instantiation module is used by the mobile terminal to obtain specific test cases and substation configuration files from the server through the established 5G connection, and then send them to the test terminal after Bluetooth encryption and compression; the test terminal parses the received file and instantiates the basic test case template into a test sequence.
[0043] The automatic synchronization test module is used to automatically synchronize the test terminal when the mobile terminal sends a start command.
[0044] The test report generation and archiving module is used to upload the collected data from the slave device to the host device after the test is completed. The host device integrates the data from both sides and performs a global evaluation using the logical judgment module in the test sequence. Finally, a standardized test report is automatically generated and transmitted back to the server for archiving via the network.
[0045] Thirdly, the present invention provides a computer device, comprising:
[0046] Memory and processor;
[0047] The memory is used to store computer-executable instructions, and the processor is used to execute the computer-executable instructions. When the computer-executable instructions are executed by the processor, they implement the steps of the automatic testing method for fiber optic differential protection.
[0048] Fourthly, the present invention provides a computer-readable storage medium storing computer-executable instructions that, when executed by a processor, implement the steps of an automatic testing method for fiber optic differential protection.
[0049] The beneficial effects of this invention are as follows: In terms of communication, by configuring 5G communication parameters for the server and mobile terminal, a secure communication tunnel and independent communication channel are established to achieve end-to-end encrypted communication, ensuring the security and integrity of data transmission. This solves the shortcomings of traditional communication methods in terms of security and reliability, enabling accurate and timely transmission of test data. Regarding field connections, the physical connections and protocol interfaces between the test terminal and the mobile terminal, relay protection device, and GPS clock source, especially the encrypted connections, access from different ports, and precise time synchronization, provide a secure and reliable physical foundation and time synchronization for testing, ensuring that the test accurately reflects the true performance of the relay protection device. In terms of test case generation and execution, the mobile terminal... The system automatically acquires and distributes files to the terminal, and the test terminal instantiates the template to construct a serialized test, achieving fully automated generation of test sequences. This reduces manual intervention, avoids human error, and improves testing efficiency and standardization. In the synchronous testing phase, the system utilizes a 5G network and server relay to achieve automatic synchronous testing between the host and slave devices, ensuring the synchronization and coordination of the testing process and making the test results from different devices comparable. After the test is completed, the slave device uploads the data, the host evaluates it, and automatically generates a standardized test report for archiving. This facilitates the management and analysis of test results, provides a reliable basis for the safe and stable operation of the power system, and improves the automation level and data management standardization of relay protection device testing. Attached Figure Description
[0050] To more clearly illustrate the technical solutions of the embodiments of the present invention, the drawings used in the following description of the embodiments will be briefly introduced. 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.
[0051] Figure 1 This is an overall flowchart of the automatic testing method for fiber optic differential protection provided by the present invention.
[0052] Figure 2 This is a system architecture diagram of the hardware device for the automatic testing method for fiber optic differential protection provided by the present invention. Detailed Implementation
[0053] To make the above-mentioned objects, features, and advantages of the present invention more apparent and understandable, specific embodiments of the present invention will be described in detail below with reference to the accompanying drawings. Obviously, the described embodiments are only a part of the embodiments of the present invention, and not all of them. Based on the embodiments of the present invention, all other embodiments obtained by those skilled in the art without creative effort should fall within the protection scope of the present invention.
[0054] Example 1, referring to Figures 1-2This is the first embodiment of the present invention, which provides an automatic testing method for fiber optic differential protection, comprising:
[0055] S1: Based on the required metadata of various test resources, create and maintain a basic information database on the test management server, and configure basic test case templates through configuration based on the elements in the information database;
[0056] S2: Configure 5G communication parameters for the server and on-site mobile terminals, and enable 5G networking between the mobile terminals and the server;
[0057] S3: At the substation site, complete the physical connection and communication protocol docking between the test terminal and the mobile terminal, the test terminal and the relay protection device, and the test terminal and the GPS clock source in the station.
[0058] S4: The mobile terminal obtains specific test cases and substation configuration files from the server through the established 5G connection, and sends them to the test terminal after Bluetooth encryption and compression; the test terminal parses the received file and instantiates the basic test case template into a test sequence.
[0059] S5: The mobile terminal sends a start command, and the test terminal automatically synchronizes the test.
[0060] S6: After the test is completed, the slave device uploads the collected data to the host; the host integrates the data from both sides and uses the logical judgment module in the test sequence to perform a global evaluation; finally, a standardized test report is automatically generated and transmitted back to the server for archiving via the network.
[0061] It should be noted that, as Figure 2As shown, steps S1-S6 are implemented by the following hardware devices: a test management server, a mobile terminal, a test terminal, and a relay protection device. The test management server (hereinafter referred to as the server) is deployed in the office area and is used to manage personnel information, site information, test cases, and substation configuration files. The server filters the corresponding substations by logging in and manages test cases and substation configuration files according to personnel permissions. By configuring the server's 5G (5th Generation) network communication IP (Internet Protocol) address and 5G network service port number, a communication connection can be established with the mobile terminal in the substation. In actual use, on-site test personnel remotely access the server through a specific IP address and network service port number to obtain the test cases and substation configuration files required for on-site testing. It can also act as a data relay station, forwarding control commands and business data between different sites to the mobile terminal on the other side, realizing long-distance data interaction. The mobile terminal is deployed on-site at the substation, with one mobile terminal used in conjunction with one test terminal. The mobile terminal remotely accesses the server by inserting a 5G network SIM card, configuring the communication IP address and network port number, and obtaining test cases and substation configuration files. When testers perform tests at the station, they log in with their personnel information and can retrieve all station information for the current tester from the server. Testers select test stations based on actual test requirements, and the system automatically retrieves the corresponding test cases and substation configuration files. The test terminal enables Bluetooth communication to establish a connection with its local test terminal, allowing it to obtain test process data during the test and test results upon completion. It displays the current test progress and data in real time for easy viewing by testers. For the master-side mobile terminal, it is also used to control the start and stop of the test; to forward test synchronization commands from the master side to the slave-side mobile terminal via the server; and to receive test process data from the slave-side mobile terminal. For the slave-side mobile terminal, it receives test synchronization commands from the master side and forwards test process data from the slave side to the master-side mobile terminal via the server. The test terminal includes a main control unit and a test unit.The test unit is used for fault calculation, output excitation, and signal acquisition. Based on the test sequence issued by the main control unit and the setting information read by the main control unit from the relay protection device, the test unit calculates the required fault quantity and connects to the process layer direct sampling and direct tripping ports of the relay protection device via optical fiber. It outputs SMV (Sampled Measured Values) / GOOSE (Generic Object Oriented Substation Event) to the relay protection device. After the relay protection device actuates, the test unit acquires the tripping GOOSE signal issued by the relay protection device via the direct tripping port. The main control unit is used for communication interaction, test control, and logic calculation. Communication interaction includes Bluetooth communication with mobile terminals and communication with the station control layer MMS (Manufacturing Message Service) of the relay protection device. Specification (Manufacturing Message Specification) Communication; Test control includes receiving test start and stop commands from the mobile terminal; sending remote control commands to modify the relay protection device's pressure plate and control word, and sending instructions to read protection settings, control words, pressure plates, and equipment parameter information; Logic calculation calculates test results based on the retrieval signals from the test unit and the judgment conditions in the test sequence, and automatically judges the correctness of the relay protection device's action behavior; The relay protection devices are actually deployed in multiple different substations and are fiber optic differential protection from the same manufacturer. The fiber optic differential protection devices are connected through a dedicated multiplexed fiber optic channel. Only when multiple relay protection devices connected by multiplexed fibers receive a fault at the same time can corresponding actions be generated. Therefore, the synchronization of the test terminal is particularly important; The mobile terminal is deployed locally in the substation and is divided into a test terminal host (hereinafter referred to as the host) and a test terminal slave (hereinafter referred to as the slave) according to its business functions. The host is responsible for controlling the fault output on its own side, synchronizing the test mechanism, and judging the results. The slave is responsible for cooperating with the host to control the fault output on its own side. To meet the synchronization requirements, both the host and the slave are connected to the GPS (Global Positioning System) time synchronization device in the substation.
[0062] Example 2, refer to Figure 1 As one embodiment of the present invention, based on the previous embodiment, an automatic testing method for fiber optic differential protection is provided, comprising:
[0063] In this embodiment, step S1 above involves creating and maintaining a basic information database on the test management server based on the required metadata of various test resources. Configuring basic test case templates based on elements in the information database includes:
[0064] The basic information database includes: a personnel information database, a substation information database, a test signal information database, and a test module information database. The personnel information database and the substation information database are used to manage personnel information and substation site information; the test signal information database and the test module information database are used to configure and generate basic test case templates.
[0065] Specifically, the personnel information database is established by provincial company, municipal company, and unit. The personnel information in the database includes the personnel name, as well as the corresponding username, password, permission level, provincial company, municipal company, and unit. The username and password are used to log in to the server to view the substation information database, test signal information database, and test module information database.
[0066] The access levels include administrators, auditors, and testers. Administrators are used to manage the management information database; auditors are used to view and audit all substation information, test signal information, and test module information entered into the database, and are also used to assign test tasks to engineering personnel; engineering personnel are used to create and modify substation information, test signal information, and test module information, and are also used to perform actual test tasks on-site.
[0067] The substation information database is established by provincial company, municipal company, unit, and voltage level. The substation information in the database includes the substation name, as well as the provincial company, municipal company, unit, and voltage level to which the substation name belongs.
[0068] The information in the substation information database for provincial companies, municipal companies, and units is consistent with that in the personnel information database. By logging in with personnel information, the system can automatically filter information on all voltage levels of substations within the provincial company, municipal company, or unit where the current user is located. By linking personnel information with substation information, it is possible to quickly filter the substation information that the current user can view. It also ensures that only personnel with the appropriate permissions can access and operate the corresponding substation test tasks.
[0069] The test signal information database is established on a per-relay protection device basis. The manufacturer and model of the relay protection device indicate its differences. Based on the network type to which the test signal belongs, it is divided into station control layer test signals and process layer test signals. Station control layer signals include settings, control words, pressure plates, remote signaling, remote measurement, and equipment parameters; process layer signal points include SMV transmission, GOOSE transmission, and GOOSE reception. Test signal points include signal description, signal type, and signal parameters.
[0070] The test module database includes pressure plate activation / deactivation test modules, logic judgment test modules, and differential protection test modules. Pressure plate activation / deactivation test modules remotely control the relay protection device to modify the pressure plate status based on added pressure plate signals and their activation / deactivation status. Logic judgment test modules evaluate the correctness of current test results based on added test signal points and their expected states. Differential protection test modules perform fault calculations based on the differential calculation method, fault parameters, and device settings within the module, and output excitation signals.
[0071] By flexibly configuring test modules and test signals, corresponding basic test case templates are compiled according to the test items in the work instructions, and stored and managed according to the substation information classification.
[0072] In this embodiment, step S2 above, configuring 5G communication parameters for the server and the on-site mobile terminal, and enabling 5G networking between the mobile terminal and the server, includes:
[0073] The server is deployed in the work area and can be directly accessed from office computers. Testers and auditors manage the basic information database and configure test case templates before test tasks are executed. Before on-site operations begin, auditors and engineers must perform a dual verification mechanism.
[0074] Auditors review the accuracy of the basic information database and substation test configuration files to ensure the smooth execution of on-site tests;
[0075] Testers review the compatibility between the generated test case templates and the actual work instructions to ensure that the test sequence in the test case templates covers all the test content in the work instructions.
[0076] After approval, a remote operation command is sent to the designated substation via the server and 5G network.
[0077] Furthermore, 5G communication networking is achieved through the following methods: The work area server is configured with a dedicated 5G CPE (Customer Premises Equipment), bound to a fixed public IP address and encrypted communication port, establishing a VPN (Virtual Private Network) tunnel conforming to the IEC 62351 (International Electrotechnical Commission) standard; the mobile terminal integrates an industrial-grade 5G module, equipped with a CA (Certificate Authority) certified SIM (Subscriber Identity Module) card, and achieves end-to-end encrypted communication through dynamic APN (Access Point Name) access technology. The network layer employs slicing technology to allocate independent QoS (Quality of Service) channels to ensure the reliability of control commands and test data transmission.
[0078] For engineering personnel at the substation, they can log in via mobile terminal authentication to remotely access the server. The server automatically parses the personnel's permission information and associates it with the corresponding substation information database. The server distributes test case packages and substation configuration files via the 5G channel. After receiving the files, the mobile terminal verifies the data integrity and executes local decryption and format conversion strategies to generate test scripts that can be recognized by the test terminal.
[0079] In this embodiment, step S3 above, which involves completing the physical connection and communication protocol interface between the test terminal and the mobile terminal, the test terminal and the relay protection device, and the test terminal and the station's GPS clock source at the substation site, includes:
[0080] The test terminal and mobile terminal are used together and deployed on-site at the substation. The test terminal uses a Bluetooth 5.0 chipset, BLE Mesh networking, and an ECDH key exchange protocol to establish an encrypted connection with the mobile terminal, ensuring the security of the substation network. The main control unit of the test terminal connects to the station control layer network port of the relay protection device via an RJ45 interface, using the MMS protocol to implement upper-layer interaction functions such as device setting reading and pressure plate status modification. The test unit of the test terminal connects to the process layer direct sampling port of the relay protection device via an 850nm multimode fiber, sending SMV messages based on the 9-2LE sampling value transmission protocol to apply excitation to the relay protection device. The test unit of the test terminal connects to the GOOSE direct trip port of the relay protection device via a 1310nm single-mode fiber, constructing virtual circuit breaker signals according to the IEC 61850-8-1 standard, and also used to parse the trip signals of the relay protection device according to the IEC 61850-8-1 standard. The test terminal connects to the GPS time synchronization device's time port via an FT3 (Format Type 3) serial port.
[0081] The test terminal determines the correctness of the connection by analyzing the substation configuration file and the communication messages from the relay protection device station control layer network and process layer network.
[0082] Specifically, the test terminal main control unit parses the substation configuration file, obtains the station control layer IP address of the relay protection device, and realizes interaction with the relay protection station control layer by setting the main control unit and the relay protection station control layer to the same network segment IP address. The correctness of the connection between the test terminal and the relay protection device is judged by analyzing the communication status of the station control layer.
[0083] The test terminal main control unit parses the substation configuration file, obtains the GOOSE control block for the relay protection device tripping, and judges the correctness of the connection between the test terminal and the relay protection device by parsing the GOOSE control block sent by the direct trip port of the relay protection device and comparing the consistency between the GOOSE control block in the configuration file and the received GOOSE control block.
[0084] In this embodiment, in step S4 above, the mobile terminal obtains specific test cases and substation configuration files from the server through the established 5G connection, and sends them to the test terminal after Bluetooth encryption and compression; the test terminal parses the received files and instantiates the basic test case template into a test sequence, including:
[0085] Test cases and configuration files for mobile terminals are obtained from the server via the 5G network and then sent to the corresponding test terminals via Bluetooth. The test terminals construct a serialized test sequence of pressure plate activation / deactivation, differential protection, and logic judgment based on the instantiated signal points and their association with the test modules in the test cases, as well as the relay protection test execution logic within the test modules. This achieves fully automated generation of substation test sequences.
[0086] Specifically, the mobile terminal encrypts and compresses the test cases and substation configuration files before sending them to the test terminal. Bluetooth protocol has limitations in transmission speed and security; therefore, file encryption ensures file security, and file compression improves file transmission efficiency.
[0087] The test terminal has a built-in SCL (Substation Configuration Language) parsing module, which is used to parse substation configuration files, relay protection device information (IED), extract device capability descriptions (LogicalNode), datasets (DataSet), and report control block information, generate signal point data instances for each IED, bind test signal points in the test cases (such as SV (Sampled Values) channel voltage and current, GOOSE switch quantities) with the parsed signal point data instances, establish a mapping relationship, and complete the instantiation of basic signal points;
[0088] For the test module, instantiation of the test module is completed based on the mapping relationship of the basic signal points.
[0089] Specifically, in the pressure plate engagement / disengagement test module, the engagement / disengagement pressure plate and control word signals obtain the address and description of the MMS instance from the corresponding dataset;
[0090] In the logic judgment test module, the MMS signal monitored obtains the address and description of the MMS instance from the corresponding dataset; the GOOSE signal monitored obtains the unique identifier (appid), id (goID), reference (goRef), channel number and channel description of the GOOSE control block from the report control block information.
[0091] The differential protection test module selects the differential calculation method and differential calculation rated parameters based on the protection manufacturer and equipment model in the relay protection device information, and calculates the fault quantity in a differentiated manner;
[0092] The test terminal constructs a serialized test sequence of pressure plate activation / deactivation, differential protection, and logic judgment based on the instantiated signal points and test modules in the test cases and the relay protection test execution logic in the test modules, thereby realizing the fully automatic generation of substation test sequences.
[0093] In this embodiment, step S5 above, in which the mobile terminal issues a start command and the test terminal automatically synchronizes the test, includes:
[0094] The host-side mobile terminal sends a test start command to the host, which triggers a synchronization test command and sends it to the host-side mobile terminal via Bluetooth. The host-side mobile terminal then uploads the command to the server via the 5G network. The server forwards the synchronization test command to the slave-side mobile terminal via the 5G network, and the slave-side mobile terminal sends a synchronization test command to the slave. The host and slave then begin automatic synchronization testing based on the synchronization test command.
[0095] Specifically, the principle of synchronization is as follows:
[0096] The master unit connects to the local GPS time synchronization network and maintains GPS time synchronization; the slave unit connects to the local GPS time synchronization network and maintains GPS time synchronization; both the master and slave units are synchronized with GPS and are in the same time domain.
[0097] Record the moment when the host receives the control command sent by the mobile terminal on the host side as t0;
[0098] Record the network latency compensation ∆t, dynamically calculate the ∆t value, ∆t=α(fiber transmission delay)+β(5G air interface delay)+3σ (σ is the network jitter variance), where α and β are path attenuation factors, and are optimized and calculated in real time through BP (Back Propagation) neural network;
[0099] Record the data waiting time t1 after the mobile terminal receives the name, and t1 can be dynamically adjusted according to the actual needs on site.
[0100] Record time t2 after a delay of ∆t+t1 from time t0;
[0101] The IEEE 1588v2 precise timestamp at time t2 is encapsulated using the ASN.1 (Abstract Syntax Notation One) PER (Packed Encoding Rules) encoding format. The timestamp includes the TAI time stamp (64-bit integer) and time zone offset at time t2.
[0102] Both the master and slave devices are triggered to start the test at time t2. Since the master and slave devices are already in the same time domain, the trigger time is t2, thus achieving synchronization between the master and slave devices.
[0103] Furthermore, the automated testing steps are as follows:
[0104] The test terminal establishes a station control layer MMS communication connection with the relay protection device through the main control unit, and reads the control word and pressure plate information of the relay protection device. The read information is compared with the control word and pressure plate status to be changed in the pressure plate engagement / disengagement test module in the test sequence. For items with inconsistent status, the pressure plate and control word status of the relay protection device are precisely modified according to the expected status in the test sequence to ensure that the initial test conditions meet the preset requirements.
[0105] The test terminal establishes station control layer MMS communication with the relay protection device through the main control unit, and reads the setting value and equipment parameter information of the relay protection device. It correlates the read setting value and equipment parameter information with the fault calculation parameters of the differential protection test module in the test sequence to calculate the corresponding fault quantity. The test terminal sends the calculated excitation signal to the relay protection device through the test unit via fiber optic channel, triggering the protection action test process.
[0106] After the relay protection device operates, the process layer GOOSE trip message is sent to the test unit of the test terminal via the direct trip port; the station control layer MMS action message is transmitted to the main control unit of the test terminal via the station control layer network.
[0107] The test terminal receives GOOSE trip messages and MMS action messages, and matches them with the instantiated signal points corresponding to the logical judgment test modules in the test sequence. By comparing the expected values with the actual received signal values, and processing them using preset logical operation rules, the evaluation results of this test project are obtained, providing a basis for subsequent test decisions.
[0108] After completing the current test item, the test terminal sends a remote control command for signal reset to the relay protection device via the station control layer network, restoring the LCD panel display status of the relay protection device to its initial state. Subsequently, the test terminal automatically executes the next set of test items according to the preset order of the test sequence. The above steps are repeated until all test items in the test sequence are completed, realizing a fully automated closed-loop process for relay protection device testing.
[0109] In this embodiment, after the test is completed in step S6 above, the slave device uploads the collected data to the host; the host integrates the data from both sides and performs a global evaluation using the logical judgment module in the test sequence; finally, a standardized test report is automatically generated and transmitted back to the server for archiving via the network, including:
[0110] The test result evaluation adopts a master-slave collaborative acquisition and master evaluation mode. The master and slave devices respectively acquire the MMS action messages of their local relay protection devices through the master control unit, and simultaneously acquire GOOSE output messages using the test unit. Feedback signals acquired by the slave devices are transmitted to the master device via Bluetooth and 5G communication networks, ensuring the reliability and timeliness of data transmission. Based on the received feedback signals from both sides, the master device invokes the logic judgment test module to execute the evaluation task. This module adopts a flexible configuration mechanism, which can configure signal points according to the characteristics of different protection devices and construct a logical expression composed of signal points, logical comparison operators, logical operators, logical calculators, and logical values. During the evaluation process, a binary search method is used to deconstruct the logical expression into multiple smallest logical units (logical left-hand value + logical comparison operator + logical right-hand value). Each smallest logical unit is first calculated independently, and then the calculation results are subjected to hierarchical operations through logical operators to finally obtain an accurate test result evaluation conclusion.
[0111] Taking the action judgment of fiber optic differential protection as an example, its logical expression deeply integrates the GOOSE trip signal and protection action MMS signal from both the master and slave sides, and incorporates dynamic comparison parameters of trip time and differential protection action time setting. Through step-by-step analysis and logical AND operation of each smallest logic unit, multi-dimensional and high-precision judgment of fiber optic differential protection action behavior can be achieved. The logical expression in its logical judgment model is: Master side protection GOOSE trip = 1 && Master side protection action MMS = 1 && Slave side protection GOOSE trip = 1 && Slave side protection action MMS = 1 && Master side protection GOOSE trip time < Master side differential protection action time setting + 30 && Slave side protection GOOSE trip time < Slave side differential protection action time setting + 30; In the above expression, the GOOSE trip signal, protection action MMS signal, and GOOSE trip time are collected after the test, while the differential protection action time setting is read before the test begins. By dividing the above logical expression with the logical operator "&&", multiple smallest logical units can be obtained. Among them, the host-side protection trip GOOSE is the signal point, which is obtained through the test unit on the test terminal side. According to the actual action, the logical left value is "0" or "1", the logical comparison operator is "=", and the logical right value is "1". The calculation result of the current smallest logical unit can be calculated. Similarly, the values of all smallest logical units are calculated, and the logical AND operation is performed on the values of all smallest logical units to obtain the final logical judgment result. It should be noted that the symbol "&&" represents the logical "AND" operation, which is used to connect multiple conditions. All conditions must be true at the same time for the result of the entire logical expression to be true. If any one of the conditions is false, the result of the entire expression is false.
[0112] Upon completion of the test, the host control unit automatically generates a standardized test report based on the preset test sequence and corresponding evaluation results. This report is uploaded to the server via Bluetooth and 5G network for electronic archiving. The entire process achieves an intelligent closed loop of "acquisition-transmission-evaluation-decision-reporting-archiving," while also realizing full lifecycle management of test data. This effectively improves the automation level and data management standardization of relay protection device testing, providing reliable technical support for the safe and stable operation of the power system.
[0113] Example 3: The above is a schematic scheme of the automatic testing method for fiber optic differential protection according to this embodiment. It should be noted that the technical solution of the automatic testing system for fiber optic differential protection and the technical solution of the above-described automatic testing method for fiber optic differential protection belong to the same concept. Details not described in detail in the technical solution of the automatic testing system for fiber optic differential protection in this embodiment can be found in the description of the technical solution of the above-described automatic testing method for fiber optic differential protection.
[0114] This embodiment also provides an automatic testing system for fiber optic differential protection, including:
[0115] The basic information and test case template creation module is used to create and maintain a basic information database on the test management server based on the required metadata of various test resources, and to configure basic test case templates through configuration based on the elements in the information database.
[0116] The 5G networking configuration module is used to configure 5G communication parameters for the server and on-site mobile terminals, and to enable 5G networking between the mobile terminals and the server.
[0117] The field equipment connection and docking module is used to complete the physical connection and communication protocol docking between the test terminal and the mobile terminal, the test terminal and the relay protection device, and the test terminal and the GPS clock source in the substation.
[0118] The test sequence instantiation module is used by the mobile terminal to obtain specific test cases and substation configuration files from the server through the established 5G connection, and then send them to the test terminal after Bluetooth encryption and compression; the test terminal parses the received file and instantiates the basic test case template into a test sequence.
[0119] The automatic synchronization test module is used to automatically synchronize the test terminal when the mobile terminal sends a start command.
[0120] The test report generation and archiving module is used to upload the collected data from the slave device to the host device after the test is completed. The host device integrates the data from both sides and performs a global evaluation using the logical judgment module in the test sequence. Finally, a standardized test report is automatically generated and transmitted back to the server for archiving via the network.
[0121] This embodiment also provides an electronic device suitable for automatic testing methods of fiber optic differential protection, including:
[0122] The system includes a memory and a processor. The memory stores computer-executable instructions, and the processor executes these instructions to implement the automatic testing method for fiber optic differential protection as described in the above embodiments.
[0123] This embodiment also provides a storage medium on which a computer program is stored. When the program is executed by a processor, it implements the automatic testing method for fiber optic differential protection as proposed in the above embodiments.
[0124] The storage medium proposed in this embodiment and the automatic testing method for fiber optic differential protection proposed in the above embodiments belong to the same inventive concept. Technical details not described in detail in this embodiment can be found in the above embodiments, and this embodiment has the same beneficial effects as the above embodiments.
[0125] It should be noted that the above embodiments are only used to illustrate the technical solutions of the present invention and are not intended to limit it. Although the present invention has been described in detail with reference to preferred embodiments, those skilled in the art should understand that modifications or equivalent substitutions can be made to the technical solutions of the present invention without departing from the spirit and scope of the technical solutions of the present invention, and all such modifications or substitutions should be covered within the scope of the claims of the present invention.
Claims
1. An automatic testing method for fiber optic differential protection, characterized in that, include: Based on the required metadata of various test resources, a basic information database is created and maintained on the test management server. Based on the elements in the information database, basic test case templates are configured in a configuration manner. Configure 5G communication parameters for the server and on-site mobile terminals, and enable 5G networking between the mobile terminals and the server; At the substation site, complete the physical connection and communication protocol docking between the test terminal and the mobile terminal, the test terminal and the relay protection device, and the test terminal and the GPS clock source in the station. The mobile terminal obtains specific test cases and substation configuration files from the server through the established 5G connection, and sends them to the test terminal after Bluetooth encryption and compression; the test terminal parses the received file and instantiates the basic test case template into a test sequence. The mobile terminal sends a start command, and the test terminal automatically synchronizes the test. After the test is completed, the slave device uploads the collected data to the host device; the host device integrates the data from both sides and performs a global evaluation using the logical judgment module in the test sequence; finally, a standardized test report is automatically generated and transmitted back to the server for archiving via the network. The step of configuring 5G communication parameters for the server and the on-site mobile terminal, and enabling 5G networking between the mobile terminal and the server, includes: The work area server is equipped with dedicated network equipment, bound to a fixed network address and encrypted port, to establish a secure communication tunnel; the mobile terminal integrates a communication module, is equipped with an authenticated communication card, to achieve fully encrypted communication, and is allocated an independent communication channel at the network level; Station engineers log in via mobile terminal authentication to remotely access the server. The server automatically parses the personnel's permission information and associates it with the corresponding substation information database. The server distributes test case packages and substation configuration files through the 5G channel. After receiving the files, the mobile terminal verifies the data integrity, executes local decryption and format conversion strategies, and generates test scripts that can be recognized by the test terminal. The process of completing the physical connection and communication protocol integration between the test terminal and the mobile terminal, the test terminal and the relay protection device, and the test terminal and the GPS clock source within the substation at the substation site includes: At the substation site, test terminals and mobile terminals are deployed locally. The test terminal establishes an encrypted connection with the mobile terminal through a key exchange protocol, and the main control unit of the test terminal is connected to the station control layer network port of the relay protection device. The test unit of the test terminal is connected to the process layer direct acquisition port and GOOSE direct trip port of the relay protection device through different types of optical fibers, respectively, to send messages to apply excitation, construct virtual circuit breaker signals, and parse trip signals based on the corresponding protocols. The test terminal is connected to the time synchronization port of the GPS time synchronization device.
2. The automatic testing method for fiber optic differential protection as described in claim 1, characterized in that, The mobile terminal obtains specific test cases and substation configuration files from the server through the established 5G connection, and sends them to the test terminal after Bluetooth encryption and compression. The test terminal parses the received file and instantiates the basic test case template into a test sequence, including: After receiving the file, the test terminal uses the built-in parsing module to parse the substation configuration file, extract relevant information about the relay protection device, generate signal point data instances, bind the test signal points in the test cases with the signal point data instances, and establish a mapping relationship. Based on the mapping relationship of basic signal points, different types of test modules are instantiated; for pressure plate activation / deactivation test modules, the addresses and descriptions of relevant signals are obtained from the corresponding dataset; for logic judgment test modules, the relevant identifiers and descriptions of monitoring signals are obtained from the corresponding dataset and report control block information; for differential protection test modules, the calculation method and rated parameters are selected according to the manufacturer and model of the relay protection device, and the fault quantity is calculated differently.
3. The automatic testing method for fiber optic differential protection as described in claim 2, characterized in that, The mobile terminal obtains specific test cases and substation configuration files from the server through the established 5G connection, and sends them to the test terminal after Bluetooth encryption and compression. The test terminal parses the received file and instantiates the basic test case template into a test sequence, which also includes: The test terminal constructs a serialized test sequence containing pressure plate activation / deactivation, differential protection, and logic judgment based on the instantiated signal points and the association between the test modules in the test cases, as well as the relay protection test execution logic in the test modules, thereby realizing the fully automatic generation of substation test sequences.
4. The automatic testing method for fiber optic differential protection as described in claim 3, characterized in that, The mobile terminal issues a start command, and the test terminal automatically synchronizes the test, including: The mobile terminal sends a start test command. After receiving the command, the host triggers a synchronization test command and uploads it to the host-side mobile terminal via Bluetooth. The host-side mobile terminal uploads the synchronization test command to the server via the 5G network. The server then forwards the command to the slave-side mobile terminal via the 5G network. The slave-side mobile terminal sends the synchronization test command to the slave device. The host and slave devices then start automatic synchronization testing based on the synchronization test command.
5. The automatic testing method for fiber optic differential protection as described in claim 4, characterized in that, After the test is completed, the slave device uploads the collected data to the host device; the host device integrates the data from both sides and performs a global evaluation using the logical judgment module in the test sequence; finally, a standardized test report is automatically generated and transmitted back to the server for archiving via the network, including: After receiving feedback signals from both sides, the host calls the logic judgment test module for evaluation; After the test task is completed, the host-side main control unit automatically generates a standardized test report based on the preset test sequence and corresponding evaluation results.
6. An automatic testing system for fiber optic differential protection, employing the method described in any one of claims 1 to 5, characterized in that, include: The basic information and test case template creation module is used to create and maintain a basic information database on the test management server based on the required metadata of various test resources, and to configure basic test case templates through configuration based on the elements in the information database. The 5G networking configuration module is used to configure 5G communication parameters for the server and on-site mobile terminals, and to enable 5G networking between the mobile terminals and the server. The field equipment connection and docking module is used to complete the physical connection and communication protocol docking between the test terminal and the mobile terminal, the test terminal and the relay protection device, and the test terminal and the GPS clock source in the substation. The test sequence instantiation module is used by the mobile terminal to obtain specific test cases and substation configuration files from the server through the established 5G connection, and then send them to the test terminal after Bluetooth encryption and compression; the test terminal parses the received file and instantiates the basic test case template into a test sequence. The automatic synchronization test module is used to automatically synchronize the test terminal when the mobile terminal sends a start command. The test report generation and archiving module is used to upload the collected data from the slave device to the host device after the test is completed. The host device integrates the data from both sides and performs a global evaluation using the logical judgment module in the test sequence. Finally, a standardized test report is automatically generated and transmitted back to the server for archiving via the network.
7. An electronic device, characterized in that, include: Memory and processor; The memory is used to store computer-executable instructions, and the processor is used to execute the computer-executable instructions, which, when executed by the processor, implement the steps of the method according to any one of claims 1 to 5.
8. A computer-readable storage medium, characterized in that, It stores computer-executable instructions that, when executed by a processor, implement the steps of the method according to any one of claims 1 to 5.
Citation Information
Patent Citations
Longitudinal differential protection testing device based on 5G network time synchronization and application method thereof
CN112202520A
Unilaterally-controlled intelligent substation optical difference protection test device and test method
CN112444696A
5G quantum security differential protection communication system and communication method
CN118714556A