Uplink configuration method and device for gateway machine equipment IEC61850

By configuring the database dictionary table and building a model library and sensor library in the gateway device, and loading the ICD file with the uplink protocol module, the interoperability and compatibility problems between devices under the IEC61850 standard are solved, and the seamless connection between IEC61850 data reporting and devices of different systems and platforms are achieved.

CN119544487AActive Publication Date: 2025-02-28NANJING ZHENGTU INFORMATION TECH CO LTD
View PDF 6 Cites 0 Cited by

Patent Information

Application Number
CN202411830484.2
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2024-12-12
Publication Date
2025-02-28
Estimated Expiration
2044-12-12

AI Technical Summary

Technical Problem

Although the IEC61850 standard provides a powerful communication standard for substation automation, in actual applications, due to the inconsistent requirements of ICD file formats and contents of different systems and platforms, interoperability and compatibility issues between devices are difficult to achieve seamless connection.

Method used

By configuring the database dictionary table and building a model library and a sensor library in the database of the gateway device, the data modeling of different types of sensors is realized, and the ICD file is loaded through the uplink protocol module to build a mapping relationship between the data model and the data template, and a unique IEC61850 data path for each sensor information point is generated.

Benefits of technology

It realizes IEC61850 data reporting on different systems and platforms, supports access to different IEC61850 platforms, simplifies interoperability and compatibility configuration between devices, and improves the unity and efficiency of substation automation systems.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN119544487A_ABST
    Figure CN119544487A_ABST
Patent Text Reader

Abstract

The invention discloses a gateway machine equipment IEC61850 uplink configuration method and device, the device comprises a database, an uplink protocol module and a sensor configuration module, and a database dictionary table, a model library and a sensor library are stored in the database; the model library is used for presetting data models of different types of sensors, each data model comprises a model module, a model information point module and an uplink model information point table, and a mapping relation between a data template and the data model in the ICD file is recorded in the uplink model information point table; the sensor library is used for storing a sensor model of each sensor device connected to the gateway machine, the sensor model comprises a sensor module, a sensor information point module and an uplink sensor information point table, and an IEC61850 data path of each sensor information point is recorded in the uplink sensor information point table; the uplink protocol module is used for loading a data template in the ICD file; the sensor configuration module is used for creating sensor models corresponding to the sensor devices. According to the invention, IEC61850 data reporting of different systems and platforms can be processed universally.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present invention relates to an IEC61850 uplink configuration method and device for a gateway device, belonging to the sensor information point technology in a smart substation. Background Art

[0002] IEC61850 is the international standard for the new generation of substation automation system. The series of standards for "Substation Communication Network and System" developed by the International Electrotechnical Commission (IEC) TC57 working group is the only international standard for substation automation system based on network communication platform. This standard is not only applicable to the communication between primary and secondary power equipment, but also to the communication between secondary power equipment. Compared with other international standards, IEC61850 is not a simple communication protocol, but a standard for digital substation automation system, which can comprehensively guide the design, development, engineering, maintenance and other fields of substation automation. At the same time, IEC61850 standard can strengthen the interoperability between equipment and realize seamless connection of equipment from different manufacturers by uniformly modeling objects in substation automation system, using object-oriented technology and abstract communication service interface independent of network structure.

[0003] The gateway equipment of the substation has the functions of real-time monitoring of the operating status of power equipment, environmental information of the power station, and operation status within the station. It can report the data information collected within the station in accordance with the IEC61850 standard, forward the data to the monitoring platform, and respond to the platform control instructions to achieve remote control of the equipment within the station.

[0004] However, the IEC61850 standard is only a communication standard. Different power system platforms have different requirements for the format and content of ICD files (i.e., IED capability description files). Some can be formulated and provided by the manufacturer, while others are specified by the platform. This means that although IEC61850 provides communication standards, in actual applications, the access requirements of different systems and platforms will lead to complexity and inconsistency in configuration. Since devices from different manufacturers may have different ICD files and communication protocols, this limits the interoperability between devices, making it difficult to achieve seamless connection between devices from different manufacturers. These challenges show that although the IEC61850 standard provides a powerful framework for substation automation, in actual deployment and application, the compatibility and interoperability issues between devices still need to be resolved to achieve a more efficient and unified substation automation system. Summary of the invention

