Charging and discharging method and device for multiple groups of parallel batteries and storage medium

By sorting the voltage values ​​of multiple sets of parallel batteries, the charge and discharge sequence control of the BMS battery is achieved, which solves the problem of insufficient system efficiency caused by the sluggish battery pack and improves the efficiency of the battery pack.

CN119482852AInactive Publication Date: 2025-02-18东莞日升质新能源科技有限公司
View PDF 2 Cites 0 Cited by

Patent Information

Application Number
CN202411717188.1
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2024-11-27
Publication Date
2025-02-18
Estimated Expiration
Not applicable · inactive patent

AI Technical Summary

Technical Problem

In the existing multi-group BMS battery charge and discharge management systems, a single battery pack is prone to stagnation, resulting in insufficient efficiency of the entire system.

Method used

By sorting the voltage values ​​of multiple sets of parallel batteries, a sorted voltage set is obtained, and the battery is controlled in different charge and discharge orders according to the sorted voltage set during charging and discharging.

Benefits of technology

It effectively avoids the insufficient capacity utilization efficiency of multiple sets of BMS batteries during charging and discharging, improves the practical capacity efficiency of BMS battery packs, and solves the problem of sluggishness of a single battery pack.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN119482852A_ABST
    Figure CN119482852A_ABST
Patent Text Reader

Abstract

The invention relates to the field of battery management, and discloses a charging and discharging method and device for multiple groups of parallel batteries and a storage medium. The method comprises the following steps: reading voltage values of N groups of BMS batteries to obtain a battery voltage set, and sorting the battery voltage set according to the voltage values of the N groups of BMS batteries to obtain a sorted voltage set; a battery charging instruction is received, and whether the maximum voltage value in the sorting voltage set is smaller than a preset charging threshold value or not is judged; if yes, the N groups of BMS batteries are charged; if not, charging the N groups of BMS batteries according to the sorting voltage set; receiving a battery discharge instruction, and performing abnormity verification processing on the N groups of BMS batteries to obtain a verification result; and if the verification result is qualified, discharging the N groups of BMS batteries according to the sorting voltage set. In the embodiment of the invention, the charging and discharging efficiency of the BMS battery pack is improved by utilizing the sorting voltage set, and the problem that a single battery pack of the BMS battery pack is dull is solved.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present invention relates to the field of battery management, and in particular to a charging and discharging method, device and storage medium for multiple groups of parallel batteries. Background Art

[0002] The battery management system (BMS) is a key technology in battery applications such as electric vehicles and energy storage systems. It is responsible for monitoring and managing the working status of the battery pack to ensure safe, reliable and efficient operation of the battery. The main functions of BMS include battery status monitoring, battery safety protection, charging management, battery balancing control and thermal management. It estimates the battery's state of charge (SOC), state of health (SOH), and state of power (SOP) by collecting data such as battery cell voltage, current, and temperature, and controls the battery's charge and discharge based on these data to prevent risks such as overcharging, over-discharging, and thermal runaway. BMS also reduces inconsistencies between battery cells through balancing management and extends the service life of the battery pack.

[0003] In the field of industrial production, BMS ensures the performance and safety of battery packs, especially in industrial handling robots, automatic forklifts, patrol cars and other equipment. These devices require batteries with high reliability, long life and low maintenance costs, and BMS achieves these requirements by accurately monitoring and managing battery status. However, in the existing BMS battery management system, there will be a situation where a single battery pack is sluggish in the multi-group BMS battery charge and discharge management. The sluggish battery pack does not participate in the battery charging and discharging process, resulting in insufficient efficiency of the entire BMS battery management system. Therefore, in order to solve the technical problem of a single battery pack sluggish in the current multi-group BMS battery charge and discharge management, a new technology is needed to solve the current problem. Summary of the invention

[0004] The main purpose of the present invention is to solve the technical problem of sluggishness of a single battery group in the current multi-group BMS battery charge and discharge management.

[0005] A first aspect of the present invention provides a method for charging and discharging multiple groups of parallel-connected batteries, the method comprising:

[0006] Reading the voltage values ​​of N groups of BMS batteries to obtain a battery voltage set, wherein N is a positive integer greater than 2, and the N groups of BMS batteries are connected in parallel;

[0007] According to the voltage values ​​of the N groups of BMS batteries, the battery voltage set is sorted to obtain a sorted voltage set;

[0008] When receiving a battery charging instruction, determining whether the maximum voltage value in the sorted voltage set is less than a preset charging threshold;

[0009] If it is less than the preset charging threshold, all the charging switches corresponding to the N groups of BMS batteries are turned on to charge the N groups of BMS batteries;

