On-site operation and maintenance test method and device for power distribution gateway and medium

Automated testing of power distribution gateways through multi-protocol fusion simulation models solves the problem of a wide variety of sensors and diversified protocols, improves test efficiency and accuracy, and ensures safe and reliable operation of power distribution gateways.

CN118714054AActive Publication Date: 2024-09-27GUANGDONG POWER GRID CO LTD +1

Patent Information

Application Number
CN202410754661.7
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2024-06-12
Publication Date
2024-09-27
Estimated Expiration
2044-06-12

AI Technical Summary

Technical Problem

Traditional manual testing methods reduce the efficiency of power distribution gateway testing, and the wide variety of sensors and diversified protocols make testing difficult, making it difficult to ensure the convenience and comprehensiveness of the power distribution gateway, affecting its safe and reliable operation.

Method used

Use a multi-protocol fusion simulation model to adapt several protocols of the power distribution gateway, simulate the actual test environment through simulation, obtain the actual test volume, and compare the error values ​​with the benchmark test volume to determine the operating status of the power distribution gateway and eliminate protocol diversification and interference from a wide variety of sensors.

Benefits of technology

It realizes the automated testing of the power distribution gateway, improves the test efficiency and accuracy, ensures the safe and reliable operation of the power distribution gateway, and reduces the difficulty of operation and maintenance.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN118714054A
    Figure CN118714054A
Patent Text Reader

Abstract

The invention discloses an on-site operation and maintenance test method and device for a power distribution gateway and a medium, and the method comprises the steps: carrying out the simulation of the power distribution gateway, and obtaining an actual test quantity; comparing the actual test quantity with the benchmark test quantity to obtain an error value; wherein the benchmark test quantity is obtained by testing and calibrating the power distribution gateway; and if the error value is not within the preset range, the operation transition state of the power distribution gateway is abnormal. According to the on-site operation and maintenance test method and device for the power distribution gateway and the medium provided by the invention, the actual test quantity capable of reflecting the real operation condition of the power distribution gateway is obtained by adapting a plurality of protocols and simulating the power distribution gateway, the influence of protocol diversification is eliminated, and the problem of various types of sensors is avoided; and then an error value is obtained through data comparison so as to reflect the abnormal operation condition of the power distribution gateway, so that the problem that the interference of various sensor types and protocol diversification is difficult to overcome can be solved, and the power distribution gateway can be automatically tested.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present invention relates to the technical field of power distribution Internet of Things for power systems, and in particular to an on-site operation and maintenance test method, device and medium for a power distribution gateway. Background Art

[0002] With the mutual penetration and integration of power distribution Internet of Things, information technology, big data technology and artificial intelligence technology, the power distribution gateway integrating collection, communication and local computing has become the development trend of power distribution Internet of Things. More and more power distribution gateways are connected to the distribution network. Their safe and reliable operation directly determines the effect of the Internet of Everything in the distribution network and determines the quality and reliability of electricity consumption for enterprises and individuals. In order to meet the application requirements of power distribution Internet of Things business, the power distribution gateway needs to be installed and tested after on-site installation, and regularly maintained in the later operation and maintenance. The traditional testing method is to manually select appropriate sensors to monitor the relevant parameters of the power distribution gateway according to the characteristics of the power distribution gateway, and then perform necessary maintenance and adjustments to the power distribution gateway according to the monitoring results to ensure its normal operation.

[0003] However, traditional manual testing methods reduce testing efficiency, and there are problems such as difficulty in setting sensor values ​​and difficulty in linkage testing. It is difficult to ensure the convenience and comprehensiveness of distribution gateway testing and to ensure its safe, reliable and stable operation. Summary of the invention

[0004] The present invention provides an on-site operation and maintenance test method, device and medium for a power distribution gateway, so as to solve the problem of difficulty in overcoming interference caused by a wide variety of sensors and diverse protocols and performing automated testing on the power distribution gateway.

[0005] In order to solve the above problems, the present invention provides an on-site operation and maintenance test method for a power distribution gateway, comprising:

[0006] Adapting several protocols of the power distribution gateway through a multi-protocol fusion simulation model, and simulating the power distribution gateway to obtain actual test quantity; wherein the multi-protocol fusion simulation model is established according to the OPC UA unified information model;

[0007] Comparing the actual test amount with the benchmark test amount to obtain an error value; wherein the benchmark test amount is obtained by testing and calibrating the power distribution gateway;

[0008] If the error value is not within a preset range, it is determined that the operation state of the power distribution gateway is abnormal.

[0009] In the present invention, since the multi-protocol fusion simulation model is established based on the OPC UA unified information model, and the OPC UA unified information model, as a core component in an independent communication architecture, defines the encoding specifications for exchanging data using various transmission protocols, under the unified architecture of OPC UA, different devices and programs can perform data exchange and other operations through this unified interface function, so the multi-protocol fusion simulation model can adapt to several protocols of the distribution gateway, which means that it can process and parse data in different protocol formats, thereby enhancing the interoperability between the distribution gateway and other devices and systems. By simulating the distribution gateway, the actual operating environment and various possible scenarios can be simulated to obtain the actual test quantity, which is helpful for accurate evaluation. By calibrating the test quantity of the distribution gateway, it can be ensured that the obtained benchmark test quantity is a reliable reference standard, so that the error value finally obtained can accurately reflect the abnormal operation of the distribution gateway.

[0010] Compared with the prior art, the present invention adapts several protocols of the distribution gateway through a multi-protocol fusion simulation model, eliminating the influence of protocol diversity, and then simulates the distribution gateway through the multi-protocol fusion simulation model, avoiding the problem of a wide variety of sensors, and then obtaining the actual test quantity that can reflect the real operation of the distribution gateway; and then by comparison, the error value is obtained to reflect the abnormal operation of the distribution gateway, thereby solving the problem of difficult to overcome the interference of a wide variety of sensors and diversified protocols, and performing automated testing on the distribution gateway.

[0011] As a preferred solution, several protocols of the power distribution gateway are adapted through a multi-protocol fusion simulation model, specifically:

[0012] According to the protocol unified architecture and protocol unified auxiliary architecture of the multi-protocol fusion simulation model, data of several protocols in the power distribution gateway are converted into a common structural form to obtain a first data set;

[0013] Encapsulating the first data set, and establishing corresponding unified information models for several devices of the power distribution gateway to obtain a unified information model set;

[0014] Mapping the first data set to a corresponding node of the unified information model set in the server address space;

[0015] Several protocols of the power distribution gateway are adapted according to the corresponding nodes.

[0016] This preferred solution can eliminate the data format differences between different protocols in the distribution gateway by converting the data of several protocols in the distribution gateway into a common structural form, realize data standardization and unification, and enable the originally independent protocol data to be uniformly processed and analyzed; and, encapsulating the first data set can ensure the integrity and security of the data during transmission and processing, and also facilitate the subsequent call and use of the data; in addition, by mapping the data set to the corresponding node of the unified information model set, the association between the data and the actual device is achieved; finally, according to the node information in the unified information model set, different protocols are adapted to ensure that different protocols can communicate and work together, thereby improving the interoperability and stability of the test process.

[0017] As a preferred solution, the benchmark test quantity is obtained by testing and calibrating the power distribution gateway, specifically:

[0018] Performing a distribution terminal-type electrical quantity test and a sensor signal-type non-electrical quantity test on the distribution gateway to obtain actual test values ​​consisting of electrical quantities and non-electrical quantities;