[0005] Purpose of the invention: In order to overcome the deficiencies in the prior art, the present invention provides a method and device for configuring IEC61850 uplink of a gateway device, which can universally process IEC61850 data reporting of different systems and platforms.

[0006] Technical solution: To achieve the above purpose, the technical solution adopted by the present invention is:

[0007] A method for configuring IEC61850 uplink of a gateway device, the method comprising the following steps:

[0008] Step 1. Configure the database dictionary table in the database of the gateway machine, and configure the platform protocol type in the database dictionary. The platform protocol type includes the IEC61850 communication protocol.

[0009] Step 2. Build a model library in the database of the gateway machine. Preset data models of different types of sensors in the model library. The data model includes three parts: model module, model information point module and uplink model information point table. Define the model and model parameters in the model module, define the model information point and model information point parameters in the model information point module, and record the mapping relationship between the data template and the data model in the ICD file in the uplink model information point table.

[0010] Step 3. Build a sensor library in the database of the gateway. The sensor library is used to store the sensor models of the sensors connected to the gateway. The sensor model includes three parts: sensor module, sensor information point module and uplink sensor information point table. The sensor and sensor parameters are defined in the sensor module, the sensor information point and sensor information point parameters are defined in the sensor information point module, and the IEC61850 data path of each sensor information point is recorded in the uplink sensor information point table. The sensor module inherits from the model module, the sensor information point module inherits from the model information point module, and the uplink sensor information point table inherits from the uplink model information point table.

[0011] Step 4: Configure the sensor device on the gateway, including the following steps:

[0012] (41) Selecting a corresponding data model from the model library of the gateway machine as the sensor model, adding sensor parameters and sensor information point parameters according to the model module, the model information point module and the communication parameters of the sensor device, and storing the sensor model in the sensor model library;

[0013] (42) Loading a data model in the uplink protocol module of the gateway machine, including a model module, a model information point module, and an uplink model information point module; at the same time, importing an ICD file in the uplink protocol module of the gateway machine, loading a data template in the ICD file, and obtaining information including a logical node type and a data object type;

[0014] (43) constructing a mapping relationship between the data model and the data template, that is, matching and mapping the model module with the logical node type, matching and mapping the model information point module with the data object type, and writing the matching and mapping information into the upstream model information point table;

[0015] (44) forming an INST generation rule according to the sensor type and number information, combining each sensor information point and the corresponding uplink model information point, initializing the uplink sensor information point table, and forming a unique IEC61850 data path for each sensor information point;

[0016] (45) Add the uplink platform configuration to the database of the gateway machine. The uplink platform configuration information includes the platform protocol type, platform parameter connection information and platform reporting period. The platform protocol type includes the IEC61850 communication protocol.

[0017] Preferably, in the steps (42) and (43), the ICD file is imported into the uplink protocol module of the gateway machine, the data template in the ICD file is loaded, and for each logical node type ID, information including the logical node type, data object type, and prefix is ​​obtained, each logical node type ID and its corresponding logical node type, data object type, and prefix are combined into path information, and the combined path information is written into the uplink model information point table.

[0018] Preferably, in the step (44), the corresponding uplink model information point table is first found based on the data model referenced by each sensor information point, and then the INST generation rule is formed based on the sensor type and number information, and the IED name and the logical device name corresponding to the sensor information point are combined to form a unique IEC61850 data path for each sensor information point.

[0019] Preferably, in step (44), the generation rule of the unique IEC61850 data path for each sensor information point is:

[0020] IED name + logical device name / prefix + logical node type + INST.Logical node type.Data object type

[0021] Where: Logical Device Name / Prefix indicates the logical device name or prefix.

[0022] Preferably, in the data model, the model module and the model information point module are both designed as tables, respectively recorded as model table and model information point table; in the sensor model, the sensor module and the sensor information point module are both designed as tables, respectively recorded as sensor table and sensor information point table.

