A method for implementing network configuration interoperability by using MQTT protocol

By adopting the MQTT protocol to map IEC61850 in the power system, the high cost and low real-time performance problems of existing communication methods are solved, terminal plug-and-play and multi-source data fusion are realized, and the communication efficiency and economic value of the distribution Internet of Things are improved.

CN118972463BActive Publication Date: 2025-10-10YANGZHOU POWER SUPPLY BRANCH OF STATE GRID JIANGSU ELECTRIC POWER CO LTD +1
View PDF 2 Cites 0 Cited by

Patent Information

Application Number
CN202411214348.0
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2024-08-31
Publication Date
2025-10-10
Estimated Expiration
2044-08-31

AI Technical Summary

Technical Problem

The existing IEC61850 standard communication mapping method has problems in power systems such as high development kit usage cost, low resource utilization and poor real-time performance, making it difficult to meet the communication requirements of distribution network interoperability.

Method used

The MQTT protocol is used to map IEC61850 to the MQTT protocol. The registration, data transmission and configuration of energy terminals are realized through the MQTT server. An energy terminal database based on JSON data is established. The publish/subscribe model is used for data communication to ensure the security, reliability and economy of the link.

Benefits of technology

It improves resource utilization, reduces the cost of using development kits, enhances the real-time and adaptability of communications, realizes plug-and-play of terminals, supports the integration and intelligent application of multi-source heterogeneous data, and promotes the construction of the power distribution Internet of Things.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN118972463B_ABST
    Figure CN118972463B_ABST
Patent Text Reader

Abstract

The present application belongs to the technical field of power distribution network, and particularly relates to a method for realizing distribution network interoperation by using MQTT protocol. The method comprises the following steps: step 1: an energy terminal sends json data containing model ID information to an MQTT server for registration through the MQTT protocol, and the MQTT server forwards the registration information to a power grid dispatching system; step 2: the power grid dispatching system detects the registration data of the energy terminal, analyzes and stores the registration data, and establishes an energy terminal database based on the json data; step 3: the power grid dispatching system issues a request for energy terminal distribution network data to the MQTT server; and step 4: the MQTT server provides a mapping measure that is more suitable for the distribution network interoperation environment according to the distribution network demand of the power grid dispatching system and the corresponding energy terminal through the MQTT protocol for IEC61850 distribution network interoperation, so as to improve resource utilization, reduce the use cost of development package, and improve the real-time performance of communication.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present invention belongs to the technical field of power distribution networks, and in particular relates to a method for implementing distribution network interoperability using the MQTT protocol. Background Art

[0002] The combination of smart distribution network and power Internet of Things is the distribution Internet of Things. With the goal of high-quality power supply quality, efficient operation efficiency and excellent user experience, it builds an Internet of Things smart distribution demonstration area, adopts a variety of advanced information and intelligent technologies, equipment and operation and maintenance management methods based on smart distribution transformers, Internet of Things station terminals, cloud platforms, etc., fully integrates data from different systems and different equipment, supports application functions such as active operation and maintenance of distribution networks, full life cycle management, and diversified load absorption. Through the prediction of medium and low voltage faults, the perception of power outages and the location of low voltage faults, the efficiency of active maintenance and fault repair is improved, and the overall improvement of power supply quality, operation efficiency and user experience is achieved.

[0003] The IEC61850 standard is a global standard for power system automation. Through its implementation, it standardizes the engineering operations of smart substations. Existing IEC61850 communication mapping methods include IEC608755-101 / 104, Web Services, Manufacturing Message Specification (MMS), and XMPP.

[0004] However, the aforementioned mapping methods each have some disadvantages. For example, the MMS development kit has high costs and low resource utilization, and some IEC608755-101 / 104 implementations are incomplete. Web Services are based on Internet protocols, which consume a lot of bandwidth and have poor real-time performance. XMPP also has high requirements for device bandwidth and poor real-time performance.

[0005] How to avoid the above defects and plan a mapping measure that is more adaptable to the distribution network inter-operation environment to improve resource utilization and reduce the cost of using development kits; and improve the real-time performance of communication have become technical problems that need to be solved urgently in this field. Summary of the Invention

[0006] In response to the above technical problems, the present invention provides a method for implementing a distribution network interoperability protocol using MQTT; achieving the mapping of IEC 61850 to the MQTT protocol, and further promoting the construction of the distribution Internet of Things.

[0007] A method for implementing network distribution interoperability using the MQTT protocol of the present invention comprises the following steps:

[0008] Step 1: Different energy terminals are initialized. After initialization, the initialized energy terminal sends JSON data containing model ID information to the MQTT server for registration through the MQTT protocol. The MQTT server then forwards the registration information to the power grid dispatching system.

