A semantic mapping method for remote control data of energy storage station control system

By establishing an internal standard point model in the energy storage station control system and converting Modbus data into IEC61850 objects, the problems of semantic classification and timestamp consistency in the four remote functions in the energy storage station control system are solved, and reliable four remote data mapping and secure remote control conversion are realized.

CN123075104APending Publication Date: 2026-11-10DALIAN BINGSHAN GUARDIAN AUTOMATIC CO LTD
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202611593852.5
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2026-10-15
Publication Date
2026-11-10

AI Technical Summary

Technical Problem

Existing gateways in energy storage station control systems lack semantic classification of the four remote functions, making it impossible to accurately express the differences between telemetry, remote signaling, remote control, and remote adjustment. Furthermore, Modbus data lacks timestamp consistency, leading to communication failures and a lack of interlocking for remote control writes, making it difficult to meet the requirements of the IEC61850 model.

Method used

By establishing an internal standard point model, Modbus raw data is converted into a unified semantic object containing device, address, function code, remote control type, quality, and timestamp, and mapped to IEC61850 objects to generate a semantic mapping table of remote control data, thereby realizing secure interlock verification and communication of trusted quality bits.

Benefits of technology

A unified semantic model for multi-source data of energy storage devices has been implemented to ensure the reliable quality bit and safe remote control conversion of IEC61850 remote control objects, and to solve the problems of lack of semantic classification and timestamp consistency in existing technologies.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN123075104A_ABST
    Figure CN123075104A_ABST
Patent Text Reader

Abstract

This invention provides a semantic mapping method for remote control, remote telemetry, and remote adjustment data in an energy storage station control system, belonging to the technical field of data semantic mapping. This invention establishes an internal standard point model, first converting raw Modbus data into a unified semantic object containing device, address, function code, remote control type, quality, timestamp, and engineering value, and then mapping it to an IEC61850 object. The quality bit is generated by combining communication status, data out-of-bounds error, timeout, CRC error, offline status, and refresh cycle, and self-recovers through continuous successful data acquisition after communication is restored. A safety interlock verification is performed on IEC61850 remote control and remote adjustment commands; only after successful verification is a Modbus write command generated. This invention's method is no longer a simple one-to-one forwarding of Modbus addresses to IEC61850 points, but rather forms a complete link encompassing multi-source data from energy storage devices, a unified semantic model, IEC61850 remote control objects, trusted quality bits, and safe remote control conversion.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] This invention relates to the technical field of data semantic mapping, and more particularly to a method for semantic mapping of remote sensing, remote control, and remote telemetry data in an energy storage station control system. Background Technology

[0002] Energy storage station control systems typically require connection to field devices such as BMS, PCS, chillers, I / O modules, temperature and humidity modules, and meters. These devices extensively use Modbus TCP or Modbus RTU protocols in engineering sites, while the station control layer, dispatching layer, or substation automation system often requires the dissemination of telemetry, telesignaling, remote control, and remote adjustment data using the IEC 61850 model.

[0003] Existing gateways typically convert Modbus register values ​​directly to IEC61850 points according to a fixed address table. This method lacks a unified point model for the semantics of energy storage devices, making it difficult to express the differences between telemetry, telesignaling, remote control, and remote adjustment. It also makes it difficult to accurately integrate information such as communication failure, CRC error, device offline, and data out of bounds into IEC61850 quality bits.

[0004] Furthermore, Modbus data typically does not carry a data acquisition timestamp, and different devices have different acquisition cycles, which can easily lead to inconsistencies in time semantics when transmitting data to IEC61850. When the upper-level system issues remote control or remote adjustment commands, if the gateway directly writes the data into the Modbus register, it may bypass the energy storage system's automatic mode, alarm status, shutdown procedures, and remote control permission checks. Summary of the Invention

[0005] To address the technical problems mentioned in the background section regarding ordinary protocol conversion gateways that only perform address mapping, lack semantic classification for remote control, unreliable quality bits, inconsistent timestamps, and lack of interlocking in remote control writing, this invention provides a semantic mapping method for remote control data in energy storage station control systems. This invention establishes an internal standard point model to first convert Modbus raw data into a unified semantic object containing device, address, function code, remote control type, quality, timestamp, and engineering value, and then maps it to an IEC61850 object. The quality bit is generated by combining communication status, data out-of-bounds errors, timeouts, CRC errors, offline status, and refresh cycles, and self-recovers through continuous successful data acquisition after communication is restored. A safety interlock verification is performed on IEC61850 remote control and remote adjustment commands; Modbus write commands are only generated after the verification passes.