[0019] If the deviation between the recovery voltage and current values ​​and the standard values ​​exceeds the preset allowable range, the deviation is reduced by adjusting the actual test value so that the deviation is within the allowable range, and the benchmark test quantity consisting of the adjusted actual test value is obtained.

[0020] In this preferred solution, if the deviation between the recovered voltage and current values ​​and the standard values ​​exceeds the preset allowable range, this means that the distribution gateway may have measurement errors or calibration problems; by adjusting the actual test quantity to reduce this deviation, the accuracy and reliability of the test data can be ensured, providing a correct data basis for subsequent analysis and decision-making, and providing a reliable reference standard for the operation and maintenance of the distribution gateway.

[0021] As a preferred solution, the deviation between the recovery voltage and current value and the standard value is specifically:

[0022] Connect the power distribution gateway and the standard meter to the test source at the same time, so that the power distribution gateway outputs stable voltage and current, and use the standard meter to measure the voltage standard value and the current standard value to obtain the standard value, and obtain the recovered voltage and current values ​​through the recovery function of the power distribution gateway to obtain the recovered voltage and current values;

[0023] The deviation is calculated based on the recovery voltage and current value and the standard value.

[0024] This preferred solution connects the distribution gateway and the standard meter to the test source, which can ensure that the distribution gateway and the standard meter receive the same voltage and current signals from the test source at the same time; and, the standard values ​​of voltage and current measured by the standard meter can be used to obtain accurate voltage and current standard values, which can be used as a benchmark for subsequent comparison with the distribution gateway measurement values. In addition, the sampling function of the distribution gateway allows it to obtain the voltage and current values ​​of its own output. These sampled voltage and current values ​​represent the measurement results of the distribution gateway itself. Once the sampled values ​​of the standard meter and the distribution gateway are obtained, the deviation can be calculated by comparing these two sets of data, thereby reflecting the accuracy of the distribution gateway measurement results.

[0025] As a preferred solution, the power distribution gateway is simulated to obtain the actual test quantity, which is specifically:

[0026] Under preset protocol conditions, using the SDN configuration program of the multi-protocol fusion simulation model to accept configuration information of an upper-layer SDN management device, and establishing a connection with the power distribution gateway through the SDN configuration program;

[0027] The actual test amount is obtained by performing command and data interaction with the power distribution gateway through a plurality of SDN configuration frame information of the multi-protocol fusion simulation model, performing a difference test on the power distribution gateway.

[0028] This preferred solution can simulate a variety of different communication protocols and data formats through a multi-protocol fusion simulation model, thereby testing the compatibility and performance of the distribution gateway under different protocols, helping to ensure that the distribution gateway can adapt to diverse network environments and protocols. Using the SDN configuration program to accept the configuration information of the upper-level SDN management device and apply this information to the distribution gateway can achieve flexibility and remote management of the distribution gateway configuration, improve the efficiency and accuracy of the distribution gateway configuration, and reduce the complexity of on-site configuration. By interacting with the distribution gateway for commands and data, the distribution gateway can be differentially tested, that is, the performance of the distribution gateway can be observed under different conditions, which helps to fully understand the performance indicators of the distribution gateway in various scenarios, such as response speed, processing power, and stability.

[0029] As a preferred solution, the agreement conditions are specifically:

[0030] According to the priority architecture of the multi-protocol fusion simulation model, the data of several protocols in the power distribution gateway are prioritized to obtain a priority ranking result;

[0031] Convert the plurality of protocols from high to low according to the priority sorting result to obtain the converted plurality of protocols;

[0032] The multi-protocol fusion simulation model is controlled to process the designated data preferentially according to the converted protocols.

[0033] This preferred solution can ensure that the data with the greatest impact or the most critical to system performance is processed first by prioritizing the data of several protocols. This helps to achieve more efficient data processing in a multi-protocol environment, reduce data processing delays, and improve system response speed.

[0034] The present invention also provides an on-site operation and maintenance test device for a power distribution gateway, comprising a simulation module, an error module and a judgment module;

[0035] The simulation module is used to adapt several protocols of the power distribution gateway through a multi-protocol fusion simulation model, and simulate the power distribution gateway to obtain actual test quantity; wherein the multi-protocol fusion simulation model is established according to the OPC UA unified information model;

[0036] The error module is used to compare the actual test amount with the benchmark test amount to obtain an error value; wherein the benchmark test amount is obtained by testing and calibrating the power distribution gateway;

[0037] The judgment module is used to determine that the operation state of the power distribution gateway is abnormal if the error value is not within a preset range.

[0038] As a preferred solution, the simulation module includes a structural unit, an encapsulation unit, a mapping unit and an adaptation unit;

[0039] The structural unit is used to convert the data of several protocols in the power distribution gateway into a common structural form according to the protocol unified architecture and the protocol unified auxiliary architecture of the multi-protocol fusion simulation model to obtain a first data set;

[0040] The encapsulation unit is used to encapsulate the first data set and establish corresponding unified information models for several devices of the power distribution gateway to obtain a unified information model set;

[0041] The mapping unit is used to map the first data set to a corresponding node of the unified information model set in the server address space;

[0042] The adaptation unit is used to adapt several protocols of the power distribution gateway according to the corresponding node.

[0043] As a preferred solution, the error module includes a test unit and a deviation unit;

[0044] The test unit is used to test the electrical quantity of the power distribution terminal and the non-electrical quantity of the sensor signal on the power distribution gateway to obtain the actual test value composed of the electrical quantity and the non-electrical quantity;

[0045] The deviation unit is used to reduce the deviation by adjusting the actual test value if the deviation between the recovered voltage and current values ​​and the standard values ​​exceeds a preset allowable range, so that the deviation is within the allowable range, and obtain the benchmark test quantity composed of the adjusted actual test value.

[0046] As a preferred solution, the deviation between the recovery voltage and current value and the standard value is specifically:

[0047] Connect the power distribution gateway and the standard meter to the test source at the same time, so that the power distribution gateway outputs stable voltage and current, and use the standard meter to measure the voltage standard value and the current standard value to obtain the standard value, and obtain the recovered voltage and current values ​​through the recovery function of the power distribution gateway to obtain the recovered voltage and current values;

[0048] The deviation is calculated based on the recovery voltage and current value and the standard value.

[0049] As a preferred solution, the simulation module includes a connection unit and an interaction unit;

[0050] Wherein, the connection unit is used to accept the configuration information of the upper-layer SDN management device using the SDN configuration program of the multi-protocol fusion simulation model under the preset protocol conditions, and establish a connection with the power distribution gateway through the SDN configuration program;

[0051] The interaction unit is used to interact commands and data with the power distribution gateway through several SDN configuration frame information of the multi-protocol fusion simulation model, perform difference testing on the power distribution gateway, and obtain the actual test quantity.

[0052] As a preferred solution, the agreement conditions are specifically:

[0053] According to the priority architecture of the multi-protocol fusion simulation model, the data of several protocols in the power distribution gateway are prioritized to obtain a priority ranking result;

[0054] Convert the plurality of protocols from high to low according to the priority sorting result to obtain the converted plurality of protocols;

[0055] The multi-protocol fusion simulation model is controlled to process the designated data preferentially according to the converted protocols.

[0056] The present invention also provides a storage medium, on which a computer program is stored. The computer program is called and executed by a computer to implement the on-site operation and maintenance testing method of the power distribution gateway as described above. BRIEF DESCRIPTION OF THE DRAWINGS

[0057] Figure 1 It is a flow chart of an on-site operation and maintenance test method of a power distribution gateway provided by an embodiment of the present invention;

[0058] Figure 2 It is a diagram of the multi-protocol fusion technology provided by an embodiment of the present invention;