[0023] Specifically, the model table at least includes the field Id representing the model ID, the field Name representing the model name, the field samename representing the model unique code, and the field Ssid representing the model type identifier. The data type of the field Id is Number, the data type of the field Name is String, the data type of the field samename is String, and the data type of the field Ssid is String; the model information point table at least includes the field Id representing the model information point ID, the field Name representing the model information point name, and the field modelid representing the model ID. The data type of the field Id is Number, the data type of the field Name is String, and the data type of the field modelid is String; the uplink model information point table at least includes the field Id representing the uplink model information point ID, the field Name representing the uplink model information point name, the field Refname representing the uplink model information point alias, and the field Refname representing the model ID. Segment Modelid, field Modelpointid representing the model information point ID, field Protocoltype representing the platform protocol type, the data type of field Id is Number, the data type of field Name is String, the data type of field Refname is String, the data type of field Modelid is Number, the data type of field Modelpointid is Number, and the data type of field Protocoltype is Number; in the model information point table, the value of the field modelid is equal to the field Id in the model table; in the upstream model information point table, the value of the field Modelid is equal to the field Id in the model table, the value of the field Modelpointid is equal to the field Id in the model information point table, the field Refname is used to record the mapping relationship between the data template and the data model in the ICD file, and the field Protocoltype points to the IEC61850 communication protocol.

[0024] Specifically, the sensor table includes at least a field Id representing the sensor ID, a field Name representing the sensor name, and a field modelid representing the model ID. The data type of the field Id is Number, the data type of the field Name is String, and the data type of the field modelid is Number. The sensor information point table includes at least a field Id representing the sensor information point ID, a field Name representing the sensor information point name, a field sensorid representing the sensor ID, and a field modelpointid representing the model data point ID. The data type of the field Id is Number, the data type of the field Name is String, the data type of the field sensorid is Number, and the data type of the field modelpointid is Number. The uplink sensor information point table includes at least a field Id representing the uplink model information point ID, a field Name representing the uplink model information point name, a field Refname representing the uplink model information point alias, a field SensorId representing the sensor ID, a field SensorpointId representing the sensor information point ID, and a field Platformtype representing the platform protocol type. The data type of the field Id is Number. umber, the data type of the field Name is String, the data type of the field Refname is String, the data type of the field SensorId is Number, the data type of the field SensorpointId is Number, and the data type of the field Platformtype is Number; in the sensor table, the value of the field modelid is the field Id in the model table; in the sensor information point table, the value of the field sensorid is equal to the field Id in the sensor table, and the value of the field modelpointid is equal to the field Id in the model information point table; in the upstream sensor information point table, the value of the field Id is equal to the field Id in the upstream model information point table, the value of the field Name is equal to the field Name in the upstream model information point table, the field Refname is the combined information containing the field Refname in the upstream model information point table, the value of the field SensorId is equal to the field Id in the sensor table, the value of the field SensorpointId is equal to the field Id in the sensor information point table, the value of the field Platformtype is equal to the field Protocoltype in the upstream model information point table, and the field Refname is used to record the IEC61850 data path of the information point.

[0025] An IEC61850 uplink configuration device for a gateway device includes a database, an uplink protocol module and a sensor configuration module, wherein a database dictionary table, a model library and a sensor library are stored in the database, and a platform protocol type is configured in the database dictionary, wherein the platform protocol type includes an IEC61850 communication protocol;

[0026] The model library is used to preset data models of different types of sensors. The data model includes three parts: a model module, a model information point module and an uplink model information point table. The model and model parameters are defined in the model module, the model information point and model information point parameters are defined in the model information point module, and the mapping relationship between the data template and the data model in the ICD file is recorded in the uplink model information point table;

[0027] The sensor library is used to store sensor models of various sensor devices connected to the gateway machine. The sensor model includes three parts: a sensor module, a sensor information point module and an uplink sensor information point table. The sensor and sensor parameters are defined in the sensor module, the sensor information point and sensor information point parameters are defined in the sensor information point module, and the IEC61850 data path of each sensor information point is recorded in the uplink sensor information point table; the sensor module inherits from the model module, the sensor information point module inherits from the model information point module, and the uplink sensor information point table inherits from the uplink model information point table;

[0028] The uplink protocol module is used to load the data template in the ICD file and obtain information including the logical node type and the data object type;

[0029] The sensor configuration module is used to create each sensor model corresponding to each sensor device: first, select the corresponding data model from the model library of the gateway as the sensor model, add sensor parameters and sensor information point parameters according to the model module, model information point module and communication parameters of the sensor device, and store the sensor model in the sensor model library; then, load the data model in the uplink protocol module of the gateway, including the model module, model information point module and uplink model information point module, and import the ICD file in the uplink protocol module of the gateway; then, build a mapping relationship between the data model and the data template, that is, match and map the model module with the logical node type, match and map the model information point module with the data object type, and write the matching mapping information into the uplink model information point table; then, form an INST generation rule based on the sensor type and number information, initialize the uplink sensor information point table in combination with each sensor information point and the corresponding uplink model information point, and form a unique IEC61850 data path for each sensor information point; finally, add the uplink platform configuration in the database of the gateway, and the information of the uplink platform configuration includes the platform protocol type, platform parameter connection information and platform reporting cycle.