[0010] If it is not less than the preset charging threshold, charging the N groups of BMS batteries is performed according to the sorted voltage set;

[0011] When receiving a battery discharge instruction, an abnormality check is performed on N groups of BMS batteries to obtain a check result;

[0012] If the verification result is qualified, the N groups of BMS batteries are discharged according to the sorted voltage set.

[0013] Optionally, in a first implementation of the first aspect of the present invention, the charging process for N groups of BMS batteries according to the sorted voltage set includes:

[0014] Based on the values ​​of the sorted voltage set from small to large, determining whether the i-th group of BMS batteries has a battery abnormality, wherein i=1, 2, 3, ..., N;

[0015] If there is no abnormality in the i-th group of BMS batteries, charging the i-th group of BMS batteries;

[0016] If the i-th group of BMS batteries has a battery abnormality, it is determined whether the i+1-th group of BMS batteries has a battery abnormality.

[0017] Optionally, in a second implementation of the first aspect of the present invention, performing abnormality verification processing on N groups of BMS batteries to obtain a verification result includes:

[0018] Perform communication test processing on N groups of BMS batteries to obtain the communication delay time of N groups;

[0019] Determine whether the communication delay duration of N groups is greater than a preset delay threshold;

[0020] If there is no delay greater than the preset threshold, the N groups of BMS batteries are subjected to discharge analysis and processing to obtain N discharge voltages and N discharge currents;

[0021] Determine whether N discharge voltages are greater than a preset over-discharge threshold;

[0022] If none of the N discharge voltages is greater than the preset over-discharge threshold, determining whether the N discharge currents exceed the preset short-circuit threshold;

[0023] If none of the N discharge currents is greater than the preset short-circuit threshold, the verification result is determined to be qualified.

[0024] Optionally, in a third implementation of the first aspect of the present invention, the discharging process of N groups of BMS batteries according to the sorted voltage set includes:

[0025] Based on the values ​​of the sorted voltage set from large to small, the j-th group of BMS batteries is discharged, and the discharge voltage of the j-th group of BMS batteries is monitored, where j=1, 2, 3, ..., N;

[0026] Determine whether the discharge voltage of the jth group of BMS batteries is less than a preset discharge threshold;

[0027] If it is less than the preset discharge threshold, the discharge process of the jth group of BMS batteries is stopped, the j+1th group of BMS batteries is discharged, and the discharge voltage of the j+1th group of BMS batteries is monitored.

[0028] Optionally, in a fourth implementation of the first aspect of the present invention, the determining whether the maximum voltage value in the sorted voltage set is less than a preset charging threshold comprises:

[0029] Extracting the first and last elements of the sorted voltage set to obtain two sorted voltage values;

[0030] Determine whether the two sorting voltage values ​​are both less than a preset charging threshold;

[0031] If all of them are less than the preset charging threshold, determining that the maximum voltage value in the sorted voltage set is less than the preset charging threshold;

[0032] If they are not all less than the preset charging threshold, it is determined that the maximum voltage value in the sorted voltage set is not less than the preset charging threshold.

[0033] Optionally, in a fifth implementation of the first aspect of the present invention, the sorting of the battery voltage set according to the voltage values ​​of the N groups of BMS batteries to obtain the sorted voltage set includes:

[0034] Writing the battery voltage set into an array frame to obtain a voltage array;

[0035] Based on the first pointer, the head of the voltage array is set as the first pointer starting position, and the head of the voltage array is set as the first pointer ending position;

[0036] Based on the second pointer, the voltage array value is traversed and queried to find the minimum voltage value and the maximum voltage value, wherein the second pointer has the same starting position and ending position as the first pointer;

[0037] The minimum voltage value is exchanged with the value of the first pointer starting position, and the maximum voltage value is exchanged with the value of the first pointer ending position;

[0038] The first pointer starting position is increased by one, the first pointer ending position is decreased by one, and the voltage array value is traversed and queried based on the second pointer in a loop to find the minimum voltage value and the maximum voltage value.

[0039] Optionally, in a sixth implementation of the first aspect of the present invention, the discharging process on N groups of BMS batteries according to the sorted voltage set further includes:

[0040] Based on the values ​​of the sorted voltage set from large to small, the j-th group of BMS batteries is discharged, and the SOC value of the j-th group of BMS batteries is monitored, where j=1, 2, 3, ..., N;

[0041] Determine whether the SOC value of the jth group of BMS batteries is less than a preset charge threshold;

[0042] If it is less than the preset charge threshold, the discharge process of the jth group of BMS batteries is stopped, the j+1th group of BMS batteries is discharged, and the SOC value of the j+1th group of BMS batteries is monitored.

