Battery charging and discharging control method and device, electronic equipment and storage medium

By obtaining the measured voltage of any battery cell in the battery pack, determining the target charging and discharging stage and controlling the connection method, the problem of unbalanced battery cell voltage in the battery pack is solved, and the life and safety of the battery pack are improved.

CN119231672APending Publication Date: 2024-12-31BEIJING XIAOMI MOBILE SOFTWARE CO LTD
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202310798490.3
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2023-06-30
Publication Date
2024-12-31

AI Technical Summary

Technical Problem

In areas with high supply voltage requirements, such as electric vehicles, the voltage imbalance of a single battery leads to shortening the life of the battery pack and overcharging or overdischarge problems.

Method used

By obtaining the measured voltage of any battery cell in the battery pack, determining the current target charging and discharging stage, and obtaining candidate connection methods according to this stage, controlling the connection components to reach the target voltage threshold, and achieving voltage equalization between the battery cells.

Benefits of technology

It effectively reduces the consistency between battery cells, avoids overcharging or overdischarge, and improves the life of the battery pack.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN119231672A_ABST
    Figure CN119231672A_ABST
Patent Text Reader

Abstract

The invention provides a battery charging and discharging control method and device, electronic equipment and a storage medium, and relates to the technical field of batteries. Comprising the following steps: acquiring current measurement voltage of any single battery in a battery pack; determining a current target charging and discharging stage of the battery pack according to the measured voltage; obtaining a candidate connection mode corresponding to each battery monomer in the battery pack in the target charging and discharging stage; and on the basis of the candidate connection modes, connecting assemblies among the single batteries are controlled until the measured voltage of any single battery reaches a voltage threshold value corresponding to the target charging and discharging stage. Therefore, the connection between the battery monomers can be switched based on the candidate connection mode corresponding to the current target charging and discharging stage of the battery pack, so that the battery monomers can realize battery voltage balance in the target charging and discharging stage, the consistency between the battery monomers can be reduced, the battery monomers are prevented from being overcharged or overdischarged, and the battery charging and discharging efficiency is improved. The battery life is prolonged.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present disclosure relates to the field of battery technology, and in particular to a battery charging and discharging control method, device, electronic device and storage medium. Background Art

[0002] In today's society, environmental pollution and energy crisis are becoming increasingly prominent, new energy technologies are developing rapidly, and more and more products use batteries as power. In some fields with high power supply voltage requirements, such as electric vehicles, the voltage of a single battery often does not meet the power supply requirements, so several batteries are usually connected in series and parallel to form a battery pack for use. However, due to the manufacturing process, the capacity, internal resistance, voltage, etc. of each battery cell are unbalanced or affected by environmental factors such as external temperature and humidity, which will cause inconsistencies between battery cells during use. This inconsistency will seriously affect the life of the entire battery pack and easily lead to overcharging or over-discharging of battery cells. Summary of the invention

[0003] The present disclosure aims to solve one of the technical problems in the related art at least to some extent.

[0004] The first embodiment of the present disclosure provides a battery charging and discharging control method, including:

[0005] Get the current measured voltage of any battery cell in the battery pack;

[0006] Determining a target charging and discharging stage of the battery pack according to the measured voltage;

[0007] Obtaining candidate connection modes corresponding to each battery cell in the battery pack at the target charge and discharge stage;

[0008] Based on the candidate connection mode, the connection components between the battery cells are controlled until the measured voltage of any of the battery cells reaches the voltage threshold corresponding to the target charge and discharge stage. The second aspect of the present disclosure provides a battery charge and discharge control device, including:

[0009] A first acquisition module, used to acquire the current measured voltage of any battery cell in the battery pack;

[0010] A determination module, used to determine the target charge and discharge stage of the battery pack according to the measured voltage;

[0011] A second acquisition module is used to acquire candidate connection modes corresponding to each battery cell in the battery pack during the target charge and discharge stage;

[0012] A control module is used to control the connection components between the battery cells based on the candidate connection mode until the measured voltage of any of the battery cells reaches a voltage threshold corresponding to the target charge and discharge stage.

[0013] The third aspect embodiment of the present disclosure proposes an electronic device, including: a memory, a processor, and a computer program stored in the memory and executable on the processor. When the processor executes the program, the battery charging and discharging control method proposed in the first aspect embodiment of the present disclosure is implemented.

[0014] The fourth aspect of the present disclosure provides a computer-readable storage medium storing a computer program. When the computer program is executed by a processor, the battery charging and discharging control method provided in the first aspect of the present disclosure is implemented.

[0015] The battery charging and discharging control method, device, electronic device and storage medium provided by the present disclosure have the following beneficial effects:

[0016] In the disclosed embodiment, the current measured voltage of any battery cell in the battery pack can be obtained first, and then the target charge and discharge stage of the battery pack can be determined based on the measured voltage, and then the candidate connection mode corresponding to each battery cell in the battery pack in the target charge and discharge stage can be obtained. Finally, based on the candidate connection mode, the connection components between the battery cells are controlled until the measured voltage of any battery cell reaches the voltage threshold corresponding to the target charge and discharge stage. Therefore, the connection between the battery cells can be switched based on the candidate connection mode corresponding to the target charge and discharge stage of the battery pack, so that the battery cells can achieve battery voltage balance within the target charge and discharge stage, thereby reducing the consistency between the battery cells, avoiding overcharging or overdischarging of the battery cells, and improving the battery life.