[0030] Beneficial effect: The IEC61850 uplink configuration method and device for the gateway device provided by the present invention have the following advantages over the prior art: 1. No matter how and what protocol the sensor device uses to access the gateway device, it can be easily converted into IEC61850 protocol data for transmission and reporting to the platform; 2. It can support the access requirements of different IEC61850 platforms. It only needs to replace the ICD file recognized by the platform and configure the mapping relationship between the local model of the gateway device and the ICD file to achieve protocol configuration; 3. For IEC61850 platforms that can use the same IED file, a configuration can be performed once to retain the solidified mapping relationship. All subsequent devices only need to complete the configuration of the sensor device and complete the uplink configuration with one-click initialization, which is simple and convenient. BRIEF DESCRIPTION OF THE DRAWINGS

[0031] Figure 1 A schematic diagram for configuring the uplink model information point;

[0032] Figure 2 Schematic diagram of the configuration of the uplink sensor information point. DETAILED DESCRIPTION

[0033] The present invention is described in detail below with reference to the accompanying drawings and specific embodiments.

[0034] A gateway device IEC61850 uplink configuration device includes a database, an uplink protocol module and a sensor configuration module. The database stores a database dictionary table, a model library and a sensor library. The platform protocol type is configured in the database dictionary. The platform protocol type includes the IEC61850 communication protocol. The model library is used to preset data models of different types of sensors. The data model includes three parts: a model module, a model information point module and an uplink model information point table. The mapping relationship between the data template and the data model in the ICD file is recorded in the uplink model information point table. The sensor library is used to store sensor models of each sensor device connected to the gateway. The sensor model includes three parts: a sensor module, a sensor information point module and an uplink sensor information point table. The IEC61850 data path of each sensor information point is recorded in the uplink sensor information point table. The uplink protocol module is used to load the data template in the ICD file and obtain information including the logical node type and the data object type. The sensor configuration module is used to create each sensor model corresponding to each sensor device: first, from the gateway The corresponding data model is selected as the sensor model in the model library of the gateway machine, and the sensor parameters and sensor information point parameters are added according to the communication parameters of the model module, the model information point module and the sensor device, and the sensor model is stored in the sensor model library; then, the data model is loaded in the uplink protocol module of the gateway machine, including the model module, the model information point module and the uplink model information point module, and the ICD file is imported into the uplink protocol module of the gateway machine at the same time; then, the mapping relationship between the data model and the data template is constructed, that is, the model module is matched and mapped with the logical node type, and the model information point module is matched and mapped with the data object type, and the matching mapping information is written into the uplink model information point table; then, the INST generation rule is formed according to the sensor type and number information, and the uplink sensor information point table is initialized in combination with each sensor information point and the corresponding uplink model information point, so as to form a unique IEC61850 data path for each sensor information point; finally, the uplink platform configuration is added to the database of the gateway machine, and the information of the uplink platform configuration includes the platform protocol type, the platform parameter connection information and the platform reporting cycle.

[0035] The present invention is further described below in conjunction with the IEC61850 uplink configuration method for a gateway device.

[0036] Step 1: Configure the database dictionary table in the database of the gateway device

[0037] This case is to realize the uplink configuration of the gateway device based on the IEC61850 communication protocol to realize the IEC61850 data reporting of different systems and platforms. Therefore, it is necessary to configure the IEC61850 communication protocol in the database dictionary table first; specifically, configure the database dictionary table in the database of the gateway machine, and configure the platform protocol type in the database dictionary. The platform protocol type includes the IEC61850 communication protocol, as shown in Table 1.

[0038] Table 1 Add platform protocol type configuration in the database dictionary table

[0039] Dictionary code Dictionary item ID name describe protocoltype 61850 61850 Uplink Protocol IEC61850 communication protocol, platform protocol type

[0040] Note: The dictionary item ID represents the specific digital information of the communication protocol type, and the name is the display content in the gateway machine.

