Data synchronization device and method

By implementing data synchronization devices and methods between the battery management system and the upper controller, the problem of data mismatch is solved, and accurate monitoring and control of battery status is achieved.

CN119605152APending Publication Date: 2025-03-11LG ENERGY SOLUTION LTD
View PDF 1 Cites 0 Cited by

Patent Information

Application Number
CN202480003530.3
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Priority Date
2023-06-13
Filing Date
2024-02-05
Publication Date
2025-03-11

AI Technical Summary

Technical Problem

There may be data mismatch between the battery management system and the upper controller, resulting in inaccuracy of battery status monitoring and control.

Method used

Through a data synchronization device and method, the battery state-related data is measured according to a predetermined period using a processor and memory, process and convert it into network data, generate events related to data requests, perform corresponding operations to synchronize network data, and send updated data to the network.

Benefits of technology

It effectively prevents data inconsistency between the battery management system and the superior controller, and ensures accurate monitoring and control of battery status.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN119605152A_ABST
    Figure CN119605152A_ABST
Patent Text Reader

Abstract

A data synchronization method according to an embodiment of the present invention may include: measuring battery management system (BMS) data related to a battery state according to a predetermined period; processing BMS data measured according to a predetermined period; generating an event related to a BMS data request when a request for the BMS data is received from a network prior to converting the BMS data into network data; synchronizing the network data by performing an operation corresponding to an event related to the BMS data request; and transmitting the network data to the network.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] This application claims priority to and the benefit of Korean Patent Application No. 10-2023-0075260 filed in the Korean Intellectual Property Office on June 13, 2023, the entire contents of which are incorporated herein by reference.

[0002] The present invention relates to an apparatus and method for synchronizing data, and more particularly to an apparatus and method for synchronizing data between a battery management system and a superior controller. Background Art

[0003] Energy storage systems involve renewable energy, batteries that store electricity, and power grids. In recent years, as the popularity of smart grids and renewable energy expands and the efficiency and stability of power systems are emphasized, the demand for energy storage systems for power supply and demand control and power quality improvement is increasing. Depending on the purpose of use, energy storage systems can have different outputs and capacities. In order to configure a large-capacity energy storage system, multiple battery systems can be connected.

[0004] A battery module or battery pack constituting a battery system has a structure in which a plurality of battery cells are combined. In the event that some of the battery cells are over-pressurized, over-currented, or overheated, problems may arise in terms of safety and operational efficiency of the battery module or battery pack, and thus means for detecting them are necessary. Therefore, a battery module or battery pack is generally equipped with a battery management system (BMS) that measures the voltage value of each battery cell, monitors, and controls the voltage state of the battery cell based on the measured value.

[0005] The battery management system operates in conjunction with other components such as an inverter, and periodically monitors and sends battery status-related data to an upper controller such as an inverter. However, if the BMS receives a request for battery-related data from the inverter while the data to be sent in the corresponding cycle has not yet been defined, the BMS sends the battery-related data defined in the previous cycle to the inverter. Therefore, in the case where the data maintained by the BMS and the data maintained by the inverter do not match, a data desynchronization problem may occur. Summary of the invention

[0006] Technical issues

[0007] In order to achieve the purpose of the present invention, an embodiment of the present invention provides a data synchronization device, which matches data maintained by a battery management system with data maintained by a superior controller.

[0008] According to another embodiment of the present disclosure, an embodiment of the present invention provides a data synchronization method that matches data maintained by a battery management system with data maintained by a superior controller.

[0009] Technical Solution

[0010] To achieve the purpose of the present disclosure, a data synchronization device according to an embodiment may include: at least one processor; and a memory, which is configured to store at least one instruction executed by the at least one processor, and the at least one instruction executed by the at least one processor may include: instructions for measuring battery management system (BMS) data related to the battery status according to a predetermined period; instructions for processing the BMS data measured according to a predetermined period; instructions for generating an event related to a BMS data request when a request for BMS data is received from a network before converting the BMS data into network data; instructions for synchronizing network data by performing operations corresponding to the events related to the BMS data request; and instructions for sending network data to the network.

[0011] The instructions for synchronizing the network data may include: instructions for calling an event handler function corresponding to the BMS data request; and instructions for updating the network data for one or more communication protocols using the called event handler function.