[0017] Additional aspects and advantages of the present disclosure will be given in part in the following description and in part will be obvious from the following description or learned through practice of the present disclosure. BRIEF DESCRIPTION OF THE DRAWINGS

[0018] The above and / or additional aspects and advantages of the present disclosure will become apparent and easily understood from the following description of the embodiments in conjunction with the accompanying drawings, in which:

[0019] Figure 1 A flowchart of a battery charging and discharging control method provided by an embodiment of the present disclosure;

[0020] Figure 2 A circuit diagram of a battery pack provided in one embodiment of the present disclosure;

[0021] Figure 3 A schematic diagram of current flow of a battery pack provided in one embodiment of the present disclosure;

[0022] Figure 4 Another schematic diagram of current flow of a battery pack provided by an embodiment of the present disclosure;

[0023] Figure 5 A flowchart of a battery charging and discharging control method provided by another embodiment of the present disclosure;

[0024] Figure 6 A schematic diagram of comparison between a battery pack voltage and a battery cell voltage provided by an embodiment of the present disclosure;

[0025] Figure 7 A diagram showing a simulation result of a battery pack being discharged according to an embodiment of the present disclosure;

[0026] Figure 8 A diagram showing simulation results of a battery pack being charged according to an embodiment of the present disclosure;

[0027] Fig. 9 A schematic diagram of a voltage waveform of a battery during single discharge provided by an embodiment of the present disclosure;

[0028] Fig.10 A schematic diagram of a voltage waveform when a battery is charged according to an embodiment of the present disclosure;

[0029] Fig.11 A schematic diagram of the structure of a battery charge and discharge control device provided by another embodiment of the present disclosure;

[0030] Fig.12 A block diagram of an exemplary electronic device suitable for implementing embodiments of the present disclosure is shown. DETAILED DESCRIPTION

[0031] Embodiments of the present disclosure are described in detail below, and examples of the embodiments are shown in the accompanying drawings, wherein the same or similar reference numerals throughout represent the same or similar elements or elements having the same or similar functions. The embodiments described below with reference to the accompanying drawings are exemplary and are intended to be used to explain the present disclosure, and should not be construed as limiting the present disclosure.

[0032] The following describes a battery charge and discharge control method, device, electronic device, and storage medium according to embodiments of the present disclosure with reference to the accompanying drawings.

[0033] The embodiment of the present disclosure takes the battery charge and discharge control method configured in a battery charge and discharge control device as an example. The battery charge and discharge control device can be applied to any electronic device so that the electronic device can perform the battery charge and discharge control function.

[0034] Figure 1 A flowchart of a battery charging and discharging control method provided in an embodiment of the present disclosure.

[0035] like Figure 1 As shown, the battery charge and discharge control method may include the following steps:

[0036] Step 101, obtaining the current measured voltage of any battery cell in the battery pack.

[0037] The battery pack may contain multiple battery cells. Since the battery cells in the battery pack maintain voltage balance during the charging and discharging process, the measured voltage of each battery cell is almost the same. It is possible to obtain the current measured voltage of any battery cell in the battery pack without measuring the voltage of each battery cell.

[0038] Figure 2 A circuit diagram of a battery pack provided by an embodiment of the present disclosure, such as Figure 2 As shown, the battery pack may include five battery cells C1, C2, C3, C4, and C5; three connection components are connected between every two battery cells, which can be used to change the series-parallel connection mode between every two battery cells.

[0039] The first end of C1 is connected to the first end of the ninth connecting component Q9 and the first end of the fifth connecting component Q5 , and the second end of C1 is connected to the first end of the first connecting component Q1 .

[0040] The first end of C2 is connected to the second end of the ninth connecting component Q9 and the tenth connecting component Q 10 The first end of C2 is connected to the first end of the sixth connecting component Q6, and the second end of C2 is connected to the second end of the first connecting component Q1, the second end of the fifth connecting component Q5, and the first end of the second connecting component Q2.

[0041] The first end of C3 is connected to the tenth connecting component Q 10 The second end of the eleventh connecting component Q 11 The first end of C3 is connected to the first end of the seventh connecting component Q7, and the second end of C3 is connected to the second end of the sixth connecting component Q6, the second end of the second connecting component Q2, and the first end of the third connecting component Q3.

[0042] The first end of C4 is connected to the eleventh connecting component Q 11 The second end of the twelfth connecting component Q 12 The first end 、 The first end of the eighth connection component Q8 is connected, and the second end of C4 is connected to the second end of the first connection component Q7, the second end of the third connection component Q3, and the first end of the fourth connection component Q4.

[0043] The first end of C5 is connected to the twelfth connecting component Q 12The first end of C5 is connected to the second end of the eighth connecting component Q8 and the second end of the fourth connecting component Q4.

[0044] Step 102: Determine the target charging and discharging stage that the battery pack is currently in based on the measured voltage.

[0045] In some possible implementations, the battery pack charging and discharging process can be divided into multiple charging and discharging stages according to the voltage range of the battery cells, and each charging and discharging stage corresponds to a voltage range. Therefore, the target charging and discharging stage of the battery pack can be determined according to the voltage range where the measured voltage is located.

[0046] Optionally, the first voltage interval corresponding to each charge and discharge stage may be obtained first, and then when the measured voltage is within any first voltage interval, the charge and discharge stage corresponding to any first voltage interval may be determined as the target charge and discharge stage.