[0043] Optionally, in a seventh implementation of the first aspect of the present invention, after discharging N groups of BMS batteries according to the sorted voltage set, the method further includes:

[0044] When the SOC values ​​of N groups of BMS batteries are all less than the charge threshold, all discharge switches of the N groups of BMS batteries are turned off, and the low battery information is sent to the preset management port.

[0045] A second aspect of the present invention provides a charging and discharging device for multiple groups of parallel batteries, comprising: a memory and at least one processor, wherein instructions are stored in the memory, and the memory and the at least one processor are interconnected via a line; the at least one processor calls the instructions in the memory so that the charging and discharging device for the multiple groups of parallel batteries executes the above-mentioned charging and discharging method for the multiple groups of parallel batteries.

[0046] A third aspect of the present invention provides a computer-readable storage medium, wherein the computer-readable storage medium stores instructions, which, when executed on a computer, enable the computer to execute the above-mentioned method for charging and discharging multiple groups of parallel-connected batteries.

[0047] In an embodiment of the present invention, by sorting the voltage values ​​of multiple groups of parallel batteries to obtain a sorted voltage set, in the case of charging and discharging, different charge and discharge sequence control is performed on the multiple groups of parallel batteries based on the sorted voltage set, thereby avoiding frequent charging caused by insufficient capacity utilization efficiency of multiple groups of BMS batteries during charging and discharging, improving the capacity practical efficiency of the BMS battery group, and solving the technical problem of sluggishness of a single battery group in the current charge and discharge management of multiple groups of BMS batteries. BRIEF DESCRIPTION OF THE DRAWINGS

[0048] Figure 1 A schematic diagram of an embodiment of a method for charging and discharging multiple groups of parallel-connected batteries in an embodiment of the present invention;

[0049] Figure 2 1 is a schematic diagram of an embodiment of step 102 of a method for charging and discharging multiple groups of parallel-connected batteries in an embodiment of the present invention;

[0050] Figure 3 It is a schematic diagram of an embodiment of step 103 of the method for charging and discharging multiple groups of parallel batteries in an embodiment of the present invention;

[0051] Figure 4 105 is a schematic diagram of an embodiment of the method for charging and discharging multiple groups of parallel-connected batteries in an embodiment of the present invention;

[0052] Figure 5 The figure is a schematic diagram of an embodiment of a charging and discharging device for multiple groups of parallel-connected batteries in an embodiment of the present invention. DETAILED DESCRIPTION

[0053] The embodiment of the present invention provides a charging and discharging method, device and storage medium for multiple groups of parallel-connected batteries.

[0054] The embodiments disclosed in the present invention will be described in more detail below with reference to the accompanying drawings. Although certain embodiments disclosed in the present invention are shown in the accompanying drawings, it should be understood that the present invention can be implemented in various forms and should not be construed as being limited to the embodiments described herein, which are instead provided for a more thorough and complete understanding of the present invention. It should be understood that the drawings and embodiments disclosed in the present invention are only for exemplary purposes and are not intended to limit the scope of protection disclosed in the present invention.

[0055] In the description of the embodiments disclosed in the present invention, the term "including" and similar terms should be understood as open inclusion, that is, "including but not limited to". The term "based on" should be understood as "based at least in part on". The term "one embodiment" or "the embodiment" should be understood as "at least one embodiment". The terms "first", "second", etc. may refer to different or the same objects. Other explicit and implicit definitions may also be included below.

[0056] For ease of understanding, the specific process of the embodiment of the present invention is described below. Figure 1 , an embodiment of a method for charging and discharging multiple groups of parallel-connected batteries in an embodiment of the present invention includes:

[0057] 101. Read the voltage values ​​of N groups of BMS batteries to obtain a battery voltage set, where N is a positive integer greater than 2, and the N groups of BMS batteries are connected in parallel;

[0058] In this embodiment, the voltage values ​​of N groups of BMS batteries are read, there are at least two BMS battery groups, and all the BMS battery groups are connected in parallel with each other. For example, there are six groups of BMS batteries, and the battery voltage set after reading the voltage values ​​is {6, 4, 7, 9, 2, 3}.

[0059] 102. Sorting the battery voltage set according to the voltage values ​​of the N groups of BMS batteries to obtain a sorted voltage set;

[0060] In this embodiment, based on the voltage values, the battery voltage set {6, 4, 7, 9, 2, 3} can be sorted from large to small to obtain the sorted voltage set {9, 7, 6, 4, 3, 2}, or the battery voltage set {6, 4, 7, 9, 2, 3} can be sorted from small to large to obtain the sorted voltage set {2, 3, 4, 6, 7, 9}. The battery voltage set can be freely set to be sorted from large to small or from small to large according to the operation requirements.