[0041] Step 2: Build a sensor library in the gateway machine’s database

[0042] Sensor modeling is to facilitate user use and reduce repeated configuration; classify sensors, and each type of sensor uses a common data model; pre-make data models in the gateway, and when users need to use them, they only need to select a specific data model to quickly create a sensor model, and create a file in the gateway to achieve sensor access. For example, a temperature and humidity sensor can first add a temperature and humidity data model, and the model information points include temperature, humidity and other information points.

[0043] A model library is constructed in the database of the gateway machine. Data models of different types of sensors are preset in the model library. The data model includes three parts: model module, model information point module and uplink model information point table. The model and model parameters are defined in the model module, the model information point and model information point parameters are defined in the model information point module, and the mapping relationship between the data template and the data model in the ICD file is recorded in the uplink model information point table.

[0044] The data model in this example, the model module, the model information point module and the upstream model information point table are all designed as tables, which are respectively recorded as the model table, the model data point table and the upstream model information point table.

[0045] Table 2 shows an example of a model table, including but not limited to the table content.

[0046] Table 2 Model table example

[0047]

[0048] Table 3 shows an example of a model information point table, including but not limited to the table content.

[0049] Table 3 Example of model information point table

[0050]

[0051] Note: The value of the modelid field in Table 3 is equal to the Id field in Table 2.

[0052] Table 4 shows an uplink model information point table, including but not limited to table contents.

[0053] Table 4 Example of upstream model information point table

[0054]

[0055]

[0056] Note: In Table 4, the value of the Modelid field is equal to the Id field in Table 2, and the value of the Modelpointid field is equal to the Id field in Table 3.

[0057] In Table 4, the field Refname is used to record the key information of the data template in the ICD file, such as the logical node type ID and its corresponding logical node type, data object type, etc.; the field Modelid and the field Modelpointid record the corresponding model ID and model information point ID respectively, and the field Protocoltype is 61850, pointing to the IEC61850 communication protocol.

[0058] Step 3: Build a sensor library in the gateway database

[0059] A sensor library is constructed in the database of the gateway machine. The sensor library is used to store the sensor models of each sensor connected to the gateway machine. The sensor model includes three parts: sensor module, sensor information point module and uplink sensor information point table. Sensors and sensor parameters are defined in the sensor module, sensor information points and sensor information point parameters are defined in the sensor information point module, and the IEC61850 data path of each sensor information point is recorded in the uplink sensor information point table; the sensor module inherits from the model module, the sensor information point module inherits from the model information point module, and the uplink sensor information point table inherits from the uplink model information point table.

[0060] In the sensor model of this example, the sensor module, the sensor information point module and the uplink sensor information point table are all designed as tables, which are respectively recorded as the sensor table, the sensor information point table and the uplink sensor information point table.

[0061] Table 5 shows an example of a sensor table, including but not limited to the table contents.

[0062] Table 5 Sensor table example

[0063] Fields type illustrate Id Number Sensor ID, non-null, * Name String Sensor Name modelid Number Model ID

[0064] Note: In Table 5, the value of the field modelid is equal to the field Id in Table 2.

[0065] Table 6 shows an example of a sensor data point table, including but not limited to the table content.

[0066] Table 6 Sensor data point table example

[0067] Fields type illustrate Id Number Sensor information point ID, non-null, * Name String Sensor information point name sensorid Number Sensor ID modelpointid Number Model information point ID

[0068] Note: In Table 6, the value of the field sensorid is equal to the field Id in Table 5, and the value of the field modelpointid is equal to the field Id in Table 3. Table 7 shows the uplink sensor information point table, including but not limited to the table content.

[0069] Table 7 Example of upstream sensor information point table

[0070] Fields type illustrate Id Number Uplink model information point ID, non-null, * Name String Uplink model information point name Refname String Uplink model information point alias SensorId Number Sensor ID SensorpointId Number Sensor information point ID Platform type Number Platform protocol type

[0071] Note: In Table 4, the value of the field Id is equal to the field Id in Table 4, the value of the field Name is equal to the field Name in Table 4, the value of the field SensorId is equal to the field Id in Table 5, the value of the field SensorpointId is equal to the field Id in Table 6, and the value of the field Platformtype is equal to the field Protocoltype in Table 4.