[0006] The technical means employed in this invention are as follows: A method for semantic mapping of remote sensing data in an energy storage station control system includes the following steps: Step 1: Obtain the communication configuration table of the downlink equipment in the energy storage station, and treat each register record in the communication configuration table as a point to be mapped; Step 2: Generate a unique device identifier based on the device number, device type, and slave address in the communication configuration table; generate a Modbus raw point identifier based on the function code, register address, and data type; combine the unique device identifier with the Modbus raw point identifier to obtain the Modbus point source identifier for each point to be mapped. Step 3: Based on the register name, data type, and read / write attributes in the communication configuration table, determine the four remote types corresponding to each Modbus point source identifier; the four remote types include: telemetry YC, remote signaling YX, remote control YK, and remote adjustment YT; Step 4: Generate an internal standard point model for each point to be mapped based on the Modbus point source identifier and the four remote control types; the internal standard point model includes at least: device number, device type, slave address, function code, register address, register name, data type, read / write attribute, four remote control types, multiplier, upper limit value, lower limit value, original value field, engineering value field, quality bit field, timestamp field, and communication status field; Step 5: Based on the four remote control types and the equipment type, generate an IEC61850 object path for each point to be mapped, wherein the telemetry YC type point is mapped to the IEC61850 measurement object or analog object, the remote signaling YX type point is mapped to the IEC61850 status object, the remote control YK type point is mapped to the IEC61850 control object, and the remote adjustment YT type point is mapped to the IEC61850 setpoint object or parameter object. Step 6: Bind the Modbus point source identifier, the internal standard point model, and the IEC61850 object path one by one to generate a single-point semantic mapping record; Step 7: Repeat steps 2 to 6 for all register records in the communication configuration table to generate a four-remote data semantic mapping table.

[0007] Further, in step 1, each register record in the communication configuration table is organized into a point to be mapped, and it is checked whether the register record contains the device number, device type, communication protocol type, slave address, register name, function code, register address, data type, read / write attribute, multiplier, upper limit value, and lower limit value; if any of the above fields are missing, the register record is defined as incomplete in configuration and will not participate in the subsequent mapping relationship generation; if the above fields are complete, the register record is defined as the processing object of the subsequent steps.

[0008] Furthermore, in step 2, when generating the Modbus point source identifier, the function code, register address and data type in the communication configuration table are read first to generate the original Modbus point identifier; then the device unique identifier is combined with the original Modbus point identifier to form the Modbus point source identifier.

[0009] Furthermore, in step 3, when determining the four remote types, the register names, data types, and read / write attributes in the communication configuration table are checked one by one: When the read / write attribute of the point to be mapped is read-only, and the register name represents any of the parameters such as voltage, current, power, temperature, SOC, SOH, pressure, flow rate, frequency, or electrical energy, the point is identified as telemetry YC. When the read / write attribute of the point to be mapped is read-only, and the data type is Boolean, bit field, or status enumeration, or the register name represents any of the following: running status, alarm status, fault status, communication status, switch status, access control status, or fire protection status, the point is determined as remote signaling YX. When the read / write attribute of the point to be mapped is write-only or writable, and the register name represents any of the start / stop control, reset control, mode switching, switch on / off, enable / disable, or remote control commands, the point is determined as remote control YK. When the read / write attribute of the point to be mapped is write-only or writable, and the register name represents any of the power setting, voltage setting, current setting, frequency setting, temperature setting, threshold setting, limit setting, or operating parameter setting, the point is determined as remote adjustment YT. When the same point to be mapped meets multiple judgment conditions at the same time, first determine whether the point has control attributes; if it has control attributes, it is preferentially determined to be remote control YK or remote adjustment YT; if it does not have control attributes, its final four remote types are determined in sequence according to read / write attributes, data type and register name.

[0010] Furthermore, when generating the IEC61850 object path in step 5, the four remote control types determined in step 3 are read first, and then the corresponding IEC61850 object type is selected by combining the device type and register name in the communication configuration table: When the remote sensing type is YC, the point is mapped to an IEC61850 MMXU measurement object or a GGIO analog object, and an object path representing the analog value is generated. When the remote signaling type is YX, the point is mapped to the IEC61850 GGIO status object, and an object path representing the status value is generated. When the four-remote control type is remote control YK, the point is mapped to an IEC61850 SPCSO or DPCSO control object, and an object path representing the control command is generated. When the remote control type is remote adjustment YT, the point is mapped to an IEC61850 setpoint object or parameter object, and an object path representing the setpoint or parameter value is generated.

[0011] Furthermore, in step 7, after generating the semantic mapping table for remote sensing data, the method further includes: supplementing the engineering value conversion rules and boundary judgment rules based on the multiplier, upper limit value, and lower limit value. For points that require rate conversion, divide the original Modbus register value by the rate to obtain the engineering value; For points that do not require multiplier conversion, the multiplier is 1, and the original value is the engineering value. The engineering value is compared with the upper limit and lower limit to determine whether the point is out of bounds. When the engineering value exceeds the upper limit or is lower than the lower limit, the point is determined to be in an out-of-bounds state.