[0061] For details, please refer to Figure 2 , Figure 2 This is a schematic diagram of an embodiment of step 102 of a method for charging and discharging multiple groups of parallel batteries in an embodiment of the present invention, wherein step 102 includes the following specific implementation methods:

[0062] 1021. Write the battery voltage set into an array frame to obtain a voltage array;

[0063] 1022. Based on the first pointer, set the head of the voltage array as the first pointer starting position, and set the head of the voltage array as the first pointer ending position;

[0064] 1023. Based on the second pointer, perform a traversal query on the voltage array value to find the minimum voltage value and the maximum voltage value, wherein the second pointer has the same starting position and ending position as the first pointer;

[0065] 1024. Exchange the minimum voltage value with the value at the starting position of the first pointer, and exchange the maximum voltage value with the value at the ending position of the first pointer;

[0066] 1025. Increment the starting position of the first pointer by one, decrease the ending position of the first pointer by one, and loop based on the second pointer to traverse and query the voltage array value to find the minimum voltage value and the maximum voltage value.

[0067] In this embodiment, the battery voltage set {6, 4, 7, 9, 2, 3} is first written into the array frame in order to obtain the array [6, 4, 7, 9, 2, 3]. First, through the first pointer, the position of the first number 6 in the array is set as the starting position, and the position of the last number 3 in the array is set as the ending position.

[0068] Since the first pointer defines the starting position and the ending position of the second pointer, the starting position and the ending position of the second pointer for traversing the array are from the position of number 6 to the position of number 3 in the array.

[0069] Traverse from [6, 4, 7, 9, 2, 3] to find the maximum voltage value of 9 and the minimum voltage value of 2, swap the minimum voltage value 2 with the value at the starting position of the first pointer, and the array becomes [2, 4, 7, 9, 6, 3]. Then swap the maximum voltage value 9 with the value at the ending position of the first pointer, and the array becomes [2, 4, 7, 3, 6, 9].

[0070] Now, increase the starting position of the first pointer by one, from the position of number 2 in the array [2, 4, 7, 3, 6, 9] to the position of number 4 as the starting position. Reduce the ending position of the first pointer by one, from the position of number 9 in the array [2, 4, 7, 3, 6, 9] to the position of number 6 as the starting position. Then loop through and query from number 4 to number 6 to obtain the minimum voltage value 3 and the maximum voltage value 7, and continue to exchange positions to obtain the array [2, 3, 6, 4, 7, 9]. Loop through the array [2, 3, 6, 4, 7, 9] to obtain the sorting of [2, 3, 4, 6, 7, 9] from small to large, and convert the array into a set to obtain the sorted voltage set {2, 3, 4, 6, 7, 9}.

[0071] 103. When receiving a battery charging instruction, determining whether the maximum voltage value in the sorted voltage set is less than a preset charging threshold;

[0072] In this embodiment, when a battery charging instruction is received, it is necessary to analyze the sorting voltage sets of N groups of BMS batteries to determine whether the maximum voltage value in the sorting voltage set is less than a preset charging threshold.

[0073] For details, please refer to Figure 3 , Figure 3 This is a schematic diagram of an embodiment of step 103 of the method for charging and discharging multiple groups of parallel batteries in an embodiment of the present invention, and step 103 includes the following specific implementation methods:

[0074] 1031. Extract the first and last elements of the sorted voltage set to obtain two sorted voltage values;

[0075] 1032. Determine whether both sorting voltage values ​​are less than a preset charging threshold;

[0076] 1033. If all of them are less than the preset charging threshold, determine that the maximum voltage value of the sorted voltage set is less than the preset charging threshold;

[0077] 1034. If the voltages are not all less than the preset charging threshold, determine that the maximum voltage value in the sorted voltage set is not less than the preset charging threshold.

[0078] In steps 1031-1034, since the maximum voltage value and the minimum voltage value of the sorted voltage set must be the elements at the head and tail, the data at the head and tail are first extracted to obtain two sorted voltage values. To determine whether the maximum voltage value is less than the preset charging threshold, it is only necessary to analyze whether the two sorted voltage values ​​are both less than the preset charging threshold. As long as there is a value that is not less than the preset charging threshold, it is determined that the maximum voltage value in the sorted voltage set is not less than the preset charging threshold. As long as both sorted voltage values ​​are less than the preset charging threshold, it is determined that the maximum voltage value in the sorted voltage set is less than the preset charging threshold. The above operations do not need to consider the sorting method of the sorted voltage set and can be directly judged.