[0059] Figure 3 It is a diagram of the operation and maintenance test system and its hardware composition structure provided by an embodiment of the present invention;

[0060] Figure 4 is a system structure diagram provided by an embodiment of the present invention;

[0061] Figure 5 is a software flow chart provided by an embodiment of the present invention;

[0062] Figure 6 It is a structural diagram of an on-site operation and maintenance test device for a power distribution gateway provided in an embodiment of the present invention. DETAILED DESCRIPTION

[0063] The following will be combined with the drawings in the embodiments of the present application to clearly and completely describe the technical solutions in the embodiments of the present application. Obviously, the described embodiments are only part of the embodiments of the present application, not all of the embodiments. Based on the embodiments in the present application, all other embodiments obtained by ordinary technicians in this field without creative work are within the scope of protection of this application.

[0064] In the description of this application, it should be understood that the term "first" is used for descriptive purposes only and should not be understood as indicating or implying relative importance or implicitly indicating the number of technical features indicated. Thus, a feature defined as "first" may explicitly or implicitly include one or more of the features. In the description of this application, unless otherwise specified, "several" means two or more.

[0065] An on-site operation and maintenance test method for a power distribution gateway provided in an embodiment of the present invention is mainly used to solve the situation where manual testing methods will greatly reduce the test efficiency, and there are situations where sensor values ​​are difficult to set and linkage testing is difficult.

[0066] Embodiment 1:

[0067] See also Figure 1The embodiment of the present invention provides an on-site operation and maintenance test method for a power distribution gateway, including S1 to S3, and the specific implementation steps are as follows:

[0068] S1. Adapt several protocols of the distribution gateway through a multi-protocol fusion simulation model, and simulate the distribution gateway to obtain actual test volume; wherein, the multi-protocol fusion simulation model is established based on the OPC UA unified information model.

[0069] Step S1 of the embodiment of the present invention includes S1.1 to S1.4, wherein S1.1 is a process of building a multi-protocol fusion simulation APP, S1.2 is a process of performing protocol adaptation, S1.3 is a process of building protocol conditions, and S1.4 is a process of performing simulation to obtain actual test quantities, specifically:

[0070] S1.1. Establish a multi-protocol fusion simulation APP (i.e., a multi-protocol fusion simulation model) based on the protocol unified architecture, differential test architecture, protocol unified auxiliary architecture, and priority architecture;

[0071] Among them, the protocol unified architecture is used to simulate and realize the format unification of multiple protocol data of terminal devices, complete the data encapsulation through the unified information model of OPC UA, establish the corresponding OPC UA unified information model for each device in the OPC UA server, map the specific devices, parameters and operations to the object nodes, variable nodes and method nodes in the address space of the OPC UA server, realize the simulation of terminal devices through the nodes, and realize the adaptation of multiple protocols.

[0072] The difference test architecture is used to simulate functions such as obtaining control information and transmitting data. It uses the SDN configuration program to accept the configuration information of the upper-layer SDN management device, establishes a connection with the gateway through the SDN configuration program, and interacts with the gateway for commands and data through different SDN configuration frame information to complete the difference test of the gateway.

[0073] The protocol unified auxiliary architecture is used to simulate and implement functions such as protocol conversion. It is implemented using multi-threading and multi-task multiplexing technology. It monitors the ports of intercommunication devices in each thread, unifies different protocols through protocol conversion programs, and shields the heterogeneity of data formats.

[0074] Priority architecture is used to simulate and implement dynamic priority functions. Fuzzy control programs are used to implement real-time dynamic priority sorting of multiple concurrent protocol data. Protocol conversion is performed from high to low according to the priority sorting, thereby achieving priority processing of important data.

[0075] In addition, through the multi-protocol fusion technology, a qualitative change from single to multiple is achieved. Through the configuration of the functional description file, such as the communication parameters of the distribution gateway, the uplink communication protocol of the distribution gateway, the communication parameters of the terminal device, the communication protocol of the terminal device, etc., effective testing of the protocol interoperability and protocol consistency of multiple complex communication protocols of the intelligent gateway with a single network port or serial port is completed at the protocol level;

[0076] For the uplink communication protocol of the power distribution gateway, it can parse the standard IEC104 and IEC101 acquisition protocols, multiple MQTT acquisition protocols of different manufacturers and different gateway models based on the MQTT communication mechanism, and acquisition and analysis based on the HTTP protocol, etc. It can perform protocol access, protocol analysis, and protocol grouping on the collected data frames, and save the parsed data to the real-time library of collected data, and compare and analyze it with the theoretical protocol data;

[0077] For the downlink communication protocol of the power distribution gateway, it supports the access of terminal devices including DL / T698.44, DL / T 698.45-2017, DL / T645-2007, Modbus, 1376.1, CoAP and other protocols, and supports the simulation of the above communication protocol terminals and protocol extension.

[0078] To apply this embodiment, please refer to Figure 2 , Figure 2 It is a composition diagram of the multi-protocol fusion technology provided in an embodiment of the present invention, which represents the multi-protocol fusion simulation APP technology implemented by the multi-protocol fusion simulation APP when applied in an embodiment of the present invention, specifically: first, by aggregating and integrating commonly used Internet of Things communication protocols, a protocol parsing package is generated; then, duplicates are removed by repeated comparison of the previous and subsequent data, and data is filtered by setting data thresholds to achieve a data screening function; finally, data classification and identification are performed by adding flag bits, and multi-threading is enabled based on the optimal number of threads allocated based on the performance of the server to achieve data aggregation and fusion processing.

[0079] S1.2. According to the protocol unified architecture and protocol unified auxiliary architecture of the multi-protocol fusion simulation APP, the data of several protocols in the power distribution gateway are converted into a common structural form to obtain a first data set;

[0080] Encapsulating the first data set, and establishing corresponding unified information models for several devices of the power distribution gateway to obtain a unified information model set;

[0081] Mapping the first data set to a corresponding node of the unified information model set in the server address space;

[0082] Adapt several protocols of the power distribution gateway according to the corresponding nodes.

[0083] This embodiment S1.2 can eliminate the data format differences between different protocols in the distribution gateway by converting the data of several protocols in the distribution gateway into a common structural form, realize data standardization and unification, and enable the originally independent protocol data to be uniformly processed and analyzed; and, encapsulating the first data set can ensure the integrity and security of the data during transmission and processing, and also facilitate the subsequent call and use of the data; in addition, by mapping the data set to the corresponding node of the unified information model set, the association between the data and the actual device is achieved; finally, according to the node information in the unified information model set, different protocols are adapted to ensure that different protocols can communicate and work together, thereby improving the interoperability and stability of the test process.

[0084] S1.3. According to the priority architecture of the multi-protocol fusion simulation APP, the data of several protocols in the power distribution gateway are prioritized to obtain the priority ranking result;

[0085] According to the priority sorting result, several protocols are converted from high to low to obtain several converted protocols;

[0086] The control multi-protocol fusion simulation APP gives priority to the designated important data according to the converted protocols, forming the protocol conditions.

[0087] This embodiment S1.3 can ensure that the data with the greatest impact on system performance or the most critical data is processed first by prioritizing the data of several protocols, which helps to achieve more efficient data processing in a multi-protocol environment, reduce data processing delays, and improve system response speed.

[0088] S1.4. Under the protocol conditions, according to the differential test architecture of the multi-protocol fusion simulation APP, use the SDN configuration program of the multi-protocol fusion simulation APP to accept the configuration information of the upper-layer SDN management device, and establish a connection with the power distribution gateway through the SDN configuration program;