[0072] The uplink sensor information point table is an instantiated uplink sensor protocol specification, which defines the information required for message organization when a specific sensor information point reports a certain uplink data. The Refname field in Table 7 is used to record the IEC61850 data path of the sensor information point, which is generated by combining the Refname field in the corresponding uplink model information point table with other relevant information, and is a combination of the Refname field in Table 4.

[0073] Step 4: Configure sensor devices on the gateway

[0074] To configure the sensor device on the gateway, that is, to establish the sensor model corresponding to the sensor device and store it in the sensor library, first select the data model of the same type from the model library, and then add relevant information to the model module, model information point module and uplink model information point table of the data model according to the sensor device parameters and communication requirements, and finally form the sensor model. The specific configuration process is as follows:

[0075] (41) Select the corresponding data model from the model library of the gateway machine as the sensor model, add sensor parameters and sensor information point parameters according to the communication parameters of the model module, model information point module and sensor device, and store the sensor model in the sensor model library.

[0076] (42) Load the data model in the uplink protocol module of the gateway machine, including the model module, the model information point module and the uplink model information point module; at the same time, import the ICD file (provided by the platform or the manufacturer) in the uplink protocol module of the gateway machine, load the data template in the ICD file, and obtain information including the logical node type and the data object type.

[0077] (43) Figure 1 As shown, a mapping relationship between the data model and the data template is constructed, that is, the model module is matched and mapped with the logical node type, and the model information point module is matched and mapped with the data object type, and the matching mapping information is written into the upstream model information point table.

[0078] (44) For the added sensor devices, based on the configured uplink model data point information table and the sensor ID, the uplink sensor data point table is automatically initialized. Specifically, first, based on the model ID and model information point ID of each sensor information point, the configuration information of the uplink model information point table is found, and then based on the INST generation rules and the logical device name, combined with the IED name and the logical device name corresponding to the sensor information point, a corresponding and unique IEC61850 data path is automatically generated for each sensor information point to complete the uplink sensor configuration table information; the generation rule of the unique IEC61850 data path for each sensor information point is:

[0079] IED name + logical device name / prefix + logical node type + INST.Logical node type.Data object type

[0080] Where: Logical Device Name / Prefix indicates the logical device name or prefix.

[0081] (45) Add the uplink platform configuration in the database dictionary table. The uplink platform configuration information includes the platform protocol type, platform parameter connection information and platform reporting period, as shown in Table 8. A data record is configured for the IEC61850 uplink. The platform name is IEC61850 and the platform protocol type is 61850. Since the gateway device is the IEC61850 data server, the path information is set to include the IEC61850 service port, which is generally 102.

[0082] Table 8 Adding uplink platform configuration in the database dictionary table

[0083] Fields type illustrate Id Number Platform ID, non-null, * Name String Platform Name type String The platform protocol type, non-null Url String Platform parameter connection information Reportcycle Number Platform reporting cycle

[0084] Through the IEC61850 uplink configuration configured as above, unified configuration for different IEC61850 uplink platforms can be achieved. By importing the IED file recognized by the platform and mapping it with the local sensor model of the gateway, the one-click initialization conversion of the IEC61850 data protocol for various sensor devices connected to the gateway can be achieved.

[0085] The above shows and describes the basic principles, main features and advantages of the present invention. Those skilled in the art should understand that the above embodiments do not limit the present invention in any form, and any technical solution obtained by equivalent replacement or equivalent transformation falls within the protection scope of the present invention.

Claims

