Energy storage container control protection parameter acquisition method and device and battery cluster
Patent Information
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- BEIJING HYPERSTRONG TECH CO LTD
- Filing Date
- 2022-08-02
- Publication Date
- 2026-06-26
AI Technical Summary
In existing technologies, control and protection programs for each energy storage container need to be manually written before delivery and use, resulting in low project development efficiency.
By generating control and protection parameters for the battery cluster, the system automatically generates control and protection parameters based on the number of batteries in the battery cluster and the control and protection requirements, and sends these parameters to the battery cluster. The battery cluster then calls these parameters to perform control and protection processing based on the pre-stored control and protection program.
This allows battery clusters from different projects to share the same control and protection program, requiring only one development and testing, thus improving project development efficiency.
Smart Images

Figure CN115207953B_ABST
Abstract
Description
Technical Field
[0001] This application relates to the field of energy storage equipment technology, and in particular to a method, device and battery cluster for obtaining control and protection parameters of an energy storage container. Background Technology
[0002] An energy storage container is an energy storage device used to balance the power supply in a power system. It is widely used in power plants. When there is a surplus of electricity, the container stores the excess. During peak demand periods, the electricity stored in the container is released to power various devices. An energy storage container consists of multiple battery clusters, each equipped with a Battery Cluster Management System (BCMS). The BCMS performs control and protection procedures on the battery clusters based on control and protection parameters.
[0003] In related technologies, for each project, developers write corresponding control and protection programs based on project information and burn them into the battery cluster. These programs contain control and protection parameters used to implement the control and protection of the battery cluster. Based on this approach, before the energy storage container is delivered for use, developers need to manually write control and protection programs for each project, resulting in low development efficiency. Summary of the Invention
[0004] This application provides a method, device, and battery cluster for obtaining control and protection parameters of an energy storage container, aiming to solve the technical problem of low project development efficiency.
[0005] In a first aspect, this application provides a method for obtaining control and protection parameters of an energy storage container, the energy storage container including a battery cluster; the method includes: obtaining the number of batteries in the battery cluster; generating control and protection parameters for the battery cluster based on the number of batteries in the battery cluster and control and protection requirement parameters; sending the control and protection parameters to the battery cluster, the control and protection parameters being used by the battery cluster to perform control and protection processing by calling the control and protection parameters based on a pre-stored control and protection program.
[0006] Optionally, the method further includes: generating a mask for the battery cluster, wherein the mask for the battery cluster represents the location of the batteries within the battery cluster.
[0007] Optionally, generating the mask for the battery cluster includes: for each compartment in the battery cluster, establishing a binary number corresponding to the compartment, wherein the bits of the binary number correspond one-to-one with the slots in the compartment, and the slots are used to house batteries; obtaining the mask for the compartment by assigning a first value to the bits corresponding to the slots in the compartment where batteries are housed, and assigning a second value to the bits corresponding to the slots in the compartment where no batteries are housed; and integrating the masks of all compartments in the battery cluster to obtain the mask for the battery cluster.
[0008] Optionally, sending the control protection parameters to the battery cluster includes: writing each control protection parameter to a corresponding storage address according to the mapping relationship between the control protection parameters and a predetermined storage address in the battery cluster.
[0009] Secondly, this application provides another method for obtaining control and protection parameters of an energy storage container, the energy storage container including a battery cluster; the method includes: receiving control and protection parameters of the battery cluster sent by a control and protection parameter acquisition device of the energy storage container; the control and protection parameters of the battery cluster are generated by the control and protection parameter acquisition device according to the number of batteries in the battery cluster and the battery control and protection requirements parameters, and are used by the battery cluster to perform control and protection processing by calling the control and protection parameters based on a pre-stored control and protection program.
[0010] Optionally, the method further includes: receiving a mask of the battery cluster sent by the control and protection parameter acquisition device of the energy storage container, the mask of the battery cluster representing the position of the batteries within the battery cluster; determining the slots with batteries and slots without batteries within the battery cluster by parsing the mask of the battery cluster; filtering out the actual parameters corresponding to the slots without batteries from the actual parameters collected by the sensors, and retaining the actual parameters corresponding to the slots with batteries; and performing control and protection processing by calling the control and protection parameters of the battery cluster stored in the battery cluster according to the current actual parameters and the pre-stored control and protection program.
[0011] Optionally, the step of performing control protection processing by calling the control protection parameters of the battery cluster stored in the battery cluster based on the current actual parameters and the pre-stored control protection program includes: determining the first control protection parameter to be called; determining the first storage address corresponding to the first control protection parameter based on the mapping relationship between the control protection parameter and the predetermined storage address in the battery cluster; and performing corresponding control protection processing by calling the control protection parameter stored in the first storage address based on the current actual parameters and the control protection program.
[0012] The optional control and protection program includes programs corresponding to multiple control and protection types, and at least one control and protection type includes multiple subroutines corresponding to multiple demand types; the method further includes: receiving a first demand type under a first control and protection type input by the user; the step of performing control and protection processing by calling the control and protection parameters of the battery cluster stored in the battery cluster according to the current actual parameters and the pre-stored control and protection program includes: if the current control and protection type is the first control and protection type, then determining the subroutine corresponding to the first demand type from multiple subroutines under the first control and protection type according to the first demand type; and performing control and protection processing under the first control and protection type by calling the control and protection parameters of the battery cluster stored in the battery cluster according to the current actual parameters and the subroutine corresponding to the first demand type.
[0013] Thirdly, this application provides a control and protection parameter acquisition device for an energy storage container, the energy storage container including a battery cluster; the device includes: a processing module for acquiring the number of batteries in the battery cluster; the processing module is further configured to generate control and protection parameters for the battery cluster based on the number of batteries in the battery cluster and control and protection requirement parameters; and a sending module for sending the control and protection parameters to the battery cluster, the control and protection parameters being used by the battery cluster to perform control and protection processing by calling the control and protection parameters based on a pre-stored control and protection program.
[0014] Fourthly, this application provides a battery cluster for an energy storage container, the battery cluster comprising: a receiving module, configured to receive control and protection parameters of the battery cluster sent by a control and protection parameter acquisition device of the energy storage container; the control and protection parameters of the battery cluster are generated by the control and protection parameter acquisition device based on the number of batteries in the battery cluster and battery control and protection requirements parameters, and are used by the battery cluster to perform control and protection processing by calling the control and protection parameters based on a pre-stored control and protection program.
[0015] Fifthly, this application provides an electronic device, including: a processor, and a memory communicatively connected to the processor.
[0016] Sixthly, this application provides a computer-readable storage medium storing computer-executable instructions, which, when executed by a processor, are used to implement the method described above.
[0017] The method, apparatus, battery cluster, electronic settings, and medium for acquiring control and protection parameters of the energy storage container provided in this application generate control and protection parameters for the battery cluster based on the number of batteries and control and protection requirements. These parameters are then sent to the battery cluster, which, based on its control and protection program, executes control and protection processing by calling these parameters. This solution separates the control and protection program from the control and protection parameters. For battery clusters in different projects, control and protection parameters can be automatically generated and filled into the pre-stored control and protection program for the battery cluster. This eliminates the need for a single development and testing of the control and protection program for each project, thereby improving project development efficiency. Attached Figure Description
[0018] The accompanying drawings, which are incorporated in and form part of this specification, illustrate embodiments consistent with those of this application and, together with the description, serve to explain the principles of the embodiments of this application.
[0019] The accompanying drawings illustrate specific embodiments of this application, which will be described in more detail below. These drawings and descriptions are not intended to limit the scope of the embodiments of this application in any way, but rather to illustrate the concepts of the embodiments of this application to those skilled in the art through reference to specific embodiments.
[0020] Figure 1 A flowchart illustrating the method for obtaining control and protection parameters of an energy storage container as provided in Embodiment 1 of this application;
[0021] Figure 2 A flowchart illustrating another method for obtaining control and protection parameters of an energy storage container provided in Embodiment 1 of this application;
[0022] Figure 3 A flowchart illustrating an example mask generation method;
[0023] Figure 4 This is a schematic diagram showing the location of the battery inside an example compartment;
[0024] Figure 5 A flowchart illustrating the method for obtaining control and protection parameters of an energy storage container as provided in Embodiment 4 of this application;
[0025] Figure 6 A flowchart illustrating another method for obtaining control and protection parameters of an energy storage container provided in Embodiment 4 of this application;
[0026] Figure 7 This is a schematic diagram of the control and protection parameter acquisition device for the energy storage container provided in Embodiment Six of this application;
[0027] Figure 8This is a schematic diagram of the control and protection parameter acquisition device for an energy storage container provided in Embodiment 7 of this application;
[0028] Figure 9 This is a schematic diagram of the structure of the electronic device provided in Embodiment 8 of this application.
[0029] The accompanying drawings illustrate specific embodiments of this application, which will be described in more detail below. These drawings and descriptions are not intended to limit the scope of the concept in any way, but rather to illustrate the concept of this application to those skilled in the art through reference to particular embodiments. Detailed Implementation
[0030] Exemplary embodiments will now be described in detail, examples of which are illustrated in the accompanying drawings. When the following description relates to the drawings, unless otherwise indicated, the same numbers in different drawings denote the same or similar elements. The embodiments described in the following exemplary embodiments do not represent all embodiments consistent with this application. Rather, they are merely examples of apparatuses and methods consistent with some aspects of this application as detailed in the appended claims.
[0031] Energy storage containers are energy storage devices used to balance the power supply in a power system and are widely used in power plants. When there is a surplus of power, the energy storage container stores the excess power; during peak power demand periods, the power stored in the container is output to supply various devices.
[0032] The energy storage container comprises multiple parallel battery clusters, each containing multiple series-connected battery cells, and each battery cell containing multiple batteries connected in series. Each battery cluster is equipped with a BCMS (Battery Management System), whose main function is to intelligently manage and maintain the batteries within the cluster, preventing overcharging and over-discharging.
[0033] The control and protection parameters are safety thresholds for the battery cluster's operating parameters generated based on project information. For example, the maximum charging voltage of a single cell is 3.6V, the maximum charging current of a single cell is 1A, and the maximum charging voltage and maximum charging current of the battery cluster are 1420V and 1A, respectively.
[0034] During operation, the BCMS monitors the actual parameters of the battery cluster in real time. These parameters include the voltage, current, insulation status, battery SOC, battery pack status, and individual cell status (voltage, current, charge, temperature, etc.). The BCMS compares the current actual parameters with the control and protection parameters, and executes the corresponding control and protection procedures based on the comparison results.
[0035] For example, when the energy storage container is charging, the BCMS detects that the current voltage of a single cell in the corresponding battery cluster is 3.8V, which exceeds the safety threshold (3.6V) in the control and protection parameters. The BCMS then stops charging to prevent damage to the battery.
[0036] In related technologies, for each project, developers write corresponding control and protection programs based on project information and burn them into the battery cluster. These programs contain control and protection parameters used to implement the control and protection of the battery cluster. Based on this approach, before the energy storage container is delivered for use, developers need to manually write control and protection programs for each project, resulting in low development efficiency.
[0037] The technical solutions of this application will be described in detail below with reference to specific embodiments. These specific embodiments can be combined with each other, and the same or similar concepts or processes may not be repeated in some embodiments. In the description of this application, unless otherwise expressly specified and limited, the terms should be broadly understood within the art. The embodiments of this application will now be described with reference to the accompanying drawings.
[0038] Example 1
[0039] Figure 1 This is a flowchart illustrating the method for obtaining control and protection parameters of an energy storage container as provided in Embodiment 1 of this application. Figure 1 As shown, the method for obtaining control and protection parameters of the energy storage container provided in this embodiment includes:
[0040] S101: Obtain the number of batteries in the battery cluster;
[0041] S102: Generate control and protection parameters for the battery cluster based on the number of batteries in the battery cluster and the control and protection requirements parameters;
[0042] S103: Send the control protection parameters to the battery cluster. The control protection parameters are used by the battery cluster to perform control protection processing by calling the control protection parameters based on the pre-stored control protection program.
[0043] In practical applications, the number of batteries in a battery cluster can be determined based on project information provided by the customer, such as the required operating power, container capacity, and cell type.
[0044] After obtaining the number of batteries within the battery cluster, control and protection parameters for the battery cluster are generated based on the number of batteries and the control and protection requirements. These control and protection requirements refer to the parameters needed to obtain the control and protection parameters. The specific values of these parameters can be obtained from project information. For example, these parameters may include battery type, power requirements, and operating condition type (peak shaving, frequency regulation).
[0045] The following example illustrates the generation of control and protection parameters in a specific application. In one project, the battery cluster contains 400 cells. The control and protection requirements include battery type: model xx - lithium iron phosphate, power requirement: 160kW per cell cluster, etc. The safe voltage of the battery corresponding to model xx - lithium iron phosphate is (2.5V-3.6V), and the rated voltage is 3.2V. From this, the control and protection parameters can be obtained as follows: single cell overvoltage threshold is 3.6V, single cell undervoltage threshold is 2.5V, and the maximum charging voltage of the battery cluster is 1440V, etc.
[0046] In practical applications, control and protection parameters can be generated automatically. For example, a calculation table can be set up, including columns for control and protection parameters and columns for control and protection parameter requirements. Notably, the number of batteries can be set in the control and protection parameter requirement column. The table defines the functional relationship between the control and protection parameters and the control and protection parameter requirements. When applying the application, the control and protection requirements are input, and the corresponding control and protection parameters will be generated.
[0047] Of course, other computing tools can also be used, such as MATLAB, to automatically generate control and protection parameters.
[0048] After generating the control and protection parameters, these parameters are sent to the battery cluster. The battery cluster contains a pre-stored control and protection program, which can invoke the control and protection parameters to perform control and protection processing. This control and protection program can be written into the BCMS processor and can include methods for invoking the control and protection parameters. In other words, the control and protection parameters and the control and protection program are separate, rather than being directly embedded into the program code during the development phase. Therefore, the pre-stored control and protection program in this solution does not need to be changed due to changes in the control and protection parameters, and thus different projects can use the same control and protection program.
[0049] The following will provide a further explanation of S103 with examples. S103 includes:
[0050] Based on the mapping relationship between the control and protection parameters and the predetermined storage address in the battery cluster, each control and protection parameter is written to the corresponding storage address.
[0051] In practical applications, control and protection parameters can be generated by a control and protection parameter acquisition device within the energy storage container. This device sends the generated control and protection parameters to the battery cluster. For example, the device may include a host computer. A communication protocol exists between the control and protection parameter acquisition device and the battery cluster. This protocol can define the mapping relationship between the control and protection parameters and predetermined storage addresses in the battery cluster. Each control and protection parameter is written to its corresponding storage address according to this relationship. The control and protection program can then access the data stored at those addresses.
[0052] For example, Figure 2 This is a flowchart illustrating another method for obtaining control and protection parameters of an energy storage container provided in Embodiment 1 of this application, as shown below. Figure 2 As shown, the battery cluster includes 10 control and protection parameters 21, including the maximum charging voltage of a single cell (3.6V), the maximum charging current of a single cell (1A), and the maximum charging voltage of the battery cluster (1440V). It is agreed that the battery cluster has 10 storage addresses 23, each corresponding to a control and protection parameter 21. For example, address 05 corresponds to the maximum charging voltage of a single cell, address 06 corresponds to the maximum charging current of a single cell, and address 10 corresponds to the maximum charging voltage of the battery cluster. 3.6V, 1A, and 1440V are sent to addresses 05, 06, and 10, respectively. The control and protection program 22 calls the specific parameters from storage addresses 05 and 06 according to the mapping relationship.
[0053] In this example, based on the mapping relationship between control and protection parameters and predetermined storage addresses in the battery cluster, each control and protection parameter is written to the corresponding storage address, so that the control and protection program can accurately call the required control and protection parameters.
[0054] In this embodiment, control and protection parameters for the battery cluster are generated based on the number of batteries within the cluster and the control and protection requirements. These parameters are then sent to the battery cluster, which, based on the control and protection program, executes control and protection processing by invoking these parameters. This approach separates the control and protection program from the control and protection parameters. For battery clusters in different projects, control and protection parameters can be automatically generated and filled into the pre-stored control and protection program. This eliminates the need for a single development and testing of the control and protection program, instead of developing and testing it for each project individually, thus improving project development efficiency.
[0055] Example 2
[0056] Embodiment 2 of this application provides a method for obtaining control and protection parameters of an energy storage container. Based on the above embodiments, the method may further include: generating a mask for the battery cluster, wherein the mask for the battery cluster represents the position of the battery within the battery cluster.
[0057] In practical applications, to facilitate battery management within the battery cluster, the battery cluster comprises multiple series-connected boxes, each containing multiple series-connected batteries. The BCMS can collect the status parameters of each battery within a box. Each box contains multiple slots, each slot can be used to install one battery, and each slot is equipped with an information collector.
[0058] However, in some cases, not every slot has a battery. Figure 4 Here is a schematic diagram of the battery location inside the charging case as an example. Figure 4 As shown in one example, the number of slots 41 in the battery compartment is uniformly set to 12 to save time in configuring the compartments 41. When the number of batteries 42 is not divisible by the number of slots 42, some slots 41 in the compartments will not be configured with batteries 42, such as the first and sixth slots. This results in some false data in the collected data. To remove false data, BCMS needs to determine the specific location of the batteries 42 within each compartment of the battery cluster. Therefore, this solution generates a mask representing the position of the batteries within the battery cluster. The mask corresponds one-to-one with the distribution position of the batteries within the battery cluster. Once the position of one battery changes, the mask changes. The mask can be a character or a string of numbers.
[0059] This solution transforms the complex positional relationships of batteries within a battery cluster into a mask that BCMS can recognize, facilitating communication between different systems.
[0060] The mask generation process will be illustrated below. Figure 3 Here is a flowchart illustrating an example mask generation method, such as... Figure 3 As shown, the mask for generating the battery cluster includes:
[0061] S301: For each socket in the battery cluster, establish a binary number corresponding to the socket, wherein the bits of the binary number correspond one-to-one with the slots in the socket, and the slots are used to set up batteries;
[0062] S302: By assigning the bit corresponding to the slot in the box where a battery is installed to the first value, and assigning the bit corresponding to the slot in the box where no battery is installed to the second value, the mask of the box is obtained.
[0063] S303: Based on the masks of all the plug boxes in the battery cluster, the mask of the battery cluster is obtained by integrating them.
[0064] In this example, each socket has a certain number of slots, and each slot corresponds one-to-one with a bit of a binary number. The bit corresponding to the slot with a battery is assigned the first value, and the bit corresponding to the slot without a battery is assigned the second value, thus obtaining a binary number.
[0065] Furthermore, the binary number can be used directly as the box mask, or it can be converted to a hexadecimal number and used as the box mask. However, compared to binary, hexadecimal numbers are shorter and more convenient for data transmission.
[0066] After obtaining the masks of all the plug boxes, the masks of each plug box are then integrated into the mask of the battery cluster.
[0067] For example, the battery cluster includes 5 boxes, each with 12 slots. Boxes 1-4 each contain 12 batteries, meaning one battery is placed in each slot. Figure 4 As shown, slot 5 contains 10 batteries 42. Slots 1 and 6 are empty, with the first value set to 1 and the second value set to 0. Correspondingly, the binary number has 12 bits. Slots 1-4 have the same binary number, 111111111111. Converting this to hexadecimal FFF, the mask for slots 1-4 is FFF. For slot 5, the binary number is 011110111111, which is converted to hexadecimal 7DF. Therefore, the mask for slot 5 is 7DF. The mask for the battery cluster can be combined as FFF, FFF, FFF, FFF, 7DF.
[0068] This example provides a method for generating a mask for a battery cluster by mapping the slots in the socket to binary bits and obtaining a binary number based on the presence or absence of a battery in the slot, thereby obtaining the corresponding mask.
[0069] This embodiment generates a mask for the battery cluster, transmitting the location of the batteries within the battery cluster in a way that the control and protection program can recognize, so that the subsequent control and protection program can perform control and protection processing on the battery cluster based on the mask.
[0070] Example 3
[0071] Embodiment 3 of this application provides a method for obtaining control and protection parameters of an energy storage container, using a battery cluster as the executing entity for example. The method includes:
[0072] Receive the control and protection parameters of the battery cluster sent by the control and protection parameter acquisition device of the energy storage container;
[0073] The control and protection parameters of the battery cluster are generated by the control and protection parameter acquisition device based on the number of batteries in the battery cluster and the battery control and protection requirements. The battery cluster is used to perform control and protection processing by calling the control and protection parameters based on the pre-stored control and protection program.
[0074] In practical applications, the control and protection parameter acquisition device for energy storage containers is used to generate and transmit control and protection parameters. This device may include a host computer. The control and protection parameters are generated by this acquisition device based on the number of batteries within the battery cluster and the battery control and protection requirements. The number of batteries within the battery cluster can be calculated based on project information provided by the customer, such as the required operating power, the container's capacity, and the cell type.
[0075] Control and protection requirement parameters refer to the parameters needed to obtain control and protection parameters. The specific values of these parameters can be obtained from project information. For example, control and protection requirement parameters may include battery type, power requirements, and operating condition type (peak shaving, frequency regulation).
[0076] The following example illustrates the generation of control and protection parameters in a specific application. In one project, the battery cluster contains 400 cells. The control and protection requirements include battery type: model xx - lithium iron phosphate, power requirement: 160kW per cell cluster, etc. The safe voltage of the battery model xx - lithium iron phosphate is 2.5V-3.6V, and the rated voltage is 3.2V. From this, we can obtain the control and protection parameters such as the single-cell overvoltage threshold of 3.6V, the single-cell undervoltage threshold of 2.5V, and the maximum charging voltage of the battery cluster of 1440V.
[0077] In this embodiment, the control and protection parameters received by the energy storage container's control and protection parameter acquisition device are used to perform control and protection processing. The battery cluster has a pre-stored control and protection program, which can invoke the control and protection parameters based on the program to execute control and protection procedures. The control and protection program can be written into the BCMS processor. This program includes methods for invoking the control and protection parameters; that is, the control and protection parameters are separate from the program, rather than being directly written into it. The program does not change due to variations in the control and protection parameters, thus allowing battery clusters from different projects to use the same control and protection program.
[0078] In this embodiment, the control and protection parameter acquisition device of the energy storage container generates control and protection parameters for the battery cluster based on the number of batteries and control and protection requirements. The battery cluster, based on the control and protection program, executes control and protection processing by calling the control and protection parameters. This solution separates the control and protection program from the control and protection parameters. For battery clusters in different projects, control and protection parameters can be automatically generated and filled into the control and protection program pre-stored in the battery cluster. This way, only one development and testing of the control and protection program is required, instead of developing and testing the control and protection program for each project, thereby improving project development efficiency.
[0079] Example 4
[0080] Figure 5 This is a flowchart illustrating the method for obtaining control and protection parameters of an energy storage container as provided in Embodiment 4 of this application. Figure 5 As shown, based on Embodiment 3, the method further includes:
[0081] S501: Receive the mask of the battery cluster sent by the control and protection parameter acquisition device of the energy storage container, wherein the mask of the battery cluster represents the position of the battery within the battery cluster;
[0082] S502: By parsing the mask of the battery cluster, determine the slots in the battery cluster that have batteries and the slots that do not have batteries.
[0083] S503: Filter out the actual parameters corresponding to slots without batteries from the actual parameters collected by the sensor, and retain the actual parameters corresponding to slots with batteries.
[0084] S504: Based on the current actual parameters and the pre-stored control and protection program, control and protection processing is performed by calling the control and protection parameters of the battery cluster stored in the battery cluster.
[0085] In practical applications, to facilitate battery management within the battery cluster, the battery cluster comprises multiple series-connected boxes, each containing multiple series-connected batteries. The BCMS can collect the status parameters of each battery within a box. Each box has multiple slots, each slot can be used to install one battery, and each slot is equipped with a data acquisition sensor.
[0086] However, in some cases, not every slot has a battery. In one example, the number of slots in the battery compartment is uniformly set to 12 to save time configuring the compartments. When the number of batteries is not divisible by the number of slots, some slots in the compartments will not have batteries installed. This results in some false data in the collected data. To remove false data, BCMS needs to determine the specific location of the batteries in each compartment within the battery cluster.
[0087] Therefore, this scheme generates a mask representing the position of the batteries within the battery cluster. The mask corresponds one-to-one with the distribution position of the batteries within the battery cluster. Once the position of one battery changes, the mask will change. The mask can be a character or a string of numbers.
[0088] After receiving the mask, the mask is parsed to determine which slots in the battery cluster contain batteries and which do not.
[0089] The following is an example of the mask parsing process. In one example, the received mask is an array of hexadecimal numbers, where the group number represents the number of slots, and the specific value of each group number represents the mask in the corresponding slot. The hexadecimal numbers are converted into corresponding binary numbers, and the bits of the binary number correspond one-to-one with the slots. When the value of the corresponding bit of the binary number is 1, it means that the slot has a battery; when the value of the corresponding bit of the binary number is 0, it means that the slot does not have a battery.
[0090] For example, the received battery cluster mask is (FFF, FFF, FFF, FFF, 7DF), indicating that the battery cluster has 5 compartments. The batteries in compartments 1-4 are in the same position. Converting the mask into binary numbers, the mask for compartments 1-4 is 111111111111, and the mask for compartment 5 is 011110111111. Therefore, each compartment of the battery cluster has 12 slots. Each slot in compartments 1-4 is equipped with a battery. The first and sixth slots in compartment 5 are not equipped with batteries, while the remaining slots are equipped with batteries.
[0091] After identifying which slots within the battery cluster contain batteries and which do not, the actual parameters collected by the sensors are filtered out for slots without batteries, while the parameters for slots with batteries are retained. Based on the current actual parameters and the pre-stored control and protection program, control and protection processing is executed by calling the control and protection parameters stored in the battery cluster.
[0092] The following will further illustrate S504 with specific examples. In one example, S504 includes:
[0093] Determine the first control protection parameter that needs to be invoked;
[0094] The first storage address corresponding to the first control protection parameter is determined based on the mapping relationship between the control protection parameter and the predetermined storage address in the battery cluster.
[0095] Based on the current actual parameters and control protection program, the corresponding control protection processing is executed by calling the control protection parameters stored in the first storage address.
[0096] In this example, the first control and protection parameter is the control and protection parameter required for the current operating condition. For example, during the discharge process of the battery cluster, it is necessary to determine parameters such as the minimum discharge voltage and maximum discharge capacity of the battery in order to protect the battery based on these parameters. Therefore, the minimum discharge voltage and maximum discharge capacity are used as the first control and protection parameter.
[0097] Subsequently, after determining the first control and protection parameter, the first storage address corresponding to the first control and protection parameter is determined according to the mapping relationship between the control and protection parameter and the predetermined storage address in the battery cluster.
[0098] In practical applications, the mapping relationship between control protection parameters and predetermined storage addresses in the battery cluster is exemplified as follows: Figure 6 This is a flowchart illustrating another method for obtaining control and protection parameters of an energy storage container provided in Embodiment 4 of this application, as shown below. Figure 6 As shown, the control and protection parameter acquisition device 61 of the energy storage container has a communication protocol with the battery cluster 62. The communication protocol can define the mapping relationship between the control and protection parameters and the predetermined storage addresses in the battery cluster 62, and each control and protection parameter is written to the corresponding storage address. After determining the first control and protection parameter, the first storage address 621 can be obtained, and according to the actual parameters 623 of the current battery 624 and the control and protection program 622, the corresponding control and protection processing is executed by calling the control and protection parameter stored in the first storage address 621.
[0099] For example, if the battery is currently in a discharging state, the first control and protection parameters are determined to include parameters such as the maximum charging voltage of a single cell, the maximum charging current of a single cell, and the maximum charging voltage of the battery cluster. Based on the mapping relationship, the storage addresses corresponding to the maximum charging voltage of a single cell, the maximum charging current of a single cell, and the maximum charging voltage of the battery cluster are obtained as 05, 06, and 10, respectively. The control and protection program calls 3.6V, 1A, and 1440V in storage addresses 05, 06, and 10 to perform the corresponding control and protection processing.
[0100] This example determines the storage address corresponding to the first control protection parameter by mapping the control protection parameters to a predetermined storage address in the battery cluster. The control protection program can accurately call the required control protection parameters based on the storage address.
[0101] This embodiment identifies the slots with batteries and those without by parsing the mask. From the actual parameters collected by the sensor, it filters out the actual parameters corresponding to the slots without batteries and retains the actual parameters corresponding to the slots with batteries, thereby ensuring the reliability of the control and protection process.
[0102] Example 5
[0103] Embodiment 5 of this application provides a method for obtaining control and protection parameters of an energy storage container. Again, a battery cluster is used as the execution subject for illustrative purposes. Based on Embodiment 3 or Embodiment 4, the control and protection program includes programs corresponding to multiple control and protection types, and at least one control and protection type includes multiple subroutines corresponding to multiple demand types. The method further includes:
[0104] Receive user input for the first requirement type under the first protection type;
[0105] The step of performing control and protection processing based on current actual parameters and pre-stored control and protection programs by calling the control and protection parameters of the battery cluster stored in the battery cluster includes:
[0106] If the current protection control type is the first protection control type, then based on the first requirement type, determine the subroutine corresponding to the first requirement type from among the multiple subroutines under the first protection control type;
[0107] Based on the current actual parameters and the subroutine corresponding to the first requirement type, the control and protection processing under the first control and protection type is executed by calling the control and protection parameters of the battery cluster stored in the battery cluster.
[0108] In this embodiment, the control and protection program includes programs corresponding to multiple control and protection types. For example, programs corresponding to control and protection types may include programs for detecting voltage, detecting current, and detecting temperature. At least one control and protection type includes multiple subroutines corresponding to multiple demand types; for example, a program for detecting current may include multiple subroutines for detecting current. In specific applications, based on the received first demand type, the subroutine corresponding to the first demand type is determined from the multiple subroutines under the first control and protection type. The first demand type is selected by the customer; specifically, the customer's selection can be converted into numbers, included in the control and protection parameters, and sent through the control and protection parameter acquisition device.
[0109] To illustrate with a specific example: The first protection type is current detection, and its corresponding program is configured with a first subroutine and a second subroutine. The first subroutine is executed when the current is detected using a Hall sensor, and the second subroutine is executed when the current is detected using a shunt. The Hall sensor and the shunt are demand types. If the first demand type received is a shunt, then the first demand type corresponds to the second subroutine.
[0110] After determining the subroutine corresponding to the first demand type, based on the current actual parameters and the subroutine corresponding to the first demand type, the control and protection processing under the first control and protection type is executed by calling the control and protection parameters of the battery cluster stored in the battery cluster.
[0111] In this embodiment, multiple subroutines are configured for the program under each control and protection type. Each subroutine corresponds to a specific requirement type. Based on the received first requirement type, the subroutine corresponding to that first requirement type is determined. Then, based on the current actual parameters and the subroutine corresponding to the first requirement type, the control and protection processing under the first control and protection type is executed by calling the control and protection parameters of the battery cluster stored in the battery cluster. This solution, by configuring multiple subroutines for the program under each control and protection type, ensures that different projects can share a single control and protection program while also providing customers with more choices, thereby improving the personalized configuration of the battery cluster.
[0112] Example 6
[0113] Figure 7 This is a schematic diagram of the control and protection parameter acquisition device for the energy storage container provided in Embodiment Six of this application, as shown below. Figure 7 As shown in one example, the energy storage container includes a battery cluster. The control and protection parameter acquisition device for the energy storage container provided in this embodiment includes:
[0114] Processing module 71 is used to obtain the number of batteries in the battery cluster;
[0115] The processing module 71 is also used to generate control and protection parameters for the battery cluster based on the number of batteries in the battery cluster and the control and protection requirements parameters;
[0116] The sending module 72 is used to send the control protection parameters to the battery cluster. The control protection parameters are used by the battery cluster to perform control protection processing by calling the control protection parameters based on the pre-stored control protection program.
[0117] In practical applications, the number of batteries in a battery cluster can be determined based on project information provided by the customer, such as the required operating power, container capacity, and cell type.
[0118] After obtaining the number of batteries in the battery cluster, processing module 71 generates control and protection parameters for the battery cluster based on the number of batteries and control and protection requirement parameters. These control and protection requirement parameters are those needed to obtain the control and protection parameters. The specific values of these parameters can be obtained from project information. For example, control and protection requirement parameters may include battery type, power requirement, and operating condition type (peak shaving, frequency regulation).
[0119] The following example illustrates the generation of control and protection parameters in a specific application. In one project, the battery cluster contains 400 cells. The control and protection requirements include battery type: model xx - lithium iron phosphate, power requirement: 160kW per cell cluster, etc. The safe voltage of the battery corresponding to model xx - lithium iron phosphate is (2.5V-3.6V), and the rated voltage is 3.2V. From this, the control and protection parameters can be obtained as follows: single cell overvoltage threshold is 3.6V, single cell undervoltage threshold is 2.5V, and the maximum charging voltage of the battery cluster is 1440V, etc.
[0120] In practical applications, control and protection parameters can be generated automatically. For example, a calculation table can be set up, including columns for control and protection parameters and columns for control and protection parameter requirements. Notably, the number of batteries can be set in the control and protection parameter requirement column. The table defines the functional relationship between the control and protection parameters and the control and protection parameter requirements. When applying the application, the control and protection requirements are input, and the corresponding control and protection parameters will be generated.
[0121] Of course, other computing tools can also be used, such as MATLAB, to automatically generate control and protection parameters.
[0122] After generating the control and protection parameters, the sending module 72 sends the parameters to the battery cluster. The battery cluster contains a pre-stored control and protection program, which can call the control and protection parameters to perform control and protection processing. The control and protection program can be written into the BCMS processor and can include methods for calling the control and protection parameters. In other words, the control and protection parameters are separate from the control and protection program, rather than being directly embedded into the program code during the development phase. Therefore, the pre-stored control and protection program in this solution does not need to be changed due to changes in the control and protection parameters, and thus different projects can use the same control and protection program.
[0123] The following will provide a further description of the sending module 72 with reference to an example. In one example, the sending module 72 is specifically used to write each control protection parameter to the corresponding storage address according to the mapping relationship between the control protection parameters and the predetermined storage address in the battery cluster.
[0124] In practical applications, the control and protection parameter acquisition device and the battery cluster have a communication protocol. This protocol defines the mapping relationship between the control and protection parameters and predetermined storage addresses in the battery cluster. Each control and protection parameter is written to its corresponding storage address based on this relationship. The control and protection program can then access the data stored at those addresses.
[0125] For example, Figure 2 This is a flowchart illustrating the method for obtaining control and protection parameters of an additional energy storage container provided in Embodiment 1 of this application. Figure 2As shown, the battery cluster includes 10 control and protection parameters 21, including the maximum charging voltage of a single cell (3.6V), the maximum charging current of a single cell (1A), and the maximum charging voltage of the battery cluster (1440V). It is agreed that the battery cluster has 10 pre-defined storage addresses 23, each corresponding to a control and protection parameter. For example, address 05 corresponds to the maximum charging voltage of a single cell, address 06 corresponds to the maximum charging current of a single cell, and address 10 corresponds to the maximum charging voltage of the battery cluster. 3.6V, 1A, and 1440V are sent to addresses 05, 06, and 10, respectively. The control and protection program 22 calls the specific parameters from storage addresses 05 and 06 according to the mapping relationship.
[0126] In this example, the sending module writes each control protection parameter to the corresponding storage address based on the mapping relationship between the control protection parameters and the predetermined storage address in the battery cluster, so that the control protection program can accurately call the required control protection parameters.
[0127] Based on any example, the acquisition device may further include: a processing module 71, for generating a mask of the battery cluster, the mask of the battery cluster representing the position of the battery within the battery cluster.
[0128] In practical applications, to facilitate battery management within the battery cluster, the battery cluster comprises multiple series-connected boxes, each containing multiple series-connected batteries. The BCMS can collect the status parameters of each battery within a box. Each box contains multiple slots, each slot can be used to install one battery, and each slot is equipped with an information collector.
[0129] However, in some cases, not every slot has a battery. Figure 4 Here is a schematic diagram of the battery location inside the charging case as an example. Figure 4 As shown in one example, the number of slots 41 in the battery compartment is uniformly set to 12 to save time in configuring the compartments 41. When the number of batteries 42 is not divisible by the number of slots 42, some compartments will not have batteries 42 installed in slots 41. This results in some false data in the collected data. To remove false data, BCMS needs to determine the specific location of the batteries 42 within each compartment of the battery cluster. Therefore, this solution generates a mask representing the position of the batteries within the battery cluster. The mask corresponds one-to-one with the distribution position of the batteries within the battery cluster. Once the position of one battery changes, the mask changes. The mask can be a character or a string of numbers.
[0130] In this example, the complex positional relationship of the batteries within the battery cluster is transformed into a mask that can be recognized by BCMS, which facilitates communication between different systems.
[0131] The processing module 71 will now be described by way of example. In one example, continue to refer to... Figure 4 The processing module 71 is specifically used to establish a binary number corresponding to each socket in the battery cluster, wherein the bits of the binary number correspond one-to-one with the slots in the socket, and the slots are used to set up batteries;
[0132] The processing module 71 is further configured to obtain the mask of the plug box by assigning a first value to the bit corresponding to the slot in the plug box where a battery is provided, and assigning a second value to the bit corresponding to the slot in the plug box where no battery is provided.
[0133] The processing module 71 is further configured to integrate the masks of all the plug boxes in the battery cluster to obtain the mask of the battery cluster.
[0134] In this example, each socket has a certain number of slots, and each slot corresponds one-to-one with a bit of a binary number. The bit corresponding to the slot with a battery is assigned the first value, and the bit corresponding to the slot without a battery is assigned the second value, thus obtaining a binary number.
[0135] Furthermore, the binary number can be used directly as the box mask, or it can be converted to a hexadecimal number and used as the box mask. However, compared to binary, hexadecimal numbers are shorter and more convenient for data transmission.
[0136] After obtaining the masks of all the plug boxes, the processing module 71 integrates the masks of each plug box into the mask of the battery cluster.
[0137] For example, the battery cluster includes 5 boxes, each with 12 slots. Boxes 1-4 each contain 12 batteries, meaning one battery is placed in each slot. Figure 4 As shown, slot 5 contains 10 batteries 42. Slots 1 and 6 41 are empty, with the first value set to 1 and the second value set to 0. Correspondingly, the binary number has 12 bits. Slots 1-4 have the same binary number, 111111111111. Converting this to hexadecimal FFF, the mask for slots 1-4 is FFF. For slot 5, the binary number is 011110111111, which is converted to hexadecimal 7DF. Therefore, the mask for slot 5 is 7DF. The mask for the battery cluster can be combined as FFF, FFF, FFF, FFF, 7DF.
[0138] In this example, the processing module maps the slots within the enclosure to binary bits and obtains the binary number based on the presence or absence of a battery in the slot, thus generating the corresponding mask. This example uses the processing module to generate a mask for the battery cluster, transmitting the battery positions within the cluster in a way that is recognizable by the control and protection program. This facilitates subsequent control and protection procedures to perform control and protection processing on the battery cluster based on the mask.
[0139] In this embodiment, control and protection parameters for the battery cluster are generated based on the number of batteries within the cluster and the control and protection requirements. These parameters are then sent to the battery cluster, which, based on the control and protection program, executes control and protection processing by invoking these parameters. This approach separates the control and protection program from the control and protection parameters. For battery clusters in different projects, control and protection parameters can be automatically generated and filled into the pre-stored control and protection program. This eliminates the need for a single development and testing of the control and protection program, instead of developing and testing it for each project individually, thus improving project development efficiency.
[0140] Example 7
[0141] Figure 8 This is a schematic diagram of the battery cluster structure provided in Embodiment 7 of this application, as shown below. Figure 8 As shown, the battery cluster of the energy storage container provided in this embodiment includes:
[0142] Receiver module 81 is used to receive the control and protection parameters of the battery cluster sent by the control and protection parameter acquisition device of the energy storage container;
[0143] The control and protection parameters of the battery cluster are generated by the control and protection parameter acquisition device of the energy storage container based on the number of batteries in the battery cluster and the battery control and protection requirements. The battery cluster is used to perform control and protection processing by calling the control and protection parameters based on the pre-stored control and protection program.
[0144] In practical applications, the control and protection parameter acquisition device for energy storage containers is used to generate and transmit control and protection parameters. This device may include a host computer. The control and protection parameters are generated by this acquisition device based on the number of batteries within the battery cluster and the battery control and protection requirements. The number of batteries within the battery cluster can be calculated based on project information provided by the customer, such as the required operating power, the container's capacity, and the cell type.
[0145] Control and protection requirement parameters refer to the parameters needed to obtain control and protection parameters. The specific values of these parameters can be obtained from project information. For example, control and protection requirement parameters may include battery type, power requirements, and operating condition type (peak shaving, frequency regulation).
[0146] In this example, receiving module 81 receives control and protection parameters from the energy storage container's control and protection parameter acquisition device. The battery cluster has a pre-stored control and protection program, which can be used to execute control and protection processing by calling the control and protection parameters based on this program. The control and protection program can be written into the BCMS processor. This program includes the method for calling the control and protection parameters; that is, the control and protection parameters are separate from the program, rather than being directly written into it. The program does not change due to changes in the control and protection parameters, thus allowing battery clusters from different projects to use the same control and protection program.
[0147] Based on the above examples, continue to refer to Figure 8 The battery cluster further includes:
[0148] The receiving module 81 is used to receive the mask of the battery cluster sent by the development device, wherein the mask of the battery cluster represents the position of the battery within the battery cluster;
[0149] Analysis module 82 is used to determine the slots with batteries and slots without batteries within the battery cluster by parsing the mask of the battery cluster.
[0150] The filtering module 83 is used to filter out the actual parameters corresponding to the slots without batteries from the actual parameters collected by the sensor, and retain the actual parameters corresponding to the slots with batteries.
[0151] The calling module 84 is used to perform control and protection processing by calling the control and protection parameters of the battery cluster stored in the battery cluster, based on the current actual parameters and the pre-stored control and protection program.
[0152] In practical applications, to facilitate battery management within the battery cluster, the battery cluster comprises multiple series-connected boxes, each containing multiple series-connected batteries. The BCMS can collect the status parameters of each battery within a box. Each box has multiple slots, each slot can be used to install one battery, and each slot is equipped with a data acquisition sensor.
[0153] However, in some cases, not every slot has a battery. In one example, the number of slots in the battery compartment is uniformly set to 12 to save time configuring the compartments. When the number of batteries is not divisible by the number of slots, some slots in the compartments will not have batteries installed. This results in some false data in the collected data. To remove false data, BCMS needs to determine the specific location of the batteries in each compartment within the battery cluster.
[0154] Therefore, this scheme generates a mask representing the position of the batteries within the battery cluster. The mask corresponds one-to-one with the distribution position of the batteries within the battery cluster. Once the position of one battery changes, the mask will change. The mask can be a character or a string of numbers.
[0155] After receiving the mask, the receiving module 81 analyzes the mask to determine which slots in the battery cluster are equipped with batteries and which are not.
[0156] The following is an example of the mask parsing process. In one example, the received mask is an array of hexadecimal numbers, where the group number represents the number of slots, and the specific value of each group number represents the mask in the corresponding slot. The hexadecimal numbers are converted into corresponding binary numbers, and the bits of the binary number correspond one-to-one with the slots. When the value of the corresponding bit of the binary number is 1, it means that the slot has a battery; when the value of the corresponding bit of the binary number is 0, it means that the slot does not have a battery.
[0157] After the analysis module 82 determines which slots within the battery cluster contain batteries and which do not, the filtering module 83 filters out the actual parameters corresponding to slots without batteries from the actual parameters collected by the sensors, and retains the actual parameters corresponding to slots with batteries. The calling module 84, based on the current actual parameters and the pre-stored control and protection program, executes control and protection processing by calling the control and protection parameters stored in the battery cluster.
[0158] The following will further explain the calling module 84 with specific examples. In one example, the calling module 84 is specifically used to determine the first control protection parameter that needs to be called.
[0159] The calling module 84 is further used to determine the first storage address corresponding to the first control protection parameter based on the mapping relationship between the control protection parameter and the predetermined storage address in the battery cluster;
[0160] The calling module 84 is specifically used to execute corresponding control and protection processing by calling the control and protection parameters stored in the first storage address based on the current actual parameters and control and protection program.
[0161] In this example, the first control and protection parameter is the control and protection parameter required for the current operating condition. For example, during the discharge process of the battery cluster, it is necessary to determine parameters such as the minimum discharge voltage and maximum discharge capacity of the battery in order to protect the battery based on these parameters. Therefore, the minimum discharge voltage and maximum discharge capacity are used as the first control and protection parameter.
[0162] Subsequently, after calling module 84 to determine the first control protection parameter, the first storage address corresponding to the first control protection parameter is determined according to the mapping relationship between the control protection parameter and the predetermined storage address in the battery cluster.
[0163] In practical applications, the mapping relationship between control protection parameters and predetermined storage addresses in the battery cluster is exemplified as follows: Figure 6 As shown, the control and protection parameter acquisition device 61 of the energy storage container has a communication protocol with the battery cluster 62. The communication protocol can define the mapping relationship between the control and protection parameters and the predetermined storage addresses in the battery cluster 62. Each control and protection parameter is written to the corresponding storage address 621. After determining the first control and protection parameter, the first storage address can be obtained, and according to the actual parameters 623 of the current battery 624 and the control and protection program 622, the corresponding control and protection processing is executed by calling the control and protection parameter stored in the first storage address.
[0164] For example, if the battery is currently in a discharging state, the first control and protection parameters are determined to include parameters such as the maximum charging voltage of a single cell, the maximum charging current of a single cell, and the maximum charging voltage of the battery cluster. Based on the mapping relationship, the storage addresses corresponding to the maximum charging voltage of a single cell, the maximum charging current of a single cell, and the maximum charging voltage of the battery cluster are obtained as 05, 06, and 10, respectively. The control and protection program calls 3.6V, 1A, and 1440V in storage addresses 05, 06, and 10 to perform the corresponding control and protection processing.
[0165] In this example, the calling module determines the storage address corresponding to the first control protection parameter by controlling the mapping relationship between the protection parameters and the predetermined storage address in the battery cluster, and can accurately call the required control protection parameter based on the storage address.
[0166] This example uses an analysis module to parse the mask and determine which slots within the battery cluster have batteries and which do not. Then, a filtering module filters out the actual parameters corresponding to slots without batteries from the actual parameters collected from the sensors, while retaining the actual parameters corresponding to slots with batteries. This ensures the reliability of the control and protection process.
[0167] In one example, based on any of the above examples, the control and protection program includes programs corresponding to multiple control and protection types, and at least one control and protection type includes multiple subroutines corresponding to multiple requirement types, such as... Figure 8 As shown,
[0168] Receiver module 81 is used to receive the first demand type under the first control and protection type input by the user;
[0169] Calling module 84 includes:
[0170] The determining unit 841 is used to determine the subroutine corresponding to the first requirement type from multiple subroutines under the first requirement type if the current protection type is the first protection type.
[0171] Calling unit 842 is used to execute control and protection processing under the first control and protection type by calling the control and protection parameters of the battery cluster stored in the battery cluster, based on the current actual parameters and the subroutine corresponding to the first demand type.
[0172] In this example, the control and protection program includes programs corresponding to multiple control and protection types. For example, programs corresponding to control and protection types may include programs for detecting voltage, current, and temperature. At least one control and protection type includes multiple subroutines corresponding to multiple demand types; for example, the program corresponding to current detection may include multiple subroutines for current detection. In specific applications, based on the received first demand type, the subroutine corresponding to the first demand type is determined from the multiple subroutines under the first control and protection type. The first demand type is selected by the customer; specifically, the customer's selection can be converted into numbers, included in the control and protection parameters, and sent through the control and protection parameter acquisition device.
[0173] To illustrate with a specific example: The first protection type is current detection, and its corresponding program is configured with a first subroutine and a second subroutine. The first subroutine is executed when the current is detected using a Hall sensor, and the second subroutine is executed when the current is detected using a shunt. The Hall sensor and the shunt are demand types. If the first demand type received is a shunt, then the first demand type corresponds to the second subroutine.
[0174] After determining the subroutine corresponding to the first demand type, the calling unit 842 executes the control and protection processing under the first control and protection type by calling the control and protection parameters of the battery cluster stored in the battery cluster, based on the current actual parameters and the subroutine corresponding to the first demand type.
[0175] In this example, multiple subroutines are configured for the control and protection type program. Each subroutine corresponds to a specific requirement type. Based on the received first requirement type, the determining unit identifies the subroutine corresponding to that first requirement type. The calling unit, based on the current actual parameters and the subroutine corresponding to the first requirement type, executes the control and protection processing under the first control and protection type by calling the control and protection parameters of the battery cluster stored in the battery cluster. This solution, by configuring multiple subroutines for the control and protection type program, ensures that different projects can share a single control and protection program while providing customers with more choices, thereby improving the personalized configuration of the battery cluster.
[0176] In this embodiment, the control and protection parameter acquisition device of the energy storage container generates control and protection parameters for the battery cluster based on the number of batteries and control and protection requirements. The battery cluster, based on the control and protection program, executes control and protection processing by calling the control and protection parameters. This solution separates the control and protection program from the control and protection parameters. For battery clusters in different projects, control and protection parameters can be automatically generated and filled into the control and protection program pre-stored in the battery cluster. This way, only one development and testing of the control and protection program is required, instead of developing and testing the control and protection program for each project, thereby improving project development efficiency.
[0177] Example 8
[0178] Figure 9 This is a schematic diagram of the structure of the electronic device provided in Embodiment 8 of this application, as shown below. Figure 9 As shown, the electronic device includes:
[0179] The electronic device includes a processor 291 and a memory 292; it may also include a communication interface 293 and a bus 294. The processor 291, memory 292, and communication interface 293 can communicate with each other via the bus 294. The communication interface 293 can be used for information transmission. The processor 291 can invoke logical instructions stored in the memory 292 to execute the methods of the above embodiments.
[0180] Furthermore, the logic instructions in the aforementioned memory 292 can be implemented as software functional units and, when sold or used as independent products, can be stored in a computer-readable storage medium.
[0181] The memory 292, as a computer-readable storage medium, can be used to store software programs and computer-executable programs, such as program instructions / modules corresponding to the methods in the embodiments of this application. The processor 291 executes functional applications and data processing by running the software programs, instructions, and modules stored in the memory 292, thereby implementing the methods in the above-described method embodiments.
[0182] The memory 292 may include a program storage area and a data storage area. The program storage area may store the operating system and application programs required for at least one function; the data storage area may store data created based on the use of the terminal device. Furthermore, the memory 292 may include high-speed random access memory and may also include non-volatile memory.
[0183] This application also provides a computer-readable storage medium storing computer-executable instructions, which, when executed by a processor, are used to implement the methods described in any of the embodiments.
[0184] Other embodiments of this application will readily occur to those skilled in the art upon consideration of the specification and practice of the invention disclosed herein. This application is intended to cover any variations, uses, or adaptations of this application that follow the general principles of this application and include common knowledge or customary techniques in the art not disclosed herein. The specification and examples are to be considered exemplary only, and the true scope and spirit of this application are indicated by the claims.
[0185] It should be understood that this application is not limited to the precise structure described above and shown in the accompanying drawings, and various modifications and changes can be made without departing from its scope. The scope of this application is limited only by the appended claims.
Claims
1. A method for obtaining control and protection parameters of an energy storage container, characterized in that, The energy storage container includes a battery cluster; the method includes: Obtain the number of batteries within the battery cluster; Based on the number of batteries in the battery cluster and the control and protection requirements, the control and protection parameters of the battery cluster are generated; For each compartment in the battery cluster, a binary number corresponding to the compartment is established, wherein the bits of the binary number correspond one-to-one with the slots in the compartment, and the slots are used to install batteries; The mask of the plug box is obtained by assigning a first value to the bit corresponding to the slot in the plug box where a battery is installed, and assigning a second value to the bit corresponding to the slot in the plug box where no battery is installed. The mask of the battery cluster is obtained by integrating the masks of all the plug boxes in the battery cluster. The mask of the battery cluster represents the position of the battery in the battery cluster. Based on the mapping relationship between the control and protection parameters and the predetermined storage address in the battery cluster, each control and protection parameter is written to the corresponding storage address. The control and protection parameters are used by the battery cluster to perform control and protection processing by calling the pre-stored control and protection program.
2. A method for obtaining control and protection parameters of an energy storage container, characterized in that, The energy storage container includes a battery cluster; the method includes: The control and protection parameters of the battery cluster are received from the control and protection parameter acquisition device of the energy storage container. The control and protection parameters of the battery cluster are generated by the control and protection parameter acquisition device based on the number of batteries in the battery cluster and the battery control and protection requirements. The device receives the mask of the battery cluster sent by the control and protection parameter acquisition device of the energy storage container. The mask of the battery cluster represents the position of the battery in the battery cluster. By parsing the mask of the battery cluster, the slots with batteries and slots without batteries within the battery cluster can be determined. From the actual parameters collected by the sensor, filter out the actual parameters corresponding to the slots without batteries and retain the actual parameters corresponding to the slots with batteries. Based on the current actual parameters and the pre-stored control and protection program, control and protection processing is performed by calling the control and protection parameters of the battery cluster stored in the battery cluster.
3. The method according to claim 2, characterized in that, The step of performing control and protection processing based on current actual parameters and pre-stored control and protection programs by calling the control and protection parameters of the battery cluster stored in the battery cluster includes: Determine the first control protection parameter that needs to be invoked; The first storage address corresponding to the first control protection parameter is determined based on the mapping relationship between the control protection parameter and the predetermined storage address in the battery cluster. Based on the current actual parameters and control protection program, the corresponding control protection processing is executed by calling the control protection parameters stored in the first storage address.
4. The method according to claim 2 or 3, characterized in that, The control and protection program includes programs corresponding to multiple control and protection types, and at least one control and protection type includes subroutines corresponding to multiple requirement types; the method further includes: Receive user input for the first requirement type under the first protection type; The step of performing control and protection processing based on current actual parameters and pre-stored control and protection programs by calling the control and protection parameters of the battery cluster stored in the battery cluster includes: If the current protection control type is the first protection control type, then based on the first requirement type, determine the subroutine corresponding to the first requirement type from among the multiple subroutines under the first protection control type; Based on the current actual parameters and the subroutine corresponding to the first requirement type, the control and protection processing under the first control and protection type is executed by calling the control and protection parameters of the battery cluster stored in the battery cluster.
5. A device for acquiring control and protection parameters of an energy storage container, characterized in that, The energy storage container includes a battery cluster; the device includes: The processing module is used to obtain the number of batteries in the battery cluster; The processing module is also used to generate control and protection parameters for the battery cluster based on the number of batteries in the battery cluster and the control and protection requirements parameters. The processing module is also used to establish a binary number corresponding to each socket in the battery cluster, wherein the bits of the binary number correspond one-to-one with the slots in the socket, and the slots are used to set up batteries; The mask of the plug box is obtained by assigning a first value to the bit corresponding to the slot in the plug box where a battery is installed, and assigning a second value to the bit corresponding to the slot in the plug box where no battery is installed. The mask of the battery cluster is obtained by integrating the masks of all the plug boxes in the battery cluster. The mask of the battery cluster represents the position of the battery in the battery cluster. The sending module is used to write each control protection parameter to the corresponding storage address according to the mapping relationship between the control protection parameters and the predetermined storage address in the battery cluster. The control protection parameters are used by the battery cluster to perform control protection processing by calling the control protection parameters based on the pre-stored control protection program.
6. A battery cluster for an energy storage container, characterized in that, The battery cluster includes: The receiving module is used to receive the control and protection parameters of the battery cluster sent by the control and protection parameter acquisition device of the energy storage container. The control and protection parameters of the battery cluster are generated by the control and protection parameter acquisition device based on the number of batteries in the battery cluster and the battery control and protection requirements. The receiving module is also used to receive the mask of the battery cluster sent by the control and protection parameter acquisition device of the energy storage container, wherein the mask of the battery cluster represents the position of the battery in the battery cluster. The analysis module is used to determine which slots within the battery cluster contain batteries and which do not by parsing the mask of the battery cluster. The filtering module is used to filter out the actual parameters corresponding to slots without batteries from the actual parameters collected by the sensor, and retain the actual parameters corresponding to slots with batteries. The calling module is used to perform control and protection processing by calling the control and protection parameters of the battery cluster stored in the battery cluster, based on the current actual parameters and the pre-stored control and protection program.
7. An electronic device, characterized in that, include: A processor, and a memory communicatively connected to the processor; The memory stores computer-executed instructions; The processor executes computer execution instructions stored in the memory to implement the method as described in claim 1.
8. An electronic device, characterized in that, include: A processor, and a memory communicatively connected to the processor; The memory stores computer-executed instructions; The processor executes computer execution instructions stored in the memory to implement the method as described in any one of claims 2-4.
9. A computer-readable storage medium, characterized in that, The computer-readable storage medium stores computer-executable instructions, which, when executed by a processor, are used to implement the method as described in claim 1.
10. A computer-readable storage medium, characterized in that, The computer-readable storage medium stores computer-executable instructions, which, when executed by a processor, are used to implement the method as described in any one of claims 2-4.