[0012] Furthermore, it also includes the step of supplementing the quality bit generation rules for the semantic mapping relationship table of remote sensing data: Set a quality bit field for each point to be mapped, and generate the value of the quality bit field based on the communication status, message verification status, refresh status, device online status, and engineering value out-of-bounds status. When a certain point fails to receive a Modbus response message from the corresponding downlink device for N consecutive times, the quality bit field of that point is updated to communication error or invalid. When a certain point receives a Modbus response message but the message contains a CRC check error, the quality bit field of that point is updated to suspicious or invalid. If a certain point has not been updated after the preset refresh cycle, the quality bit field of that point will be updated to suspicious or invalid. When it is determined that the engineering value at a certain point exceeds the upper limit or falls below the lower limit, the quality field of that point is updated to out-of-bounds anomaly or suspicious. When a certain point is successfully sampled M times consecutively, the message verification is correct, the device is online, and the engineering value does not exceed the limit, the quality bit field of that point is restored to valid; where N and M represent preset threshold parameters.

[0013] Furthermore, after generating the semantic mapping table for remote sensing data in step 7, the method also includes a step of supplementing the timestamp generation rules: After successfully receiving a Modbus response message from a downlink device, the local system time is obtained and used as the collection timestamp of the corresponding point in the message. When a single Modbus response message contains multiple register points, the same message reception time is written into the timestamp field of the internal standard point model corresponding to the multiple register points. When different downlink devices have different acquisition cycles, the local system time is corrected according to the acquisition cycle, acquisition queue order and communication delay parameters recorded in the communication configuration table to obtain the compensation acquisition timestamp.

[0014] Compared with the prior art, the present invention has the following advantages: The method of this invention is no longer a simple one-to-one forwarding of Modbus addresses to IEC61850 points, but forms a complete link for energy storage devices, including multi-source data, unified semantic model, IEC61850 four remote objects, trusted quality bits, and secure remote control conversion. Attached Figure Description

[0015] To more clearly illustrate the technical solutions in the embodiments of the present invention or the prior art, the drawings used in the description of the embodiments or the prior art will be briefly introduced below. Obviously, the drawings described below are some embodiments of the present invention. For those skilled in the art, other drawings can be obtained based on these drawings without creative effort.

[0016] Figure 1 This is the overall flowchart of the four-remote semantic mapping method of the present invention.

[0017] Figure 2 This is a diagram of the semantic classification mapping structure of the four remote sensing methods of this invention. Detailed Implementation

[0018] To enable those skilled in the art to better understand the present invention, the technical solutions of the present invention will be clearly and completely described below with reference to the accompanying drawings of the embodiments of the present invention. Obviously, the described embodiments are only some embodiments of the present invention, and not all embodiments. Based on the embodiments of the present invention, all other embodiments obtained by those skilled in the art without creative effort should fall within the scope of protection of the present invention.

[0019] It should be noted that the terms "first," "second," etc., in the specification, claims, and accompanying drawings of this invention are used to distinguish similar objects and are not necessarily used to describe a specific order or sequence. It should be understood that such data can be interchanged where appropriate so that the embodiments of the invention described herein can be implemented in orders other than those illustrated or described herein. Furthermore, the terms "comprising" and "having," and any variations thereof, are intended to cover a non-exclusive inclusion; for example, a process, method, system, product, or apparatus that comprises a series of steps or units is not necessarily limited to those steps or units explicitly listed, but may include other steps or units not explicitly listed or inherent to such processes, methods, products, or apparatus.

[0020] like Figures 1-2 As shown, this invention provides a method for semantic mapping of remote sensing data in an energy storage station control system, comprising the following steps: Step 1: Obtain the communication configuration table of the downlink devices within the energy storage station, treating each register record in the communication configuration table as a point to be mapped. The energy storage station control system first reads the communication configuration table of the downlink devices. This communication configuration table can be imported from an engineering point table, a manufacturer's Modbus communication protocol table, or a manually configured file. The communication configuration table includes at least the device number, device type, communication protocol type, slave address, register name, function code, register address, data type, read / write attributes, multiplier, upper limit value, lower limit value, and point description.