[0047] In some possible implementations, the total number of battery cells contained in the battery pack and the second voltage interval corresponding to each battery cell can be obtained first, and then the separation value corresponding to the second voltage interval is determined based on the ratio of the upper limit voltage of the second voltage interval to n, where n is an integer greater than 1 and less than or equal to the total number of battery cells. Based on the separation value, the second voltage interval is divided into multiple sub-voltage intervals, and finally each sub-voltage interval is determined as a first voltage interval corresponding to a charge and discharge stage. In this way, the discharge process of the battery cell can be divided into the same number of charge and discharge stages as the total number of battery cells based on the voltage of the battery cell, and then the target charge and discharge stage of the battery pack can be determined according to the measured voltage of the battery cell.

[0048] The second voltage interval is the interval between the minimum voltage and the maximum voltage of the battery cell. For example, if the maximum voltage of the battery cell is 2.5 volts (V), the corresponding second voltage interval can be

[0049] [0V, 2.5V]. Alternatively, the lowest voltage of the single battery may be set. For example, the battery may be set to stop discharging when the battery is discharged to 0.3V. The corresponding second voltage interval may be [0.3V, 2.5V].

[0050] For example, the total number of battery cells included in the battery pack is 5, and the second voltage range is

[0051] [0.3V,2.5V], the separation values ​​are 0.5, 0.625, 0.83, 1.25, and the first voltage interval is

[0052] [0.3V,0.5V), [0.5V,0.625V), [0.625V, 0.83V), [0.83V, 1.25V),

[0053] [1.25V,2.5V].

[0054] Alternatively, other methods for dividing the second voltage interval of the voltage monomer may also be used, and the present disclosure does not make any specific limitation on this.

[0055] Step 103 , obtaining candidate connection modes corresponding to each battery cell in the battery pack at the target charge and discharge stage.

[0056] The candidate connection mode corresponding to the target charge and discharge stage may be pre-set according to the number of battery cells in the battery pack, and the first voltage interval and the second voltage interval. That is, the connection mode corresponding to each charge and discharge stage is first determined, and then after determining the target charge and discharge stage currently in the battery pack, the candidate connection mode corresponding to each battery cell in the battery pack at the target charge and discharge stage can be obtained.

[0057] In some possible implementations, the number of battery cells connected in series corresponding to each charging and discharging stage is determined based on the ratio of the upper limit voltage of the second voltage interval to the upper limit voltage of the first voltage interval corresponding to each charging and discharging stage. Then, when the number of battery cells connected in series corresponding to any charging and discharging stage is less than the total number of battery cells included in the battery pack, the number of battery cells connected in parallel corresponding to any charging and discharging stage is determined based on the difference between the total number of battery cells and the number of battery cells connected in series. Finally, the candidate connection mode corresponding to each charging and discharging stage is determined based on the number of battery cells connected in series and the number of battery cells connected in parallel corresponding to each charging and discharging stage.

[0058] Figure 3 A schematic diagram of current flow of a battery pack provided in an embodiment of the present disclosure, in the example Figure 2 In the circuit diagram shown in FIG. 1 , when the battery pack is discharged and the second voltage interval of the battery cell can be [0.3V, 2.5V], if the first voltage interval can be [1.25V, 2.5V], the number of battery cells connected in parallel is 5, and the candidate connection mode is that the battery cells C1, C2, C3, C4, and C5 are connected in parallel, and the battery pack current flows as follows: Figure 3 As shown by the arrow in (a).

[0059] If the first voltage interval can be [0.83V, 1.25V), the number of battery cells connected in series in the battery pack is two, and the number of battery cells connected in parallel is three. Then a candidate connection method can be battery cells C1, C2, and C3 connected in parallel, battery cells C3 and C4 connected in series, and battery cells C4 and C5 connected in parallel. The current flow direction of the battery pack can be as follows: Figure 3 As shown by the arrow in (b).

[0060] If the first voltage interval can be [0.625V, 0.83V), the number of battery cells connected in series in the battery pack is three, and the number of battery cells connected in parallel is two. Then a candidate connection method can be battery cells C1 and C2 connected in parallel, battery cells C3 and C4 connected in parallel, battery cells C2 and C3 connected in series, and battery cells C4 and C5 connected in series. The current flow direction of the battery pack can be as follows: Figure 3 As shown in (C) in .

[0061] If the first voltage interval can be [0.5V, 0.625V), the number of battery cells connected in series in the battery pack is four, and the number of battery cells connected in parallel is 1 or 2. Then one candidate connection method can be that battery cells C1 and C2 are connected in parallel, and battery cells C2, C3, C4, and C5 are connected in series. The current flow direction of the battery pack can be as follows: Figure 3 As shown by the arrow in (d).

[0062] If the first voltage interval is [0.3V, 0.5V), the number of battery cells connected in series is 5, that is, the candidate connection mode battery cells C1, C2, C3, C4, C5 are connected in series, and the current flow direction of the battery pack can be as follows: Figure 3 As shown by the arrow in (e).

[0063] in, Figure 3 Vm is the voltage of the battery pack, V C1 is the voltage across the battery cell C1, V C2 is the voltage across the battery cell C2, V C3 is the voltage across the battery cell C3, V C4 is the voltage across the battery cell C4, V C5 is the voltage across the battery cell C5.

