Gateway device IEC61850 uplink configuration method and device
By building a database dictionary, model library, and sensor library in the gateway device, configuring the IEC61850 communication protocol, and importing the mapping relationship between data and sensor models through ICD files, the interoperability problem between devices from different manufacturers was solved, and unified configuration and data reporting across multiple platforms were achieved.
Patent Information
- Application Number
- CN202411830484.2
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2024-12-12
- Publication Date
- 2025-11-07
- Estimated Expiration
- 2044-12-12
AI Technical Summary
Different manufacturers' power system platforms have different requirements for the format and content of ICD files, which leads to interoperability and compatibility issues between devices in the practical application of the IEC61850 standard, making it difficult to achieve seamless connection.
By building a database dictionary, model library, and sensor library in the gateway device, configuring the IEC61850 communication protocol, pre-setting data models, and importing data and sensor model mapping relationships through ICD files, a unique IEC61850 data path is generated, achieving unified configuration across different platforms.
It enables IEC61850 data reporting across different systems and platforms, supports seamless access to various sensor devices, simplifies the configuration process, and improves interoperability and uniformity between devices.
Smart Images

Figure CN119544487B_ABST
Abstract
Description
TECHNICAL FIELD
[0001] The application relates to a gateway machine device IEC61850 uplink configuration method and device, and belongs to the technical field of sensor information points in intelligent transformer substation buildings. BACKGROUND
[0002] IEC61850 standard is an international standard for new generation of substation automation systems, is a series of standards of substation communication network and system formulated by IEC TC57 working group, is the only international standard of substation automation system based on network communication platform. The standard is not only suitable for communication between power primary equipment and secondary equipment, but also suitable for communication between power secondary equipment; compared with other international standards, IEC61850 is not a simple communication protocol, but a standard of 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 devices and realize seamless connection of devices of different manufacturers by unified modeling of objects in substation automation system, using object-oriented technology and abstract communication service interface independent of network structure.
[0003] The gateway machine device of the transformer substation has the functions of real-time monitoring of the running state of the power equipment, the environmental information of the power station building, the running state in the station and the like, can report the data information collected in the station according to the IEC61850 standard, forwards the data to the monitoring platform, and at the same time responds to the control instructions of the platform to achieve remote control of the devices in the station.
[0004] However, IEC61850 standard is only a communication standard, different power system platforms have different requirements for the format and content of ICD file (i.e. IED capability description file), some of which can be self-made and provided by the manufacturer, and some of which are specified by the platform; this means that although IEC61850 provides a communication standard, in actual application, the access requirements of different systems and platforms will lead to complexity and inconsistency in configuration; because the devices of different manufacturers may have different ICD files and communication protocols, this limits the interoperability between devices, making it difficult to realize seamless connection between devices of different manufacturers. These challenges show that although IEC61850 standard provides a powerful framework for substation automation, in actual deployment and application, the compatibility and interoperability between devices still need to be solved to realize more efficient and unified substation automation system. SUMMARY
[0005] The application aims at overcoming the deficiencies in the prior art, and provides a gateway machine device IEC61850 uplink configuration method and device, which can universally process IEC61850 data reporting of different systems and platforms.
[0006] Technical solution: To achieve the above-mentioned purpose, the technical solution adopted by the application is:
[0007] An IEC61850 uplink configuration method of a gateway machine device, the method comprising the following steps:
[0008] Step 1, configuring a database dictionary table in the database of the gateway machine, and configuring a platform protocol type in the database dictionary, wherein the platform protocol type comprises an IEC61850 communication protocol;
[0009] Step 2, constructing a model library in the database of the gateway machine, pre-storing data models of different types of sensors in the model library, wherein the data models comprise three parts of a model module, a model information point module and an uplink model information point table, defining a model and a model parameter in the model module, defining a model information point and a model information point parameter in the model information point module, and recording a mapping relationship between a data template and a data model in the ICD file in the uplink model information point table;
[0010] Step 3, constructing a sensor library in the database of the gateway machine, the sensor library being used to store sensor models of each sensor connected to the gateway machine, wherein the sensor models comprise three parts of a sensor module, a sensor information point module and an uplink sensor information point table, defining a sensor and a sensor parameter in the sensor module, defining a sensor information point and a sensor information point parameter in the sensor information point module, and recording an IEC61850 data path of each sensor information point in the uplink sensor information point table; the sensor module is inherited from the model module, the sensor information point module is inherited from the model information point module, and the uplink sensor information point table is inherited from the uplink model information point table;
[0011] Step 4, configuring a sensor device on the gateway machine, comprising the following steps:
[0012] (41) selecting a corresponding data model as a sensor model from the model library of the gateway machine, adding a sensor parameter and a sensor information point parameter according to the model module, the model information point module and the communication parameter of the sensor device, and storing the sensor model in the sensor model library;
[0013] (42) loading 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, importing the ICD file in the uplink protocol module of the gateway machine, loading the 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, i.e. matching and mapping the model module and the logical node type, matching and mapping the model information point module and the data object type, and writing the matched and mapped information into the uplink model information point table;
[0015] (44) forming an INST generation rule according to the sensor type and the number information, initializing the uplink sensor information point table in combination with each sensor information point and the corresponding uplink model information point, and forming a unique IEC61850 data path for each sensor information point;
[0016] (45) adding the uplink platform configuration into 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 period, and 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, the information including the logical node type, the data object type and the prefix is obtained for each logical node type ID, each logical node type ID and the 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 found according to the data model referenced by each sensor information point, the INST generation rule is formed according to the sensor type and the number information, and the unique IEC61850 data path for each sensor information point is combined into the IED name and the logical device name corresponding to the sensor information point.
[0019] Preferably, in the step (44), the generation rule of the unique IEC61850 data path for each sensor information point is as follows:
[0020] IED name + logical device name / prefix + logical node type + INST. logical node type. data object type
[0021] Wherein, the logical device name / prefix represents the logical device name or the prefix.
[0022] Preferably, in the data model, the model module and the model information point module are designed as tables, and are respectively recorded as a model table and a model information point table; in the sensor model, the sensor module and the sensor information point module are designed as tables, and are respectively recorded as a sensor table and a sensor information point table.
[0023] Specifically, the model table includes at least a field Id representing a model ID, a field Name representing a model name, a field samename representing a model unique code, and a field Ssid representing a 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 includes at least a field Id representing a model information point ID, a field Name representing a model information point name, and a field modelid representing a 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 includes at least a field Id representing an uplink model information point ID, a field Name representing an uplink model information point name, a field Refname representing an uplink model information point alias, a field Modelid representing a model ID, a field Modelpointid representing a model information point ID, and a field Protocoltype representing a 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 value of the field Id in the model table; in the uplink model information point table, the value of the field Modelid is equal to the value of the field Id in the model table, the value of the field Modelpointid is equal to the value of the field Id in the model information point table, the field Refname is used to record a mapping relationship between a data template and a data model in an ICD file, and the field Protocoltype points to an IEC61850 communication protocol.
[0024] In particular, the sensor table includes at least a field Id representing a sensor ID, a field Name representing a sensor name, and a field modelid representing a 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 a sensor information point ID, a field Name representing a sensor information point name, a field sensorid representing a sensor ID, and a field modelpointid representing a 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 an uplink model information point ID, a field Name representing an uplink model information point name, a field Refname representing an uplink model information point alias, a field SensorId representing a sensor ID, a field SensorpointId representing a sensor information point ID, and a field Platformtype representing a 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 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 combined information including 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 an IEC61850 data path of an information point.
[0025] The application discloses a gateway device IEC61850 uplink configuration device, which comprises a database, an uplink protocol module and a sensor configuration module.
[0026] The model library is used for presetting data models of different types of sensors, and the data model comprises three parts of 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 a data template and a data model in an ICD file is recorded in the uplink model information point table.
[0027] The sensor library is used for storing sensor models of each sensor device connected to the gateway machine, the sensor model comprises three parts of 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 is inherited from the model module, the sensor information point module is inherited from the model information point module, and the uplink sensor information point table is inherited from the uplink model information point table.
[0028] The uplink protocol module is used for loading a data template in an ICD file and acquiring information including a logical node type and a data object type.
[0029] The sensor configuration module is configured to create each sensor model corresponding to each sensor device: first, select a corresponding data model from the model library of the gateway machine as a sensor model, add 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 store the sensor model in the sensor model library; then, 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, and import the ICD file in the uplink protocol module of the gateway machine; then, build the mapping relationship between the data model and the data template, that is, match and map the model module and the logical node type, match and map the model information point module and the data object type, and write the matched and mapped information into the uplink model information point table; then, form the INST generation rule according to the sensor type and the number information, combine each sensor information point and the corresponding uplink model information point, initialize the uplink sensor information point table, and form the unique IEC61850 data path of each sensor information point; and finally, add the uplink platform configuration in 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 period.
[0030] Advantages: the gateway machine device IEC61850 uplink configuration method and device provided by the application has the following advantages compared with the prior art: 1. No matter how the sensor device accesses the gateway machine, it can be conveniently converted into the protocol data of IEC61850 for transmission and reporting to the platform; 2. It can support the access requirements of different IEC61850 platforms, and only needs to replace the ICD file recognized by the platform to configure the mapping relationship between the local model of the gateway machine and the ICD file, so as to realize the protocol configuration; 3. For the IEC61850 platform that can use the same IED file, one-time configuration can be performed, the fixed mapping relationship is reserved, and all subsequent devices only need to be configured after the sensor device is completed, and one-key initialization can complete the uplink configuration, which is simple and convenient. BRIEF DESCRIPTION OF DRAWINGS
[0031] Figure 1 An uplink model information point configuration diagram;
[0032] Figure 2 An uplink sensor information point configuration diagram. DETAILED DESCRIPTION
[0033] The application will be specifically introduced below in combination with the drawings and specific embodiments.
[0034] The application discloses a gateway device IEC61850 uplink configuration device, which comprises a database, an uplink protocol module and a sensor configuration module, wherein the database is used for storing a database dictionary table, a model library and a sensor library; the database dictionary is used for performing platform protocol type configuration, and the platform protocol type comprises an IEC61850 communication protocol; the model library is used for presetting data models of different types of sensors, and the data model comprises a model module, a model information point module and an uplink model information point table; the mapping relationship between a data template and the data model in an ICD file is recorded in the uplink model information point table; the sensor library is used for storing sensor models of each sensor device connected to the gateway device, and the sensor model comprises 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 for loading the data template in the ICD file and acquiring information including a logical node type and a data object type; the sensor configuration module is used for creating each sensor model corresponding to each sensor device; firstly, a corresponding data model is selected from the model library of the gateway device as the sensor model, sensor parameters and sensor information point parameters are added according to the model module, the model information point module and the communication parameters of 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 device, the model module, the model information point module and the uplink model information point module are included, and the ICD file is imported in the uplink protocol module of the gateway device; next, 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, the model information point module is matched and mapped with the data object type, and the matched and mapped information is written into the uplink model information point table; then, the INST generation rule is formed according to the sensor type and the number information, the uplink sensor information point table is initialized by combining each sensor information point and the corresponding uplink model information point, and the unique IEC61850 data path of each sensor information point is formed; finally, the uplink platform configuration is added in the database of the gateway device, and the information of the uplink platform configuration comprises a platform protocol type, platform parameter connection information and a platform reporting period.
[0035] The application is further described below in combination with a gateway device IEC61850 uplink configuration method.
[0036] Step one, configuring a database dictionary table in the database of the gateway device
[0037] The case is to realize the uplink configuration of the gateway device based on the IEC61850 communication protocol, so as to realize the IEC61850 data reporting of different systems and platforms, and thus the IEC61850 communication protocol needs to be configured in the database dictionary table first; specifically, the database dictionary table is configured in the database of the gateway, and the platform protocol type is configured in the database dictionary, and the platform protocol type includes the IEC61850 communication protocol, as shown in Table 1.
[0038] Table 1 increases the platform protocol type configuration in the database dictionary table
[0039] Dictionary code Dictionary item ID Name Description Protocol type 61850 61850 uplink protocol IEC61850 communication protocol, platform protocol type
[0040] Note: The dictionary item ID represents specific numerical information of the communication protocol type, and the name is the display content in the gateway.
[0041] Step two, constructing a sensor library in the database of the gateway
[0042] Sensor modeling is to facilitate user use and reduce repeated configuration; sensors are classified, and each type of sensor shares a data model; the data model is prefabricated in the gateway, and when the user needs to use it, only the specific data model needs to be selected to quickly create the sensor model, and the sensor access can be realized by building a file in the gateway. For example, a temperature and humidity data model can be added to the temperature and humidity sensor, and the model information point includes temperature, humidity and other information point information.
[0043] A model library is constructed in the database of the gateway, the data model of different types of sensors is pre-set in the model library, the data model includes three parts of 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 in the ICD file and the data model 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 uplink model information point table are all designed as tables, respectively recorded as the model table, the model data point table and the uplink model information point table.
[0045] As shown in Table 2, the model table example includes but is not limited to the table content.
[0046] Table 2, model table example
[0047]
[0048] As shown in Table 3, the model information point table example includes but is not limited to the table content.
[0049] Table 3, model information point table example
[0050]
[0051] Note: the value of field modelid in Table 3 is equal to the value of field Id in Table 2.
[0052] Table 4 is an example of the uplink model information point table, including but not limited to the table contents.
[0053] Table 4 is an example of the uplink model information point table, including but not limited to the table contents.
[0054]
[0055]
[0056] Note: in Table 4, the value of field Modelid is equal to the value of field Id in Table 2, and the value of field Modelpointid is equal to the value of field Id in Table 3.
[0057] In Table 4, 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.; field Modelid and field Modelpointid record the corresponding model ID and model information point ID respectively, and field Protocoltype is 61850, pointing to the IEC61850 communication protocol.
[0058] Step three, constructing a sensor library in the database of the gateway machine
[0059] A sensor library is constructed in the database of the gateway machine, which is used to store the sensor models of each sensor 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. In the sensor module, the sensor and sensor parameters are defined; in the sensor information point module, the sensor information point and sensor information point parameters are defined; and in the uplink sensor information point table, the IEC61850 data path of each sensor information point is recorded. 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 example, the sensor model, the sensor module, the sensor information point module, and the uplink sensor information point table are all designed as tables, respectively referred to as the sensor table, the sensor information point table, and the uplink sensor information point table.
[0061] Table 5 is an example of the sensor table, including but not limited to the table contents.
[0062] Table 5 is an example of the sensor table, including but not limited to the table contents.
[0063] Field Type Explanation Id Number Sensor ID, non-null, * Name String Sensor name Model id Number Model ID
[0064] Note: In Table 5, the value of the field modelid is equal to the field Id in Table 2.
[0065] As shown in Table 6 is a sensor data point table example, including but not limited to the table content.
[0066] Table 6 sensor data point table example
[0067] Field Type Explanation Id Number Sensor information point ID, non-null, * Name String Sensor information point name Sensor id Number Sensor ID Model point id 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. As shown in Table 7 is an uplink sensor information point table, including but not limited to the table content.
[0069] Table 7 uplink sensor information point example
[0070] Field Type Explanation Id Number Uplink model information point ID, non-null, * Name String Uplink model information point name Refname String Uplink model information point alias Sensor id Number Sensor ID Sensor point id 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 the instantiated uplink sensor protocol specification, which defines the information required for the organization of a specific sensor information point message when reporting on a certain uplink data. The field Refname in Table 7 is used to record the IEC61850 data path of the sensor information point, which is generated by combining the field Refname in the corresponding uplink model information point table with other related information, and is a combination of information including the field Refname in Table 4.
[0073] Step four, sensor device configuration on the gateway machine
[0074] Sensor device configuration on the gateway machine, that is, establishing a sensor model corresponding to the sensor device and storing it in the sensor library, first select the same type of data model from the model library, then supplement relevant information in 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 as the sensor model from the model library of the gateway machine, add 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 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 provided by 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) As shown in Figure 1 , 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 matched and mapped information is written into the uplink model information point table.
[0078] (44) For the added sensor device, the uplink sensor data point table is automatically initialized according to the configured uplink model data point information table and in combination with the sensor ID. Specifically, first, the configuration information of the uplink model information point table is found according to the model ID and the model information point ID of each sensor information point, and then the corresponding and unique IEC61850 data path is automatically generated for each sensor information point according to the INST generation rule and the logical device name in combination with the IED name and the logical device name corresponding to the sensor information point, so as to perfect the uplink sensor configuration table information; the generation rule of the unique IEC61850 data path of each sensor information point is:
[0079] IED name + logical device name / prefix + logical node type + INST. logical node type. data object type
[0080] Wherein: the logical device name / prefix represents the logical device name or the prefix.
[0081] (45) Add the uplink platform configuration in the database dictionary table, and the information of the uplink platform configuration includes the platform protocol type, the platform parameter connection information and the platform reporting period, as shown in Table 8, a data record is added for the IEC61850 uplink configuration, the platform name is IEC61850, the platform protocol type is 61850, and since the gateway machine device is an IEC61850 data server, the path information contains the IEC61850 service port, which is generally 102.
[0082] Table 8 adds the uplink platform configuration in the database dictionary table
[0083] Field Type Explanation Id Number Platform ID, non-null, * Name String Platform name Type String Platform protocol type, non-null Url String Platform parameter connection information Report cycle Number Platform reporting period
[0084] Through the IEC61850 uplink configuration configured in the above manner, unified configuration for different IEC61850 uplink platforms can be realized, through importing an IED file recognized by the platform, mapping configuration with a local sensor model of the gateway machine is performed, and one-key initialization conversion of IEC61850 data protocols of various access sensor devices of the gateway machine can be realized.
[0085] The basic principles, main features and advantages of the present application are shown and described above. Those skilled in the art should understand that the above embodiments do not limit the present application in any form, and any technical solutions obtained by equivalent replacement or equivalent transformation fall within the protection scope of the present application.
Claims
1. A gateway device IEC61850 uplink configuration method, characterized in that: The method comprises the following steps: Step 1, configuring a database dictionary table in the database of the gateway machine, and configuring platform protocol types in the database dictionary table, wherein the platform protocol types comprise an IEC61850 communication protocol; Step 2, constructing a model library in the database of the gateway machine, pre-storing data models of different types of sensors in the model library, wherein the data models comprise three parts of a model module, a model information point module and an uplink model information point table, defining models and model parameters in the model module, defining model information points and model information point parameters in the model information point module, and recording mapping relationships between data templates in ICD files and the data models in the uplink model information point table; Step 3, constructing a sensor library in the database of the gateway machine, the sensor library being used to store sensor models of sensors connected to the gateway machine, wherein the sensor models comprise three parts of a sensor module, a sensor information point module and an uplink sensor information point table, defining sensors and sensor parameters in the sensor module, defining sensor information points and sensor information point parameters in the sensor information point module, and recording IEC61850 data paths of each sensor information point in the uplink sensor information point table; the sensor module is inherited from the model module, the sensor information point module is inherited from the model information point module, and the uplink sensor information point table is inherited from the uplink model information point table; Step 4, performing sensor device configuration on the gateway machine, comprising the following steps: (41) selecting a corresponding data model as a sensor model from the model library of the gateway machine, adding sensor parameters and sensor information point parameters according to the model module, the model information point module and communication parameters of the sensor device, and storing the sensor model in the sensor library; (42) loading the data model in the uplink protocol module of the gateway machine, comprising the model module, the model information point module and the uplink model information point module; meanwhile, importing the ICD file in the uplink protocol module of the gateway machine, loading data templates in the ICD file, and obtaining information comprising logical node types and data object types; (43) constructing mapping relationships between the data models and the data templates, that is, performing matching mapping on the model module and the logical node types, performing matching mapping on the model information point module and the data object types, and writing the matching mapping information into the uplink model information point table; (44) forming INST generation rules according to sensor types and number information, initializing the uplink sensor information point table in combination with each sensor information point and corresponding uplink model information points, and forming unique IEC61850 data paths of each sensor information point; (45) adding uplink platform configuration in the database of the gateway machine, wherein information of the uplink platform configuration comprises platform protocol types, platform parameter connection information and platform reporting periods, and the platform protocol types comprise the IEC61850 communication protocol.
2. The gateway device IEC61850 uplink configuration method 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, information including the logical node type, the data object type and the prefix is obtained for each logical node type ID, each logical node type ID and the 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 gateway device IEC61850 uplink configuration method according to claim 1, characterized in that: In the step (44), the corresponding uplink model information point table is found according to the data model referenced by each sensor information point, the INST generation rule is formed according to the sensor type and the number information, the IED name and the corresponding logical device name of the sensor information point are combined, and the unique IEC61850 data path of each sensor information point is combined.
4. The gateway device IEC61850 uplink configuration method according to claim 3, characterized in that: In the step (44), the generation rule of the unique IEC61850 data path of each sensor information point is as follows: IED name + logical device name / prefix + logical node type + INST. logical node type. data object type. Wherein, the logical device name / prefix represents the logical device name or the prefix.
5. The gateway device IEC61850 uplink configuration method according to claim 1, characterized in that: In the data model, the model module and the model information point module are designed as tables, which are respectively denoted as a model table and a model information point table; in the sensor model, the sensor module and the sensor information point module are designed as tables, which are respectively denoted as a sensor table and a sensor information point table.
6. The gateway device IEC61850 uplink configuration method according to claim 5, characterized in that: The model table includes at least a field Id representing a model ID, a field Name representing a model name, a field samename representing a model unique code, and a field Ssid representing a 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 includes at least a field Id representing a model information point ID, a field Name representing a model information point name, and a field modelid representing a 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 includes at least a field Id representing an uplink model information point ID, a field Name representing an uplink model information point name, a field Refname representing an uplink model information point alias, a field Modelid representing a model ID, a field Modelpointid representing a model information point ID, and a field Protocoltype representing a 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 value of the field Id in the model table; in the uplink model information point table, the value of the field Modelid is equal to the value of the field Id in the model table, the value of the field Modelpointid is equal to the value of the field Id in the model information point table, the field Refname is used to record a mapping relationship between a data template and a data model in an ICD file, and the field Protocoltype points to an IEC61850 communication protocol.
7. The gateway device IEC61850 uplink configuration method according to claim 5, characterized in that: The sensor table at least includes a field Id representing a sensor ID, a field Name representing a sensor name, and a field modelid representing a 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 a sensor information point ID, a field Name representing a sensor information point name, a field sensorid representing a sensor ID, and a field modelpointid representing a 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 an uplink model information point ID, a field Name representing an uplink model information point name, a field Refname representing an uplink model information point alias, a field SensorId representing a sensor ID, a field SensorpointId representing a sensor information point ID, and a field Platformtype representing a 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 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 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 for recording an IEC61850 data path of an information point.
8. A gateway device IEC61850 uplink configuration apparatus, characterized in that: The system comprises 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 table, and the platform protocol type includes an IEC61850 communication protocol; The model library is used for presetting data models of different types of sensors, and the data model comprises three parts of a model module, a model information point module and an uplink model information point table, the model is defined in the model module, the model information point and the model information point parameter 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 for storing sensor models of each sensor device connected to the gateway machine, the sensor model comprises three parts of a sensor module, a sensor information point module and an uplink sensor information point table, the sensor and the sensor parameter are defined in the sensor module, the sensor information point and the sensor information point parameter 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 is inherited from the model module, the sensor information point module is inherited from the model information point module, and the uplink sensor information point table is inherited from the uplink model information point table; The uplink protocol module is used for loading the data template in the ICD file and acquiring information including the logical node type and the data object type; The sensor configuration module is used for creating each sensor model corresponding to each sensor device: firstly, selecting the corresponding data model from the model library of the gateway machine as the sensor model, adding the sensor parameter and the sensor information point parameter according to the model module, the model information point module and the communication parameter of the sensor device, and storing the sensor model in the sensor library; then, loading 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, and importing the ICD file in the uplink protocol module of the gateway machine; then, mapping the relationship between the data model and the data template, that is, matching and mapping the model module and the logical node type, matching and mapping the model information point module and the data object type, and writing the matching and mapping information into the uplink model information point table; then, forming the INST generation rule according to the sensor type and the number information ID, combining each sensor information point and the corresponding uplink model information point, initializing the uplink sensor information point table, and forming the unique IEC61850 data path of each sensor information point; finally, adding the uplink platform configuration in 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 period.
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