[0021] Taking a BMS device as an example, with device number 001, device type BMS, and slave address 1, the communication configuration table includes the following register records: The first record is the system voltage, with function code 04, register address 1, data type signed integer, read-only attribute, multiplier 10, upper limit value 100, and lower limit value 0. The second record is the circuit breaker status, with function code 04, register address 2, data type Boolean, read-only attribute, multiplier 1, upper limit value 1, and lower limit value 0. The third record is a fault reset, with function code 06, register address 3, data type Boolean, read / write attribute write-only, multiplier 1, upper limit 1, and lower limit 0. The fourth record is the fan start-up temperature, with function code 06, register address 4, data type signed integer, read / write attribute write-only, multiplier 10, upper limit value 100, and lower limit value 0.

[0022] Through step 1, the energy storage station control system obtains the original point information required for subsequent semantic mapping, clarifying which device each point comes from, which Modbus register it corresponds to, what data type it is, whether it is writable, and whether it needs to be converted into a multiplier.

[0023] Step 2: Generate a unique device identifier based on the device number, device type, and slave address in the communication configuration table. Generate a Modbus raw point identifier based on the function code, register address, and data type. Combine the unique device identifier with the Modbus raw point identifier to obtain the Modbus point source identifier for each point to be mapped. In Step 2, when generating the Modbus point source identifier, first read the function code, register address, and data type in the communication configuration table to generate the Modbus raw point identifier; then combine the unique device identifier with the Modbus raw point identifier to form the Modbus point source identifier.

[0024] In this application, the energy storage station control system first generates a unique device identifier based on the device number, device type, and slave address. For a device with device number 001, device type BMS, and slave address 1, the generated unique device identifier can be recorded as BMS_001_1.

[0025] Then, the energy storage station control system generates a Modbus raw point identifier based on the function code, register address, and data type. For example, the function code for system voltage is 04, the register address is 1, and the data type is signed integer, so the generated Modbus raw point identifier can be recorded as MB_04_0001_INT; the function code for circuit breaker status is 04, the register address is 2, and the data type is Boolean, so the generated Modbus raw point identifier can be recorded as MB_04_0002_BOOL; the function code for fault reset is 06, the register address is 3, and the data type is Boolean, so the generated Modbus raw point identifier can be recorded as MB_06_0003_BOOL; the function code for fan start-up temperature is 06, the register address is 4, and the data type is signed integer, so the generated Modbus raw point identifier can be recorded as MB_06_0004_INT.

[0026] Finally, the energy storage station control system combines the unique equipment identifier and the original Modbus location identifier to obtain the Modbus location source identifier for each location. For example, the Modbus location source identifier for the system voltage location can be denoted as BMS_001_1_MB_04_0001_INT.

[0027] Through step 2, the energy storage station control system transforms the ordinary register records in the communication configuration table into uniquely identifiable point numbers within the system, avoiding point confusion between different devices, different function codes, or different register addresses.

[0028] Step 3: Based on the register names, data types, and read / write attributes in the communication configuration table, determine the four remote types corresponding to each Modbus point source identifier; the four remote types include: telemetry YC, remote signaling YX, remote control YK, and remote adjustment YT; in Step 3, when determining the four remote types, check each register name, data type, and read / write attribute in the communication configuration table one by one: When the read / write attribute of the point to be mapped is read-only, and the register name represents any of the parameters such as voltage, current, power, temperature, SOC, SOH, pressure, flow rate, frequency, or electrical energy, the point is identified as telemetry YC. When the read / write attribute of the point to be mapped is read-only, and the data type is Boolean, bit field, or status enumeration, or the register name represents any of the following: running status, alarm status, fault status, communication status, switch status, access control status, or fire protection status, the point is determined as remote signaling YX. When the read / write attribute of the point to be mapped is write-only or writable, and the register name represents any of the start / stop control, reset control, mode switching, switch on / off, enable / disable, or remote control commands, the point is determined as remote control YK. When the read / write attribute of the point to be mapped is write-only or writable, and the register name represents any of the power setting, voltage setting, current setting, frequency setting, temperature setting, threshold setting, limit setting, or operating parameter setting, the point is determined as remote adjustment YT. When the same point to be mapped meets multiple judgment conditions at the same time, first determine whether the point has control attributes; if it has control attributes, it is preferentially determined to be remote control YK or remote adjustment YT; if it does not have control attributes, its final four remote types are determined in sequence according to read / write attributes, data type and register name.

[0029] According to the above rules, the system voltage point is a read-only signed integer, and the register name represents the analog voltage quantity, so it is determined to be telemetry YC; the circuit breaker status point is a read-only Boolean, and the register name represents the status quantity, so it is determined to be remote signaling YX; the fault reset point is a write-only Boolean, and the register name represents the reset control command, so it is determined to be remote control YK; the fan start temperature point is a write-only signed integer, and the register name represents the temperature setting parameter, so it is determined to be remote adjustment YT.