[0064] It should be noted that when the first voltage interval is [0.5V, 0.625V), [0.625V, 0.83V), [0.83V, 1.25V), the corresponding connection methods can be multiple.

[0065] Figure 4 Another schematic diagram of current flow of a battery pack provided by an embodiment of the present disclosure is as follows: Figure 3 As shown, if the first voltage interval can be [0.83V, 1.25V), the number of battery cells connected in series in the battery pack is two, and the number of battery cells connected in parallel is three. Then a candidate connection method can be battery cells C1, C2, and C3 connected in parallel, battery cells C3 and C4 connected in series, and battery cells C4 and C5 connected in parallel. The current flow direction of the battery pack can be as follows: Figure 4Another candidate connection method may be that battery cells C1 and C2 are connected in parallel, battery cells C2 and C3 are connected in series, and battery cells C3, C4, and C5 are connected in parallel. The current flow direction of the battery pack may be as follows: Figure 4 As shown in (b) in .

[0066] Step 104 : Based on the candidate connection modes, control the connection components between the battery cells until the measured voltage of any battery cell reaches a voltage threshold corresponding to the target charge and discharge stage.

[0067] Among them, the connecting component is a switch component. By controlling the connecting component, the series-parallel relationship between the battery cells can be changed, so that the charging and discharging voltage of the entire battery pack can be controlled.

[0068] The voltage threshold can be determined according to the first voltage interval corresponding to the target charge and discharge stage. When the battery pack is discharging, the voltage threshold is the lower limit voltage of the first voltage interval; when the battery pack is charging, the voltage threshold is the upper limit voltage of the first voltage interval.

[0069] For example, if Figure 1 In the circuit diagram shown, if the candidate connection mode is that the battery cells C1, C2, C3, C4, and C5 are connected in parallel, the first connection component, the second connection component, the third connection component, the fourth connection component, the ninth connection component, the tenth connection component, the eleventh connection component, and the twelfth connection component are controlled to be closed, and the fifth connection component, the sixth connection component, the seventh connection component, and the eighth connection component are controlled to be opened.

[0070] In some possible implementations, if there are multiple candidate connection modes, it is necessary to cyclically control the connection components based on each candidate connection mode so that the battery pack can be cyclically charged and discharged in each candidate connection mode. This can avoid the different equivalent resistances between parallel modules, the different currents flowing through each battery cell, and the long-term charging and discharging with one candidate connection, which leads to different charging and discharging speeds of battery cells, and thus safety issues such as overcharging and over-discharging.

[0071] In the disclosed embodiment, the current measured voltage of any battery cell in the battery pack can be obtained first, and then the target charge and discharge stage of the battery pack can be determined based on the measured voltage, and then the candidate connection mode corresponding to each battery cell in the battery pack in the target charge and discharge stage can be obtained. Finally, based on the candidate connection mode, the connection components between the battery cells are controlled until the measured voltage of any battery cell reaches the voltage threshold corresponding to the target charge and discharge stage. Therefore, the connection between the battery cells can be switched based on the candidate connection mode corresponding to the target charge and discharge stage of the battery pack, so that the battery cells can achieve battery voltage balance within the target charge and discharge stage, thereby reducing the consistency between the battery cells, avoiding overcharging or overdischarging of the battery cells, and improving the battery life.

[0072] Figure 5 A flow chart of a battery charging and discharging control method provided by an embodiment of the present disclosure is shown in FIG. Figure 5 As shown, the battery charge and discharge control method may include the following steps:

[0073] Step 501, obtaining the current measured voltage of any battery cell in the battery pack.

[0074] Step 502: Determine the target charging and discharging stage that the battery pack is currently in based on the measured voltage.

[0075] Step 503 , obtaining candidate connection modes corresponding to each battery cell in the battery pack at the target charge and discharge stage.

[0076] The specific implementation forms of steps 501 to 503 can refer to the detailed descriptions in other embodiments of the present disclosure, and will not be described in detail here.

[0077] Step 504: when there are multiple candidate connection modes, determine the switching frequency of the candidate connection modes.

[0078] The switching frequency may be a frequency at which one candidate connection mode is switched to another candidate connection mode.

[0079] Optionally, the switching frequency may be pre-set, for example, the switching frequency may be once per second, once per five seconds, etc.

[0080] In some possible implementations, the preset charging and discharging time corresponding to the target charging and discharging stage and the number of candidate connection modes may be obtained first, and then the switching frequency of the candidate connection modes may be determined based on the preset charging and discharging time and / or the number of candidate connection modes.

[0081] It should be noted that the preset charge and discharge durations are different for different charge and discharge stages. If the preset charge and discharge duration is long, and the charge and discharge are always performed in one candidate connection mode, it will quickly lead to differences between battery cells. If the preset charge and discharge duration is short, even if the connection mode is not switched, the differences between battery cells are relatively small. Therefore, the shorter the preset charge and discharge duration, the slower the switching frequency, and the longer the preset charge and discharge duration, the faster the switching frequency.

[0082] It should be noted that the number of candidate connection modes corresponding to different charging and discharging stages is also different. If the number of candidate connection modes is large, a faster switching frequency should be set so that each candidate connection mode can be switched quickly, so that the voltage of the voltage monomer can be quickly balanced within a switching cycle of the candidate connection mode.