1. A gateway device IEC61850 uplink configuration method, characterized in that: The method comprises the following steps: Step 1. Configure the database dictionary table in the database of the gateway machine, and configure the platform protocol type in the database dictionary. The platform protocol type includes the IEC61850 communication protocol. Step 2. Build a model library in the database of the gateway machine. Preset data models of different types of sensors in the model library. The data model includes three parts: model module, model information point module and uplink model information point table. Define the model and model parameters in the model module, define the model information point and model information point parameters in the model information point module, and record the mapping relationship between the data template and the data model in the ICD file in the uplink model information point table. Step 3. Build a sensor library in the database of the gateway. The sensor library is used to store the sensor models of the sensors connected to the gateway. The sensor model includes three parts: sensor module, sensor information point module and uplink sensor information point table. The sensor and sensor parameters are defined in the sensor module, the sensor information point and sensor information point parameters are defined in the sensor information point module, and the IEC61850 data path of each sensor information point is recorded in the uplink sensor information point table. The sensor module inherits from the model module, the sensor information point module inherits from the model information point module, and the uplink sensor information point table inherits from the uplink model information point table. Step 4: Configure the sensor device on the gateway, including the following steps: (41) Selecting a corresponding data model from the model library of the gateway machine as the sensor model, adding sensor parameters and sensor information point parameters according to the model module, the model information point module and the communication parameters of the sensor device, and storing the sensor model in the sensor model library; (42) Loading a data model in the uplink protocol module of the gateway machine, including a model module, a model information point module, and an uplink model information point module; at the same time, importing an ICD file in the uplink protocol module of the gateway machine, loading a data template in the ICD file, and obtaining information including a logical node type and a data object type; (43) constructing a mapping relationship between the data model and the data template, that is, matching and mapping the model module with the logical node type, matching and mapping the model information point module with the data object type, and writing the matching and mapping information into the upstream model information point table; (44) forming an INST generation rule according to the sensor type and number information, combining each sensor information point and the corresponding uplink model information point, initializing the uplink sensor information point table, and forming a unique IEC61850 data path for each sensor information point; (45) Add the uplink platform configuration to the database of the gateway machine. The uplink platform configuration information includes the platform protocol type, platform parameter connection information and platform reporting period. The platform protocol type includes the IEC61850 communication protocol.

2. The IEC61850 uplink configuration method for a gateway device according to claim 1, characterized in that: In the steps (42) and (43), the ICD file is imported into the uplink protocol module of the gateway machine, the data template in the ICD file is loaded, and for each logical node type ID, information including the logical node type, data object type, and prefix is ​​obtained, each logical node type ID and its corresponding logical node type, data object type, and prefix are combined into path information, and the combined path information is written into the uplink model information point table.

3. The IEC61850 uplink configuration method for a gateway device according to claim 1, characterized in that: In the step (44), first, the corresponding uplink model information point table is found according to the data model referenced by each sensor information point, and then the INST generation rule is formed according to the sensor type and number information, and the IED name and the logical device name corresponding to the sensor information point are combined to form a unique IEC61850 data path for each sensor information point.

4. The IEC61850 uplink configuration method for a gateway device according to claim 3, characterized in that: In step (44), the generation rule of the unique IEC61850 data path for each sensor information point is: IED name + logical device name / prefix + logical node type + INST.Logical node type.Data object type Where: logical device name / prefix indicates the logical device name or prefix.

5. The IEC61850 uplink configuration method for a gateway device according to claim 1, characterized in that: In the data model, the model module and the model information point module are both designed as tables, respectively recorded as model table and model information point table; in the sensor model, the sensor module and the sensor information point module are both designed as tables, respectively recorded as sensor table and sensor information point table.

6. The IEC61850 uplink configuration method for a gateway device according to claim 1, characterized in that: The model table at least includes the field Id representing the model ID, the field Name representing the model name, the field samename representing the model unique code, and the field Ssid representing the model type identifier. The data type of the field Id is Number, the data type of the field Name is String, the data type of the field samename is String, and the data type of the field Ssid is String; the model information point table at least includes the field Id representing the model information point ID, the field Name representing the model information point name, and the field modelid representing the model ID. The data type of the field Id is Number, the data type of the field Name is String, and the data type of the field modelid is String; the uplink model information point table at least includes the field Id representing the uplink model information point ID, the field Name representing the uplink model information point name, the field Refname representing the uplink model information point alias, and the field M representing the model ID. odelid, the field Modelpointid representing the model information point ID, the field Protocoltype representing the platform protocol type, the data type of the field Id is Number, the data type of the field Name is String, the data type of the field Refname is String, the data type of the field Modelid is Number, the data type of the field Modelpointid is Number, and the data type of the field Protocoltype is Number; in the model information point table, the value of the field modelid is equal to the field Id in the model table; in the upstream model information point table, the value of the field Modelid is equal to the field Id in the model table, the value of the field Modelpointid is equal to the field Id in the model information point table, the field Refname is used to record the mapping relationship between the data template and the data model in the ICD file, and the field Protocoltype points to the IEC61850 communication protocol.