[0030] Step 4: Generate an internal standard point model for each point to be mapped based on the Modbus point source identifier and the four remote control types. The internal standard point model includes at least: device number, device type, slave address, function code, register address, register name, data type, read / write attribute, four remote control types, multiplier, upper limit value, lower limit value, original value field, engineering value field, quality bit field, timestamp field, and communication status field. The original value field in Step 4 is used to store the original register value read from the corresponding Modbus response message. The engineering value field in Step 4 is used to store the actual engineering quantity value converted according to the multiplier.

[0031] Taking a system voltage point as an example, the internal standard point model contains the following information: device number 001, device type BMS, slave address 1, function code 04, register address 1, register name system voltage, data type signed integer, read-only attribute, telemetry type YC, multiplier 10, upper limit 100, and lower limit 0. The raw value field stores the raw register value read from the Modbus response message; the engineered value field stores the actual voltage value after multiplier conversion; the quality bit field stores whether the current data for this point is valid; the timestamp field stores the time when the data for this point was generated or collected; and the communication status field stores the communication status of the device corresponding to this point.

[0032] For example, when the Modbus raw register value collected by the system voltage point is 618, the energy storage station control system writes 618 into the raw value field, then converts it according to the multiplier of 10 to obtain the engineering value 61.8, and writes 61.8 into the engineering value field.

[0033] Step 4 unifies Modbus points from different manufacturers, devices, and register formats into a single internal standard point model, providing a unified data source for subsequent mapping to IEC61850 objects.

[0034] Step 5: Based on the four remote control types and the device type, generate an IEC61850 object path for each point to be mapped. Telemetry (YC) type points are mapped to IEC61850 measurement objects or analog objects; remote signaling (YX) type points are mapped to IEC61850 status objects; remote control (YK) type points are mapped to IEC61850 control objects; and remote adjustment (YT) type points are mapped to IEC61850 setpoint objects or parameter objects. When generating the IEC61850 object path in Step 5, first read the four remote control types determined in Step 3, then combine them with the device type and register name in the communication configuration table to select the corresponding IEC61850 object type. When the remote sensing type is YC, the point is mapped to an IEC61850 MMXU measurement object or a GGIO analog object, and an object path representing the analog value is generated. When the remote signaling type is YX, the point is mapped to the IEC61850 GGIO status object, and an object path representing the status value is generated. When the four-remote control type is remote control YK, the point is mapped to an IEC61850 SPCSO or DPCSO control object, and an object path representing the control command is generated. When the remote control type is remote adjustment YT, the point is mapped to an IEC61850 setpoint object or parameter object, and an object path representing the setpoint or parameter value is generated.

[0035] As a preferred embodiment, taking BMS001 as an example, system voltage belongs to telemetry (YC), which can generate the IEC61850 object path BMS001 / GGIO1.AnIn1.mag.f or the corresponding measurement object path; circuit breaker status belongs to remote signaling (YX), which can generate the IEC61850 object path BMS001 / GGIO1.Ind1.stVal; fault reset belongs to remote control (YK), which can generate the IEC61850 object path BMS001 / SPCSO1.Oper.ctlVal; and fan start-up temperature belongs to remote adjustment (YT), which can generate the IEC61850 object path BMS001 / GGIO2.Set1.setMag.f.

[0036] Step 6: Bind the Modbus point source identifier, the internal standard point model, and the IEC61850 object path one by one to generate a single-point semantic mapping record. Taking the system voltage point as an example, the single-point semantic mapping record includes: Modbus point source identifier BMS_001_1_MB_04_0001_INT, function code 04, register address 1, data type signed integer, multiplier 10, telemetry type YC, original value field, engineering value field, quality bit field, and timestamp field in the internal standard point model, and IEC61850 object path BMS001 / GGIO1.AnIn1.mag.f.

[0037] Taking the circuit breaker status point as an example, the single-point semantic mapping record includes: Modbus point source identifier BMS_001_1_MB_04_0002_BOOL, function code 04, register address 2, data type Boolean, four-remote type remote signaling YX, and IEC61850 object path BMS001 / GGIO1.Ind1.stVal.

[0038] Step 7: Repeat steps 2 to 6 for all register records in the communication configuration table to generate a semantic mapping table for remote sensing, remote telemetry, and remote control data. The energy storage station control system does not process only one register record, but processes all register records row by row according to the communication configuration table. For each register record, a Modbus point source identifier is generated, the remote sensing, remote control, and remote control types are determined, an internal standard point model is generated, an IEC61850 object path is generated, and a single-point semantic mapping record is formed.