[0083] Step 505 , based on the switching frequency and the connection status between the connection components between the battery cells corresponding to each candidate connection mode, the connection components between the battery cells are controlled until the measured voltage of any battery cell reaches the voltage threshold corresponding to the target charge and discharge stage.

[0084] In the disclosed embodiment, after the switching frequency is determined, the connection components between the battery cells can be controlled based on the switching frequency and the connection status between the connection components between the battery cells corresponding to each candidate connection method, so that the battery pack can be charged and discharged in different candidate connection methods during one charging and discharging stage, thereby making the voltage of the battery cells balanced within one charging and discharging stage, avoiding safety problems such as overcharging and over-discharging of the battery cells due to imbalance.

[0085] In the disclosed embodiment, the current measured voltage of any battery cell in the battery pack can be obtained first, and then the target charge and discharge stage of the battery pack can be determined based on the measured voltage, and the candidate connection mode corresponding to each battery cell in the battery pack in the target charge and discharge stage can be obtained. When there are multiple candidate connection modes, the switching frequency of the candidate connection modes can be determined, and finally, based on the switching frequency and the connection state between the connection components between the battery cells corresponding to each candidate connection mode, the connection components between the battery cells can be controlled until the measured voltage of any battery cell reaches the voltage threshold corresponding to the target charge and discharge stage. Therefore, when there are multiple candidate connection modes corresponding to the target charge and discharge stage, the battery pack can be controlled to switch to different candidate connection modes based on the switching frequency, so as to further improve the balanced charge and discharge of the battery cells in the target charge and discharge stage, further reduce the consistency between the battery cells, avoid overcharging or overdischarging of the battery cells, and improve the battery life.

[0086] Figure 6 A schematic diagram of a comparison between a battery pack voltage and a battery cell voltage provided by an embodiment of the present disclosure is shown in FIG. Figure 6 As shown, the battery pack includes 5 battery cells, and the second voltage range of the battery cells is [0.3V, 2.5V].

[0087] During the discharge process of the battery pack, in the first discharge stage (stage 1), five battery cells are connected in parallel, the battery cell voltage is discharged from 2.5V to 1.25V, and the discharge voltage of the battery pack is 2.5V to 1.25V;

[0088] The second discharge stage (stage 2): the number of battery cells connected in series is 2, the number of battery cells connected in parallel is 3, the battery cell voltage is discharged from 1.25V to 0.83V, and the discharge voltage of the battery pack is 2.5V to 1.66V;

[0089] The third discharge stage (stage 3): the number of battery cells connected in series is 3, the number of battery cells connected in parallel is 2, the battery cell voltage is discharged from 0.83V to 0.625V, and the discharge voltage of the battery pack is 2.5V to 1.875V;

[0090] The fourth discharge stage (stage 4): the number of battery cells connected in series is 4, the number of battery cells connected in parallel is 1, the battery cell voltage is discharged from 0.625V to 0.5V, and the discharge voltage of the battery pack is 2.5V to 2.0V;

[0091] The fifth discharge stage (stage 5): the number of battery cells connected in series is 5, the voltage of the battery cells is discharged from 0.5 V to 0.3 V, and the discharge voltage of the battery pack is 2.5 V to 1.5 V. At this point, the discharge of the battery pack is completed.

[0092] Figure 7 This is a simulation result diagram of a battery pack discharge provided by an embodiment of the present disclosure, such as Figure 7 As shown, the battery pack includes 5 battery cells, and the second voltage interval of the battery cells is [0.25V, 2.4V]. When the battery pack is discharged, the voltage of the battery cells is discharged from 2.4V to 0.25V, and the discharge voltage of the battery pack fluctuates within [0.25V, 2.4V].

[0093] Figure 8 This is a simulation result diagram of a battery pack charging provided by an embodiment of the present disclosure, such as Figure 8 As shown, the battery pack includes 5 battery cells, and the second voltage interval of the battery cells is [0.25V, 2.48V]. When the battery pack is charged, the voltage of the battery cells is charged from 0.25V to 2.48V, and the voltage of the battery pack fluctuates within [1.1V, 2.8V].

[0094] It should be noted that when the battery pack is charging, the discharge voltage of the battery pack is measured, and when it is discharging, the voltage of the entire battery pack is measured. Since each connected component contained in the battery pack also has voltage, the voltage measured when the battery pack is charging will be slightly larger than the voltage measured when it is discharging.

[0095] like Figure 7 and Figure 8 As shown in the figure, after five stages of charge and discharge, the voltage variation range of the battery pack is reduced to nearly half, and with the switching of the charge and discharge stages, the voltage variation range of the battery pack is getting smaller and smaller. The voltage of the battery cell still varies from 2.5V to 0.25V, so as to maximize the use of battery energy, improve energy utilization, and increase the friendliness of power topology applications.

[0096] Fig. 9 A schematic diagram of a voltage waveform of a battery during single discharge provided by an embodiment of the present disclosure; Fig.10 A schematic diagram of a voltage waveform of a battery when charging according to an embodiment of the present disclosure; Fig. 9 and Fig.10 As shown, the voltage waveform of the voltage cell during discharge and the voltage wave during charging are locally amplified respectively. It can be seen that the voltage of the battery cell is changed in an alternating form and is charged and discharged in an overall balanced mode, which fully proves the realization of voltage balance, ensures the safety of battery charging and discharging, and verifies the reliability of cyclic switching of multiple candidate connection modes within a charging and discharging stage.