[0089] Through the interaction of commands and data between the distribution gateway and several SDN configuration frame information of the multi-protocol fusion simulation APP, the distribution gateway is tested for differences to obtain the actual test volume.

[0090] This embodiment S1.4 can simulate a variety of different communication protocols and data formats through a multi-protocol fusion simulation APP, so as to test the compatibility and performance of the distribution gateway under different protocols, which helps to ensure that the distribution gateway can adapt to diverse network environments and protocols. Using the SDN configuration program to accept the configuration information of the upper-layer SDN management device and apply this information to the distribution gateway can achieve the flexibility and remote management of the distribution gateway configuration, improve the efficiency and accuracy of the distribution gateway configuration, and reduce the complexity of the on-site configuration. By interacting with the distribution gateway for commands and data, the distribution gateway can be differentially tested, that is, the performance of the distribution gateway can be observed under different conditions, which helps to fully understand the performance indicators of the distribution gateway in various scenarios, such as response speed, processing power, and stability.

[0091] S2. Compare the actual test quantity with the benchmark test quantity to obtain an error value; wherein the benchmark test quantity is obtained by testing and calibrating the power distribution gateway.

[0092] Step S2 of the embodiment of the present invention includes S2.1 to S2.3, wherein S2.1 is a process of obtaining a deviation, S2.2 is a process of obtaining a benchmark test quantity, and S2.3 is a process of obtaining an error value, specifically:

[0093] S2.1. Connect the power distribution gateway and the standard meter to the test source at the same time, so that the power distribution gateway outputs stable voltage and current, and use the standard meter to measure the standard value of voltage and current to obtain the standard value; and obtain the recovered voltage and current values ​​through the recovery function of the power distribution gateway to obtain the recovered voltage and current values;

[0094] The deviation is calculated based on the recovery voltage and current values ​​and the standard values.

[0095] In this embodiment S2.1, the power distribution gateway and the standard meter are connected to the test source, which can ensure that the power distribution gateway and the standard meter receive the same voltage and current signals from the test source at the same time; and, the standard values ​​of voltage and current measured by the standard meter can be used to obtain accurate voltage and current standard values, which can be used as a benchmark for subsequent comparison with the distribution gateway measurement values. In addition, the sampling function of the distribution gateway allows it to obtain the voltage and current values ​​of its own output. These sampled voltage and current values ​​represent the measurement results of the distribution gateway itself. Once the sampled values ​​of the standard meter and the distribution gateway are obtained, the deviation can be calculated by comparing these two sets of data, thereby reflecting the accuracy of the distribution gateway measurement results.

[0096] S2.2. Perform electrical quantity tests of the power distribution terminal and non-electrical quantity tests of the sensor signal on the power distribution gateway to obtain actual test values ​​consisting of electrical quantities and non-electrical quantities;

[0097] If the deviation between the recovered voltage and current values ​​and the standard values ​​exceeds the preset allowable range, the deviation is reduced by adjusting the actual test value so that the deviation is within the allowable range, and a benchmark test quantity consisting of the adjusted actual test value is obtained.

[0098] In this embodiment S2.2, if the deviation between the recovered voltage and current values ​​and the standard values ​​exceeds the preset allowable range, this means that the distribution gateway may have measurement errors or calibration problems; by adjusting the actual test quantity to reduce this deviation, the accuracy and reliability of the test data can be ensured, providing a correct data basis for subsequent analysis and decision-making, and providing a reliable reference standard for the operation and maintenance of the distribution gateway.

[0099] S2.3. Compare the actual test quantity with the benchmark test quantity to obtain the error value.

[0100] S3. If the error value is not within the preset range, it is determined that the operation state of the power distribution gateway is abnormal.

[0101] Step S3 of the embodiment of the present invention is specifically:

[0102] If the error value is not within the preset range, it is determined that the operation state of the power distribution gateway is abnormal.

[0103] It should be noted that the on-site operation and maintenance test method of a power distribution gateway described in this embodiment is completed in an operation and maintenance test system; wherein the construction process and composition of the operation and maintenance test system are as follows:

[0104] Establish an operation and maintenance test system based on the intelligent battery pack, industrial computer, input and output board, high-precision analog output module, and core CPU board;

[0105] Among them, the intelligent battery pack is used to provide the AC and DC power required for normal operation of the industrial computer, input and output board, CPU board, and high-precision analog output module to ensure their stable operation;

[0106] The industrial computer is used to provide the host computer with an operating environment and a user-friendly human-computer interaction interface, one-click editing of test cases, data interaction with the CPU board, automatic analysis of test data, automatic generation of test reports, sensor simulation, etc.; specifically: the industrial computer supports touch screen operation and keyboard and mouse operation, provides the host computer operating environment, thereby completing one-click editing of test cases, sending test instructions to the CPU board, and accepting standard quantities and test quantities sent by the CPU board. If the deviation between the test quantity and the standard quantity is within the set range, it is judged to be qualified, and the test results are automatically saved, and the test report is automatically filled in and output to the display interface. The industrial computer also contains a terminal device simulation APP that can accept test case instructions, output sensor simulation signals, and complete the test of the distribution gateway collecting sensor values ​​and linkage signals;

[0107] The output quantity of the input and output board is output in the form of relay open contact, and it also has a logic interlocking function. The input quantity accepts open contact signals or active node signals to complete the test of the transmission of input and output signals by the distribution gateway;

[0108] The high-precision analog output module improves the output accuracy through internal software and hardware closed-loop technology, and is used to output the high-precision analog quantity required for testing by receiving CPU instructions; specifically: the data of the high-precision analog output module is converted into analog signal output through 16-bit high-precision DA and signal conditioning circuit, and the output analog signal is transmitted to the CPU board after signal conditioning circuit and AD conversion. The industrial computer software issues a self-test instruction, and recalibrates by comparing the collected voltage and current values ​​with the standard values ​​measured by the standard meter, and finally outputs high-precision voltage and current values ​​with an accuracy of up to 0.05%;

[0109] The core CPU board is used to exchange data with the host computer running the industrial computer, accept test instructions issued by the host computer, control the input and output boards and high-precision analog output modules to output the electrical quantities required for the test, and control the trigger to output the trigger signal to the signal generator to output the non-electrical quantities required for the test. At the same time, the core CPU board transmits the output standard quantity to the host computer, and collects the actual measured values ​​of the power distribution gateway of the tested object, and sends them to the host computer for analysis. In addition, when the core CPU board completes receiving the GPS signal, it receives the actual test data sent back by the power distribution gateway through the communication protocol and sends it to the host computer.

[0110] To apply this embodiment, please refer to Figure 3 , Figure 3 It is a structural diagram of the operation and maintenance test system and its hardware composition provided by an embodiment of the present invention, which shows the composition and specific structure of the operation and maintenance test system.

[0111] The following is an explanation of the closed-loop test process of the on-site operation and maintenance test method of the power distribution gateway provided by this embodiment in combination with the operation and maintenance test system:

[0112] (1) Connect the on-site test system with the power distribution gateway, multi-protocol fusion simulation APP, signal generator and other equipment.

[0113] (2) Select the sensor working mode: simulation or actual sensor. Simulation is applicable to environmental quantities such as linkage test, signal simulation during SF6 sensor test, and situations where it is difficult to use actual sensors for testing due to various reasons. Actual sensors are applicable to software that controls the signal generator through a trigger controller to send out the test status quantity for the gateway device to collect and upload.

[0114] (3) One-click editing of test cases and one-click control of test start on the industrial computer.