[0009] Step 2: The power grid dispatching system detects the registration data of the energy terminal, analyzes the registration data and stores it in the database, establishing an energy terminal database based on JSON data;

[0010] Step 3: The power grid dispatching system sends a request for energy terminal distribution network data to the MQTT server;

[0011] Step 4: The MQTT server performs IEC61850 distribution network interoperation with the corresponding energy terminals through the MQTT protocol based on the distribution network requirements of the power grid dispatching system;

[0012] Step 5: The MQTT server correctly identifies the energy terminal model ID based on the energy terminal model ID provided by the power grid dispatching system, and sends the model configuration file to the energy terminal via MQTT according to the interoperability protocol specification;

[0013] Step 6: The energy terminal receives the model configuration file sent by the MQTT server. The energy terminal collects data from the terminal according to the configuration file, thereby implementing the distribution network interoperability protocol;

[0014] The distribution network interoperability protocol:

[0015] If the data is transmitted from the energy terminal to the energy coordination control system,

[0016] Energy terminals actively report business data to the energy coordination and control system, which then filters and reports based on the corresponding object model.

[0017] If the data is transmitted from the energy coordination control system to the energy terminal,

[0018] The param field in the control command of the energy coordination system to the energy terminal must be the same as the object model definition.

[0019] Preferably, in step 1, the Json data further includes a message number, a device model expiration time, a parameter name, a device node ID, a device name, a device description, a device ID and a hardware device model.

[0020] Preferably, step 2 includes:

[0021] Step 201: If the power grid dispatching system successfully parses the data, it will process the terminal model data and match the model;

[0022] Step 202: If the power grid dispatching system fails to parse the JSON data or fails to identify the model data, return to step 1.

[0023] Preferably, step 4 includes:

[0024] Step 401: If the MQTT server cannot recognize the model ID, it returns an error code to the power grid dispatching system and returns to step 3;

[0025] Step 402: If the MQTT server correctly identifies the model ID and detects that the network configuration data is legal, proceed to step 5.

[0026] Preferably, in step 4, when the MQTT protocol performs IEC61850 network interoperability, MQTT mapping IEC61850 includes data mapping and service mapping.

[0027] Preferably, in step 4, when the MQTT protocol performs IEC61850 network interoperability, the data mapping process is: the logical information of IEC61850 corresponds to the LD topic of MQTT, the logical node corresponds to the LN topic, the functional constraint corresponds to the FC topic, the data object corresponds to the FC topic, the data attribute corresponds to the DO topic, the ACSI service corresponds to the DA topic, and the request / response corresponds to the ACSI topic.

[0028] This invention uses the MQTT protocol for communication in the power distribution IoT, effectively avoiding the shortcomings of IEC61850 communication. MQTT (Message Queuing Telemetry Transport) is a lightweight messaging protocol suitable for communication between IoT devices. Designed to enable communication with minimal code and bandwidth, it is particularly well-suited for remote devices, low-power devices, high-latency, and unstable networks.

[0029] MQTT is used to implement the IEC61850 distribution network interoperability protocol. The power grid dispatching center serves as the management and control platform, and the MQTT server serves as the IEC61850 protocol calculation center to uniformly receive data from all energy terminals and act as a relay. MQTT is a cost-effective data transmission protocol designed to work with low-bandwidth, unreliable sensors or devices, making it a very economical message transmission method. Furthermore, MQTT can adopt a publish / subscribe messaging communication model, which is very convenient for use in one-to-many scenarios, such as multiple terminals in a distribution network and a power grid dispatching center. Finally, MQTT is also a TCP-based protocol with reliability. At the same time, it has its own message traditional level and heartbeat mechanism properties to ensure the security and reliability of the connection.

[0030] MQTT can be used to expand the model of terminal devices, avoiding the use of IEC61850 communication protocol to build a unified information model. Standardized semantics can achieve data integration, thus forming information islands. This method is based on the Internet of Things technology to establish a distribution Internet of Things, which can achieve full perception of the power grid, data fusion and intelligent applications. It can effectively solve the inefficiency of distribution grid operation and control. At the same time, the distribution Internet of Things perceives and generates massive multi-source heterogeneous data. Integrating and utilizing these massive heterogeneous data can generate specific economic value.

[0031] This invention expands the diversity of terminal models through the MQTT protocol, enabling plug-and-play terminals in the power distribution interoperability system. The diversification of terminal access diversifies the heterogeneous data of distribution network terminals, adapting to the distribution requirements of modern smart grids.