[0079] 104. If the charge voltage is less than the preset charge threshold, all the charging switches corresponding to the N groups of BMS batteries are turned on to charge the N groups of BMS batteries;

[0080] In this embodiment, when the maximum voltage values ​​are all less than the charging threshold, it is determined that all N groups of BMS batteries corresponding to the sorted voltage set need to be charged without priority, and all charging switches corresponding to the N groups of BMS batteries are turned on to charge the N groups of BMS batteries.

[0081] 105. If it is not less than the preset charging threshold, charging the N groups of BMS batteries according to the sorted voltage set;

[0082] In this embodiment, the corresponding N groups of BMS batteries are charged in order according to the method of sorting the voltage from small to large, and combined with the method of sorting the voltage from large to small during the discharge process, the N groups of BMS batteries can be discharged while being charged without increasing the battery degradation rate. Moreover, since the battery voltage of the N groups of BMS batteries is gradually changing, the BMS battery charged each time and the BMS battery discharged each time will not be the same battery, and the entire BMS battery system will not have a situation where all BMS batteries are out of power.

[0083] For details, please refer to Figure 4 , Figure 4 This is a schematic diagram of an embodiment of step 105 of the method for charging and discharging multiple groups of parallel batteries in an embodiment of the present invention, and step 105 includes the following specific implementation methods:

[0084] 1051. Based on the values ​​of the sorted voltage set from small to large, determine whether the i-th group of BMS batteries has a battery abnormality, where i=1, 2, 3, ..., N;

[0085] 1052. If there is no abnormal battery condition in the i-th group of BMS batteries, charging the i-th group of BMS batteries;

[0086] 1053. If the i-th group of BMS batteries has a battery abnormality, determine whether the i+1-th group of BMS batteries has a battery abnormality.

[0087] In steps 1051-1053, based on the values ​​of the sorted voltage set from small to large, the sorted voltage set is started from the minimum voltage value, and it is first determined whether the smallest BMS battery in the first group has a battery abnormality. If the smallest BMS battery in the first group does not have a battery abnormality, the second smallest BMS battery in the sorted voltage set is judged. If the second smallest BMS battery does not have a battery abnormality, the second smallest BMS battery is charged. If the second smallest BMS battery has a battery abnormality, the third smallest voltage value in the sorted voltage set is judged corresponding to the BMS battery, and the judgment is repeated.

[0088] 106. When receiving a battery discharge instruction, an abnormality check is performed on the N groups of BMS batteries to obtain a check result;

[0089] In this embodiment, when a battery discharge instruction is received, abnormal verification processing is performed on N groups of BMS batteries. The abnormal verification mainly determines whether the BMS batteries have broken wires, voltage differences, overcurrent discharge, short circuits, etc. If there are no abnormalities in the BMS batteries, it is determined that the BMS batteries of this group have passed the verification.

[0090] Specifically, step 106 includes the following specific implementation methods:

[0091] 1061. Perform communication test processing on N groups of BMS batteries to obtain communication delay time of the N groups;

[0092] 1062. Determine whether the communication delay duration of the N groups is greater than a preset delay threshold;

[0093] 1063. If there is no delay greater than the preset delay threshold, discharge analysis processing is performed on the N groups of BMS batteries to obtain N discharge voltages and N discharge currents;

[0094] 1064. Determine whether any of the N discharge voltages is greater than a preset over-discharge threshold;

[0095] 1065. If none of the N discharge voltages is greater than the preset over-discharge threshold, determine whether the N discharge currents exceed the preset short-circuit threshold;

[0096] 1066. If none of the N discharge currents is greater than the preset short-circuit threshold, the verification result is determined to be qualified.

[0097] In steps 1061-1066, firstly perform communication test processing on N groups of BMS batteries to obtain N groups of communication delay time, and then analyze whether the corresponding BMS batteries are disconnected through the N groups of communication delay time. In the case that the N groups of communication delay time is not greater than the delay threshold, it indicates that the BMS battery is discharged, and then the N groups of BMS batteries are subjected to discharge analysis processing to obtain the discharge voltage and discharge current corresponding to each BMS battery. Based on the relationship between the discharge voltage and the over-discharge threshold, analyze whether the BMS battery is over-discharged, and based on the relationship between the discharge current and the short-circuit threshold, analyze whether the BMS battery is short-circuited. After passing the verification of disconnection, over-discharge, and short circuit, determine that the verification results of the N groups of BMS batteries are qualified.

[0098] 107. If the verification result is qualified, discharge the N groups of BMS batteries according to the sorted voltage set.

