Energy storage system and method
By configuring the second control device as the host and the energy storage power supply as the slave, direct communication with the target energy storage power supply is achieved, which solves the problem of low data communication efficiency in the existing technology and realizes more efficient data transmission.
Patent Information
- Application Number
- CN202410263612.3
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2024-03-07
- Publication Date
- 2025-09-09
AI Technical Summary
In existing energy storage systems, data communication between mobile phone apps and energy storage power supplies is inefficient and the communication link is long, resulting in delays and congestion.
The first control device and the second control device are configured in such a way that the second control device acts as the host and the energy storage power supply acts as the slave. The second control device directly communicates with the target energy storage power supply through the physical address, thus simplifying the data transmission path.
It improves the data communication efficiency within the energy storage system, reduces communication delays and busyness, and achieves shorter communication links.
Smart Images

Figure CN120614714A_ABST
Abstract
Description
Technical Field
[0001] The present application relates to the field of energy storage, and in particular to an energy storage system and method. Background Art
[0002] In related technologies, in the energy storage power supply communication scenario, there are usually two communication methods:
[0003] Method 1: Connect a controller. A mobile app (application) communicates wirelessly with the energy storage power supply. When the app needs to control either energy storage power supply 1 or 2, it must send data twice, resulting in busy data communication and low efficiency. When the app needs to send data to the controller, it must pass through either energy storage power supply 1 or 2, resulting in a long communication link, delays, and low efficiency. The same applies when data is returned from the controller to the app.
[0004] Method 2: When two energy storage power supplies are connected in parallel, a controller is required. Wireless communication is performed between the mobile app and the energy storage power supply (such as a Portable Power Station (PPS)). The two energy storage power supplies are divided into a master and a slave, with the master responsible for communicating with the mobile app. When the mobile app needs to send communication data to the parallel controller, data transmission is performed through the master energy storage power supply. When the mobile app needs to send data to the slave energy storage power supply, data transmission is performed through the master energy storage power supply and the controller. This results in a longer data transmission link and lower efficiency. The same applies when communication data is returned from the energy storage power supply to the app.
[0005] It can be seen that how to improve the data communication efficiency within the energy storage system is a technical issue worthy of attention. Summary of the Invention
[0006] In view of this, in order to solve some or all of the above technical problems, the embodiments of the present application provide an energy storage system and method.
[0007] In a first aspect, an embodiment of the present application provides an energy storage system, the system comprising a first control device, a second control device, and an energy storage power supply group, the energy storage power supply group comprising at least two energy storage power supplies; wherein:
[0008] The first control device is communicatively connected to the first end of the second control device;
[0009] The second end of the second control device is communicatively connected to each energy storage power source;
[0010] During data communication between the first control device and the energy storage power supply, the second control device is configured as a host and the energy storage power supply is configured as a slave, so that the first control device communicates data with the energy storage power supply through the second control device.
[0011] In one possible implementation, the second control device includes multiple interfaces, each of which corresponds to a physical address; wherein:
[0012] The first control device is configured to: transmit the first communication data to the second control device;
[0013] The second control device is configured to transmit the first communication data to the energy storage power supply through the physical address.
[0014] In one possible implementation, the second control device is configured to:
[0015] Read back the second communication data from the energy storage power supply in sequence according to the physical address;
[0016] determining whether the data request bit in the second communication data indicates that the first control device requests to obtain data of the energy storage power supply;
[0017] If yes, the second communication data is sent to the first control device.
[0018] In one possible implementation, the second control device is configured to:
[0019] receiving first communication data about the energy storage power supply group sent by the first control device;
[0020] Determining a target energy storage power source based on the first communication data;
[0021] The first communication data is sent to the target energy storage power supply.
[0022] In one possible implementation, the second control device is configured to:
[0023] Acquire second communication data from the energy storage power supply;
[0024] determining whether the data request bit in the second communication data indicates that the first control device requests to obtain data of the energy storage power supply;
[0025] If yes, the second communication data is sent to the first control device.
[0026] In a possible implementation manner, the first control device communicates directly with the second control device.
[0027] In one possible implementation, the second control device is configured to:
[0028] receiving first communication data sent by the first control device; determining whether the first communication data includes a preset transparent transmission identifier; if the first communication data includes the preset transparent transmission identifier, transparently transmitting the first communication data to the energy storage power supply; and / or
[0029] Acquire second communication data from the energy storage power supply; determine whether the second communication data includes a preset transparent transmission identifier; and transparently transmit the second communication data to the first control device if the second communication data includes the preset transparent transmission identifier.
[0030] In one possible implementation, the communication protocol between the second control device and the energy storage power supply complies with one of the following:
[0031] Frame header, protocol version, physical address corresponding to the energy storage power supply, instruction length, command code indicating a read operation, the first address corresponding to the read operation, the length of the read-back data, and a check code;
[0032] Frame header, protocol version, physical address corresponding to the energy storage power supply, instruction length, command code indicating a read operation, the first address corresponding to the read operation, the length of the read-back data, the data returned by the energy storage power supply, and a check code;
[0033] Frame header, protocol version, physical address corresponding to the energy storage power supply, instruction length, command code indicating a write operation, first address corresponding to the write operation, length of written data, data sent by the second control device to the energy storage power supply, and a check code;
[0034] Frame header, protocol version, physical address corresponding to the energy storage power supply, instruction length, command code indicating write operation, first address corresponding to write operation, length of written data, response data indicating data write failure or success, and check code.
[0035] In a possible implementation manner, the lengths of the communication links between the second control device and each energy storage power source in the energy storage power source group are equal.
[0036] In a second aspect, an embodiment of the present application provides a data communication method, which is applied to a second control device, wherein a first end of the second control device is communicatively connected to the first control device, and a second end of the second control device is communicatively connected to each energy storage power supply in an energy storage power supply group, wherein the energy storage power supply group includes at least two energy storage power supplies. During data communication between the first control device and the energy storage power supply, the second control device is configured as a host and the energy storage power supply is configured as a slave. The method includes:
[0037] receiving first communication data sent by the first control device; determining an energy storage power supply corresponding to the first communication data from the energy storage power supply group to obtain a target energy storage power supply; sending the first communication data to the target energy storage power supply; and / or
[0038] Acquire second communication data from the energy storage power supply in the energy storage power supply group; and send the second communication data to the first control device.
[0039] In a third aspect, an embodiment of the present application provides a data communication method, which is applied to a first control device, wherein the first control device is communicatively connected to a first end of a second control device, and the second end of the second control device is communicatively connected to each energy storage power supply in an energy storage power supply group, wherein the energy storage power supply group includes at least two energy storage power supplies. During data communication between the first control device and the energy storage power supply, the second control device is configured as a host and the energy storage power supply is configured as a slave. The method includes:
[0040] sending first communication data of the energy storage power supply to the second control device, so that the second control device determines the energy storage power supply corresponding to the first communication data from the energy storage power supply group, obtains the target energy storage power supply, and sends the first communication data to the target energy storage power supply; and / or
[0041] Second communication data sent by the second control device is received, wherein the second communication data is acquired from the energy storage power supply via the second control device.
[0042] In a fourth aspect, an embodiment of the present application provides a data communication method, which is applied to an energy storage power supply in an energy storage power supply group, wherein each energy storage power supply in the energy storage power supply group is respectively communicatively connected to a second end of a second control device, and a first end of the second control device is communicatively connected to a first control device. The energy storage power supply group includes at least two energy storage power supplies. During data communication between the first control device and the energy storage power supply, the second control device is configured as a host and the energy storage power supply is configured as a slave. The method includes:
[0043] sending second communication data to the second control device, so that the second control device sends the second communication data to the first control device; and / or
[0044] First communication data sent by the second control device is received, wherein the first communication data is sent to the second control device via the first control device.
[0045] In a fifth aspect, an embodiment of the present application provides a data communication device, the device being applied to a second control device, wherein a first end of the second control device is communicatively connected to the first control device, and a second end of the second control device is communicatively connected to each energy storage power supply in an energy storage power supply group, the energy storage power supply group including at least two energy storage power supplies, and during data communication between the first control device and the energy storage power supply, the second control device is configured as a host and the energy storage power supply is configured as a slave, the device comprising:
[0046] a first communication unit configured to receive first communication data sent by the first control device; determine an energy storage power supply corresponding to the first communication data from the energy storage power supply group to obtain a target energy storage power supply; and send the first communication data to the target energy storage power supply; and / or
[0047] The second communication unit is configured to obtain second communication data from the energy storage power supply in the energy storage power supply group; and send the second communication data to the first control device.
[0048] In a sixth aspect, an embodiment of the present application provides a data communication apparatus, the apparatus being applied to a first control device, the first control device being communicatively connected to a first end of a second control device, the second end of the second control device being communicatively connected to each energy storage power supply in an energy storage power supply group, the energy storage power supply group including at least two energy storage power supplies, and during data communication between the first control device and the energy storage power supply, the second control device being configured as a host and the energy storage power supply being configured as a slave, the apparatus comprising:
[0049] a third communication unit, configured to send first communication data of the energy storage power supply to the second control device, so that the second control device determines the energy storage power supply corresponding to the first communication data from the energy storage power supply group, obtains a target energy storage power supply, and sends the first communication data to the target energy storage power supply; and / or
[0050] The fourth communication unit is configured to receive second communication data sent by the second control device, wherein the second communication data is obtained from the energy storage power supply via the second control device.
[0051] In a seventh aspect, an embodiment of the present application provides a data communication device, the device being applied to an energy storage power supply in an energy storage power supply group, wherein each energy storage power supply in the energy storage power supply group is communicatively connected to a second end of a second control device, and a first end of the second control device is communicatively connected to a first control device, the energy storage power supply group includes at least two energy storage power supplies, and during data communication between the first control device and the energy storage power supply, the second control device is configured as a host and the energy storage power supply is configured as a slave, the device comprising:
[0052] a fifth communication unit, configured to send second communication data to the second control device, so that the second control device sends the second communication data to the first control device; and / or
[0053] A sixth communication unit is configured to receive first communication data sent by the second control device, wherein the first communication data is sent to the second control device via the first control device.
[0054] In an eighth aspect, an embodiment of the present application provides an electronic device, including:
[0055] memory for storing computer programs;
[0056] The processor is used to execute the computer program stored in the memory, and when the computer program is executed, the method of any embodiment of the data communication method of the second aspect, third aspect or fourth aspect of the present application is implemented.
[0057] In the ninth aspect, an embodiment of the present application provides a computer-readable storage medium having a computer program stored thereon. When the computer program is executed by a processor, it implements a method as in any embodiment of the data communication method of the second aspect, the third aspect or the fourth aspect mentioned above.
[0058] In the tenth aspect, an embodiment of the present application provides a computer program product, which includes a computer-readable code. When the computer-readable code is run on a device, the processor in the device implements a method as in any embodiment of the data communication method of the second or third aspect above.
[0059] The energy storage system provided by the embodiment of the present application includes a first control device, a second control device and an energy storage power supply group, wherein the energy storage power supply group includes at least two energy storage power supplies; wherein: the first control device is communicatively connected to the first end of the second control device; the second end of the second control device is communicatively connected to each energy storage power supply respectively; during the process of data communication between the first control device and the energy storage power supply, the second control device is configured as a host and the energy storage power supply is configured as a slave, so that the first control device communicates data with the energy storage power supply through the second control device. In this way, since the second control device is used as the host and the energy storage power supply is used as the slave to perform data communication between the first control device and the energy storage power supply, the second control device can directly send communication data to the energy storage power supply without passing through other energy storage power supplies. In this way, a shorter communication link can be established between the first control device and the energy storage power supply, thereby improving the data communication efficiency within the energy storage system.
[0060] In the data communication method applied to the second control device provided in the embodiment of the present application, the first end of the second control device is communicatively connected to the first control device, and the second end of the second control device is communicatively connected to each energy storage power supply in the energy storage power supply group, the energy storage power supply group includes at least two energy storage power supplies, and during the data communication between the first control device and the energy storage power supply, the second control device is configured as a host and the energy storage power supply is configured as a slave. The method can receive first communication data sent by the first control device; determine the energy storage power supply corresponding to the first communication data from the energy storage power supply group to obtain the target energy storage power supply; send the first communication data to the target energy storage power supply; and / or, obtain second communication data from the energy storage power supply in the energy storage power supply group; and send the second communication data to the first control device. In this way, since the second control device is used as the host and the energy storage power supply is used as the slave to perform data communication between the first control device and the energy storage power supply, the second control device can directly send communication data to the energy storage power supply without passing through other energy storage power supplies, so that a shorter communication link can be established between the first control device and the energy storage power supply, thereby improving the data communication efficiency within the energy storage system.
[0061] In a data communication method applied to a first control device provided in an embodiment of the present application, the first control device is communicatively connected to a first end of a second control device, and the second end of the second control device is communicatively connected to each energy storage power supply in an energy storage power supply group, wherein the energy storage power supply group includes at least two energy storage power supplies. During data communication between the first control device and the energy storage power supply, the second control device is configured as a host and the energy storage power supply is configured as a slave. The method can send first communication data of the energy storage power supply to the second control device, so that the second control device determines the energy storage power supply corresponding to the first communication data from the energy storage power supply group, obtains a target energy storage power supply, and sends the first communication data to the target energy storage power supply; and / or receives second communication data sent by the second control device, wherein the second communication data is obtained from the energy storage power supply via the second control device. In this way, since the second control device is used as the host and the energy storage power supply is used as the slave to perform data communication between the first control device and the energy storage power supply, the second control device can send communication data directly to the energy storage power supply without passing through other energy storage power supplies. In this way, a shorter communication link can be established between the first control device and the energy storage power supply, thereby improving the data communication efficiency within the energy storage system.
[0062] In the data communication method for energy storage power supplies in an energy storage power supply group provided in an embodiment of the present application, each energy storage power supply in the energy storage power supply group is respectively connected to the second end of the second control device for communication, and the first end of the second control device is connected to the first control device for communication, and the energy storage power supply group includes at least two energy storage power supplies. During data communication between the first control device and the energy storage power supply, the second control device is configured as a host and the energy storage power supply is configured as a slave. The method can send second communication data to the second control device so that the second control device sends the second communication data to the first control device; and / or receive first communication data sent by the second control device, wherein the first communication data is sent to the second control device via the first control device. In this way, since the second control device is used as the host and the energy storage power supply is used as the slave to perform data communication between the first control device and the energy storage power supply, the second control device can directly send communication data to the energy storage power supply without passing through other energy storage power supplies. In this way, a shorter communication link can be established between the first control device and the energy storage power supply, thereby improving the data communication efficiency within the energy storage system. BRIEF DESCRIPTION OF THE DRAWINGS
[0063] The accompanying drawings, which are incorporated in and constitute a part of this specification, illustrate embodiments consistent with the invention and, together with the description, serve to explain the principles of the invention.
[0064] In order to more clearly illustrate the embodiments of the present invention or the technical solutions in the prior art, the following briefly introduces the drawings required for use in the embodiments or the description of the prior art. Obviously, for ordinary technicians in this field, other drawings can be obtained based on these drawings without paying any creative labor.
[0065] One or more embodiments are exemplarily illustrated by pictures in the corresponding drawings. These exemplifications do not constitute limitations on the embodiments. Elements with the same reference numerals in the drawings are represented as similar elements. Unless otherwise stated, the figures in the drawings do not constitute proportional limitations.
[0066] Figure 1 A schematic diagram of the structure of an energy storage system provided in an embodiment of the present application;
[0067] Figure 2A A schematic diagram of the structure of an energy storage system in the prior art;
[0068] Figure 2B A schematic diagram of the structure of another energy storage system in the prior art;
[0069] Figure 3A A flowchart of a data communication method provided in an embodiment of the present application;
[0070] Figure 3B Schematic diagram of a communication protocol in a data communication method provided in an embodiment of the present application
[0071] Figure 4A A flowchart of another data communication method provided in an embodiment of the present application;
[0072] Figure 4B A flowchart of another data communication method provided in an embodiment of the present application;
[0073] Figure 4C A flowchart of another data communication method provided in an embodiment of the present application;
[0074] Figure 5 A schematic diagram of the structure of an electronic device provided in an embodiment of the present application. DETAILED DESCRIPTION
[0075] Various exemplary embodiments of the present application will now be described in detail with reference to the accompanying drawings. It is apparent that the described embodiments are only a portion of the embodiments of the present application, rather than all of the embodiments. It should be noted that, unless otherwise specifically stated, the relative arrangement of components and steps, numerical expressions, and numerical values described in these embodiments do not limit the scope of the present application.
[0076] Those skilled in the art will understand that the terms "first" and "second" in the embodiments of the present application are only used to distinguish between different steps, devices, modules and other objects, and neither represent any specific technical meaning nor indicate the logical order between them.
[0077] It should also be understood that in this embodiment, “a plurality of” may refer to two or more than two, and “at least one” may refer to one, two or more than two.
[0078] It should also be understood that any component, data or structure mentioned in the embodiments of the present application can generally be understood as one or more, unless explicitly limited or otherwise indicated in the context.
[0079] In addition, the term "and / or" in this application is simply a description of the association relationship between related objects, indicating that three relationships can exist. For example, A and / or B can represent three situations: A exists alone, A and B exist at the same time, and B exists alone. In addition, the character " / " in this application generally indicates that the related objects are in an "or" relationship.
[0080] It should also be understood that the description of each embodiment in this application focuses on the differences between the embodiments, and the same or similar aspects can be referenced with each other. For the sake of brevity, they will not be described one by one.
[0081] The following description of at least one exemplary embodiment is merely illustrative in nature and is in no way intended to limit the present disclosure, its application, or uses.
[0082] Technologies, methods, and equipment known to ordinary technicians in the relevant art may not be discussed in detail, but where appropriate, the above-mentioned technologies, methods, and equipment should be considered part of the specification.
[0083] It should be noted that like reference numerals and letters refer to like items in the following figures, and therefore, once an item is defined in one figure, it need not be further discussed in subsequent figures.
[0084] It should be noted that, unless there is a conflict, the embodiments and features in the embodiments of this application can be combined with each other. To facilitate understanding of the embodiments of this application, the application will be described in detail below with reference to the accompanying drawings and in combination with the embodiments. Obviously, the embodiments described are part of the embodiments of this application, not all of them. Based on the embodiments in this application, all other embodiments obtained by ordinary technicians in this field without making creative work are within the scope of protection of this application.
[0085] In order to solve the technical problem of how to improve the data communication efficiency within an energy storage system in the prior art, the present application provides an energy storage system and method, which can improve the data communication efficiency within the energy storage system.
[0086] Figure 1 A schematic structural diagram of an energy storage system provided in an embodiment of the present application.
[0087] like Figure 1 As shown, the system includes a first control device 30, a second control device 10, and an energy storage power supply group 20. The energy storage power supply group 20 includes at least two energy storage power supplies, such as energy storage power supply 21 and energy storage power supply 22 shown in the figure. The first end of the first control device 30 is communicatively connected to the first end of the second control device 10. The second end of the second control device 10 is communicatively connected to the first end of each energy storage power supply in the energy storage power supply group 20 (such as energy storage power supply 21 and energy storage power supply 22 shown in the figure).
[0088] During data communication between the first control device 30 and the energy storage power supply (for example, the energy storage power supply 21 or the energy storage power supply 22 shown in the figure), the second control device 10 is configured as a host and the energy storage power supply is configured as a slave, so that the first control device 30 communicates data with the energy storage power supply through the second control device 10.
[0089] During data communication between the first control device 30 and the energy storage power supply (for example, the energy storage power supply 21 and / or the energy storage power supply 22 shown in the figure), since the second control device 10 is the host and the energy storage power supply is the slave, the second control device 10 can directly send the first communication data to the energy storage power supply.
[0090] Here, the first control device 30 can be a terminal such as a mobile phone or a computer, and an APP can be installed and run on the first control device 30. By running the APP on the first device, the energy storage power supply in the energy storage power supply group 20 can be controlled, or data communication can be performed with the energy storage power supply in the energy storage power supply group 20.
[0091] The second control device 10 may be a controller, such as a parallel controller, and the energy storage power supplies in the energy storage power supply group 20 may be controlled by the second control device 10 to perform data communication.
[0092] The energy storage power supply group 20 may include at least two energy storage power supplies. In some cases, the energy storage power supplies included in the energy storage power supply group 20 may have the same specifications. For example, Figure 1 The energy storage power source 21 and the energy storage power source 22 can have the same size and capacity.
[0093] In some cases, an energy storage power supply can be an outdoor mobile power supply. This type of power supply is a multifunctional portable energy storage power supply with a built-in lithium-ion battery, self-storing energy, and AC output. This product is lightweight, high-capacity, and powerful, making it portable and suitable for indoor or outdoor use. It can be charged conventionally or solar-powered, depending on the specific usage scenario. It provides an ultra-high-power 100-240V AC output and is equipped with a variety of DC output modules, including 5V, 9V, and 12V. It can not only jump-start a vehicle but is also suitable for emergency use with various loads, such as consumer electronics and in-vehicle appliances, providing a reliable power supply.
[0094] The second control device 10 may have one or more communication links with each energy storage power source in the energy storage power source group 20. For example, Figure 1 The second control device 10 in the embodiment may have a communication link with the energy storage power supply 21 . Figure 1 The second control device 10 in the embodiment may have a communication link with the energy storage power supply 22 .
[0095] In addition, the second control device 10 can communicate with each energy storage power source in the energy storage power source group 20 by wired or wireless means. In some cases, the communication method between the second control device 10 and each energy storage power source in the energy storage power source group 20 can be all wired communication or all wireless communication.
[0096] In some optional implementations of this embodiment, the second control device 10 is configured to: receive first communication data about the energy storage power supply group 20 sent by the first control device 30, then determine the target energy storage power supply based on the first communication data, and then send the first communication data to the target energy storage power supply.
[0097] The target energy storage power supply may be an energy storage power supply in the energy storage power supply group used for data communication with the first control device 30. For example, the target energy storage power supply may be Figure 1 The energy storage power supply 21 and / or energy storage power supply 22.
[0098] Here, the second control device 10 can directly send the first communication data to the target energy storage power supply. In other words, the second control device 10 can send the first communication data only to the target energy storage power supply, without having to send the first communication data to non-target energy storage power supplies in the energy storage power supply group 20. Moreover, when the second control device 10 sends the first communication data to the target energy storage power supply, the second control device 10 does not need to rely on the non-target energy storage power supplies in the energy storage power supply group 20. For example, the communication link between the second control device 10 and the target energy storage power supply may not include the communication node formed by the non-target energy storage power supplies.
[0099] It can be understood that in the above optional implementation method, after receiving the first communication data sent to it by the first control device, the second control device determines the target energy storage power supply corresponding to the first communication data, and sends the first communication data to the target energy storage power supply, thereby alleviating the data communication busy phenomenon of the second control device.
[0100] In the prior art, in some solutions, when the second control device 10 needs to control the energy storage power supply 1 (for example Figure 1 Energy storage power supply 21) or energy storage power supply 2 (e.g. Figure 1 When the first control device 30 sends communication data to a slave energy storage power supply in the energy storage power supply group, it must transmit data through the master energy storage power supply and the second control device 10. This results in a long data transmission link, long communication delays, and low efficiency.
[0101] In the present application, since the second control device 10 can send communication data directly to the energy storage power supply, the second control device can be used as the host and the energy storage power supply as the slave to perform data communication between the first control device and the energy storage power supply. Therefore, the second control device can send communication data directly to the energy storage power supply without passing through other energy storage power supplies. In this way, a shorter communication link can be established between the first control device and the energy storage power supply, thereby improving the data communication efficiency within the energy storage system.
[0102] In some optional implementations of this embodiment, the second control device 10 includes multiple interfaces, and each interface corresponds to a physical address.
[0103] The first control device 30 is configured to transmit the first communication data to the second control device 10 .
[0104] The second control device 10 is configured to transmit the first communication data to the energy storage power supply through the physical address.
[0105] Each interface may correspond to a physical address, for example, the physical address may be 00, 01, 02, etc. Each physical address may correspond to an energy storage power supply.
[0106] Each of the multiple interfaces can be connected to an energy storage power supply in the energy storage power supply group 20 in a wired manner. Therefore, a physical address can be assigned to each energy storage power supply in the energy storage power supply group 20.
[0107] The communication data (including the first communication data and the second communication data) received or sent by the energy storage power supply includes the physical address corresponding to the energy storage power supply. Figure 1 In the case of the energy storage power supply 21 in the energy storage power supply, the communication data of the energy storage power supply may include the physical address allocated to the energy storage power supply 21. Figure 1 In the case of the energy storage power supply 22 in the target energy storage power supply, the communication data of the target energy storage power supply may include the physical address allocated to the energy storage power supply 22.
[0108] The physical address in the communication data can be used by the second control device 10 to identify the energy storage power supply with which it communicates.
[0109] The first communication data may be communication data sent by the first control device to the energy storage power supply in the energy storage power supply group, or may be communication data sent by the first control device to the second control device 10 .
[0110] It can be understood that in the above optional implementation, a physical address can be assigned to each energy storage power supply to achieve more direct and accurate data transmission between the second control device and each energy storage power supply.
[0111] In some application scenarios of the above-mentioned optional implementation methods, the second control device 10 is configured to: read back the second communication data from the energy storage power supply in sequence according to the physical address, and then determine whether the data request bit in the second communication data indicates that the first control device 30 requests to obtain data from the energy storage power supply; if so, send the second communication data to the first control device 30.
[0112] The second pass data may be communication data sent by the energy storage power supply to the first control device 30 or the second control device 10 .
[0113] The data request bit can indicate whether the first control device is requesting data from the energy storage power supply. For example, if the data request bit is 1, it can be determined that the first control device is requesting data from the energy storage power supply; if the data request bit is 0, it can be determined that the first control device is not requesting data from the energy storage power supply.
[0114] For example, the second control device may read back the communication data (ie, the second communication data) of the energy storage power supply in sequence according to a predetermined order of physical addresses (eg, the order of 00, 01, 02).
[0115] It can be understood that in the above application scenario, the second control device can act as a host, read back the communication data of each slave energy storage power supply in turn, and transmit it to the first control device, thereby enabling the above energy storage system to be expanded more conveniently.
[0116] In some optional implementations of this embodiment, the second control device is configured to: obtain second communication data from the energy storage power supply, and then determine whether the data request bit in the second communication data indicates that the first control device requests to obtain data from the energy storage power supply; if so, send the second communication data to the first control device.
[0117] The data request bit can indicate whether the first control device is requesting data from the energy storage power supply. For example, if the data request bit is 1, it can be determined that the first control device is requesting data from the energy storage power supply; if the data request bit is 0, it can be determined that the first control device is not requesting data from the energy storage power supply.
[0118] It can be understood that in the above optional implementation, the energy storage power supply can transmit the second communication data to the first control device through the second control device, which shortens the communication link between the two and improves the communication efficiency between the two.
[0119] In some optional implementations of this embodiment, the first control device communicates directly with the second control device. That is, the communication link between the first control device and the second control device does not include a communication node formed by any energy storage power supply in the energy storage power supply group.
[0120] It can be understood that in the prior art, the communication link between the first control device and the second control device usually includes a communication node formed by an energy storage power supply, thereby making the communication link between the first control device and the second control device longer. In the above optional implementation method, since the communication link between the first control device and the second control device does not include a communication node formed by an energy storage power supply, the communication link between the first control device and the second control device is shorter, thereby improving the communication efficiency between the first control device and the second control device.
[0121] In some optional implementations of this embodiment, the second control device is configured to:
[0122] receiving first communication data sent by the first control device; determining whether the first communication data includes a preset transparent transmission identifier; if the first communication data includes the preset transparent transmission identifier, transparently transmitting the first communication data to the energy storage power supply; and / or
[0123] Acquire second communication data from the energy storage power supply; determine whether the second communication data includes a preset transparent transmission identifier; and transparently transmit the second communication data to the first control device if the second communication data includes the preset transparent transmission identifier.
[0124] The preset transparent transmission identifier may be any preset identifier, and the preset transparent transmission identifier may indicate that data is transparently transmitted between the first control device and the energy storage power supply.
[0125] It can be understood that when the second communication data contains a preset transparent transmission identifier, the second control device does not need to parse the second communication data, and can directly transmit the second communication data to the communication peer. In this way, the data communication efficiency between the first control device and the energy storage power supply can be further improved.
[0126] In some optional implementations of this embodiment, the communication protocol between the second control device and the energy storage power supply complies with one of the following:
[0127] Frame header, protocol version, physical address corresponding to the energy storage power supply, instruction length, command code indicating read operation, first address corresponding to the read operation, length of read-back data, and check code.
[0128] Frame header, protocol version, physical address corresponding to the energy storage power supply, instruction length, command code indicating a read operation, the first address corresponding to the read operation, the length of the read-back data, the data returned by the energy storage power supply, and a check code.
[0129] Frame header, protocol version, physical address corresponding to the energy storage power supply, instruction length, command code indicating a write operation, first address corresponding to the write operation, length of written data, data sent by the second control device to the energy storage power supply, and a check code.
[0130] Frame header, protocol version, physical address corresponding to the energy storage power supply, instruction length, command code indicating write operation, first address corresponding to write operation, length of written data, response data indicating data write failure or success, and check code.
[0131] The frame header may represent a fixed identification code.
[0132] The protocol version can indicate the protocol format followed by this instruction.
[0133] Slave address (also known as the physical address corresponding to the energy storage power supply): On the slave side, it is used to identify whether it is communicating with itself. If the received slave address is the same as its own address, it means that the match is successful; on the host side, it is used to identify which slave the communication data is from.
[0134] The instruction length can indicate the data length of this instruction.
[0135] The command code for a read operation indicates that the host reads data from the slave and the slave returns the corresponding data. The command code for a write operation indicates that the host writes data to the slave and the slave writes the data received from the host.
[0136] The first address corresponding to the read operation indicates the first address of the data table to be read.
[0137] The first address corresponding to the write operation indicates the first address of the data table to be written.
[0138] The data length indicates the length of the data to be read back / written.
[0139] The response indicates whether the data written failed or succeeded.
[0140] The check code (such as CRC16) represents the check code of this instruction, which is used to check whether the instruction is correct.
[0141] It can be understood that in the above optional implementation, by defining the communication protocol of the energy storage power supply, more accurate data communication of the energy storage power supply is achieved.
[0142] In some optional implementations of this embodiment, the lengths of the communication links between the second control device 10 and each energy storage power source in the energy storage power source group are equal.
[0143] For example, in Figure 1 The length of the communication link between the second control device 10 and the energy storage power supply 21 may be equal to the length of the communication link between the second control device 10 and the energy storage power supply 22 .
[0144] It can be understood that in the above optional implementation, since the lengths of the communication links between the second control device and each energy storage power supply are equal, there will be no inconsistent delays among the energy storage power supplies.
[0145] The energy storage system provided by the embodiment of the present application includes a second control device and an energy storage power supply group; wherein: the second control device is respectively connected to each energy storage power supply in the energy storage power supply group; during the data communication between the second control device and the target energy storage power supply, the second control device is the host and the target energy storage power supply is the slave; the target energy storage power supply is any energy storage power supply in the energy storage power supply group. In this way, since the second control device is used as the host and the energy storage power supply is used as the slave to perform data communication between the first control device and the energy storage power supply, the second control device can directly send communication data (i.e., the first communication data) to the energy storage power supply without passing through other energy storage power supplies. In this way, a shorter communication link can be established between the first control device and the energy storage power supply, thereby improving the data communication efficiency within the energy storage system.
[0146] The following is an illustrative description of the embodiments of the present application, but it should be noted that the embodiments of the present application may have the features described below, but the following description does not constitute a limitation on the scope of protection of the embodiments of the present application.
[0147] In some existing solutions, when two energy storage power supplies (such as PPS) are connected in parallel (that is, for data communication), a second control device (such as a parallel controller) needs to be connected, and the APP in the first control device (such as a mobile phone) communicates with the energy storage power supply through wireless communication. When the APP needs to control energy storage power supply 1 or energy storage power supply 2, it needs to send data twice, resulting in busy data communication and low efficiency. When the APP needs to send data to the second control device, it needs to go through energy storage power supply 1 / energy storage power supply 2, which lengthens the communication link, causes communication delays, and is inefficient. Similarly, the same is true when the farthest second control device returns data to the APP. Figure 2A shown.
[0148] In other existing solutions, when two energy storage power supplies are connected in parallel, a second control device (such as a parallel controller) needs to be connected. The APP in the first control device (such as a mobile phone) communicates with the energy storage power supply through wireless communication. There are master and slave devices between the two energy storage power supplies. The master is responsible for communicating with the APP. When the APP needs to send data to the second control device, it needs to transmit data through the master energy storage power supply. When the APP needs to send data to the slave energy storage power supply, it needs to pass through the master energy storage power supply and the second control device. In this way, the data transmission link is very long, resulting in a relatively long communication delay and low efficiency. Similarly, the same is true when the farthest slave energy storage power supply returns data to the APP. Figure 2B shown.
[0149] In view of this, if Figure 3A As shown, the communication method of this solution is as follows:
[0150] 1. The energy storage power supply and a second control device (e.g., a parallel controller) can communicate data using either wired or wireless methods. When using wired communication, the energy storage power supply disables its wireless communication when connected to the second control device. However, in some cases, the energy storage power supply may only communicate with the second control device and not with other devices.
[0151] 2. At this time, all energy storage power supplies act as slaves, and the second control device takes over all communication data, wherein the communication data includes first communication data and second communication data.
[0152] 3. After being aggregated by the second control device, it communicates with the APP in a unified manner.
[0153] 4. When the APP needs to send data, the APP first sends the data to the second control device, and then sends it to the energy storage power supply.
[0154] Among them, such as Figure 3B As shown, the protocol description is as follows:
[0155] Frame header - represents a fixed identification code.
[0156] Protocol version - indicates the protocol format followed by this instruction.
[0157] Slave address:
[0158] 1. On the slave side, it is used to identify whether it is communicating with itself. If the received slave address is the same as its own address, it means the match is successful.
[0159] 2. On the host side, communication data is used to identify which slave device it belongs to, wherein the communication data includes first communication data and second communication data.
[0160] Instruction length - indicates the data length of this instruction.
[0161] Command code:
[0162] 1. Read - means the host reads data from the slave and the slave returns the corresponding data.
[0163] 2. Write - means the host writes data to the slave, and the slave writes the data received from the host.
[0164] address:
[0165] 1. Read - indicates the first address of the data table to be read.
[0166] 2. Write - indicates the first address of the data table to be written.
[0167] Data length - indicates the length of data to be read back / written.
[0168] Response - indicates whether the written data failed or succeeded.
[0169] CRC16- represents the check code of this instruction, which is used to check whether the instruction is correct.
[0170] Specifically, the following communication scheme can be adopted:
[0171] The second control device (e.g., parallel controller) communicates with the energy storage power supply (e.g., PPS):
[0172] 1. The second control device (eg, a parallel controller) may have multiple physical interfaces.
[0173] 2. Each physical interface is assigned a fixed physical address (00, 01, 02...).
[0174] 3. When the second control device (eg, parallel controller) establishes initial communication with the energy storage power supply (eg, PPS), the physical address is written into the slave energy storage power supply.
[0175] 4. When the second control device needs to read / write data from a certain energy storage power supply, fill in the corresponding physical address in the protocol.
[0176] 5. When the second control device receives data from the energy storage power supply, it can distinguish the data by judging the physical address of the energy storage power supply.
[0177] APP communicates with energy storage power supply:
[0178] 1. The APP transmits data to the second control device via wireless.
[0179] 2. The second control device transmits the data to the slave energy storage power supply through the physical address.
[0180] 3. When the slave energy storage power supply needs to transmit data to the APP, the slave energy storage power supply sets the "APP data request bit" 0,1 in the data table.
[0181] 4. The second control device reads back the data from the energy storage power supply in sequence according to the slave address.
[0182] 5. The second control device determines whether there is an "APP data request bit". If so, the second control device reads back the data that needs to be uploaded to the APP from the energy storage power supply.
[0183] 6. The second control device transmits the read APP data to the APP via wireless
[0184] It should be noted that, in addition to the contents recorded above, this embodiment may also include the technical features described in the above embodiments, thereby achieving the technical effects of the data communication method shown above. Please refer to the above description for details. For the sake of brevity, no further details will be given here.
[0185] The energy storage system provided by the embodiment of the present application has a communication architecture for multiple PPS parallel operations when the second control device is a parallel controller and the energy storage power source is a PPS. The APP can communicate with the parallel controller wirelessly (or wired), and the parallel controller can communicate with at least two PPSs separately so that the link lengths when communicating between the PPSs are the same and the information is synchronized. When the parallel controller and the PPS are connected by wired communication, the parallel controller assigns a fixed physical address to each PPS. In addition, data transparent transmission can be used for data communication: the message format may include a transparent transmission field. When the APP communicates directly with a certain PPS, the transparent transmission field carries special information indicating direct transparent transmission without the need for parsing by the parallel controller. After the APP sends a message to the parallel controller, the controller directly sends the message in full to the specific PPS. When the PPS communicates with the APP, if the transparent transmission field is included, similarly, this can speed up the communication speed. Therefore, this communication architecture is uniformly managed by the parallel controller, has stronger scalability, and is applicable to the connection of multiple PPSs. In addition, the parallel controller can send data to the slave PPS in parallel, thereby increasing communication efficiency. The data link is clear and concise, and the data communication link of all PPS is the same, so there will be no inconsistent delay.
[0186] Figure 4AA flow chart of a data communication method provided in an embodiment of the present application. This method can be applied to a second control device. The first end of the second control device is communicatively connected to the first control device, and the second end of the second control device is communicatively connected to each energy storage power supply in the energy storage power supply group. The energy storage power supply group includes at least two energy storage power supplies. During data communication between the first control device and the energy storage power supply, the second control device is configured as a host and the energy storage power supply is configured as a slave. Figure 4A As shown, the method specifically includes:
[0187] Step 401: receive first communication data sent by the first control device; determine the energy storage power supply corresponding to the first communication data from the energy storage power supply group to obtain a target energy storage power supply; and send the first communication data to the target energy storage power supply.
[0188] And / or, step 402, obtaining second communication data from the energy storage power supply in the energy storage power supply group; and sending the second communication data to the first control device.
[0189] It should be noted that, in addition to the contents described above, this embodiment may also include the corresponding technical features described in the above embodiments, thereby achieving the technical effects of the energy storage system shown above. For details, please refer to the above related descriptions. For the sake of brevity, they will not be elaborated here.
[0190] The embodiment of the present application provides a data communication method for a second control device, wherein the first end of the second control device is communicatively connected to the first control device, and the second end of the second control device is communicatively connected to each energy storage power supply in an energy storage power supply group, wherein the energy storage power supply group includes at least two energy storage power supplies. During data communication between the first control device and the energy storage power supply, the second control device is configured as a host and the energy storage power supply is configured as a slave. The method can receive first communication data sent by the first control device; determine the energy storage power supply corresponding to the first communication data from the energy storage power supply group to obtain a target energy storage power supply; send the first communication data to the target energy storage power supply; and / or obtain second communication data from the energy storage power supply in the energy storage power supply group; and send the second communication data to the first control device. In this way, since the second control device is used as the host and the energy storage power supply is used as the slave to perform data communication between the first control device and the energy storage power supply, the second control device can directly send communication data to the energy storage power supply without passing through other energy storage power supplies. In this way, a shorter communication link can be established between the first control device and the energy storage power supply, thereby improving the data communication efficiency within the energy storage system.
[0191] Figure 4BA flow chart of another data communication method provided in an embodiment of the present application. This method can be applied to energy storage power supplies in an energy storage power supply group, wherein each energy storage power supply in the energy storage power supply group is respectively connected to the second end of the second control device for communication, and the first end of the second control device is connected to the first control device for communication, and the energy storage power supply group includes at least two energy storage power supplies. During data communication between the first control device and the energy storage power supply, the second control device is configured as a host and the energy storage power supply is configured as a slave. Figure 4B As shown, the method specifically includes:
[0192] Step 411: Send second communication data to the second control device, so that the second control device sends the second communication data to the first control device.
[0193] And / or, step 412: receiving first communication data sent by the second control device, wherein the first communication data is sent to the second control device via the first control device.
[0194] It should be noted that, in addition to the contents described above, this embodiment may also include the corresponding technical features described in the above embodiments, thereby achieving the technical effects of the above energy storage system. For details, please refer to the above related descriptions. For the sake of brevity, they will not be elaborated here.
[0195] In the data communication method for energy storage power supplies in an energy storage power supply group provided in an embodiment of the present application, each energy storage power supply in the energy storage power supply group is respectively connected to the second end of the second control device for communication, and the first end of the second control device is connected to the first control device for communication, and the energy storage power supply group includes at least two energy storage power supplies. During data communication between the first control device and the energy storage power supply, the second control device is configured as a host and the energy storage power supply is configured as a slave. The method can send second communication data to the second control device so that the second control device sends the second communication data to the first control device; and / or receive first communication data sent by the second control device, wherein the first communication data is sent to the second control device via the first control device. In this way, since the second control device is used as the host and the energy storage power supply is used as the slave to perform data communication between the first control device and the energy storage power supply, the second control device can directly send communication data to the energy storage power supply without passing through other energy storage power supplies. In this way, a shorter communication link can be established between the first control device and the energy storage power supply, thereby improving the data communication efficiency within the energy storage system.
[0196] Figure 4CA flow chart of another data communication method provided in an embodiment of the present application. This method can be applied to a first control device, wherein the first control device is communicatively connected to a first end of a second control device, and the second end of the second control device is communicatively connected to each energy storage power supply in an energy storage power supply group, wherein the energy storage power supply group includes at least two energy storage power supplies. During data communication between the first control device and the energy storage power supply, the second control device is configured as a host and the energy storage power supply is configured as a slave. Figure 4C As shown, the method specifically includes:
[0197] Step 421: Send first communication data of the energy storage power supply to the second control device, so that the second control device determines the energy storage power supply corresponding to the first communication data from the energy storage power supply group, obtains the target energy storage power supply, and sends the first communication data to the target energy storage power supply.
[0198] And / or, step 422, receiving second communication data sent by the second control device, wherein the second communication data is obtained from the energy storage power supply via the second control device.
[0199] It should be noted that, in addition to the contents described above, this embodiment may also include the corresponding technical features described in the above embodiments, thereby achieving the technical effects of the above energy storage system. For details, please refer to the above related descriptions. For the sake of brevity, they will not be elaborated here.
[0200] In a data communication method applied to a first control device provided in an embodiment of the present application, the first control device is communicatively connected to a first end of a second control device, and the second end of the second control device is communicatively connected to each energy storage power supply in an energy storage power supply group, wherein the energy storage power supply group includes at least two energy storage power supplies. During data communication between the first control device and the energy storage power supply, the second control device is configured as a host and the energy storage power supply is configured as a slave. The method can send first communication data of the energy storage power supply to the second control device, so that the second control device determines the energy storage power supply corresponding to the first communication data from the energy storage power supply group, obtains a target energy storage power supply, and sends the first communication data to the target energy storage power supply; and / or receives second communication data sent by the second control device, wherein the second communication data is obtained from the energy storage power supply via the second control device. In this way, since the second control device is used as the host and the energy storage power supply is used as the slave to perform data communication between the first control device and the energy storage power supply, the second control device can send communication data directly to the energy storage power supply without passing through other energy storage power supplies. In this way, a shorter communication link can be established between the first control device and the energy storage power supply, thereby improving the data communication efficiency within the energy storage system.
[0201] An embodiment of the present application further provides a data communication apparatus. The apparatus is applied to a second control device, wherein a first end of the second control device is communicatively connected to the first control device, and a second end of the second control device is communicatively connected to each energy storage power supply in an energy storage power supply group, wherein the energy storage power supply group includes at least two energy storage power supplies. During data communication between the first control device and the energy storage power supply, the second control device is configured as a host and the energy storage power supply is configured as a slave. The apparatus includes:
[0202] a first communication unit configured to receive first communication data sent by the first control device; determine an energy storage power supply corresponding to the first communication data from the energy storage power supply group to obtain a target energy storage power supply; and send the first communication data to the target energy storage power supply; and / or
[0203] The second communication unit is configured to obtain second communication data from the energy storage power supply in the energy storage power supply group; and send the second communication data to the first control device.
[0204] The data communication device provided in this embodiment can execute all the steps of the above-mentioned data communication method applied to the second control device, thereby achieving the technical effects of the above-mentioned data communication method applied to the second control device. Please refer to the above relevant description for details. For the sake of brevity, it will not be repeated here.
[0205] An embodiment of the present application also provides a data communication device. The device is applied to an energy storage power supply in an energy storage power supply group, wherein each energy storage power supply in the energy storage power supply group is respectively communicatively connected to the second end of a second control device, and the first end of the second control device is communicatively connected to the first control device. The energy storage power supply group includes at least two energy storage power supplies. During data communication between the first control device and the energy storage power supply, the second control device is configured as a host and the energy storage power supply is configured as a slave. The device includes:
[0206] a fifth communication unit, configured to send second communication data to the second control device, so that the second control device sends the second communication data to the first control device; and / or
[0207] A sixth communication unit is configured to receive first communication data sent by the second control device, wherein the first communication data is sent to the second control device via the first control device.
[0208] The data communication device provided in this embodiment can execute all the steps of the above-mentioned data communication method for the energy storage power supply applied to the energy storage power supply group, thereby achieving the technical effects of the above-mentioned data communication method for the energy storage power supply applied to the energy storage power supply group. Please refer to the above related description for details. For the sake of brevity, it will not be repeated here.
[0209] An embodiment of the present application further provides a data communication apparatus. The apparatus is applied to a first control device, wherein the first control device is communicatively connected to a first end of a second control device, and a second end of the second control device is communicatively connected to each energy storage power supply in an energy storage power supply group, wherein the energy storage power supply group includes at least two energy storage power supplies. During data communication between the first control device and the energy storage power supply, the second control device is configured as a host and the energy storage power supply is configured as a slave. The apparatus includes:
[0210] a third communication unit, configured to send first communication data of the energy storage power supply to the second control device, so that the second control device determines the energy storage power supply corresponding to the first communication data from the energy storage power supply group, obtains a target energy storage power supply, and sends the first communication data to the target energy storage power supply; and / or
[0211] The fourth communication unit is configured to receive second communication data sent by the second control device, wherein the second communication data is obtained from the energy storage power supply via the second control device.
[0212] The data communication device provided in this embodiment can execute all the steps of the above-mentioned data communication method applied to the first control device, thereby achieving the technical effects of the above-mentioned data communication method applied to the first control device. Please refer to the above relevant description for details. For the sake of brevity, it will not be repeated here.
[0213] Figure 5 This is a schematic diagram of the structure of an electronic device provided in an embodiment of the present application. Figure 5 The electronic device 500 shown includes: at least one processor 501, a memory 502, at least one network interface 504 and another user interface 503. The various components in the electronic device 500 are coupled together via a bus system 505. It is understood that the bus system 505 is used to achieve connection and communication between these components. In addition to including a data bus, the bus system 505 also includes a power bus, a control bus and a status signal bus. However, for the sake of clarity, the bus system 505 is not shown in FIG. Figure 5 Various buses are labeled as bus system 505.
[0214] The user interface 503 may include a display, a keyboard, or a pointing device (eg, a mouse, a trackball, a touchpad, or a touch screen).
[0215] It is understood that the memory 502 in the embodiment of the present application can be a volatile memory or a non-volatile memory, or can include both volatile and non-volatile memories. Among them, the non-volatile memory can be a read-only memory (ROM), a programmable read-only memory (PROM), an erasable programmable read-only memory (EPROM), an electrically erasable programmable read-only memory (EEPROM), or a flash memory. The volatile memory can be a random access memory (RAM), which is used as an external cache. By way of example and not limitation, many forms of RAM are available, such as static random access memory (SRAM), dynamic random access memory (DRAM), synchronous dynamic random access memory (SDRAM), double data rate synchronous dynamic random access memory (DDRSDRAM), enhanced synchronous dynamic random access memory (ESDRAM), synchronous link DRAM (SLDRAM), and direct RAM bus random access memory (DRRAM). The memory 502 described herein is intended to include, but is not limited to, these and any other suitable types of memory.
[0216] In some embodiments, the memory 502 stores the following elements, executable units, or data structures, or a subset thereof, or an extended set thereof: an operating system 5021 and application programs 5022 .
[0217] Among them, the operating system 5021 includes various system programs, such as the framework layer, core library layer, and driver layer, which are used to implement various basic services and handle hardware-based tasks. The application 5022 includes various application programs, such as a media player (Media Player), a browser (Browser), etc., which are used to implement various application services. The program that implements the method of the embodiment of the present application can be included in the application 5022.
[0218] In this embodiment, by calling a program or instruction stored in the memory 502, specifically, a program or instruction stored in the application 5022, the processor 501 is configured to execute the method steps provided in each method embodiment, for example, including:
[0219] Receive first communication data sent by the first control device; determine the energy storage power supply corresponding to the first communication data from the energy storage power supply group to obtain a target energy storage power supply; send the first communication data to the target energy storage power supply; and / or obtain second communication data from the energy storage power supply in the energy storage power supply group; and send the second communication data to the first control device.
[0220] or,
[0221] Sending first communication data of the energy storage power supply to the second control device, so that the second control device determines the energy storage power supply corresponding to the first communication data from the energy storage power supply group, obtains the target energy storage power supply, and sends the first communication data to the target energy storage power supply; and / or receiving second communication data sent by the second control device, wherein the second communication data is obtained from the energy storage power supply via the second control device.
[0222] or,
[0223] Sending second communication data to the second control device so that the second control device sends the second communication data to the first control device; and / or receiving first communication data sent by the second control device, wherein the first communication data is sent to the second control device via the first control device.
[0224] The methods disclosed in the above embodiments of the present application can be applied to or implemented by processor 501. Processor 501 may be an integrated circuit chip with signal processing capabilities. During implementation, each step of the above method can be completed by hardware integrated logic circuits in processor 501 or by software instructions. The above processor 501 can be a general-purpose processor, a digital signal processor (DSP), an application-specific integrated circuit (ASIC), a field programmable gate array (FPGA), or other programmable logic devices, discrete gate or transistor logic devices, or discrete hardware components. The various methods, steps, and logic block diagrams disclosed in the embodiments of the present application can be implemented or executed. The general-purpose processor can be a microprocessor or any conventional processor. The steps of the methods disclosed in the embodiments of the present application can be directly implemented and executed by a hardware decoding processor, or by a combination of hardware and software units in the decoding processor. The software units can be located in a storage medium mature in the art, such as random access memory, flash memory, read-only memory, programmable read-only memory, electrically erasable programmable memory, registers, etc. The storage medium is located in the memory 502 , and the processor 501 reads the information in the memory 502 and completes the steps of the above method in combination with its hardware.
[0225] It is understood that the embodiments described herein may be implemented using hardware, software, firmware, middleware, microcode, or a combination thereof. For hardware implementation, the processing unit may be implemented in one or more application-specific integrated circuits (ASICs), digital signal processors (DSPs), digital signal processing devices (DSPDs), programmable logic devices (PLDs), field-programmable gate arrays (FPGAs), general-purpose processors, controllers, microcontrollers, microprocessors, or other electronic units or combinations thereof for performing the above-mentioned functions of the present application.
[0226] For software implementation, the techniques described above can be implemented by a unit that performs the functions described above. The software code can be stored in a memory and executed by a processor. The memory can be implemented in the processor or external to the processor.
[0227] The electronic device provided in this embodiment may be Figure 5 The electronic device shown in can execute all the steps of the above-mentioned data communication methods, thereby achieving the technical effects of the above-mentioned data communication methods. Please refer to the above-mentioned relevant description for details. For the sake of brevity, it will not be repeated here.
[0228] The present application also provides a storage medium (computer-readable storage medium). The storage medium stores one or more programs. The storage medium may include volatile memory, such as random access memory; the memory may also include non-volatile memory, such as read-only memory, flash memory, hard disk, or solid-state drive; and the memory may also include a combination of the aforementioned types of memory.
[0229] When one or more programs in the storage medium can be executed by one or more processors, the data communication method executed on the electronic device side can be implemented.
[0230] The processor is configured to execute the data communication program stored in the memory to implement the following steps of the data communication method executed on the electronic device side:
[0231] Receive first communication data sent by the first control device; determine the energy storage power supply corresponding to the first communication data from the energy storage power supply group to obtain a target energy storage power supply; send the first communication data to the target energy storage power supply; and / or obtain second communication data from the energy storage power supply in the energy storage power supply group; and send the second communication data to the first control device.
[0232] or,
[0233] Sending first communication data of the energy storage power supply to the second control device, so that the second control device determines the energy storage power supply corresponding to the first communication data from the energy storage power supply group, obtains the target energy storage power supply, and sends the first communication data to the target energy storage power supply; and / or receiving second communication data sent by the second control device, wherein the second communication data is obtained from the energy storage power supply via the second control device.
[0234] or,
[0235] Sending second communication data to the second control device so that the second control device sends the second communication data to the first control device; and / or receiving first communication data sent by the second control device, wherein the first communication data is sent to the second control device via the first control device.
[0236] Professionals should also be further aware that the units and algorithm steps of each example described in conjunction with the embodiments disclosed herein can be implemented in electronic hardware, computer software, or a combination of the two. In order to clearly illustrate the interchangeability of hardware and software, the above description has generally described the components and steps of each example according to their functions. Whether these functions are performed in hardware or software depends on the specific application and design constraints of the technical solution. Professionals and technicians can use different methods to implement the described functions for each specific application, but such implementation should not be considered beyond the scope of this application.
[0237] The steps of the methods or algorithms described in conjunction with the embodiments disclosed herein may be implemented using hardware, a software module executed by a processor, or a combination of the two. The software module may be placed in a random access memory (RAM), a memory, a read-only memory (ROM), an electrically programmable ROM, an electrically erasable programmable ROM, a register, a hard disk, a removable disk, a CD-ROM, or any other form of storage medium known in the art.
[0238] It should be understood that the terms used herein are for the purpose of describing specific example embodiments only and are not intended to be limiting. Unless the context clearly indicates otherwise, the singular forms "one", "an" and "said" as used herein may also be meant to include plural forms. The terms "comprise", "include", "contain" and "have" are inclusive and therefore specify the presence of stated features, steps, operations, elements and / or parts, but do not exclude the presence or addition of one or more other features, steps, operations, elements, parts, and / or combinations thereof. The method steps, processes, and operations described herein are not to be construed as necessarily requiring them to be performed in the specific order described or illustrated, unless the order of execution is clearly indicated. It should also be understood that additional or alternative steps may be used.
[0239] The foregoing description is intended only to provide specific embodiments of the present invention, which will enable those skilled in the art to understand and implement the present invention. Various modifications to these embodiments will be readily apparent to those skilled in the art, and the general principles defined herein may be implemented in other embodiments without departing from the spirit or scope of the present invention. Therefore, the present invention is not intended to be limited to the embodiments shown herein, but is intended to be accorded the widest scope consistent with the principles and novel features claimed herein.
Claims
1. An energy storage system, characterized in that: The system includes a first control device, a second control device and an energy storage power supply group, wherein the energy storage power supply group includes at least two energy storage power supplies; wherein: The first control device is communicatively connected to the first end of the second control device; The second end of the second control device is communicatively connected to each energy storage power source; During data communication between the first control device and the energy storage power supply, the second control device is configured as a host and the energy storage power supply is configured as a slave, so that the first control device communicates data with the energy storage power supply through the second control device.
2. The system according to claim 1, wherein: The second control device includes a plurality of interfaces, each of which corresponds to a physical address; wherein: The first control device is configured to: transmit the first communication data to the second control device; The second control device is configured to transmit the first communication data to the energy storage power supply through the physical address.
3. The system according to claim 2, characterized in that The second control device is configured to: Read back the second communication data from the energy storage power supply in sequence according to the physical address; determining whether the data request bit in the second communication data indicates that the first control device requests to obtain data of the energy storage power supply; If yes, the second communication data is sent to the first control device.
4. The system according to claim 1, wherein: The second control device is configured to: receiving first communication data about the energy storage power supply group sent by the first control device; Determining a target energy storage power source based on the first communication data; The first communication data is sent to the target energy storage power supply.
5. The system according to claim 1, wherein: The second control device is configured to: Acquire second communication data from the energy storage power supply; determining whether the data request bit in the second communication data indicates that the first control device requests to obtain data of the energy storage power supply; If yes, the second communication data is sent to the first control device.
6. The system according to claim 1, wherein: The second control device is configured to: receiving first communication data sent by the first control device; determining whether the first communication data includes a preset transparent transmission identifier; if the first communication data includes the preset transparent transmission identifier, transparently transmitting the first communication data to the energy storage power supply; and / or Acquire second communication data from the energy storage power supply; Determining whether the second communication data includes a preset transparent transmission identifier; In a case where the second communication data includes the preset transparent transmission identifier, the second communication data is transparently transmitted to the first control device.
7. The system according to any one of claims 1 to 6, characterized in that: The communication protocol between the second control device and the energy storage power supply complies with one of the following: Frame header, protocol version, physical address corresponding to the energy storage power supply, instruction length, command code indicating a read operation, the first address corresponding to the read operation, the length of the read-back data, and a check code; Frame header, protocol version, physical address corresponding to the energy storage power supply, instruction length, command code indicating a read operation, the first address corresponding to the read operation, the length of the read-back data, the data returned by the energy storage power supply, and a check code; Frame header, protocol version, physical address corresponding to the energy storage power supply, instruction length, command code indicating a write operation, first address corresponding to the write operation, length of written data, data sent by the second control device to the energy storage power supply, and a check code; Frame header, protocol version, physical address corresponding to the energy storage power supply, instruction length, command code indicating write operation, first address corresponding to write operation, length of written data, response data indicating data write failure or success, and check code.
8. The system according to any one of claims 1 to 6, characterized in that: The lengths of the communication links between the second control device and each energy storage power supply are equal.
9. A data communication method, characterized in that: The method is applied to a second control device, wherein a first end of the second control device is communicatively connected to the first control device, and a second end of the second control device is communicatively connected to each energy storage power supply in an energy storage power supply group, wherein the energy storage power supply group includes at least two energy storage power supplies. During data communication between the first control device and the energy storage power supply, the second control device is configured as a host and the energy storage power supply is configured as a slave. The method includes: receiving first communication data sent by the first control device; determining an energy storage power supply corresponding to the first communication data from the energy storage power supply group to obtain a target energy storage power supply; sending the first communication data to the target energy storage power supply; and / or Acquire second communication data from the energy storage power supply in the energy storage power supply group; and send the second communication data to the first control device.
10. A data communication method, characterized in that: The method is applied to a first control device, wherein the first control device is communicatively connected to a first end of a second control device, and a second end of the second control device is communicatively connected to each energy storage power supply in an energy storage power supply group, wherein the energy storage power supply group includes at least two energy storage power supplies. During data communication between the first control device and the energy storage power supply, the second control device is configured as a host and the energy storage power supply is configured as a slave. The method includes: sending first communication data of the energy storage power supply to the second control device, so that the second control device determines the energy storage power supply corresponding to the first communication data from the energy storage power supply group, obtains the target energy storage power supply, and sends the first communication data to the target energy storage power supply; and / or Second communication data sent by the second control device is received, wherein the second communication data is acquired from the energy storage power supply via the second control device.