[0115] (4) After the test is started, the operation and maintenance test system controls the high-precision analog output module and the input and output board to output the actual electrical quantity required for the test, controls the multi-protocol fusion simulation APP to output the simulated non-electrical quantity, or controls the trigger to output the trigger signal to various signal generators to output the actual non-electrical quantity. The actual test quantity is composed of the actual electrical quantity and the actual non-electrical quantity;

[0116] The actual test data is collected by the terminal device simulation APP to the power distribution gateway, which collects, analyzes and processes all test signals and sends them to the operation and maintenance test system.

[0117] (5) The operation and maintenance test system completes automatic analysis of test data:

[0118] Automatically compare the actual test quantity with the benchmark test quantity to obtain the error value;

[0119] If the error value is within the preset range, it means that the test is passed and the operation of the distribution gateway is normal; if the error value is not within the preset range, it means that the test is unqualified, the operation of the distribution gateway is abnormal, and the test result is automatically filled in.

[0120] (6) The host computer automatically issues a full-process test report based on the test results, forming a physical and data closed loop;

[0121] To apply this embodiment, please refer to Figure 4 , Figure 4 It is a system structure diagram provided by an embodiment of the present invention, which shows the general process of data interaction between the operation and maintenance test system and the power distribution gateway, terminal equipment, and signal generator when implementing this embodiment.

[0122] To apply this embodiment, please refer to Figure 5 , Figure 5 It is a software flow chart provided by an embodiment of the present invention, which represents the general process of executing this embodiment through the operation and maintenance test system, specifically: after the test project starts to execute, the test software calls the test script to execute. After the execution of this test project is completed, the test start index moves to the next item to be tested. When the test project switches from the start state to the pause state, the test device stops executing the test case and saves the current test section data. After clicking to start execution, the test case can continue to execute.

[0123] Overall, this embodiment has the following beneficial effects:

[0124] In the embodiment of the present invention, since the multi-protocol fusion simulation APP is established based on the protocol unified architecture including the OPC UA unified information model and other structures, and the OPC UA unified information model is a core component in an independent communication architecture, it defines the encoding specifications for exchanging data using various transmission protocols. Under the unified architecture of OPC UA, different devices and programs can perform data exchange and other operations through this unified interface function, so the multi-protocol fusion simulation model can adapt to several protocols of the distribution gateway, which means that it can process and parse data in different protocol formats, thereby enhancing the interoperability between the distribution gateway and other devices and systems, and eliminating the impact of protocol diversity. By simulating the distribution gateway, the actual operating environment and various possible scenarios can be simulated to obtain the actual test quantity, which helps to accurately evaluate it and avoids the problem of a wide variety of sensors. Since the sampling function of the distribution gateway allows it to obtain the voltage and current values ​​of its own output, these sampled voltage and current values ​​represent the measurement results of the distribution gateway itself. Once the sampled values ​​of the standard table and the distribution gateway are obtained, the data reflecting the accuracy of the measurement results can be obtained by comparing these two sets of data. Therefore, the actual test value is calibrated to ensure that the obtained benchmark test quantity is a reliable reference standard, so that the final error value can accurately reflect the abnormal operation of the distribution gateway.

[0125] In summary, the operation and maintenance test system and an on-site operation and maintenance test method for a power distribution gateway provided in this embodiment solve the problems of a wide variety of sensors and diverse protocols, realize closed-loop transmission of data streams for operation and maintenance testing, and the automated testing process effectively reduces the difficulty of operation and maintenance testing and improves testing efficiency and accuracy.

[0126] Embodiment 2:

[0127] See also Figure 6 , an embodiment of the present invention provides an on-site operation and maintenance test device for a power distribution gateway, comprising a simulation module 10, an error module 20 and a judgment module 30;

[0128] Among them, the simulation module 10 is used to adapt several protocols of the power distribution gateway through the multi-protocol fusion simulation APP, and simulate the power distribution gateway to obtain the actual test volume; wherein the multi-protocol fusion simulation APP is established according to the protocol unified architecture and priority architecture;

[0129] The error module 20 is used to compare the actual test quantity with the benchmark test quantity to obtain an error value; wherein the benchmark test quantity is obtained by testing the power distribution gateway to obtain the actual test value, and then calibrating the actual test value by comparing the recovered voltage and current values ​​with the standard values;

[0130] The judgment module 30 is used to determine that the operation state of the power distribution gateway is abnormal if the error value is not within a preset range.

[0131] In one embodiment, the simulation module 10 includes an architecture unit, a structure unit, an encapsulation unit, a mapping unit, an adaptation unit, a condition unit, a connection unit and an interaction unit, wherein the architecture unit is a process of building a multi-protocol fusion simulation APP, the structure unit, the encapsulation unit, the mapping unit and the adaptation unit are processes of performing protocol adaptation, the condition unit is a process of building protocol conditions, and the connection unit and the interaction unit are processes of performing simulation to obtain actual test quantities, specifically:

[0132] An architecture unit, used to establish a multi-protocol fusion simulation APP (i.e., a multi-protocol fusion simulation model) according to a protocol unified architecture, a differential test architecture, a protocol unified auxiliary architecture, and a priority architecture;

[0133] Among them, the protocol unified architecture is used to simulate and realize the format unification of multiple protocol data of terminal devices, complete the data encapsulation through the unified information model of OPC UA, establish the corresponding OPC UA unified information model for each device in the OPC UA server, map the specific devices, parameters and operations to the object nodes, variable nodes and method nodes in the address space of the OPC UA server, realize the simulation of terminal devices through the nodes, and realize the adaptation of multiple protocols.

[0134] The difference test architecture is used to simulate functions such as obtaining control information and transmitting data. It uses the SDN configuration program to accept the configuration information of the upper-layer SDN management device, establishes a connection with the gateway through the SDN configuration program, and interacts with the gateway for commands and data through different SDN configuration frame information to complete the difference test of the gateway.

[0135] The protocol unified auxiliary architecture is used to simulate and implement functions such as protocol conversion. It is implemented using multi-threading and multi-task multiplexing technology. It monitors the ports of intercommunication devices in each thread, unifies different protocols through protocol conversion programs, and shields the heterogeneity of data formats.

[0136] Priority architecture is used to simulate and implement dynamic priority functions. Fuzzy control programs are used to implement real-time dynamic priority sorting of multiple concurrent protocol data. Protocol conversion is performed from high to low according to the priority sorting, thereby achieving priority processing of important data.

[0137] In addition, through the multi-protocol fusion technology, a qualitative change from single to multiple is achieved. Through the configuration of the functional description file, such as the communication parameters of the distribution gateway, the uplink communication protocol of the distribution gateway, the communication parameters of the terminal device, the communication protocol of the terminal device, etc., effective testing of the protocol interoperability and protocol consistency of multiple complex communication protocols of the intelligent gateway with a single network port or serial port is completed at the protocol level;

[0138] For the uplink communication protocol of the power distribution gateway, it can parse the standard IEC104 and IEC101 acquisition protocols, multiple MQTT acquisition protocols of different manufacturers and different gateway models based on the MQTT communication mechanism, and acquisition and analysis based on the HTTP protocol, etc. It can perform protocol access, protocol analysis, and protocol grouping on the collected data frames, and save the parsed data to the real-time library of collected data, and compare and analyze it with the theoretical protocol data;

[0139] For the downlink communication protocol of the power distribution gateway, it supports the access of terminal devices including DL / T698.44, DL / T 698.45-2017, DL / T645-2007, Modbus, 1376.1, CoAP and other protocols, and supports the simulation of the above communication protocol terminals and protocol extension.