[0099] In this embodiment, after the qualified batteries have passed the verification, the N groups of BMS batteries are discharged based on the voltage values ​​in the sorted voltage set from large to small. The BMS battery with the largest voltage value is discharged first, and then the BMS batteries with the corresponding voltage values ​​are discharged, and all BMS batteries are discharged in a cycle. It should be noted that after receiving the battery discharge instruction, the battery charging instruction can also be received, and the N groups of BMS batteries are discharged differently by sorting the voltage set.

[0100] Specifically, step 107 includes the following specific implementation methods:

[0101] 1071. Based on the values ​​of the sorted voltage set from large to small, discharge the j-th group of BMS batteries, and monitor the discharge voltage of the j-th group of BMS batteries, where j=1, 2, 3, ..., N;

[0102] 1072. Determine whether the discharge voltage of the jth group of BMS batteries is less than a preset discharge threshold;

[0103] 1073. If it is less than the preset discharge threshold, the discharge process of the jth group of BMS batteries is stopped, the discharge process of the j+1th group of BMS batteries is performed, and the discharge voltage of the j+1th group of BMS batteries is monitored.

[0104] In steps 1071 to 1073 , the j-th group of BMS batteries with the maximum voltage value is discharged based on the values ​​of the sorted voltage set from large to small, and the discharge voltage of the j-th group of BMS batteries is monitored.

[0105] When the discharge voltage of the jth group of BMS batteries is less than the discharge threshold, it is necessary to stop the jth group of BMS batteries, which can be done by turning off the discharge switch of the jth group of BMS batteries or by turning off the discharge of the jth group of BMS batteries on the chip. Then, the j+1th group of BMS batteries with the second largest voltage value in the sorting voltage concentration is discharged, and the discharge voltage of the j+1th group of BMS batteries is monitored, and the discharge and monitoring are performed in a cycle.

[0106] In another embodiment, step 107 also includes the following specific implementations:

[0107] 1074. Based on the values ​​of the sorted voltage set from large to small, discharge the j-th group of BMS batteries, and monitor the SOC value of the j-th group of BMS batteries, where j=1, 2, 3, ..., N;

[0108] 1075. Determine whether the SOC value of the jth group of BMS batteries is less than a preset charge threshold;

[0109] 1076. If the charge value is less than the preset charge threshold, the discharge process of the jth group of BMS batteries is stopped, the discharge process of the j+1th group of BMS batteries is performed, and the SOC value of the j+1th group of BMS batteries is monitored.

[0110] In steps 1074 to 1076 , the j-th group of BMS batteries with the maximum voltage value is discharged based on the values ​​of the sorted voltage set from large to small, and the SOC value of the j-th group of BMS batteries is monitored.

[0111] Determine whether the SOC value of the j-th group of BMS batteries is less than a preset charge threshold. If the SOC value of the j-th group of BMS batteries is less than the charge threshold, it means that the battery capacity of the BMS battery is insufficient, and it is necessary to stop the discharge processing of the j-th group of BMS batteries, and then discharge the j+1-th group of BMS batteries with the second largest voltage value in the sorted voltage set, and monitor the SOC value of the j+1-th group of BMS batteries, and cycle through discharge and monitoring.

[0112] Furthermore, after step 107, the following specific implementations are also included:

[0113] 108. When the SOC values ​​of the N groups of BMS batteries are all less than the charge threshold, all discharge switches of the N groups of BMS batteries are turned off, and the low battery information is sent to the preset management port.

[0114] In step 108, if the SOC values ​​of all N groups of BMS batteries are less than the charge threshold, it is considered that the BMS battery has no battery capacity to support continuous discharge, all discharge switches of the N groups of BMS batteries are turned off, and low battery information is sent to the preset management port to notify the user that the power of the N groups of BMS batteries is low.

[0115] In an embodiment of the present invention, by sorting the voltage values ​​of multiple groups of parallel batteries to obtain a sorted voltage set, in the case of charging and discharging, different charge and discharge sequence control is performed on the multiple groups of parallel batteries based on the sorted voltage set, thereby avoiding frequent charging caused by insufficient capacity utilization efficiency of multiple groups of BMS batteries during charging and discharging, improving the capacity practical efficiency of the BMS battery group, and solving the technical problem of sluggishness of a single battery group in the current charge and discharge management of multiple groups of BMS batteries.