[0097] In order to implement the above embodiments, the present disclosure also proposes a battery charge and discharge control device.

[0098] Fig.11 This is a schematic diagram of the structure of a battery charge and discharge control device provided in an embodiment of the present disclosure.

[0099] like Fig.11 As shown, the battery charge and discharge control device 1100 may include:

[0100] The first acquisition module 1101 is used to acquire the current measured voltage of any battery cell in the battery pack;

[0101] A determination module 1102 is used to determine the target charge and discharge stage of the battery pack according to the measured voltage;

[0102] The second acquisition module 1103 is used to acquire candidate connection modes corresponding to each battery cell in the battery pack at a target charge and discharge stage;

[0103] The control module 1104 is used to control the connection components between the battery cells based on the candidate connection modes until the measured voltage of any battery cell reaches a voltage threshold corresponding to the target charge and discharge stage.

[0104] In some possible implementations, the control module 1104 is specifically configured to:

[0105] When there are multiple candidate connection modes, determining a switching frequency of the candidate connection modes;

[0106] Based on the switching frequency and the connection status between the connection components between the battery cells corresponding to each candidate connection mode, the connection components between the battery cells are controlled.

[0107] In some possible implementations, the control module 1104 is specifically configured to:

[0108] Obtaining the preset charging and discharging duration corresponding to the target charging and discharging phase, and the number of candidate connection modes;

[0109] Based on the preset charging and discharging time, and / or the number of candidate connection modes, the switching frequency of the candidate connection modes is determined.

[0110] In some possible implementations, the determining module 1102 is specifically configured to:

[0111] Obtaining a first voltage interval corresponding to each charging and discharging stage;

[0112] When the measured voltage is within any first voltage interval, the charge and discharge phase corresponding to any first voltage interval is determined as the target charge and discharge phase.

[0113] In some possible implementations, the determining module 1102 is specifically configured to:

[0114] Obtaining the total number of battery cells included in the battery pack and the second voltage range corresponding to each battery cell;

[0115] Determine a separation value corresponding to the second voltage interval based on a ratio of the upper limit voltage of the second voltage interval to n, where n is an integer greater than 1 and less than or equal to the total number of battery cells;

[0116] Based on the separation value, dividing the second voltage interval into a plurality of sub-voltage intervals;

[0117] Each sub-voltage interval is determined as a first voltage interval corresponding to a charge and discharge stage.

[0118] In some possible implementations, a processing module is further included, specifically configured to:

[0119] Determining the number of battery cells connected in series corresponding to each charge and discharge stage according to a ratio between an upper limit voltage of the second voltage interval and an upper limit voltage of the first voltage interval corresponding to each charge and discharge stage;

[0120] When the number of battery cells connected in series corresponding to any charging and discharging stage is less than the total number of battery cells included in the battery pack, the number of battery cells connected in parallel corresponding to any charging and discharging stage is determined according to the difference between the total number of battery cells and the number of battery cells connected in series;

[0121] According to the number of battery cells connected in series and the number of battery cells connected in parallel corresponding to each charging and discharging stage, a candidate connection mode corresponding to each charging and discharging stage is determined.

[0122] The functions and specific implementation principles of the above modules in the embodiments of the present disclosure can be referred to the above method embodiments, and will not be repeated here.

[0123] The battery charge and discharge control device of the disclosed embodiment can first obtain the current measured voltage of any battery cell in the battery pack, and then determine the target charge and discharge stage of the battery pack according to the measured voltage, and then obtain the candidate connection mode corresponding to each battery cell in the battery pack in the target charge and discharge stage, and finally control the connection components between each battery cell based on the candidate connection mode until the measured voltage of any battery cell reaches the voltage threshold corresponding to the target charge and discharge stage. Therefore, the connection between battery cells can be switched based on the candidate connection mode corresponding to the target charge and discharge stage of the battery pack, so that the battery cells can achieve battery voltage balance within the target charge and discharge stage, thereby reducing the consistency between battery cells, avoiding overcharging or overdischarging of battery cells, and improving battery life.

[0124] In order to implement the above embodiments, the present disclosure further proposes an electronic device, including: a memory, a processor, and a computer program stored in the memory and executable on the processor. When the processor executes the program, the battery charging and discharging control method proposed in the above embodiments of the present disclosure is implemented.

[0125] In order to implement the above embodiments, the present disclosure further proposes a computer-readable storage medium storing a computer program. When the computer program is executed by a processor, the battery charging and discharging control method proposed in the above embodiments of the present disclosure is implemented.

[0126] Fig.12 A block diagram of an exemplary electronic device suitable for implementing embodiments of the present disclosure is shown. Fig.12 The electronic device 1200 shown is merely an example and should not bring any limitation to the functions and scope of use of the embodiments of the present disclosure.

[0127] like Fig.12 As shown, the electronic device 1200 is in the form of a general-purpose computing device. The components of the electronic device 1200 may include, but are not limited to: one or more processors or processing units 16, a system memory 28, and a bus 18 connecting different system components (including the system memory 28 and the processing unit 16).

[0128] The bus 18 represents one or more of several types of bus structures, including a memory bus or memory controller, a peripheral bus, a graphics acceleration port, a processor or a local bus using any of a variety of bus structures. For example, these architectures include but are not limited to Industry Standard Architecture (ISA) bus, Micro Channel Architecture (MAC) bus, Enhanced ISA bus, Video Electronics Standards Association (VESA) local bus and Peripheral Component Interconnection (PCI) bus.