[0140] To apply this embodiment, please refer to Figure 2 , Figure 2 It is a composition diagram of the multi-protocol fusion technology provided in an embodiment of the present invention, which represents the multi-protocol fusion simulation APP technology implemented by the multi-protocol fusion simulation APP when applied in an embodiment of the present invention, specifically: first, by aggregating and integrating commonly used Internet of Things communication protocols, a protocol parsing package is generated; then, duplicates are removed by repeated comparison of the previous and subsequent data, and data is filtered by setting data thresholds to achieve a data screening function; finally, data classification and identification are performed by adding flag bits, and multi-threading is enabled based on the optimal number of threads allocated based on the performance of the server to achieve data aggregation and fusion processing.

[0141] A structural unit, used to convert data of several protocols in the power distribution gateway into a common structural form according to the protocol unified architecture and the protocol unified auxiliary architecture of the multi-protocol fusion simulation APP to obtain a first data set;

[0142] An encapsulation unit, configured to encapsulate the first data set and establish corresponding unified information models for a plurality of devices of the power distribution gateway to obtain a unified information model set;

[0143] A mapping unit, configured to map the first data set to a corresponding node of the unified information model set in the server address space;

[0144] The adaptation unit is used to adapt several protocols of the power distribution gateway according to the corresponding nodes.

[0145] The structural unit, encapsulation unit, mapping unit and adaptation unit of this embodiment can eliminate the data format differences between different protocols in the distribution gateway by converting the data of several protocols in the distribution gateway into a common structural form, realize data standardization and unification, and enable the originally independent protocol data to be uniformly processed and analyzed; and, encapsulating the first data set can ensure the integrity and security of the data during transmission and processing, and also facilitate the subsequent call and use of the data; in addition, by mapping the data set to the corresponding node of the unified information model set, the association between the data and the actual device is achieved; finally, according to the node information in the unified information model set, different protocols are adapted to ensure that different protocols can communicate and work together, thereby improving the interoperability and stability of the test process.

[0146] The conditional unit is used to prioritize the data of several protocols in the power distribution gateway according to the priority architecture of the multi-protocol fusion simulation APP to obtain the priority ranking result;

[0147] The condition unit is also used to convert several protocols from high to low according to the priority sorting result to obtain several converted protocols;

[0148] The conditional unit is also used to control the multi-protocol fusion simulation APP to give priority to designated important data according to several converted protocols, forming a protocol condition.

[0149] The conditional unit of this embodiment can ensure that the data with the greatest impact on system performance or the most critical data is processed first by prioritizing the data of several protocols. This helps to achieve more efficient data processing in a multi-protocol environment, reduce data processing delays, and improve system response speed.

[0150] The connection unit is used to accept the configuration information of the upper-layer SDN management device using the SDN configuration program of the multi-protocol fusion simulation APP under the protocol conditions according to the differential test architecture of the multi-protocol fusion simulation APP, and establish a connection with the power distribution gateway through the SDN configuration program;

[0151] The interaction unit is used to interact commands and data with the power distribution gateway through several SDN configuration frame information of the multi-protocol fusion simulation APP, perform difference tests on the power distribution gateway, and obtain actual test volume.

[0152] The connection unit and the interaction unit of this embodiment can simulate a variety of different communication protocols and data formats through a multi-protocol fusion simulation APP, so as to test the compatibility and performance of the distribution gateway under different protocols, which helps to ensure that the distribution gateway can adapt to diverse network environments and protocols. Using the SDN configuration program to accept the configuration information of the upper-layer SDN management device and apply this information to the distribution gateway can achieve the flexibility and remote management of the distribution gateway configuration, improve the efficiency and accuracy of the distribution gateway configuration, and reduce the complexity of on-site configuration. By interacting with the distribution gateway for commands and data, the distribution gateway can be differentially tested, that is, the performance of the distribution gateway can be observed under different conditions, which helps to fully understand the performance indicators of the distribution gateway such as response speed, processing power and stability in various scenarios.

[0153] In one embodiment, the error module 20 includes a deviation unit, a test unit, a deviation unit, and an error unit, wherein the deviation unit is a process of obtaining a deviation, the test unit and the deviation unit are processes of obtaining a benchmark test amount, and the error unit is a process of obtaining an error value, specifically:

[0154] The deviation unit is used to connect the power distribution gateway and the standard meter to the test source at the same time, so that the power distribution gateway outputs stable voltage and current, and uses the standard meter to measure the standard value of voltage and current to obtain the standard value; and obtain the recovered voltage and current values ​​through the recovery function of the power distribution gateway to obtain the recovered voltage and current values;

[0155] The deviation unit is also used to calculate the deviation based on the recovered voltage and current values ​​and the standard values.

[0156] The deviation unit of this embodiment connects the distribution gateway and the standard meter to the test source, which can ensure that the distribution gateway and the standard meter receive the same voltage and current signals from the test source at the same time; and, the standard values ​​of voltage and current measured by the standard meter can be used to obtain accurate voltage and current standard values, which can be used as a benchmark for subsequent comparison with the distribution gateway measurement values. In addition, the sampling function of the distribution gateway allows it to obtain the voltage and current values ​​of its own output. These sampled voltage and current values ​​represent the measurement results of the distribution gateway itself. Once the sampled values ​​of the standard meter and the distribution gateway are obtained, the deviation can be calculated by comparing these two sets of data, thereby reflecting the accuracy of the distribution gateway measurement results.

[0157] The test unit is used to test the electrical quantity of the power distribution terminal and the non-electrical quantity of the sensor signal on the power distribution gateway to obtain the actual test value composed of the electrical quantity and the non-electrical quantity;

[0158] The deviation unit is used to reduce the deviation by adjusting the actual test value if the deviation between the recovered voltage and current value and the standard value exceeds the preset allowable range, so that the deviation is within the allowable range, and obtain a benchmark test value composed of the adjusted actual test value.

[0159] In the test unit and deviation unit of this embodiment, if the deviation between the recovered voltage and current values ​​and the standard values ​​exceeds the preset allowable range, this means that the distribution gateway may have measurement errors or calibration problems; by adjusting the actual test quantity to reduce this deviation, the accuracy and reliability of the test data can be ensured, providing a correct data basis for subsequent analysis and decision-making, and providing a reliable reference standard for the operation and maintenance of the distribution gateway.

[0160] The error unit is used to compare the actual test quantity with the benchmark test quantity to obtain the error.

[0161] In one embodiment, the determination module 30 is specifically:

[0162] If the error value is not within the preset range, it is determined that the operation state of the power distribution gateway is abnormal.

[0163] It should be noted that the on-site operation and maintenance test device of the power distribution gateway described in this embodiment is completed in the operation and maintenance test system; wherein the construction process and composition of the operation and maintenance test system are as follows:

[0164] Establish an operation and maintenance test system based on the intelligent battery pack, industrial computer, input and output board, high-precision analog output module, and core CPU board;

[0165] Among them, the intelligent battery pack is used to provide the AC and DC power required for normal operation of the industrial computer, input and output board, CPU board, and high-precision analog output module to ensure their stable operation;

[0166] The industrial computer is used to provide the host computer with an operating environment and a user-friendly human-computer interaction interface, one-click editing of test cases, data interaction with the CPU board, automatic analysis of test data, automatic generation of test reports, sensor simulation, etc.; specifically: the industrial computer supports touch screen operation and keyboard and mouse operation, provides the host computer operating environment, thereby completing one-click editing of test cases, sending test instructions to the CPU board, and accepting standard quantities and test quantities sent by the CPU board. If the deviation between the test quantity and the standard quantity is within the set range, it is judged to be qualified, and the test results are automatically saved, and the test report is automatically filled in and output to the display interface. The industrial computer also contains a terminal device simulation APP that can accept test case instructions, output sensor simulation signals, and complete the test of the distribution gateway collecting sensor values ​​and linkage signals;