[0116] Figure 5 : is a schematic diagram of the structure of a charging and discharging device for multiple groups of parallel batteries provided by an embodiment of the present invention. The charging and discharging device 500 for multiple groups of parallel batteries may have relatively large differences due to different configurations or performances, and may include one or more processors (central processing units, CPU) 510 (for example, one or more processors) and a memory 520, and one or more storage media 530 (for example, one or more mass storage devices) storing application programs 533 or data 532. Among them, the memory 520 and the storage medium 530 can be short-term storage or permanent storage. The program stored in the storage medium 530 may include one or more modules (not shown in the figure), and each module may include a series of instruction operations in the charging and discharging device 500 for multiple groups of parallel batteries. Furthermore, the processor 510 can be configured to communicate with the storage medium 530 to execute a series of instruction operations in the storage medium 530 on the charging and discharging device 500 for multiple groups of parallel batteries.

[0117] The charging and discharging device 500 based on multiple parallel battery groups may also include one or more power supplies 540, one or more wired or wireless network interfaces 550, one or more input and output interfaces 560, and / or one or more operating systems 531, such as Windows Serve, Mac OS X, Unix, Linux, FreeBSD, etc. It will be understood by those skilled in the art that Figure 5 The structure of the charging and discharging device of multiple groups of parallel batteries shown does not constitute a limitation on the charging and discharging device based on multiple groups of parallel batteries, and may include more or less components than shown in the figure, or combine certain components, or arrange the components differently.

[0118] The present invention also provides a computer-readable storage medium, which may be a non-volatile computer-readable storage medium or a volatile computer-readable storage medium. Instructions are stored in the computer-readable storage medium. When the instructions are executed on a computer, the computer executes the steps of the method for charging and discharging multiple groups of parallel batteries.

[0119] In the context of the present disclosure, a machine-readable medium may be a tangible medium that may contain or store a program for use by or in conjunction with an instruction execution system, device, or equipment. A machine-readable medium may be a machine-readable signal medium or a machine-readable storage medium. A machine-readable medium may include, but is not limited to, an electronic, magnetic, optical, electromagnetic, infrared, or semiconductor system, device, or equipment, or any suitable combination of the foregoing. A more specific example of a machine-readable storage medium may include an electrical connection based on one or more lines, a portable computer disk, a hard disk, a random access memory (RAM), a read-only memory (ROM), an erasable programmable read-only memory (EPROM or flash memory), an optical fiber, a portable compact disk read-only memory (CD-ROM), an optical storage device, a magnetic storage device, or any suitable combination of the foregoing.

[0120] In addition, although each operation is described in a specific order, this should be understood as requiring such operation to be performed in the specific order shown or in a sequential order, or requiring that all illustrated operations should be performed to obtain desired results. Under certain circumstances, multitasking and parallel processing may be advantageous. Similarly, although some specific implementation details are included in the above discussion, these should not be interpreted as limiting the scope of the present disclosure. Some features described in the context of a separate embodiment can also be implemented in a single implementation in combination. On the contrary, the various features described in the context of a single implementation can also be implemented in multiple implementations individually or in any suitable sub-combination mode.

[0121] Although the subject matter has been described in language specific to structural features and / or methodological logical actions, it should be understood that the subject matter defined in the appended claims is not necessarily limited to the specific features or actions described above. On the contrary, the specific features and actions described above are merely example forms of implementing the claims.

Claims

1. A method for charging and discharging multiple groups of parallel batteries, characterized in that: Includes steps: Reading the voltage values ​​of N groups of BMS batteries to obtain a battery voltage set, wherein N is a positive integer greater than 2, and the N groups of BMS batteries are connected in parallel; According to the voltage values ​​of the N groups of BMS batteries, the battery voltage set is sorted to obtain a sorted voltage set; When receiving a battery charging instruction, determining whether the maximum voltage value in the sorted voltage set is less than a preset charging threshold; If it is less than the preset charging threshold, all the charging switches corresponding to the N groups of BMS batteries are turned on to charge the N groups of BMS batteries; If it is not less than the preset charging threshold, charging the N groups of BMS batteries is performed according to the sorted voltage set; When receiving a battery discharge instruction, an abnormality check is performed on N groups of BMS batteries to obtain a check result; If the verification result is qualified, the N groups of BMS batteries are discharged according to the sorted voltage set.

2. The method for charging and discharging multiple groups of parallel batteries according to claim 1, characterized in that: The charging process of N groups of BMS batteries according to the sorted voltage set includes: Based on the values ​​of the sorted voltage set from small to large, determining whether the i-th group of BMS batteries has a battery abnormality, wherein i=1, 2, 3, ..., N; If there is no abnormality in the i-th group of BMS batteries, charging the i-th group of BMS batteries; If the i-th group of BMS batteries has a battery abnormality, it is determined whether the i+1-th group of BMS batteries has a battery abnormality.