[0032] The proposed method proposes that the MQTT protocol, an IoT-based communication protocol, is more suitable for the communication environment of the power distribution IoT, and its communication performance can meet the communication requirements of the power distribution IoT. Research on the mapping method from IEC 61850 to the MQTT protocol in the power distribution IoT can further promote the development of the power distribution IoT. BRIEF DESCRIPTION OF THE DRAWINGS

[0033] Figure 1 It is the connection working condition diagram of the present invention,

[0034] Figure 2 It is a mapping data flow diagram,

[0035] Figure 3 It is a flow chart of the principle of the present invention. DETAILED DESCRIPTION

[0036] The technical solution of the present invention will be clearly and completely described below with reference to the accompanying drawings. Obviously, the embodiments described are only some embodiments of the present invention, not all embodiments. All other embodiments obtained by ordinary technicians in this field based on the embodiments of the present invention without making any creative efforts shall fall within the scope of protection of the present invention.

[0037] See also Figure 1 and Figure 3 This embodiment provides a method for implementing network interoperability using the MQTT protocol, including the following steps:

[0038] Step 1: Different energy terminals are initialized. The initialization of the distribution terminal mainly defines its own parameter type, data requirements, output and input parameters, etc. If the initialization cannot be completed, the terminal will not be able to access the smart grid for power distribution, and the process ends. The energy terminal model refers to the terminal user device in the energy system. These devices can be virtual power plants, wind energy, solar energy or other forms of energy. The initialized energy terminal sends the json data containing the model ID information to the MQTT server for registration through the MQTT protocol. The MQTT server then forwards the registration information to the power grid dispatching system; in step 1, the Json data also includes the message number, device model expiration time, parameter name, device node ID, device name, device description, device ID and hardware device model to confirm the specific device.

[0039] Step 2: The power grid dispatching system detects the registration data of the energy terminal, analyzes the registration data and stores it in the database, establishing an energy terminal database based on JSON data;

[0040] Step 201: If the power grid dispatching system successfully parses the data, it will process the terminal model data and match the model;

[0041] Step 202: If the power grid dispatching system fails to parse the JSON data or fails to recognize the model data, return to step 1 and re-initialize the registration;

[0042] Step 3: The power grid dispatching system sends a request for energy terminal distribution network data to the MQTT server;

[0043] Step 4: The MQTT server performs IEC61850 distribution network interoperation with the corresponding energy terminals through the MQTT protocol based on the distribution network requirements of the power grid dispatching system;

[0044] Step 401: If the MQTT server cannot recognize the model ID, it returns an error code to the power grid dispatching system and returns to step 3. The power grid dispatching system re-sends the terminal data to the MQTT server;

[0045] Step 402: If the MQTT server correctly identifies the model ID, proceed to step 5;

[0046] In step 4, MQTT mapping IEC61850 includes data mapping and service mapping. For specific mapping contents, see the table below;

[0047]

[0048] Table 1

[0049]

[0050] Table 2

[0051] In step 4, the data mapping process is as follows Figure 3 : IEC61850 logical information corresponds to the LD topic of MQTT, logical nodes correspond to the LN topic, functional constraints correspond to the FC topic, data objects correspond to the FC topic, data attributes correspond to the DO topic, ACSI services correspond to the DA topic, and requests / responses correspond to the ACSI topic.

[0052] Step 5: The MQTT server correctly identifies the energy terminal model ID based on the energy terminal model ID provided by the power grid dispatching system, and sends the model configuration file to the energy terminal via MQTT according to the interoperability protocol specification;

[0053] Step 6: The energy terminal receives the model configuration file sent by the MQTT server. The energy terminal collects data from the terminal according to the configuration file, thereby implementing the distribution network interoperability protocol.

[0054] In step 5, the network interoperability protocol:

[0055] If the data is transmitted from the energy terminal to the energy coordination control system,

[0056] Energy terminals actively report business data to the energy coordination and control system, which then filters and reports based on the corresponding object model.

[0057] If the data is transmitted from the energy coordination control system to the energy terminal,

[0058] The param field in the control command of the energy coordination system to the energy terminal must be the same as the object model definition.

[0059] The present invention uses MQTT to implement the IEC61850 distribution network interoperability protocol. The power grid dispatching center serves as the management and control platform, and the MQTT server serves as the IEC61850 protocol computing center to uniformly receive data from all energy terminals and play the role of relay flow. The MQTT protocol is used as data transmission, which is cost-effective. The MQTT protocol can work in low-bandwidth, unreliable sensors or devices. It is a protocol designed for message transmission and is a very economical transmission method. Furthermore, MQTT can adopt a publish / subscribe message communication mode, which is very convenient to use in one-to-many scenarios, such as multiple terminals and one power grid dispatching center in the distribution network. Finally, MQTT is also a TCP-based protocol with reliability. At the same time, it has its own message traditional level and heartbeat mechanism properties to ensure the security and reliability of the link.