[0039] Once all four data points in BMS001—system voltage, circuit breaker status, fault reset, and wind turbine start-up temperature—have been processed, the energy storage station control system generates a semantic mapping table for these four remote data points. This table includes at least the following information: point name, equipment number, equipment type, slave address, function code, register address, data type, read / write attribute, four remote data point type, multiplier, upper limit value, lower limit value, internal standard point field, and IEC61850 object path.

[0040] In a preferred embodiment, after generating the semantic mapping table for remote sensing data in step 7, the method further includes: supplementing the engineering value conversion rules and boundary judgment rules based on the multiplier, upper limit value, and lower limit value. For points that require rate conversion, divide the original Modbus register value by the rate to obtain the engineering value; For points that do not require multiplier conversion, the multiplier is 1, and the original value is the engineering value. The engineering value is compared with the upper limit and lower limit to determine whether the point is out of bounds. When the engineering value exceeds the upper limit or is lower than the lower limit, the point is determined to be in an out-of-bounds state.

[0041] Taking the system voltage level as an example, the multiplier is 10, the upper limit is 100, and the lower limit is 0. When the original value of 618 is collected, the engineering value is 61.8, which is within the range of 0 to 100, so it is judged to be within the limit; if the original value of 1200 is collected, the engineering value is 120.0, which exceeds the upper limit of 100, so it is judged to be out of the limit.

[0042] Taking the circuit breaker status point as an example, the multiplier is 1, the upper limit is 1, and the lower limit is 0. When the original value of 1 or 0 is collected, it is within the allowable range; if other values ​​are collected, it is judged as an abnormal status value.

[0043] Preferably, this application also includes the step of supplementing the quality bit generation rules to the semantic mapping relationship table of remote sensing data: Set a quality bit field for each point to be mapped, and generate the value of the quality bit field based on the communication status, message verification status, refresh status, device online status, and engineering value out-of-bounds status. When a certain point fails to receive a Modbus response message from the corresponding downlink device for N consecutive times, the quality bit field of that point is updated to communication error or invalid. When a certain point receives a Modbus response message but the message contains a CRC check error, the quality bit field of that point is updated to suspicious or invalid. If a certain point has not been updated after the preset refresh cycle, the quality bit field of that point will be updated to suspicious or invalid. When it is determined that the engineering value at a certain point exceeds the upper limit or falls below the lower limit, the quality field of that point is updated to out-of-bounds anomaly or suspicious. When a certain point is successfully sampled M times consecutively, the message verification is correct, the device is online, and the engineering value does not exceed the limit, the quality bit field of that point is restored to valid; where N and M represent preset threshold parameters.

[0044] Preferably, after generating the semantic mapping table of remote sensing data in step 7, the method further includes a step of supplementing the timestamp generation rules: After successfully receiving a Modbus response message from a downlink device, the local system time is obtained and used as the collection timestamp of the corresponding point in the message. When a single Modbus response message contains multiple register points, the same message reception time is written into the timestamp field of the internal standard point model corresponding to the multiple register points. When different downlink devices have different acquisition cycles, the local system time is corrected according to the acquisition cycle, acquisition queue order and communication delay parameters recorded in the communication configuration table to obtain the compensation acquisition timestamp.

[0045] When the energy storage station control system successfully receives a Modbus response message corresponding to a certain location, the system obtains the local millisecond-level time and uses this time as the collection timestamp for that location. For multiple locations included in the same message, the same message reception time can be used as the collection timestamp for these locations; for devices with different collection cycles, the timestamp can be corrected according to the device collection cycle and collection queue order.

[0046] Taking system voltage and circuit breaker status as examples, both are read from BMS001 via function code 04. When the station control system successfully receives the Modbus response message from BMS001 at 10:00:01.250, the system writes 10:00:01.250 into the timestamp field of the internal standard point model corresponding to the system voltage and circuit breaker status. Subsequently, when these two points are mapped to the IEC61850 object, this timestamp is also carried.

[0047] As a preferred embodiment, the method of this application further includes the step of generating a reverse semantic mapping record for the points determined in step 3 as remote control YK or remote adjustment YT: For remote control YK points, the reverse semantic mapping record stores the IEC61850 control object path, target device number, target slave address, target function code, target register address or coil address, data type, and allowed write value range; for remote adjustment YT points, the reverse semantic mapping record stores the IEC61850 setpoint object path, target device number, target slave address, target function code, target register address, data type, multiplier, upper limit value, and lower limit value; when the upper-level system issues engineering setpoints, it first determines whether the engineering setpoints exceed the limits based on the upper and lower limits. If they do not exceed the limits, the engineering setpoints are then converted into Modbus raw write values ​​according to the multiplier; the reverse semantic mapping record also includes control permission conditions, operating mode conditions, alarm interlocking conditions, and device status conditions; when all the above conditions are met, the reverse semantic mapping record is marked as write-allowed; when any condition is not met, the reverse semantic mapping record is marked as write-prohibited.