3. The method for charging and discharging multiple groups of parallel batteries according to claim 1, characterized in that: The abnormality verification process is performed on N groups of BMS batteries to obtain the verification result, which includes: Perform communication test processing on N groups of BMS batteries to obtain the communication delay time of N groups; Determine whether the communication delay duration of N groups is greater than a preset delay threshold; If there is no delay greater than the preset threshold, the N groups of BMS batteries are subjected to discharge analysis and processing to obtain N discharge voltages and N discharge currents; Determine whether N discharge voltages are greater than a preset over-discharge threshold; If none of the N discharge voltages is greater than the preset over-discharge threshold, determining whether the N discharge currents exceed the preset short-circuit threshold; If none of the N discharge currents is greater than the preset short-circuit threshold, the verification result is determined to be qualified.

4. The method for charging and discharging multiple groups of parallel batteries according to claim 1, characterized in that: The discharging process of N groups of BMS batteries according to the sorted voltage set includes: Based on the values ​​of the sorted voltage set from large to small, the j-th group of BMS batteries is discharged, and the discharge voltage of the j-th group of BMS batteries is monitored, where j=1, 2, 3, ..., N; Determine whether the discharge voltage of the jth group of BMS batteries is less than a preset discharge threshold; If it is less than the preset discharge threshold, the discharge process of the jth group of BMS batteries is stopped, the j+1th group of BMS batteries is discharged, and the discharge voltage of the j+1th group of BMS batteries is monitored.

5. The method for charging and discharging multiple groups of parallel batteries according to claim 1, characterized in that: The step of determining whether the maximum voltage value of the sorted voltage set is less than a preset charging threshold comprises: Extracting the first and last elements of the sorted voltage set to obtain two sorted voltage values; Determine whether the two sorting voltage values ​​are both less than a preset charging threshold; If all of them are less than the preset charging threshold, determining that the maximum voltage value in the sorted voltage set is less than the preset charging threshold; If they are not all less than the preset charging threshold, it is determined that the maximum voltage value in the sorted voltage set is not less than the preset charging threshold.

6. The method for charging and discharging multiple groups of parallel batteries according to claim 1, characterized in that: The step of sorting the battery voltage set according to the voltage values ​​of the N groups of BMS batteries to obtain the sorted voltage set includes: Writing the battery voltage set into an array frame to obtain a voltage array; Based on the first pointer, the head of the voltage array is set as the first pointer starting position, and the head of the voltage array is set as the first pointer ending position; Based on the second pointer, the voltage array value is traversed and queried to find the minimum voltage value and the maximum voltage value, wherein the second pointer has the same starting position and ending position as the first pointer; The minimum voltage value is exchanged with the value of the first pointer starting position, and the maximum voltage value is exchanged with the value of the first pointer ending position; The first pointer starting position is increased by one, the first pointer ending position is decreased by one, and the voltage array value is traversed and queried based on the second pointer in a loop to find the minimum voltage value and the maximum voltage value.

7. The method for charging and discharging multiple groups of parallel batteries according to claim 1, characterized in that: The discharging process of N groups of BMS batteries according to the sorted voltage set further includes: Based on the values ​​of the sorted voltage set from large to small, the j-th group of BMS batteries is discharged, and the SOC value of the j-th group of BMS batteries is monitored, where j=1, 2, 3, ..., N; Determine whether the SOC value of the jth group of BMS batteries is less than a preset charge threshold; If it is less than the preset charge threshold, the discharge process of the jth group of BMS batteries is stopped, the j+1th group of BMS batteries is discharged, and the SOC value of the j+1th group of BMS batteries is monitored.

8. The method for charging and discharging multiple groups of parallel-connected batteries according to claim 7, characterized in that: After discharging the N groups of BMS batteries according to the sorted voltage set, the method further includes: When the SOC values ​​of N groups of BMS batteries are all less than the charge threshold, all discharge switches of the N groups of BMS batteries are turned off, and the low battery information is sent to the preset management port.

9. A charging and discharging device for multiple groups of parallel batteries, characterized in that: The charging and discharging device for multiple groups of parallel-connected batteries comprises: a memory and at least one processor, the memory stores instructions, and the memory and the at least one processor are interconnected via a line; The at least one processor calls the instructions in the memory to enable the charging and discharging device for the multiple groups of parallel batteries to execute the charging and discharging method for the multiple groups of parallel batteries as described in any one of claims 1-8.

10. A computer-readable storage medium having a computer program stored thereon, characterized in that: When the computer program is executed by a processor, the method for charging and discharging multiple groups of parallel batteries as described in any one of claims 1 to 8 is implemented.

Citation Information

Patent Citations

  • Multi-battery power supply power board for lamp and power supply method thereof

    CN112290645A

  • Multi-battery pack charging and discharging control system and scheduling method

    CN117118023A