[0012] The communication protocol may include one or more of a Modbus controller area network (CAN) protocol, a standard CAN protocol, and an RS485 protocol.

[0013] At least one instruction may also include: instructions for executing periodic network tasks according to a predetermined period when no BMS data request is received from the network, instructions for converting BMS data into network data according to a corresponding communication protocol to update network data of one or more communication protocols; and instructions for sending updated network data to the network.

[0014] At the same time, at least one instruction may also include: when the time of updating the network data of one or more communication protocols according to a predetermined period coincides with the time of occurrence of an event related to the BMS data request, an instruction for preferentially executing an operation corresponding to a call of an event handler function processed by a control task.

[0015] The network may include power conversion equipment (inverters) in energy storage systems.

[0016] According to another embodiment of the present disclosure, a data synchronization method may include: measuring battery management system (BMS) data related to a battery status according to a predetermined period; processing the BMS data measured according to the predetermined period; generating an event related to the BMS data request when a request for BMS data is received from a network before the BMS data is converted into network data; synchronizing the network data by performing an operation corresponding to the event related to the BMS data request; and sending the network data to the network.

[0017] Synchronizing the network data may include: calling an event handler function corresponding to the BMS data request; and updating the network data for one or more communication protocols using the called event handler function.

[0018] The communication protocol may include one or more of a Modbus controller area network (CAN) protocol, a standard CAN protocol, and an RS485 protocol.

[0019] The method may further include: executing a periodic network task according to a predetermined period; converting the BMS data into network data according to a corresponding communication protocol to update network data of one or more communication protocols; and sending the updated network data to the network.

[0020] The method may further include, when a time when network data of one or more communication protocols is updated according to a predetermined period coincides with a time when an event related to a BMS data request occurs, preferentially executing an operation corresponding to a call of an event handler function processed by a control task.

[0021] The network may include power conversion equipment (inverters) in energy storage systems.

[0022] Beneficial effects

[0023] According to the embodiments of the present invention as described above, the problem of inconsistency between data held by a battery management system and data held by a superior controller can be prevented.

[0024] Therefore, the battery status can be more accurately monitored and controlled in battery management systems and energy storage systems. BRIEF DESCRIPTION OF THE DRAWINGS

[0025] Figure 1 is a block diagram of an example of an energy storage system to which the present invention may be applied.

[0026] Figure 2 2 is a diagram showing a concept of a communication structure between a battery management device and an inverter according to an embodiment of the present invention.

[0027] Figure 3 is an operational flow chart of a BMS data synchronization method according to an embodiment of the present invention.

[0028] Figure 4 is a conceptual diagram illustrating the operation of a network event processor according to an embodiment of the present invention.

[0029] Figure 5 is a block diagram of a data synchronization apparatus according to an embodiment of the present invention.

[0030] 100: Battery Management System (BMS) 110: Processor

[0031] 120: Memory 130: Transceiver

[0032] 400: Power conversion equipment / inverter DETAILED DESCRIPTION

[0033] The present invention can be modified in various forms and have various embodiments, and its specific embodiments are shown in the accompanying drawings by way of example and will be described in detail below. However, it should be understood that it is not intended to limit the present invention to specific embodiments, on the contrary, the present invention will cover all modifications, equivalents and substitutions that fall within the spirit and technical scope of the present invention. Throughout the description of the drawings, the same reference numerals refer to the same elements.

[0034] It will be understood that although various elements may be described herein using terms such as first, second, A, B, etc., these elements should not be limited by these terms. These terms are only used to distinguish one element from another element. For example, a first element may be referred to as a second element, and similarly, a second element may be referred to as a first element without departing from the scope of the present invention. As used herein, the term "and / or" includes any one of a combination of a plurality of associated listed items or a plurality of associated listed items.

[0035] It will be understood that when an element is referred to as being "coupled" or "connected" to another element, it can be directly coupled or connected to the other element, or intervening elements may be present. Conversely, when an element is referred to as being "directly coupled" or "directly connected" to another element, there are no intervening elements.