[0167] The output quantity of the input and output board is output in the form of relay open contact, and it also has a logic interlocking function. The input quantity accepts open contact signals or active node signals to complete the test of the transmission of input and output signals by the distribution gateway;

[0168] The high-precision analog output module improves the output accuracy through internal software and hardware closed-loop technology, and is used to output the high-precision analog quantity required for testing by receiving CPU instructions; specifically: the data of the high-precision analog output module is converted into analog signal output through 16-bit high-precision DA and signal conditioning circuit, and the output analog signal is transmitted to the CPU board after signal conditioning circuit and AD conversion. The industrial computer software issues a self-test instruction, and recalibrates by comparing the collected voltage and current values ​​with the standard values ​​measured by the standard meter, and finally outputs high-precision voltage and current values ​​with an accuracy of up to 0.05%;

[0169] The core CPU board is used to exchange data with the host computer running the industrial computer, accept test instructions issued by the host computer, control the input and output boards and high-precision analog output modules to output the electrical quantities required for the test, and control the trigger to output the trigger signal to the signal generator to output the non-electrical quantities required for the test. At the same time, the core CPU board transmits the output standard quantity to the host computer, and collects the actual measured values ​​of the power distribution gateway of the tested object, and sends them to the host computer for analysis. In addition, when the core CPU board completes receiving the GPS signal, it receives the actual test data sent back by the power distribution gateway through the communication protocol and sends it to the host computer.

[0170] To apply this embodiment, please refer to Figure 3 , Figure 3 It is a structural diagram of the operation and maintenance test system and its hardware composition provided by an embodiment of the present invention, which shows the composition and specific structure of the operation and maintenance test system.

[0171] The following is an explanation of the closed-loop test process formed by the on-site operation and maintenance test device of the power distribution gateway provided by this embodiment in combination with the operation and maintenance test system:

[0172] (1) Connect the on-site test system with the power distribution gateway, multi-protocol fusion simulation APP, signal generator and other equipment.

[0173] (2) Select the sensor working mode: simulation or actual sensor. Simulation is applicable to environmental quantities such as linkage test, signal simulation during SF6 sensor test, and situations where it is difficult to use actual sensors for testing due to various reasons. Actual sensors are applicable to software that controls the signal generator through a trigger controller to send out the test status quantity for the gateway device to collect and upload.

[0174] (3) One-click editing of test cases and one-click control of test start on the industrial computer.

[0175] (4) After the test is started, the operation and maintenance test system controls the high-precision analog output module and the input and output board to output the actual electrical quantity required for the test, controls the multi-protocol fusion simulation APP to output the simulated non-electrical quantity, or controls the trigger to output the trigger signal to various signal generators to output the actual non-electrical quantity. The actual test quantity is composed of the actual electrical quantity and the actual non-electrical quantity;

[0176] The actual test data is collected by the terminal device simulation APP to the power distribution gateway, which collects, analyzes and processes all test signals and sends them to the operation and maintenance test system.

[0177] (6) The operation and maintenance test system completes automatic analysis of test data:

[0178] Automatically compare the actual test quantity with the benchmark test quantity to obtain the error value;

[0179] If the error value is within the preset range, it means that the test is passed and the operation of the distribution gateway is normal; if the error value is not within the preset range, it means that the test is unqualified, the operation of the distribution gateway is abnormal, and the test result is automatically filled in.

[0180] (6) The host computer automatically issues a full-process test report based on the test results, forming a physical and data closed loop;

[0181] To apply this embodiment, please refer to Figure 4 , Figure 4 It is a system structure diagram provided by an embodiment of the present invention, which shows the general process of data interaction between the operation and maintenance test system and the power distribution gateway, terminal equipment, and signal generator when implementing this embodiment.

[0182] To apply this embodiment, please refer to Figure 5 , Figure 5 It is a software flow chart provided by an embodiment of the present invention, which represents the general process of executing this embodiment through the operation and maintenance test system, specifically: after the test project starts to execute, the test software calls the test script to execute. After the execution of this test project is completed, the test start index moves to the next item to be tested. When the test project switches from the start state to the pause state, the test device stops executing the test case and saves the current test section data. After clicking to start execution, the test case can continue to execute.

[0183] Overall, this embodiment has the following beneficial effects:

[0184] In the embodiment of the present invention, since the multi-protocol fusion simulation APP is established based on the protocol unified architecture including the OPC UA unified information model and other structures, and the OPC UA unified information model is a core component in an independent communication architecture, it defines the encoding specifications for exchanging data using various transmission protocols. Under the unified architecture of OPC UA, different devices and programs can perform data exchange and other operations through this unified interface function, so the multi-protocol fusion simulation model can adapt to several protocols of the distribution gateway, which means that it can process and parse data in different protocol formats, thereby enhancing the interoperability between the distribution gateway and other devices and systems, and eliminating the impact of protocol diversity. By simulating the distribution gateway, the actual operating environment and various possible scenarios can be simulated to obtain the actual test quantity, which helps to accurately evaluate it and avoids the problem of a wide variety of sensors. Since the sampling function of the distribution gateway allows it to obtain the voltage and current values ​​of its own output, these sampled voltage and current values ​​represent the measurement results of the distribution gateway itself. Once the sampled values ​​of the standard table and the distribution gateway are obtained, the data reflecting the accuracy of the measurement results can be obtained by comparing these two sets of data. Therefore, the actual test value is calibrated to ensure that the obtained benchmark test quantity is a reliable reference standard, so that the final error value can accurately reflect the abnormal operation of the distribution gateway.

[0185] In summary, the operation and maintenance test system and an on-site operation and maintenance test device for a power distribution gateway provided in this embodiment solve the problems of a wide variety of sensors and diverse protocols, realize closed-loop transmission of data streams for operation and maintenance tests, and the automated testing process effectively reduces the difficulty of operation and maintenance tests and improves test efficiency and accuracy.

[0186] Embodiment three:

[0187] An embodiment of the present invention provides a computer-readable storage medium, the computer-readable storage medium including a stored computer program, wherein when the computer program is running, the device where the computer-readable storage medium is located is controlled to execute the on-site operation and maintenance test method of a power distribution gateway;

[0188] Among them, the on-site operation and maintenance test method of the power distribution gateway, if implemented in the form of a software functional unit and used as an independent product, can be stored in a computer-readable storage medium. Based on this understanding, the present invention implements all or part of the process in the above-mentioned embodiment method, and can also be completed by instructing the relevant hardware through a computer program. The computer program can be stored in a computer-readable storage medium, and the computer program can implement the steps of the above-mentioned various method embodiments when executed by the processor. Among them, the computer program includes computer program code, and the computer program code can be in source code form, object code form, executable file or some intermediate form. The computer-readable medium may include: any entity or device capable of carrying the computer program code, recording medium, U disk, mobile hard disk, disk, optical disk, computer memory, read-only memory (ROM, Read-Only Memory), random access memory (RAM, Random Access Memory), electric carrier signal, telecommunication signal and software distribution medium, etc.

[0189] The above are preferred embodiments of the present invention. It should be noted that, for ordinary technicians in this technical field, several improvements and modifications can be made without departing from the principles of the present invention. These improvements and modifications are also considered to be within the scope of protection of the present invention.

Claims