[0129] The electronic device 1200 typically includes a variety of computer system readable media. These media can be any available media that can be accessed by the electronic device 1200, including volatile and non-volatile media, removable and non-removable media.

[0130] The memory 28 may include computer system readable media in the form of volatile memory, such as random access memory (RAM) 30 and / or cache memory 32. The electronic device 1200 may further include other removable / non-removable, volatile / non-volatile computer system storage media. By way of example only, the storage system 34 may be used to read and write non-removable, non-volatile magnetic media ( Fig.12 not shown, usually called a "hard drive"). Although Fig.12Not shown in the figure, a disk drive for reading and writing a removable non-volatile disk (e.g., a "floppy disk"), and an optical disk drive for reading and writing a removable non-volatile optical disk (e.g., a compact disc read only memory (CD-ROM), a digital versatile disc read only memory (DVD-ROM), or other optical media) may be provided. In these cases, each drive may be connected to the bus 18 via one or more data medium interfaces. The memory 28 may include at least one program product having a set (e.g., at least one) of program modules configured to perform the functions of the various embodiments of the present disclosure.

[0131] A program / utility 40 having a set (at least one) of program modules 42 may be stored, for example, in the memory 28, such program modules 42 including but not limited to an operating system, one or more application programs, other program modules, and program data, each of which or some combination may include an implementation of a network environment. The program modules 42 generally perform the functions and / or methods of the embodiments described in the present disclosure.

[0132] The electronic device 1200 may also communicate with one or more external devices 14 (e.g., keyboard, pointing device, display 24, etc.), may also communicate with one or more devices that enable a user to interact with the electronic device 1200, and / or communicate with any device that enables the electronic device 1200 to communicate with one or more other computing devices (e.g., network card, modem, etc.). Such communication may be performed via an input / output (I / O) interface 22. Furthermore, the electronic device 1200 may also communicate with one or more networks (e.g., a local area network (LAN), a wide area network (WAN), and / or a public network, such as the Internet) via a network adapter 20. As shown, the network adapter 20 communicates with other modules of the electronic device 1200 via a bus 18. It should be understood that, although not shown in the figure, other hardware and / or software modules may be used in conjunction with the electronic device 1200, including but not limited to: microcode, device drivers, redundant processing units, external disk drive arrays, RAID systems, tape drives, and data backup storage systems.

[0133] The processing unit 16 executes various functional applications and data processing by running programs stored in the system memory 28, such as implementing the methods mentioned in the above embodiments.

[0134] In the description of this specification, the description with reference to the terms "one embodiment", "some embodiments", "example", "specific example", or "some examples" etc. means that the specific features, structures, materials or characteristics described in conjunction with the embodiment or example are included in at least one embodiment or example of the present disclosure. In this specification, the schematic representations of the above terms do not necessarily refer to the same embodiment or example. Moreover, the specific features, structures, materials or characteristics described may be combined in any one or more embodiments or examples in a suitable manner. In addition, those skilled in the art may combine and combine the different embodiments or examples described in this specification and the features of the different embodiments or examples, without contradiction.

[0135] In addition, the terms "first" and "second" are used for descriptive purposes only and should not be understood as indicating or implying relative importance or implicitly indicating the number of the indicated technical features. Thus, a feature defined as "first" or "second" may explicitly or implicitly include at least one of the features. In the description of the present disclosure, "plurality" means at least two, such as two, three, etc., unless otherwise clearly and specifically defined.

[0136] Any process or method description in a flowchart or otherwise described herein may be understood to represent a module, segment or portion of code that includes one or more executable instructions for implementing the steps of a custom logical function or process, and the scope of the preferred embodiments of the present disclosure includes additional implementations in which functions may not be performed in the order shown or discussed, including performing functions in a substantially simultaneous manner or in reverse order depending on the functions involved, which should be understood by technicians in the technical field to which the embodiments of the present disclosure belong.

[0137] The logic and / or steps represented in the flowchart or otherwise described herein, for example, can be considered as an ordered list of executable instructions for implementing logical functions, and can be embodied in any computer-readable medium for use by an instruction execution system, device or apparatus (such as a computer-based system, a system including a processor, or other system that can fetch instructions from an instruction execution system, device or apparatus and execute the instructions), or in combination with these instruction execution systems, devices or apparatuses. For the purpose of this specification, "computer-readable medium" can be any device that can contain, store, communicate, propagate or transmit a program for use by an instruction execution system, device or apparatus, or in combination with these instruction execution systems, devices or apparatuses. More specific examples of computer-readable media (a non-exhaustive list) include the following: an electrical connection with one or more wires (electronic device), a portable computer disk box (magnetic device), a random access memory (RAM), a read-only memory (ROM), an erasable and programmable read-only memory (EPROM or flash memory), a fiber optic device, and a portable compact disk read-only memory (CDROM). In addition, the computer-readable medium may even be paper or other suitable medium on which the program is printed, since the program may be obtained electronically, for example, by optically scanning the paper or other medium and then editing, interpreting or processing in other suitable ways if necessary, and then stored in a computer memory.