[0036] The terms used herein are only used for the purpose of describing specific embodiments and are not intended to limit the present invention. As used herein, unless the context clearly indicates otherwise, the singular forms "one", "an" and "the" are also intended to include plural forms. It will be further understood that the terms "include", "comprise", "cover", "contain" and / or "have" specify the existence of stated features, integers, steps, operations, constituent elements, parts and / or combinations thereof when used herein, but do not exclude the existence or addition of one or more other features, integers, steps, operations, constituent elements, parts and / or combinations thereof.

[0037] Unless otherwise defined, all terms used herein, including technical and scientific terms, have the same meaning as commonly understood by those skilled in the art to which the present invention belongs. It will be further understood that terms such as those defined in commonly used dictionaries should be interpreted as having a meaning consistent with their meaning in the context of the relevant art, and will not be interpreted in an idealized or overly formal sense unless explicitly defined as such herein.

[0038] Certain terms used herein are defined below.

[0039] State of Charge (SOC) refers to the current state of charge of the battery, expressed in percentage points [%), and State of Health (SOH) may be the current condition of the battery compared to its ideal or original condition, expressed in percentage points [%).

[0040] A battery rack refers to a system of structures assembled by connecting module units in series / parallel, which are set by the battery manufacturer, and which can be monitored and controlled by a battery management system (BMS). A battery rack may include several battery modules and a battery protection unit or any other protection device.

[0041] A battery library refers to a large-scale battery rack system configured by connecting several racks in parallel. A library BMS for a battery library can monitor and control several racks of BMSs, each of which manages a battery rack.

[0042] A battery system controller (BSC) refers to the top-level device that controls a battery system including a battery bank-level structure or multiple bank-level structures.

[0043] The power limit refers to the limit of the power that can be output from the battery, which is preset by the battery manufacturer based on the battery condition. The rack power limit may mean the output power limit ([kW]) set for the rack level, and may be set based on the SOC and temperature of the battery.

[0044] The power limit may be a charge power limit or a discharge power limit, depending on whether charging or discharging is applied. In addition, depending on the battery system structure, a rack power limit or a bank power limit may be defined.

[0045] Hereinafter, exemplary embodiments of the present invention will be described in detail with reference to the accompanying drawings.

[0046] Figure 1 is a block diagram of an example of an energy storage system to which the present invention may be applied.

[0047] Figure 1 An example of a DC coupled system is shown in which output terminals of a PV (photovoltaic) system 700 are connected to output terminals of a DC / DC converter 500 and input terminals of a PCS 400 .

[0048] In an energy storage system (ESS), batteries are used to store energy or electricity. Generally, multiple battery packs may form a battery rack, and multiple battery racks may form a battery bank. Here, a battery pack may be referred to as a battery module, depending on the device or system in which the battery is used. Figure 1 The battery #1, battery #2, ..., and battery #N shown in the figure may be a battery rack.

[0049] refer to Figure 1, a battery management system (BMS) 100 may be installed for each battery. The BMS 100 may monitor the current, voltage, and temperature of each battery rack (or group) to be managed, and calculate the state of charge (SOC) of the battery based on the monitoring results to control charging and discharging. Figure 1 In the case where each battery in the system is a battery rack, the BMS 100 may be a rack BMS (RBMS).

[0050] Meanwhile, the BMS 100 may include a microcontroller unit (MCU) or a battery monitoring integrated chip (BMIC) to control internal components in combination with them. Here, the BMIC may be located inside the BMS and may be an IC type component that measures information such as voltage, temperature, and current of a battery cell / module.

[0051] A battery system controller (BSC) 200 may be located in each battery section including a plurality of batteries, peripheral circuits, and devices for monitoring and controlling objects such as voltage, current, temperature, and circuit breakers.

[0052] In addition, a power conversion / regulation system (PCS) 400 (which may also be referred to as an inverter) installed in each battery system may control the power supplied from the outside and the power supplied from the battery section to the outside. The output of the DC / DC converter 500 may be connected to the PCS 400, and the PCS 400 may be connected to the power grid 600. Here, the PCS 400 is generally operated in a constant power mode. A power management system (PMS) / energy management system (EMS) 300 connected to the PCS may control the output of the PCS based on the monitoring and control results of the battery management system or the battery system controller.