1. A method for on-site operation and maintenance testing of a power distribution gateway, characterized in that: include: Adapting several protocols of the power distribution gateway through a multi-protocol fusion simulation model, and simulating the power distribution gateway to obtain actual test quantity; wherein the multi-protocol fusion simulation model is established according to the OPC UA unified information model; Comparing the actual test amount with the benchmark test amount to obtain an error value; wherein the benchmark test amount is obtained by testing and calibrating the power distribution gateway; If the error value is not within a preset range, it is determined that the operation state of the power distribution gateway is abnormal.

2. The on-site operation and maintenance test method of a power distribution gateway according to claim 1, characterized in that: The multi-protocol fusion simulation model is used to adapt several protocols of the power distribution gateway, specifically: According to the protocol unified architecture and protocol unified auxiliary architecture of the multi-protocol fusion simulation model, data of several protocols in the power distribution gateway are converted into a common structural form to obtain a first data set; Encapsulating the first data set, and establishing corresponding unified information models for several devices of the power distribution gateway to obtain a unified information model set; Mapping the first data set to a corresponding node of the unified information model set in the server address space; Several protocols of the power distribution gateway are adapted according to the corresponding nodes.

3. The on-site operation and maintenance test method of a power distribution gateway according to claim 1, characterized in that: The benchmark test quantity is obtained by testing and calibrating the power distribution gateway, specifically: Performing a distribution terminal-type electrical quantity test and a sensor signal-type non-electrical quantity test on the distribution gateway to obtain actual test values ​​consisting of electrical quantities and non-electrical quantities; If the deviation between the recovery voltage and current values ​​and the standard values ​​exceeds the preset allowable range, the deviation is reduced by adjusting the actual test value so that the deviation is within the allowable range, and the benchmark test quantity consisting of the adjusted actual test value is obtained.

4. The on-site operation and maintenance test method of a power distribution gateway according to claim 3, characterized in that: The deviation between the recovery voltage and current value and the standard value is specifically: Connect the power distribution gateway and the standard meter to the test source at the same time, so that the power distribution gateway outputs stable voltage and current, and use the standard meter to measure the voltage standard value and the current standard value to obtain the standard value, and obtain the recovered voltage and current values ​​through the recovery function of the power distribution gateway to obtain the recovered voltage and current values; The deviation is calculated based on the recovery voltage and current value and the standard value.

5. The on-site operation and maintenance test method of a power distribution gateway according to claim 1, characterized in that: The power distribution gateway is simulated to obtain the actual test quantity, which is as follows: Under preset protocol conditions, using the SDN configuration program of the multi-protocol fusion simulation model to accept configuration information of an upper-layer SDN management device, and establishing a connection with the power distribution gateway through the SDN configuration program; The actual test amount is obtained by performing command and data interaction with the power distribution gateway through a plurality of SDN configuration frame information of the multi-protocol fusion simulation model, performing a difference test on the power distribution gateway.

6. The on-site operation and maintenance test method of a power distribution gateway according to claim 5, characterized in that: The agreement conditions are specifically: According to the priority architecture of the multi-protocol fusion simulation model, the data of several protocols in the power distribution gateway are prioritized to obtain a priority ranking result; Convert the plurality of protocols from high to low according to the priority sorting result to obtain the converted plurality of protocols; The multi-protocol fusion simulation model is controlled to process the designated data preferentially according to the converted protocols.

7. An on-site operation and maintenance test device for a power distribution gateway, characterized in that: It includes a simulation module, an error module and a judgment module; The simulation module is used to adapt several protocols of the power distribution gateway through a multi-protocol fusion simulation model, and simulate the power distribution gateway to obtain actual test volume; wherein the multi-protocol fusion simulation model is established according to the OPCUA unified information model; The error module is used to compare the actual test amount with the benchmark test amount to obtain an error value; wherein the benchmark test amount is obtained by testing and calibrating the power distribution gateway; The judgment module is used to determine that the operation state of the power distribution gateway is abnormal if the error value is not within a preset range.

8. The on-site operation and maintenance test device of a power distribution gateway according to claim 7, characterized in that: The simulation module includes a structural unit, an encapsulation unit, a mapping unit and an adaptation unit; The structural unit is used to convert the data of several protocols in the power distribution gateway into a common structural form according to the protocol unified architecture and the protocol unified auxiliary architecture of the multi-protocol fusion simulation model to obtain a first data set; The encapsulation unit is used to encapsulate the first data set and establish corresponding unified information models for several devices of the power distribution gateway to obtain a unified information model set; The mapping unit is used to map the first data set to a corresponding node of the unified information model set in the server address space; The adaptation unit is used to adapt several protocols of the power distribution gateway according to the corresponding node.

9. The on-site operation and maintenance test device of a power distribution gateway according to claim 7, characterized in that: The error module includes a test unit and a deviation unit; The test unit is used to test the electrical quantity of the power distribution terminal and the non-electrical quantity of the sensor signal on the power distribution gateway to obtain the actual test value composed of the electrical quantity and the non-electrical quantity; The deviation unit is used to reduce the deviation by adjusting the actual test value if the deviation between the recovered voltage and current values ​​and the standard values ​​exceeds a preset allowable range, so that the deviation is within the allowable range, and obtain the benchmark test quantity composed of the adjusted actual test value.

10. An on-site operation and maintenance test device for a power distribution gateway according to claim 9, characterized in that: The deviation between the recovery voltage and current value and the standard value is specifically: Connect the power distribution gateway and the standard meter to the test source at the same time, so that the power distribution gateway outputs stable voltage and current, and use the standard meter to measure the voltage standard value and the current standard value to obtain the standard value, and obtain the recovered voltage and current values ​​through the recovery function of the power distribution gateway to obtain the recovered voltage and current values; The deviation is calculated based on the recovery voltage and current value and the standard value.

11. The on-site operation and maintenance test device of a power distribution gateway according to claim 7, characterized in that: The simulation module includes a connection unit and an interaction unit; Wherein, the connection unit is used to accept the configuration information of the upper-layer SDN management device using the SDN configuration program of the multi-protocol fusion simulation model under the preset protocol conditions, and establish a connection with the power distribution gateway through the SDN configuration program; The interaction unit is used to interact commands and data with the power distribution gateway through several SDN configuration frame information of the multi-protocol fusion simulation model, perform difference testing on the power distribution gateway, and obtain the actual test quantity.

12. An on-site operation and maintenance test device for a power distribution gateway according to claim 11, characterized in that: The agreement conditions are specifically: According to the priority architecture of the multi-protocol fusion simulation model, the data of several protocols in the power distribution gateway are prioritized to obtain a priority ranking result; Convert the plurality of protocols from high to low according to the priority sorting result to obtain the converted plurality of protocols; The multi-protocol fusion simulation model is controlled to process the designated data preferentially according to the converted protocols.

13. A storage medium, characterized in that: The storage medium stores a computer program, which is called and executed by a computer to implement an on-site operation and maintenance test method for a power distribution gateway as described in any one of claims 1 to 6 above.

Citation Information

Patent Citations

  • Intelligent cloud gateway of industrial IoT (Internet of Things) and communication method of gateway

    CN109150703A

  • Block chain-based power distribution Internet of Things

    CN114513361A

  • Online closed-loop debugging system and method for power distribution internet-of-things sensing device

    CN116437375A

  • Avionics test equipment management and control system based on OPC UA protocol gateway

    CN117240835A

  • Equipment data acquisition system based on Internet of Things

    CN118138606A

Cited By

  • Power grid equipment operation safety assessment method, system, equipment and storage medium

    CN119273230A

  • Gateway intelligent optimization method and system based on digital twinning and medium

    CN119854115A