7. The IEC61850 uplink configuration method for a gateway device according to claim 1, characterized in that: The sensor table at least includes a field Id representing the sensor ID, a field Name representing the sensor name, and a field modelid representing the model ID. The data type of the field Id is Number, the data type of the field Name is String, and the data type of the field modelid is Number. The sensor information point table at least includes a field Id representing the sensor information point ID, a field Name representing the sensor information point name, a field sensorid representing the sensor ID, and a field modelpointid representing the model data point ID. The data type of the field Id is Number, the data type of the field Name is String, the data type of the field sensorid is Number, and the data type of the field modelpointid is Number. The uplink sensor information point table at least includes a field Id representing the uplink model information point ID, a field Name representing the uplink model information point name, a field Refname representing the uplink model information point alias, a field SensorId representing the sensor ID, a field SensorpointId representing the sensor information point ID, and a field Platformtype representing the platform protocol type. The data type of the field Id is Number. ber, the data type of the field Name is String, the data type of the field Refname is String, the data type of the field SensorId is Number, the data type of the field SensorpointId is Number, and the data type of the field Platformtype is Number; in the sensor table, the value of the field modelid is the field Id in the model table; in the sensor information point table, the value of the field sensorid is equal to the field Id in the sensor table, and the value of the field modelpointid is equal to the field Id in the model information point table; in the uplink sensor information point table, the value of the field Id is equal to the field Id in the uplink model information point table, the value of the field Name is equal to the field Name in the uplink model information point table, the field Refname is the combined information containing the field Refname in the uplink model information point table, the value of the field SensorId is equal to the field Id in the sensor table, the value of the field SensorpointId is equal to the field Id in the sensor information point table, the value of the field Platformtype is equal to the field Protocoltype in the uplink model information point table, and the field Refname is used to record the IEC61850 data path of the information point.

8. A gateway device IEC61850 uplink configuration device, characterized in that: It includes a database, an uplink protocol module and a sensor configuration module. The database dictionary table, the model library and the sensor library are stored in the database. The platform protocol type is configured in the database dictionary. The platform protocol type includes the IEC61850 communication protocol. The model library is used to preset data models of different types of sensors. The data model includes three parts: a model module, a model information point module and an uplink model information point table. The model and model parameters are defined in the model module, the model information point and model information point parameters are defined in the model information point module, and the mapping relationship between the data template and the data model in the ICD file is recorded in the uplink model information point table; The sensor library is used to store sensor models of various sensor devices connected to the gateway machine. The sensor model includes three parts: a sensor module, a sensor information point module and an uplink sensor information point table. The sensor and sensor parameters are defined in the sensor module, the sensor information point and sensor information point parameters are defined in the sensor information point module, and the IEC61850 data path of each sensor information point is recorded in the uplink sensor information point table; the sensor module inherits from the model module, the sensor information point module inherits from the model information point module, and the uplink sensor information point table inherits from the uplink model information point table; The uplink protocol module is used to load the data template in the ICD file and obtain information including the logical node type and the data object type; The sensor configuration module is used to create each sensor model corresponding to each sensor device: first, select the corresponding data model from the model library of the gateway as the sensor model, add sensor parameters and sensor information point parameters according to the model module, model information point module and communication parameters of the sensor device, and store the sensor model in the sensor model library; then, load the data model in the uplink protocol module of the gateway, including the model module, model information point module and uplink model information point module, and import the ICD file in the uplink protocol module of the gateway; then, build a mapping relationship between the data model and the data template, that is, match and map the model module with the logical node type, match and map the model information point module with the data object type, and write the matching mapping information into the uplink model information point table; then, form an INST generation rule according to the sensor type and the number information ID, initialize the uplink sensor information point table in combination with each sensor information point and the corresponding uplink model information point, and form a unique IEC61850 data path for each sensor information point; finally, add the uplink platform configuration in the database of the gateway, and the information of the uplink platform configuration includes the platform protocol type, platform parameter connection information and platform reporting cycle.

Citation Information

Patent Citations

  • Modeling achieving method based on DL / T860 standard for power device for transformer substation

    CN104462732A

  • Protocol conversion method and protocol conversion gateway equipment

    CN104702585A

  • Integrated intelligent gateway machine configuration method based on unified modeling of transformer station

    CN105515189A

  • Real-time simulation platform modeling and simulation method based on an IEC61850 standard

    CN109388903A

  • Method for automatically identifying and creating wired sensor of gateway machine equipment of power transformation and distribution station house

    CN118313396A