[0048] Taking a fault reset point as an example, this point belongs to the remote control YK, and the IEC61850 object path is BMS001 / SPCSO1.Oper.ctlVal. In the reverse mapping record generated by the energy storage station control system, the target device number is 001, the target slave address is 1, the target function code is 06, the target register address is 3, the data type is Boolean, and the allowed write value is 0 or 1. When the upper-level system issues a reset command to this IEC61850 controlled object, the energy storage station control system knows from this reverse mapping record that a Boolean control value should be written to register 3 of BMS001.

[0049] Taking the wind turbine start-up temperature point as an example, this point belongs to the remote adjustment YT, and the IEC61850 object path is BMS001 / GGIO2.Set1.setMag.f. In the reverse mapping record generated by the energy storage station control system, the target device number is 001, the target slave address is 1, the target function code is 06, the target register address is 4, the data type is signed integer, the multiplier is 10, the upper limit is 100, and the lower limit is 0. When the upper-level system issues a wind turbine start-up temperature of 35.0℃, the energy storage station control system first determines whether 35.0 is within the range of 0 to 100; after passing the determination, it converts 35.0 into the Modbus raw write value 350 according to the multiplier of 10, and determines that this value is written to register number 4 of BMS001.

[0050] The sequence numbers of the above embodiments of the present invention are for descriptive purposes only and do not represent the superiority or inferiority of the embodiments. In the above embodiments of the present invention, the descriptions of each embodiment have their own emphasis; parts not described in detail in a certain embodiment can be referred to in the relevant descriptions of other embodiments. It should be understood that the disclosed technical content in the several embodiments provided in this application can be implemented in other ways.

[0051] Finally, it should be noted that the above embodiments are only used to illustrate the technical solutions of the present invention, and not to limit them; although the present invention has been described in detail with reference to the foregoing embodiments, those skilled in the art should understand that modifications can still be made to the technical solutions described in the foregoing embodiments, or equivalent substitutions can be made to some or all of the technical features; and these modifications or substitutions do not cause the essence of the corresponding technical solutions to deviate from the scope of the technical solutions of the embodiments of the present invention.

Claims

1. A semantic mapping method for remote sensing data in an energy storage station control system, characterized in that, Includes the following steps: Step 1: Obtain the communication configuration table of the downlink equipment in the energy storage station, and treat each register record in the communication configuration table as a point to be mapped; Step 2: Generate a unique device identifier based on the device number, device type, and slave address in the communication configuration table; generate a Modbus raw point identifier based on the function code, register address, and data type; combine the unique device identifier with the Modbus raw point identifier to obtain the Modbus point source identifier for each point to be mapped. Step 3: Based on the register name, data type, and read / write attributes in the communication configuration table, determine the four remote types corresponding to each Modbus point source identifier; the four remote types include: telemetry YC, remote signaling YX, remote control YK, and remote adjustment YT; Step 4: Generate an internal standard point model for each point to be mapped based on the Modbus point source identifier and the four remote control types; the internal standard point model includes at least: device number, device type, slave address, function code, register address, register name, data type, read / write attribute, four remote control types, multiplier, upper limit value, lower limit value, original value field, engineering value field, quality bit field, timestamp field, and communication status field; Step 5: Based on the four remote control types and the equipment type, generate an IEC61850 object path for each point to be mapped; wherein the telemetry YC type point is mapped to the IEC61850 measurement object or analog object, the remote signaling YX type point is mapped to the IEC61850 status object, the remote control YK type point is mapped to the IEC61850 control object, and the remote adjustment YT type point is mapped to the IEC61850 setpoint object or parameter object. Step 6: Bind the Modbus point source identifier, the internal standard point model, and the IEC61850 object path one by one to generate a single-point semantic mapping record; Step 7: Repeat steps 2 to 6 for all register records in the communication configuration table to generate a four-remote data semantic mapping table.

2. The semantic mapping method for remote sensing data of an energy storage station control system according to claim 1, characterized in that, In step 1, each register record in the communication configuration table is organized into a point to be mapped, and it is checked whether the register record contains the device number, device type, communication protocol type, slave address, register name, function code, register address, data type, read / write attribute, multiplier, upper limit value, and lower limit value. If any of the above fields are missing, the register record is defined as incomplete and will not participate in the subsequent mapping relationship generation. If the above fields are complete, the register record is defined as the processing object of the subsequent steps.

3. The semantic mapping method for remote sensing data of an energy storage station control system according to claim 1, characterized in that, In step 2, when generating the Modbus point source identifier, the function code, register address and data type in the communication configuration table are read first to generate the original Modbus point identifier; then the device unique identifier is combined with the original Modbus point identifier to form the Modbus point source identifier.