[0060] MQTT can be used to expand the model of terminal devices, avoiding the use of IEC61850 communication protocol to build a unified information model. Standardized semantics can achieve data integration, thus forming information islands. This method is based on the Internet of Things technology to establish a distribution Internet of Things, which can achieve full perception of the power grid, data fusion and intelligent applications. It can effectively solve the inefficiency of distribution grid operation and control. At the same time, the distribution Internet of Things perception generates massive multi-source heterogeneous data. Integrating and utilizing these massive heterogeneous data can generate specific economic value.

[0061] The MQTT protocol, an IoT-based communication protocol, is proposed to be more suitable for the communication environment of the power distribution IoT, and its communication performance can meet the communication requirements of the power distribution IoT. Research on the mapping method from IEC 61850 to MQTT protocol in the power distribution IoT can further promote the construction of the power distribution IoT.

[0062] The present invention is not limited to the above-mentioned embodiments. On the basis of the technical solutions disclosed in the present invention, those skilled in the art can make some substitutions and modifications to some of the technical features therein according to the disclosed technical content without creative labor, and these substitutions and modifications are all within the protection scope of the present invention.

Claims

1. A method for implementing network interoperability using the MQTT protocol, characterized in that: The following steps are involved: Step 1: Different energy terminals are initialized. After initialization, the initialized energy terminal sends JSON data containing model ID information to the MQTT server for registration through the MQTT protocol. The MQTT server then forwards the registration information to the power grid dispatching system. Step 2: The power grid dispatching system detects the registration data of the energy terminal, analyzes the registration data and stores it in the database, establishing an energy terminal database based on JSON data; Step 3: The power grid dispatching system sends a request for energy terminal distribution network data to the MQTT server; Step 4: The MQTT server performs IEC61850 distribution network interoperation with the corresponding energy terminals through the MQTT protocol based on the distribution network requirements of the power grid dispatching system; Step 5: The MQTT server correctly identifies the energy terminal model ID based on the energy terminal model ID provided by the power grid dispatching system, and sends the model configuration file to the energy terminal via MQTT according to the interoperability protocol specification; Step 6: The energy terminal receives the model configuration file sent by the MQTT server. The energy terminal collects data from the terminal according to the configuration file, thereby implementing the distribution network interoperability protocol; The distribution network interoperability protocol: If the data is transmitted from the energy terminal to the energy coordination control system, Energy terminals actively report business data to the energy coordination and control system, which then filters and reports based on the corresponding object model. If the data is transmitted from the energy coordination control system to the energy terminal, The param field in the control command of the energy coordination system to the energy terminal must be the same as the object model definition.

2. The method for implementing network distribution interoperability using the MQTT protocol according to claim 1, wherein: In step 1, the json data also includes a message number, a device model expiration time, a parameter name, a device node ID, a device name, a device description, a device ID, and a hardware device model.

3. The method for implementing network distribution interoperability using the MQTT protocol according to claim 1, wherein: Step 2 includes: Step 201: If the power grid dispatching system successfully parses the data, it will process the terminal model data and match the model; Step 202: If the power grid dispatching system fails to parse the JSON data or fails to identify the model data, return to step 1.

4. The method for implementing network distribution interoperability using the MQTT protocol according to claim 1, wherein: Step 4 includes: Step 401: If the MQTT server cannot recognize the model ID, it returns an error code to the power grid dispatching system and returns to step 3; Step 402: If the MQTT server correctly identifies the model ID and detects that the network configuration data is legal, proceed to step 5.

5. A method for implementing network distribution interoperability using the MQTT protocol according to claim 1 or 4, characterized in that: In step 4, when the MQTT protocol performs IEC61850 network interoperability, MQTT mapping IEC61850 includes data mapping and service mapping.

6. A method for implementing network distribution interoperability using the MQTT protocol according to claim 1 or 4, characterized in that: In step 4, when the MQTT protocol performs IEC61850 network interoperability, the data mapping process is as follows: IEC61850 logical information corresponds to the LD topic of MQTT, logical nodes correspond to the LN topic, functional constraints correspond to the FC topic, data objects correspond to the FC topic, data attributes correspond to the DO topic, ACSI services correspond to the DA topic, and requests / responses correspond to the ACSI topic.

Citation Information

Patent Citations

  • Distribution box information communication method and system based on MQTT protocol

    CN115801899A

  • Communication fusion method of adaptive communication mode in power distribution area scene

    CN116723253A