[0138] It should be understood that the various parts of the present disclosure can be implemented in hardware, software, firmware or a combination thereof. In the above-mentioned embodiments, multiple steps or methods can be implemented in software or firmware stored in a memory and executed by a suitable instruction execution system. For example, if implemented in hardware, as in another embodiment, any one of the following technologies known in the art or a combination thereof can be used to implement: a discrete logic circuit having a logic gate circuit for implementing a logic function for a data signal, a dedicated integrated circuit having a suitable combination of logic gate circuits, a programmable gate array (PGA), a field programmable gate array (FPGA), etc.

[0139] A person skilled in the art may understand that all or part of the steps in the method for implementing the above-mentioned embodiment may be completed by instructing related hardware through a program, and the program may be stored in a computer-readable storage medium, which, when executed, includes one or a combination of the steps of the method embodiment.

[0140] In addition, each functional unit in each embodiment of the present disclosure may be integrated into a processing module, or each unit may exist physically separately, or two or more units may be integrated into one module. The above-mentioned integrated module may be implemented in the form of hardware or in the form of a software functional module. If the integrated module is implemented in the form of a software functional module and sold or used as an independent product, it may also be stored in a computer-readable storage medium.

[0141] The storage medium mentioned above may be a read-only memory, a disk or an optical disk, etc. Although the embodiments of the present disclosure have been shown and described above, it can be understood that the above embodiments are exemplary and cannot be understood as limitations of the present disclosure. A person of ordinary skill in the art may change, modify, replace and modify the above embodiments within the scope of the present disclosure.

Claims

1. A battery charging and discharging control method, characterized in that: include: Get the current measured voltage of any battery cell in the battery pack; Determining a target charging and discharging stage of the battery pack according to the measured voltage; Obtaining candidate connection modes corresponding to each battery cell in the battery pack at the target charge and discharge stage; Based on the candidate connection modes, the connection components between the battery cells are controlled until the measured voltage of any of the battery cells reaches a voltage threshold corresponding to the target charge and discharge stage.

2. The method according to claim 1, characterized in that The controlling the connection components between the battery cells based on the candidate connection mode includes: When there are multiple candidate connection modes, determining a switching frequency of the candidate connection modes; Based on the switching frequency and the connection state between the connection components between the battery cells corresponding to each of the candidate connection modes, the connection components between the battery cells are controlled.

3. The method according to claim 2, characterized in that The determining the switching frequency of the candidate connection mode includes: Obtaining a preset charging and discharging duration corresponding to the target charging and discharging phase, and the number of the candidate connection modes; Based on the preset charging and discharging time, and / or the number of the candidate connection modes, a switching frequency of the candidate connection modes is determined.

4. The method according to claim 1, characterized in that: The step of determining the target charging and discharging stage of the battery pack according to the measured voltage includes: Obtaining a first voltage interval corresponding to each charging and discharging stage; When the measured voltage is within any first voltage interval, the charge and discharge phase corresponding to the any first voltage interval is determined as the target charge and discharge phase.

5. The method according to claim 4, characterized in that The obtaining of the first voltage interval corresponding to each charging and discharging stage includes: Acquire the total number of battery cells included in the battery pack and the second voltage interval corresponding to each of the battery cells; Determining a separation value corresponding to the second voltage interval based on a ratio of an upper limit voltage of the second voltage interval to n, wherein n is an integer greater than 1 and less than or equal to the total number of battery cells; Based on the separation value, dividing the second voltage interval into a plurality of sub-voltage intervals; Each of the sub-voltage intervals is determined as the first voltage interval corresponding to a charge and discharge stage.

6. The method according to claim 5, characterized in that Also includes: Determining the number of battery cells connected in series corresponding to each charge and discharge stage according to a ratio between an upper limit voltage of the second voltage interval and an upper limit voltage of the first voltage interval corresponding to each charge and discharge stage; When the number of battery cells connected in series corresponding to any charge and discharge stage is less than the total number of battery cells included in the battery pack, the number of battery cells connected in parallel corresponding to any charge and discharge stage is determined according to the difference between the total number of battery cells and the number of battery cells connected in series; According to the number of battery cells connected in series and the number of battery cells connected in parallel corresponding to each of the charging and discharging stages, a candidate connection mode corresponding to each of the charging and discharging stages is determined.

7. A battery charge and discharge control device, characterized in that: The device comprises: A first acquisition module, used to acquire the current measured voltage of any battery cell in the battery pack; A determination module, used to determine the target charge and discharge stage of the battery pack according to the measured voltage; A second acquisition module is used to acquire candidate connection modes corresponding to each battery cell in the battery pack during the target charge and discharge stage; A control module is used to control the connection components between the battery cells based on the candidate connection mode until the measured voltage of any of the battery cells reaches a voltage threshold corresponding to the target charge and discharge stage.

8. The device according to claim 7, characterized in that The control module is specifically used for: When there are multiple candidate connection modes, determining a switching frequency of the candidate connection modes; Based on the switching frequency and the connection state between the connection components between the battery cells corresponding to each of the candidate connection modes, the connection components between the battery cells are controlled.

9. An electronic device, characterized in that: The invention comprises a memory, a processor and a computer program stored in the memory and executable on the processor. When the processor executes the program, the battery charge and discharge control method as claimed in any one of claims 1 to 6 is implemented.

10. A computer-readable storage medium storing a computer program, characterized in that: When the computer program is executed by a processor, the battery charging and discharging control method as described in any one of claims 1 to 6 is implemented.