4. The semantic mapping method for remote sensing data of an energy storage station control system according to claim 1, characterized in that, In step 3, when determining the four-remote type, the register name, data type, and read / write attribute in the communication configuration table are checked one by one: When the read / write attribute of the point to be mapped is read-only, and the register name represents any of the parameters such as voltage, current, power, temperature, SOC, SOH, pressure, flow rate, frequency, or electrical energy, the point is identified as telemetry YC. When the read / write attribute of the point to be mapped is read-only, and the data type is Boolean, bit field, or status enumeration, or the register name represents any of the following: running status, alarm status, fault status, communication status, switch status, access control status, or fire protection status, the point is determined as remote signaling YX. When the read / write attribute of the point to be mapped is write-only or writable, and the register name represents any of the start / stop control, reset control, mode switching, switch on / off, enable / disable, or remote control commands, the point is determined as remote control YK. When the read / write attribute of the point to be mapped is write-only or writable, and the register name represents any of the power setting, voltage setting, current setting, frequency setting, temperature setting, threshold setting, limit setting, or operating parameter setting, the point is determined as remote adjustment YT. When the same point to be mapped meets multiple judgment conditions at the same time, first determine whether the point has control attributes; if it has control attributes, it is preferentially determined to be remote control YK or remote adjustment YT; if it does not have control attributes, its final four remote types are determined in sequence according to read / write attributes, data type and register name.

5. The semantic mapping method for remote sensing data of an energy storage station control system according to claim 1, characterized in that, When generating the IEC61850 object path in step 5, the four remote control types determined in step 3 are read first, and then the corresponding IEC61850 object type is selected by combining the device type and register name in the communication configuration table: When the remote sensing type is YC, the point is mapped to an IEC61850 MMXU measurement object or a GGIO analog object, and an object path representing the analog value is generated. When the remote signaling type is YX, the point is mapped to the IEC61850 GGIO status object, and an object path representing the status value is generated. When the four-remote control type is remote control YK, the point is mapped to an IEC61850 SPCSO or DPCSO control object, and an object path representing the control command is generated. When the remote control type is remote adjustment YT, the point is mapped to an IEC61850 setpoint object or parameter object, and an object path representing the setpoint or parameter value is generated.

6. The semantic mapping method for remote sensing data of an energy storage station control system according to claim 1, characterized in that, In step 7, after generating the semantic mapping table of remote sensing data, the method further includes: supplementing the engineering value conversion rules and boundary judgment rules according to the multiplier, upper limit value, and lower limit value. For points that require rate conversion, divide the original Modbus register value by the rate to obtain the engineering value; For points that do not require multiplier conversion, the multiplier is 1, and the original value is the engineering value. The engineering value is compared with the upper limit and lower limit to determine whether the point is out of bounds. When the engineering value exceeds the upper limit or is lower than the lower limit, the point is determined to be in an out-of-bounds state.

7. A semantic mapping method for remote sensing data in an energy storage station control system according to claim 6, characterized in that, It also includes the step of supplementing the quality bit generation rules for the semantic mapping relationship table of remote sensing data: Set a quality bit field for each point to be mapped, and generate the value of the quality bit field based on the communication status, message verification status, refresh status, device online status, and engineering value out-of-bounds status. When a certain point fails to receive a Modbus response message from the corresponding downlink device for N consecutive times, the quality bit field of that point is updated to communication error or invalid. When a certain point receives a Modbus response message but the message contains a CRC check error, the quality bit field of that point is updated to suspicious or invalid. If a certain point has not been updated after the preset refresh cycle, the quality bit field of that point will be updated to suspicious or invalid. When it is determined that the engineering value at a certain point exceeds the upper limit or falls below the lower limit, the quality field of that point is updated to out-of-bounds anomaly or suspicious. When a certain point is successfully sampled M times consecutively, the message verification is correct, the device is online, and the engineering value does not exceed the limit, the quality bit field of that point is restored to valid; where N and M represent preset threshold parameters.

8. The semantic mapping method for remote sensing data of an energy storage station control system according to claim 1, characterized in that, After generating the semantic mapping table of remote sensing data in step 7, the method also includes a step of supplementing the timestamp generation rules: After successfully receiving a Modbus response message from a downlink device, the local system time is obtained and used as the collection timestamp of the corresponding point in the message. When a single Modbus response message contains multiple register points, the same message reception time is written into the timestamp field of the internal standard point model corresponding to the multiple register points. When different downlink devices have different acquisition cycles, the local system time is corrected according to the acquisition cycle, acquisition queue order and communication delay parameters recorded in the communication configuration table to obtain the compensation acquisition timestamp.