[0053] exist Figure 1 In the energy storage system of FIG. 4 , battery #1 is connected to DC / DC converter #1, battery #2 is connected to DC / DC converter #2, and battery #N is connected to DC / DC #N. The output of the DC / DC converter corresponding to each battery is connected to PCS 400 through a DC link.

[0054] The DC / DC converter may be a bidirectional converter, wherein when performing conversion from a battery to a load direction, the input of the DC / DC converter is connected to a battery (battery cell, battery rack, or battery pack), and the output of the DC / DC converter may be connected to a load. As examples of the DC / DC converter, various types of converters such as a full-bridge converter, a half-bridge converter, and a flyback converter may be used.

[0055] At the same time, the communication between BMS 100, BSC 200, PMS 300 and PCS 400 can be carried out via Controller Area Network (CAN) or Ethernet (by Figure 1This can be achieved by using the dashed line in the figure.

[0056] according to Figure 1 In the embodiment of the present invention shown in , the BSC 200 configured to manage the overall control of the battery segment can report the status information of each battery to the PMS 300. Here, the status information of each battery may include information such as the state of charge (SOC), the state of health (SOH), the voltage and the temperature of each battery. The BSC 200 can provide information such as the power limit (P_battery_limit) and the actual power (P_battery_real) of each battery to the power management system 300. The power management system 300 responsible for controlling the entire energy storage system can issue a charge command or a discharge command to the power conversion system 400 during system operation (via P_pcs_reference).

[0057] Here, the battery system controller (BSC) 200 determines the output reference of each DC / DC converter considering the state of each battery. In an embodiment according to the present invention, the output reference of a single DC / DC converter may be set differently according to a droop mode or a constant power (CP) mode.

[0058] When the output of the DC / DC converter is controlled according to the droop mode, the battery system controller can set a droop curve for each DC / DC converter in consideration of the state of each battery and provide it to the corresponding DC / DC converter before the system operation starts. Meanwhile, when the DC / DC converter is operated in a constant power (CP) mode, the power reference of each DC / DC converter can be determined during the system operation and provided to the corresponding DC / DC converter.

[0059] During the actual operation of the energy storage system, the power management controller (PMS) can send charging / discharging commands to the power conversion system and the battery system controller. Here, the power management controller can monitor the status of the photovoltaic system (PV), the grid, and the battery in real time, and can determine the operating mode and output reference of the components in the energy storage system based on the operating commands received from the EMS (Energy Management System).

[0060] at the same time, Figure 1 The system in is shown only as an example of an energy storage system to which the present invention can be applied, and the present invention can be applied to various energy storage systems, such as an AC coupling system in which a DC / AC inverter is connected to a photovoltaic system and a DC / AC inverter is connected to a battery system or an energy storage system that is not connected to a photovoltaic system.

[0061] Figure 2 2 is a diagram showing a concept of a communication structure between a battery management device and an inverter according to an embodiment of the present invention.

[0062] If through Figure 1 As can be seen, in the energy storage system, the battery management device (or battery management system (BMS)) 100 can communicate with the upper controller (such as an inverter). Here, the inverter can be Figure 1 A power conversion / conditioning system (PCS) 400 is shown in FIG.

[0063] The battery management device 100 may include communication protocols such as Modbus CAN protocol, standard CAN protocol, and rs485 protocol, and communication software logic for communicating with a network including a superior controller.

[0064] Here, the standard CAN protocol refers to a general implementation of the Controller Area Network (CAN) and is generally widely used in the automotive industry and various other industrial applications.

[0065] Standard CAN is a CAN bus-based communication system that allows data to be sent and received quickly and reliably between multiple devices. The Standard CAN protocol supports reliable communication by dividing data into packets and providing priority-based conflict avoidance, error detection and recovery functions. Standard CAN provides flexibility in data transmission rate and capacity, and typically operates at speeds up to 1Mbps.

[0066] Meanwhile, Modbus CAN is a combination of Modbus protocol and CAN bus, which is a method of sending Modbus commands over a CAN network and is particularly useful in industrial automation systems. Modbus CAN facilitates communication between existing Modbus-based devices and CAN bus-based systems. Modbus CAN allows communication over the CAN bus while maintaining the functionality and data format of the Modbus protocol.

[0067] Meanwhile, RS485 is a serial communication interface used as a multi-point bus standard and supports data transmission by connecting multiple devices to one bus. RS485 is widely used in various applications including industrial automation, control systems, and network communications.

[0068] The data processed to match various communication protocols can be sent to one or more inverters 400 through the input / output port. Figure 2 As shown in , multiple inverters can be matched with one BMS, and various protocols such as standard CAN, Modbus CAN, and RS485 can be used according to the inverter specifications. In response to multiple communication protocols, the BMS can perform a function of processing BMS data in a specific cycle to adapt to each communication protocol standard.

[0069] Figure 2The communication protocol shown in is presented only as an example to support communication between the battery management device and a superordinate system (an inverter or other devices in a network), and therefore, the present invention does not exclude other communication protocols.

[0070] The battery management device can use a battery monitoring integrated chip (BMIC) to measure single cell data at regular intervals, process the measured single cell data into network data, and send the network data to the superior controller. Generally, since the battery management device sends and receives data at a specific time point according to a specific cycle, data synchronization is achieved between the BMS data maintained by the battery management device and the BMS data maintained by the superior controller.

[0071] However, there may be a case where the battery management device receives a request for battery data from the inverter while the data to be transmitted in the corresponding cycle has not yet been defined. In this case, the battery management device delivers network data defined in the previous cycle (for example, 1 second ago if the cycle is 1 second) to the inverter. As a result, data inconsistency occurs between the battery management device and the inverter, and a problem arises in that analysis and fault diagnosis are performed in the upper controller based on inaccurate battery state-related data.

[0072] Figure 3 is an operational flow chart of a BMS data synchronization method according to an embodiment of the present invention.

[0073] Figure 3 The BMS data synchronization method shown in can be executed by a battery management device, a control unit or a controller in the battery management device.

[0074] refer to Figure 3 The battery management device may measure BMS data related to the battery state according to the periodic data task processing process (S310), and process the measured BMS data (S320). Here, the processing of the measured BMS data may include, for example, converting analog measurement values ​​into digital values, adjusting the size or format of the data in a form suitable for analysis or transmission, etc.

[0075] Then, before converting the BMS data into network data, when a BMS data request is received from the network, ie, when an interruption occurs (eg, in S330 ), the scheduled periodic network task may not be executed and the non-periodic control task may be executed ( S350 ).

[0076] More specifically, the battery management device may call an event handler function related to a BMS data request (S351), perform operations related to a BMS data request event, convert the BMS data into network data, and thereby synchronize the network data (S352). The synchronized network data may be sent to the network using each communication protocol (S353).

[0077] Here, in the step of synchronizing network data (S352), the called event handler function may be used to update the network data of one or more related communication protocols in the BMS. Here, updating the network data may mean converting the latest BMS data measured and processed by the data task into network data according to the related communication protocol.

[0078] Here, the communication protocol may include one or more of the Modbus CAN protocol, the standard CAN protocol and the RS485 protocol.

[0079] Meanwhile, if no interruption occurs due to no BMS data request being received from the network (No in S330), a periodic network task executed according to a predetermined period is executed (S340). In other words, the BMS data may be converted into network data according to a relevant communication protocol (S341), and the network data of one or more relevant communication protocols in the BMS may be updated. Thereafter, the updated network data may be sent to an upper controller (e.g., a power conversion device or inverter in an energy storage system) within the network that has requested data (S342).

[0080] Figure 3 The data tasks (S310, S320) and the periodic network tasks (S340) shown in FIG. 3 may be repeatedly executed at regular intervals. On the other hand, the non-periodic control tasks (S350) may be executed only when a request from the network or an upper controller within the network occurs.

[0081] At the same time, although Figure 3 Not shown, but when the time of updating the network data of one or more communication protocols according to a preset cycle coincides with the time of occurrence of the BMS data request event, the operation according to the call of the event handler function processed by the control task may be performed first.

[0082] Figure 4 is a conceptual diagram illustrating the operation of a network event processor according to an embodiment of the present invention.

[0083] As described above, the communication protocol according to the embodiment of the present invention may include the Modbus CAN protocol, the standard CAN protocol and the rs485 protocol, and each protocol may execute the xxx_rx_isr function, the xxx_update_data function and the xxx_send_data function.

[0084] Here, the xxx_rx_isr function can receive a read / write request for BMS data and process the requested service. The request may include a periodic request and an aperiodic request. In addition, the xxx_update_data function within each protocol can convert the BMS data into network data according to each communication protocol. The xxx_send_data function can send the updated network data to the upper controller.

[0085] In the state where no interrupt occurs, the modbus_can_update_data function of the Modbus CAN protocol, the standard_can_update_data function of the standard CAN protocol, and the rs485_update_data function of the rs485 protocol can be respectively executed by commands from the periodically executed network task (for example, Figure 4 The network data of each protocol can be updated by executing the update function, and the updated data can be sent to the upper controller through the xxx_send_data function.

[0086] At the same time, in addition to the periodically executed network tasks, when a read / write request for BMS data is received from the inverter through the external communication port (i.e., when an interrupt occurs), the battery management device should immediately return the requested data. To this end, the battery management device can register the BMS data request from the inverter in an event format, and when a pre-registered event occurs, the battery management device can call the event handler function to process the corresponding event to synchronize the current BMS data and network data.

[0087] refer to Figure 4 , when a non-periodic request from the upper controller is received through the xxx_rx_isr function in each protocol, the event handler function included in the network event handler can be called. Next, the xxx_update_data function in each protocol can be called by the update protocol data function to convert the BMS data into network data. The converted and processed network data can be delivered to the upper controller that requested the data.

[0088] Meanwhile, when the update function within each protocol is called simultaneously by the periodic update and the inverter interrupt, the order of operations can be determined by considering the task priority. The event handler is processed by the control task, and the control task has a higher priority than the network task, so the protocol update called by the event handler can be executed before the periodic update operation. Therefore, the protocol update is executed by the control task, and the update sequence of the network task is not executed to prevent duplication.

[0089] Figure 5is a block diagram of a data synchronization apparatus according to an embodiment of the present invention.

[0090] The data synchronization device 100 may include at least one processor 110, a memory 120 storing at least one command executed by the processor, and a communication module 130 connected to a network and performing communication. Here, the data synchronization device 100 may be a battery management system (BMS) located in an energy storage system.

[0091] Here, at least one processor may be referred to as a control unit, a controller, an MCU, etc. The processor may be a central processing unit (CPU), a graphics processing unit (GPU), or a dedicated processor on which the method according to an embodiment of the present invention is executed. In addition, the processor 110 may be provided in the form of a battery monitoring integrated chip (BMIC).

[0092] At the same time, at least one instruction executed by at least one processor may include: instructions for measuring battery management system (BMS) data related to the battery status according to a predetermined period; instructions for processing the BMS data measured according to the predetermined period; instructions for generating an event related to a BMS data request when a request for BMS data is received from a network before converting the BMS data into network data; instructions for synchronizing network data by performing operations corresponding to the event related to the BMS data request; and instructions for sending network data to the network.

[0093] The instructions for synchronizing the network data may include: instructions for calling an event handler function corresponding to the BMS data request; and instructions for updating the network data for one or more communication protocols using the called event handler function.

[0094] The communication protocol may include one or more of a Modbus controller area network (CAN) protocol, a standard CAN protocol, and an RS485 protocol.

[0095] At least one instruction may also include: instructions for executing periodic network tasks according to a predetermined period when no BMS data request is received from the network, instructions for converting BMS data into network data according to a corresponding communication protocol to update network data of one or more communication protocols; and instructions for sending updated network data to the network.

[0096] At the same time, at least one instruction may also include: when the time of updating the network data of one or more communication protocols according to a predetermined period coincides with the time of occurrence of an event related to the BMS data request, an instruction for preferentially executing an operation corresponding to a call of an event handler function processed by a control task.

[0097] The network may include power conversion equipment (inverters) in energy storage systems.

[0098] Meanwhile, the data synchronization apparatus 100 according to the embodiment of the present invention may further include an input interface device 140, an output interface device 150, a storage device 160, etc. The various components included in the data synchronization apparatus 100 may be connected via a bus 170 and may communicate with each other.

[0099] The processor 110 may execute program instructions stored in at least one of the memory 120 and the storage device 160. The memory (or storage device) may be configured as at least one of a volatile storage medium and a non-volatile storage medium. For example, the memory may be configured as at least one of a read-only memory (ROM) and a random access memory (RAM).

[0100] The operation of the method according to an embodiment of the present invention can be implemented as a computer-readable program or code on a computer-readable recording medium. The computer-readable recording medium includes all types of recording devices having data readable by a computer system stored therein. In addition, the computer-readable recording medium can be distributed in a network-connected computer system, thereby storing and executing a computer-readable program or code in a distributed manner.

[0101] Although some aspects of the present invention have been described in the context of an apparatus, it can also be represented by a description according to a corresponding method, wherein a block or apparatus corresponds to a method step or a feature of a method step. Similarly, aspects described in the context of a method can also represent features of a corresponding block or item or a corresponding apparatus. Some or all of the method steps can be performed by (or using) a hardware device such as, for example, a microprocessor, a programmable computer, or an electronic circuit. In some embodiments, one or more of the most important method steps can be performed by such an apparatus.

[0102] In the foregoing, the present invention has been described with reference to exemplary embodiments thereof, but those skilled in the art will appreciate that various modifications and changes may be made to the present invention within the scope without departing from the spirit and area of ​​the invention described in the appended claims.

Claims

1. A data synchronization device, comprising: at least one processor; as well as a memory configured to store at least one instruction executed by the at least one processor, The at least one instruction comprises: Instructions for measuring BMS data related to battery status according to a predetermined period; instructions for processing the BMS data measured according to the predetermined period; instructions for generating an event related to a BMS data request when a request for the BMS data is received from a network before converting the BMS data to network data; instructions for synchronizing the network data by performing operations corresponding to the events associated with the BMS data requests; and Instructions for sending the network data to the network.

2. The apparatus according to claim 1, wherein the instruction for synchronizing the network data comprises: Instructions for calling an event handler function corresponding to the BMS data request; as well as Instructions for updating the network data for one or more communication protocols using the called event handler function.

3. The device according to claim 2, wherein the communication protocol comprises one or more of a Modbus CAN protocol, a standard CAN protocol and an RS485 protocol.

4. The apparatus of claim 1, wherein the at least one instruction further comprises: When the BMS data request is not received from the network, instructions for executing a periodic network task according to the predetermined period, instructions for converting the BMS data into network data according to a corresponding communication protocol to update the network data of the one or more communication protocols; as well as Instructions for sending updated network data to the network.

5. The apparatus of claim 4, wherein the at least one instruction further comprises: In the case where the time of updating the network data of one or more communication protocols according to the predetermined period coincides with the time of occurrence of the event related to the BMS data request, Instructions for preferentially executing operations corresponding to the call of the event handler function handled by the control task. The apparatus of claim 1 , wherein the network comprises power conversion equipment in an energy storage system.

7. A data synchronization method, comprising: Measuring BMS data related to battery status according to a predetermined period; Processing BMS data measured according to a predetermined period; generating an event related to a BMS data request when a request for the BMS data is received from the network before converting the BMS data into network data; synchronizing the network data by performing an operation corresponding to the event associated with the BMS data request; as well as The network data is sent to the network.

8. The method of claim 7, wherein synchronizing the network data comprises: Calling an event handler function corresponding to the BMS data request; as well as The network data is updated for one or more communication protocols using the called event handler function.

9. The method according to claim 8, wherein the communication protocol comprises one or more of a Modbus CAN protocol, a standard CAN protocol and an RS485 protocol.

10. The method according to claim 8, further comprising: When the BMS data request is not received from the network, Execute periodic network tasks according to a predetermined period; converting the BMS data into network data according to a corresponding communication protocol to update the network data of the one or more communication protocols; as well as Updated network data is sent to the network.

11. The method according to claim 10, further comprising: In the case where the time of updating the network data of one or more communication protocols according to the predetermined period coincides with the time of occurrence of the event related to the BMS data request, The operation corresponding to the call of the event handler function processed by the control task is preferentially executed.

12. The method of claim 7, wherein the network includes power conversion equipment in an energy storage system.

Citation Information

Patent Citations

  • Apparatus for Context-Aware-based Missing Value Interpolation of Sensors and method therefor

    KR1020230075260A