A single cell voltage control method, device, electronic device and storage medium

By determining the single-cell rechargeable battery with abnormal voltage within a preset time period and determining the processing priority based on the voltage value, and controlling the voltage adjustment using the voltage token bucket, the delay problem in the single-cell voltage control method is solved, and rapid response and equalization adjustment are achieved.

CN116118569BActive Publication Date: 2025-09-05DR OCTOPUS INTELLIGENT TECH (SHANGHAI) CO LTD
View PDF 2 Cites 0 Cited by

Patent Information

Application Number
CN202211679362.9
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2022-12-26
Publication Date
2025-09-05
Estimated Expiration
2042-12-26

AI Technical Summary

Technical Problem

In the prior art, the single battery voltage control method needs to generate a voltage frequency distribution table and store it, resulting in the problem of over-limit voltage adjustment delay.

Method used

By determining the target single rechargeable battery with abnormal voltage within a preset time period, a target charging control transaction is generated, and processing priority is determined based on the current voltage value, the transaction is placed into the voltage control transaction queue, and voltage adjustment is controlled using the voltage token bucket to avoid delays and adjustment imbalances.

Benefits of technology

It realizes rapid response to voltage abnormalities of single-cell batteries, avoids voltage adjustment delays and adjustment imbalances, and improves the timeliness and efficiency of voltage control.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN116118569B_ABST
    Figure CN116118569B_ABST
Patent Text Reader

Abstract

The present application provides a single-cell battery voltage control method, apparatus, electronic device, and storage medium. The method includes: determining a target single-cell rechargeable battery in an abnormal voltage state and generating a target charging control transaction corresponding to the target single-cell rechargeable battery; determining a processing priority based on the current voltage value of the target single-cell rechargeable battery, and placing the target charging control transaction into a voltage control transaction queue according to the processing priority; if the target charging control transaction is the currently executing transaction, using the difference between a first voltage threshold and the current voltage value as the to-be-charged voltage difference, and using the product of the to-be-charged voltage difference and a conversion coefficient as the target token quantity; determining whether the current number of tokens in a voltage token bucket is not less than the target token quantity; and if not, adjusting the voltage of the target single-cell rechargeable battery based on the to-be-charged voltage difference. By adopting the above-mentioned single-cell battery voltage control method, apparatus, electronic device, and storage medium, the problem of delayed single-cell battery voltage adjustment due to over-limit voltage is solved.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present application relates to the field of battery management technology, and in particular to a single cell battery voltage control method, device, electronic device, and storage medium. Background Art

[0002] With the development of pure electric vehicles and hybrid vehicles, series battery packs, as important energy storage devices, are a key factor affecting the performance of the entire vehicle. If the battery life can be extended and the battery utilization efficiency can be improved, the service life and popularity of pure electric vehicles and hybrid vehicles will be greatly improved. Due to the existence of the shortest plate effect, the overall performance of a series battery pack often depends on the worst-performing single cell in the battery pack. Among the parameters that characterize the battery status, the terminal voltage of the battery can best reflect its working status. Therefore, in order to effectively manage the energy use of the series battery pack and ensure the safety of battery use, it is necessary to monitor the usage status of the single cells in real time and issue real-time warnings and handle the situation where the voltage of the single cell exceeds the limit. In the existing technology, voltage control is usually performed using a voltage characteristic diagram. After generating the voltage characteristic diagram of the single cell, it is identified whether the overall pattern composed of the color blocks of any single cell is the same as the overall pattern composed of the color blocks of other single cells. This is used to determine whether the voltage of the single cell is abnormal and perform voltage control.

[0003] However, when using the voltage characteristic diagram method for voltage control, it is necessary to generate a voltage frequency distribution table for each single cell, then convert the voltage frequency distribution table into battery characteristic data and store it, and then control the voltage of each single cell in turn. Although this method can control the voltage of the single cell as a whole, the whole process takes a long time, resulting in the problem of delay in over-limit voltage adjustment. Summary of the Invention

[0004] In view of this, the purpose of the present application is to provide a single cell voltage control method, device, electronic device and storage medium to solve the problem of delay in adjusting the over-limit voltage of a single cell.

[0005] In a first aspect, an embodiment of the present application provides a single cell voltage control method, comprising:

[0006] Within a current preset time period, determining a target single rechargeable battery in an abnormal voltage state, and generating a target charging control transaction corresponding to the target single rechargeable battery;

[0007] Determine a processing priority based on the current voltage value of the target single rechargeable battery, and place the target charging control transaction into a voltage control transaction queue according to the processing priority;

[0008] If the target charging control transaction is the currently executed transaction, determine a conversion coefficient between the voltage difference and the number of tokens, use the difference between the first voltage threshold corresponding to the upper limit of the number of tokens in the voltage token bucket and the current voltage value of the target single rechargeable battery as the voltage difference to be charged, and multiply the voltage difference to be charged by the conversion coefficient as the target number of tokens;

[0009] If it is not less than the target token quantity, the voltage of the target single rechargeable battery within the current preset time period is adjusted based on the voltage difference to be charged.

[0010] Optionally, determining a target single rechargeable battery in a voltage abnormality state includes: for each single battery, determining whether the current voltage value of the single battery is less than the lower limit value of a preset voltage range; if the current voltage value is less than the lower limit value of the preset voltage range, determining that the single battery is a target single rechargeable battery in a voltage abnormality state.

[0011] Optionally, the processing priority is determined based on the current voltage value of the target single-cell rechargeable battery, and the target charging control transaction is placed in the voltage control transaction queue according to the processing priority, including: taking the charging control transaction to be executed that is ranked first in the voltage control transaction queue as the first reference transaction, and taking the voltage value corresponding to the first reference transaction as the target voltage value; comparing the current voltage value corresponding to the target charging control transaction with the target voltage value; if the current voltage value is less than the target voltage value, determining that the processing priority of the target charging control transaction is higher than the processing priority of the first reference transaction, and inserting the target charging control transaction into the voltage control transaction queue as the previous transaction of the first reference transaction; if the current voltage value is not less than the target voltage value, taking the next transaction of the first reference transaction in the voltage control transaction queue as the new first reference transaction, and returning to execute the step of taking the voltage value corresponding to the first reference transaction as the target voltage value.

[0012] Optionally, the method also includes: setting a voltage token bucket to increase the number of tokens in the voltage token bucket at a set speed and a fixed number; determining whether the current number of tokens in the voltage token bucket after increasing the fixed number is not greater than the upper limit of the token number; if the current number of tokens is greater than the upper limit of the token number, setting the current number of tokens to the upper limit of the token number.

[0013] Optionally, after determining whether the current number of tokens in the voltage token bucket is not less than the target number of tokens, it also includes: if it is less than the target number of tokens, delaying processing of the target charging control transaction until the current number of tokens in the voltage token bucket is not less than the target number of tokens and then processing the target charging control transaction.

[0014] Optionally, the method further includes: determining, for each single cell battery, whether a current voltage value of the single cell battery is greater than an upper limit value of a preset voltage range; if the current voltage value is greater than the upper limit value of the preset voltage range, determining that the single cell battery is a target single cell discharge battery, and generating a target discharge control transaction corresponding to the target single cell discharge battery; determining a processing priority based on the current voltage value of the target single cell discharge battery, and placing the target discharge control transaction into a voltage control transaction queue according to the processing priority.

[0015] Optionally, the method further includes: for each discharge control transaction, using the difference between the current voltage value corresponding to the discharge control transaction and the second voltage threshold as the standby voltage difference of the discharge control transaction; using the discharge control transaction at the end of the voltage control transaction queue as the second reference transaction, and using the standby voltage difference corresponding to the second reference transaction as the target standby voltage difference; determining whether the target standby voltage difference is not less than the standby voltage difference; if it is less than the standby voltage difference, using the discharge control transaction before the second reference transaction in the voltage control transaction queue as a new second reference transaction, using the sum of the standby voltage difference corresponding to the new second reference transaction and the target standby voltage difference as the new target standby voltage difference, and returning to the step of determining whether the target standby voltage difference is not less than the standby voltage difference; if it is not less than the standby voltage difference, using all target single-cell discharge batteries corresponding to the target standby voltage difference to charge the target single-cell charging battery.

[0016] In a second aspect, an embodiment of the present application further provides a single cell voltage control device, comprising:

[0017] A queue update module is used to determine a target single rechargeable battery in an abnormal voltage state within a current preset time period and generate a target charging control transaction corresponding to the target single rechargeable battery;

[0018] a priority determination module, configured to determine a processing priority based on a current voltage value of a target single rechargeable battery, and place the target charging control transaction into a voltage control transaction queue according to the processing priority;

[0019] a data calculation module, configured to, if the target charging control transaction is the currently executed transaction, determine a conversion coefficient between the voltage difference and the number of tokens, use the difference between a first voltage threshold corresponding to the upper limit of the number of tokens in the voltage token bucket and the current voltage value of the target single rechargeable battery as the voltage difference to be charged, and use the product of the voltage difference to be charged and the conversion coefficient as the target number of tokens;

[0020] A token comparison module is used to determine whether the current number of tokens in the voltage token bucket is not less than the target number of tokens;

[0021] The voltage adjustment module is used to adjust the voltage of the target single rechargeable battery within the current preset time period based on the target token number if the voltage is not less than the target token number.

[0022] In a third aspect, an embodiment of the present application further provides an electronic device comprising: a processor, a memory and a bus, wherein the memory stores machine-readable instructions executable by the processor. When the electronic device is running, the processor and the memory communicate via the bus, and when the machine-readable instructions are executed by the processor, the steps of the above-mentioned single cell voltage control method are performed.

[0023] In a fourth aspect, an embodiment of the present application further provides a computer-readable storage medium, on which a computer program is stored. When the computer program is executed by a processor, the steps of the single cell voltage control method as described above are executed.

[0024] The embodiments of the present application bring the following beneficial effects:

[0025] The embodiments of the present application provide a single cell voltage control method, device, electronic device and storage medium, which can determine the processing priority of the voltage control transaction of the target single cell rechargeable battery according to the current voltage value of the target single cell rechargeable battery in a voltage abnormal state, without waiting for the voltage frequency distribution table of each single cell to be generated before voltage adjustment, and can give priority to voltage control of single cells with severe overvoltage. At the same time, the voltage difference is adjusted by controlling the first voltage threshold corresponding to the upper limit of the token in the voltage token bucket to avoid excessive voltage adjustment and uneven adjustment when adjusting the voltage of different target single cell rechargeable batteries. In addition, the timing of voltage adjustment is determined according to the current number of tokens in the voltage token bucket to avoid conflict with other power demands. Compared with the single cell voltage control method in the prior art, the problem of delayed single cell voltage adjustment is solved.

[0026] In order to make the above-mentioned objects, features and advantages of the present application more obvious and easy to understand, preferred embodiments are given below and described in detail with reference to the accompanying drawings. BRIEF DESCRIPTION OF THE DRAWINGS

[0027] In order to more clearly illustrate the technical solutions of the embodiments of the present application, the following is a brief introduction to the drawings required for use in the embodiments. It should be understood that the following drawings only show certain embodiments of the present application and therefore should not be regarded as limiting the scope. For ordinary technicians in this field, other relevant drawings can be obtained based on these drawings without creative work.

[0028] Figure 1 A flow chart of a single cell voltage control method provided in an embodiment of the present application is shown;

[0029] Figure 2 A schematic structural diagram of a single cell voltage control device provided in an embodiment of the present application is shown;

[0030] Figure 3 A schematic structural diagram of an electronic device provided in an embodiment of the present application is shown. DETAILED DESCRIPTION

[0031] In order to make the purpose, technical solutions and advantages of the embodiments of the present application clearer, the technical solutions in the embodiments of the present application will be clearly and completely described below in conjunction with the drawings in the embodiments of the present application. Obviously, the described embodiments are only a part of the embodiments of the present application, rather than all of the embodiments. The components of the embodiments of the present application generally described and shown in the drawings here can be arranged and designed in various different configurations. Therefore, the following detailed description of the embodiments of the present application provided in the drawings is not intended to limit the scope of the application for which protection is claimed, but merely represents the selected embodiments of the present application. Based on the embodiments of the present application, each other embodiment obtained by those skilled in the art without making creative work falls within the scope of protection of the present application.

[0032] The terms "a", "an", "the" and "said" are used in this specification to indicate the presence of one or more elements / components / etc.; the terms "including" and "having" are used to express open-ended inclusion and mean that additional elements / components / etc. may exist in addition to the listed elements / components / etc.; the terms "first" and "second" etc. are used only as labels and are not intended to limit the quantity of their objects.

[0033] It should be understood that in the embodiments of the present application, "at least one" refers to one or more, and "more than one" refers to two or more. "And / or" is merely a description of the association relationship of associated objects, indicating that three relationships may exist. For example, A and / or B can represent: A exists alone, A and B exist at the same time, and B exists alone. The character " / " generally indicates that the previous and subsequent associated objects are in an "or" relationship. "Including A, B and / or C" means including any one, any two, or any three of A, B, and C.

[0034] It should be understood that in the embodiments of the present application, "B corresponding to A," "B corresponding to A," "A corresponds to B," or "B corresponds to A" means that B is associated with A and B can be determined based on A. Determining B based on A does not mean determining B based solely on A; B can also be determined based on A and / or other information.

[0035] It is worth noting that before the present application was made, with the development of pure electric vehicles and hybrid vehicles, series battery packs as important energy storage devices were a key factor affecting the performance of the entire vehicle. If the battery life can be extended and the battery utilization efficiency can be improved, the service life and popularity of pure electric vehicles and hybrid vehicles will be greatly improved. Due to the existence of the shortest board effect, the overall performance of the series battery pack often depends on the single cell with the worst performance in the battery pack. Among the parameters that characterize the battery status, the terminal voltage of the battery can best reflect its working status. Therefore, in order to effectively manage the energy use of the series battery pack and ensure the safe use of the battery, we need to monitor the usage status of the single cell in real time and issue real-time warnings and handle the situation where the voltage of the single cell exceeds the limit. In the prior art, voltage control is usually performed by means of a voltage characteristic diagram. After generating the voltage characteristic diagram of the single cell, it is identified whether the overall pattern composed of the color block of any single cell is the same as the overall pattern composed of the color block of other single cells. In this way, it is determined whether the voltage of the single cell is abnormal and voltage control is performed. However, when using the voltage characteristic diagram method for voltage control, it is necessary to generate a voltage frequency distribution table for each single cell, then convert the voltage frequency distribution table into battery characteristic data and store it, and then control the voltage of each single cell in turn. Although this method can control the voltage of the single cell as a whole, the whole process takes a long time, resulting in the problem of delay in over-limit voltage adjustment.

[0036] Based on this, an embodiment of the present application provides a single cell voltage control method to improve the timeliness of adjusting the over-limit voltage of the single cell and avoid conflicts with other power demands.

[0037] To facilitate those skilled in the art to better understand the present application, a single cell voltage control method, device, electronic device, and storage medium provided in the embodiments of the present application are described in detail below.

[0038] See also Figure 1 , is a single cell voltage control method provided in an embodiment of the present application. Specifically, the single cell voltage control method provided in an embodiment of the present application includes:

[0039] S101 , within a current preset time period, determining a target single rechargeable battery in an abnormal voltage state, and generating a target charging control transaction corresponding to the target single rechargeable battery.

[0040] In this step, the current preset time period may refer to the preset time period at the current time point, and the current preset time period is used to determine the frequency of obtaining the voltage of the single battery.

[0041] Exemplarily, the length of the preset time period may be 1 minute or 5 minutes.

[0042] The abnormal voltage state may refer to a situation where the voltage value of a single cell is lower than the lower limit of a preset voltage range. The abnormal voltage state is used to determine whether the voltage of the single cell is abnormal and needs to be adjusted.

[0043] The target charging control transaction may refer to a voltage control transaction corresponding to a target single rechargeable battery.

[0044] The voltage control transaction queue may refer to a queue composed of different voltage control transactions, and the voltage control transaction queue is used to control the execution order of different voltage control transactions.

[0045] In the embodiment of the present application, both pure electric vehicles and hybrid vehicles are provided with storage devices, such as a battery pack for storing electrical energy. The battery pack is composed of a plurality of single cells, and the terminal voltage of the single cell with the worst performance in the battery pack can best represent its working status. It is necessary to promptly control the voltage of the single cell when the terminal voltage is abnormal. Here, when restarting the battery, it is first necessary to detect the damage status of the single cell, and send a signal representing the damage status of the single cell to the on-board voltage display. If the voltage value of the single cell is normal, a signal "1" is sent; if the voltage value of the single cell is abnormal, a signal "-1" is sent, indicating that the single cell is damaged, and the relay is disconnected at the same time. Then, with a fixed time interval as a cycle, the terminal voltage of the single cell needs to be recorded within each preset time period.

[0046] Taking the preset time period of 5 minutes as an example, the current voltage value and current time point of each single battery are recorded every 5 minutes, and the current voltage value and current time point of each single battery in the next preset time period are recorded 5 minutes after the current time point.

[0047] Taking the current preset time period as an example, if the current voltage of a single battery is determined to be lower than the lower limit of the preset voltage range, the single battery is identified as a target single rechargeable battery, and a target charging control transaction corresponding to the target single rechargeable battery is established. The transaction information of the target charging control transaction includes the transaction identifier, the battery identifier of the single battery corresponding to the target charging control transaction, the current voltage value, and the recording time.

[0048] In an optional embodiment, determining a target single rechargeable battery in a voltage abnormality state includes: for each single battery, determining whether the current voltage value of the single battery is less than the lower limit value of a preset voltage range; if the current voltage value is less than the lower limit value of the preset voltage range, determining that the single battery is a target single rechargeable battery in a voltage abnormality state.

[0049] The preset voltage range may refer to a numerical interval of a normal voltage. For example, the preset voltage range may be 12 volts to 16 volts, with 12 volts being the lower limit and 16 volts being the upper limit.

[0050] Specifically, if it is determined that the current voltage value of the single cell A is 10 volts, since the current voltage value 10 volts is lower than 12 volts, the single cell A is regarded as a target single rechargeable battery in an abnormal voltage state.

[0051] If it is determined that the current voltage value of the single cell B is 18 volts, since the current voltage value is higher than 16 volts, the single cell B is used as the target single cell for discharge.

[0052] It can be seen that the present application can directly determine whether a single cell battery is in an abnormal voltage state based on the current voltage value of the single cell battery, without generating a voltage frequency distribution table for each single cell battery and then converting the voltage frequency distribution table into battery characteristic data for storage, thereby improving the control efficiency of the single cell battery voltage.

[0053] S102 : Determine a processing priority based on the current voltage value of the target single rechargeable battery, and put the target charging control transaction into a voltage control transaction queue according to the processing priority.

[0054] In this step, the processing priority may refer to the priority order of transaction processing. The higher the processing priority, the earlier the voltage control transaction is processed, and the lower the processing priority, the later the voltage control transaction is processed.

[0055] The current voltage value may refer to the voltage value of the single cell when the voltage value is recorded. The current voltage value is used to determine in real time whether the single cell is in an abnormal voltage state or is a discharging single cell.

[0056] The voltage control transaction queue may refer to a queue composed of multiple voltage control transactions in order of priority, and the voltage control transaction queue is used to store different voltage control transactions.

[0057] Transactions in the voltage control transaction queue can be divided into currently executed transactions and pending transactions. Currently executed transactions refer to transactions being executed, and pending transactions refer to transactions waiting to be executed. Multiple pending transactions are arranged in descending order of processing priority.

[0058] In an embodiment of the present application, the processing priority of the voltage control transaction corresponding to the single cell is determined according to the current voltage value of the different single cell. If the processing priority is higher than the priority of all pending transactions in the voltage control transaction queue, the voltage control transaction corresponding to the single cell is used as the first pending transaction, and the first pending transaction is executed after the current execution transaction is completed.

[0059] In an optional embodiment, a processing priority is determined based on the current voltage value of the target single-cell rechargeable battery, and the target charging control transaction is placed in the voltage control transaction queue according to the processing priority, including: taking the charging control transaction to be executed that is ranked first in the voltage control transaction queue as the first reference transaction, and taking the voltage value corresponding to the first reference transaction as the target voltage value; comparing the current voltage value corresponding to the target charging control transaction with the target voltage value; if the current voltage value is less than the target voltage value, determining that the processing priority of the target charging control transaction is higher than the processing priority of the first reference transaction, and inserting the target charging control transaction into the voltage control transaction queue as the previous transaction of the first reference transaction; if the current voltage value is not less than the target voltage value, taking the next transaction of the first reference transaction in the voltage control transaction queue as the new first reference transaction, and returning to the step of taking the voltage value corresponding to the first reference transaction as the target voltage value.

[0060] Specifically, assume that three charging control transactions, transaction a, transaction b, and transaction c, already exist in the voltage control transaction queue. Transaction b corresponds to a voltage value of 10 volts, and transaction c corresponds to a voltage value of 11 volts. Transaction a is the currently executing transaction, while transactions b and c are both pending. Transaction b has a higher processing priority than transaction c.

[0061] After determining that a new target single-cell rechargeable battery D is in an abnormal voltage state, first, transaction b is selected as the first reference transaction, and the voltage value 10 volts in the transaction information of the first reference transaction is used as the target voltage value. The current voltage value of the target single-cell rechargeable battery D is compared with 10 volts. If the current voltage value is less than 10 volts, it is determined that the processing priority of transaction d corresponding to the target single-cell rechargeable battery D is higher than the processing priority of transaction b. Transaction d is placed before transaction b, that is, it is inserted into the voltage control transaction queue as the first transaction to be executed.

[0062] If the current voltage value is greater than or equal to 10 volts, transaction c is used as the new first reference transaction, and the voltage value of 11 volts corresponding to transaction c is used as the target voltage value, and so on, until the target charging control transaction is placed in the voltage control transaction queue.

[0063] It can be seen that in the embodiment of the present application, the processing priority of the target charging control transaction is determined based on the current voltage value, and the current voltage value of the target charging control transaction is compared with the voltage value in the voltage control transaction queue in order from front to back in the voltage control transaction queue. This can quickly determine the processing priority of the target charging control transaction, save comparison time, and improve the efficiency of determining the processing priority.

[0064] S103, if the target charging control transaction is the currently executed transaction, determine the conversion coefficient between the voltage difference and the number of tokens, use the difference between the first voltage threshold corresponding to the upper limit of the number of tokens in the voltage token bucket and the current voltage value of the target single rechargeable battery as the voltage difference to be charged, and use the product of the voltage difference to be charged and the conversion coefficient as the target number of tokens.

[0065] In this step, the voltage token bucket may refer to the bucket into which the token is placed. The voltage token bucket is used to control the speed of allocating voltage to the target single-cell rechargeable battery, thereby avoiding the problem of uneven voltage distribution caused by instantaneously allocating a large amount of voltage to single-cell batteries with abnormal voltage, and preventing conflicts with other power demands.

[0066] The upper limit of the number of tokens may refer to the upper limit of the number of tokens that can be placed in the voltage token bucket. The upper limit of the number of tokens is used to limit the voltage value of the adjusted single battery. The upper limit of the number of tokens is determined by the first voltage threshold and the conversion coefficient.

[0067] The first voltage threshold is used to determine the maximum voltage value to which the single rechargeable battery can be adjusted. For example, the first voltage threshold can be the starting voltage of the vehicle, that is, the basic voltage required for starting the vehicle, such as 12 volts.

[0068] The voltage difference to be charged may refer to the adjustment range of the voltage value of the target single rechargeable battery.

[0069] The target token quantity may refer to the quantity of tokens in the voltage token bucket that needs to be consumed when the voltage of the target single rechargeable battery is adjusted.

[0070] In the embodiment of the present application, the first voltage threshold and the conversion relationship between the voltage difference and the token can be set first, and the value of the upper limit of the number of tokens can be calculated based on the conversion relationship.

[0071] Taking the above example as an example, if transaction d is the first pending transaction, then after transaction a completes, transaction d becomes the currently executing transaction. At this point, the current voltage value and the battery identifier of the target single rechargeable battery are obtained from the transaction information of transaction d. Based on this current voltage value and the first voltage threshold, the corresponding pending charging voltage difference and target token quantity for transaction d are calculated.

[0072] Assuming that the current voltage value is 8 volts, the first voltage threshold is 12 volts, and 1 volt voltage is set to correspond to 10 tokens, the conversion coefficient is 10, and the voltage difference to be charged is 12-8=4 volts. Therefore, by calculation, the target number of tokens is 4×10=40.

[0073] In an optional embodiment, the method also includes: setting a voltage token bucket to increase the number of tokens in the voltage token bucket at a set speed and a fixed number; determining whether the current number of tokens in the voltage token bucket after the fixed number is increased is not greater than the upper limit of the token number; if the current number of tokens is greater than the upper limit of the token number, setting the current number of tokens to the upper limit of the token number.

[0074] Specifically, a counter is set. When the counter starts, a fixed number of tokens are added to the voltage token bucket at a first set rate. For example, if two tokens are added every two seconds, a total of 300 tokens can be added in five minutes. With a conversion factor of 10, these 300 tokens can adjust a total voltage of 30 volts. Since the upper limit of the number of tokens is set at 120, when there are already 120 tokens in the voltage token bucket, adding two more tokens will exceed the upper limit. Therefore, the number of tokens in the voltage token bucket remains unchanged until a voltage control transaction consumes a certain number of tokens. At this time, the number of tokens in the voltage token bucket increases again at a rate of 2 tokens every two seconds.

[0075] Here, increasing the number of tokens in the voltage token bucket at a set speed and a fixed number can limit the charging rate of the over-limit single battery, thereby achieving a voltage-limiting effect on the voltage value of the single battery.

[0076] Assuming that the request rate of the target charging control transaction corresponding to the single battery is Vr and the token generation rate is Vp, there will be the following three situations:

[0077] (1) If Vr>Vp, the tokens will be used up quickly and subsequent requests will be rejected, reaching the limit.

[0078] (2) Vr = Vp, at this time the battery is in a balanced state;

[0079] (3) Vr<Vp, at this time the battery is in a relatively balanced state, and the request can be processed normally. Since the token bucket has a fixed capacity, when Vr<Vp, the token bucket will be filled, so the token bucket can handle the instantaneous undervoltage of the single cell. For example, when there are 100 tokens in the bucket, then these 100 tokens can be taken away immediately.

[0080] S104 , determining whether the current number of tokens in the voltage token bucket is not less than the target number of tokens.

[0081] In this step, the current number of tokens in the voltage token bucket represents the amount of voltage available to adjust the abnormal voltage of the single cell battery. This voltage can be obtained from the total voltage of the vehicle. However, to ensure the needs of other power systems in the vehicle, the total voltage cannot be arbitrarily allocated. Here, the current number of tokens in the voltage token bucket is used to control the amount of voltage available. If the current number of tokens is insufficient, the voltage of the single cell battery with an abnormal voltage cannot be adjusted. If the current number of tokens is not less than the target number of tokens, it indicates that there is sufficient voltage available to adjust the voltage of the target single cell battery. If the current number of tokens is less than the target number of tokens, it indicates that there is insufficient voltage available to adjust the voltage of the target single cell battery.

[0082] In an optional embodiment, after determining whether the current number of tokens in the voltage token bucket is not less than the target number of tokens, it also includes: if it is less than the target number of tokens, delaying the processing of the target charging control transaction until the current number of tokens in the voltage token bucket is not less than the target number of tokens and then processing the target charging control transaction.

[0083] Specifically, if the current number of tokens in the voltage token bucket is less than the target number of tokens, it indicates that the voltage of the target single-cell battery is insufficient and the system needs to add more tokens to the voltage token bucket. Assuming the current number of tokens in the voltage token bucket is 50 and the target number of tokens is 60, with a difference of 10, then after 10 seconds the current number of tokens in the voltage token bucket will equal the target number of tokens, at which point the target charging control transaction can be processed.

[0084] Here, if the current number of tokens in the voltage token bucket is not less than the target number of tokens, it means that the current voltage value available for voltage control is insufficient. In order to ensure that the increase rate of battery capacity is lower than the generation rate of tokens in the bucket, the target charging control transaction needs to be postponed to achieve voltage limiting for the single battery.

[0085] S105 , if the number of tokens is not less than the target number, the voltage of the target single rechargeable battery within the current preset time period is adjusted based on the voltage difference to be charged.

[0086] In this step, if the current number of tokens in the voltage token bucket is not less than the target number of tokens, it means that the voltage of the target single rechargeable battery can be adjusted, and a corresponding amount of voltage can be allocated from the total voltage to adjust the voltage of the target single rechargeable battery.

[0087] Here, the distributed voltage may be obtained from a separate device specifically used to adjust the voltage of the single cell, or may be obtained through dynamic balancing with the voltages of other single cells.

[0088] In an optional embodiment, the method further includes: determining, for each single cell, whether a current voltage value of the single cell is greater than an upper limit of a preset voltage range; if the current voltage value is greater than the upper limit of the preset voltage range, determining that the single cell is a target discharge single cell, and generating a target discharge control transaction corresponding to the target discharge single cell; determining a processing priority based on the current voltage value of the target discharge single cell, and placing the target discharge control transaction into a voltage control transaction queue according to the processing priority.

[0089] Here, pending transactions can be divided into pending charging transactions and pending discharging transactions. The pending transactions corresponding to the target single charging battery can be called pending charging transactions, and the pending transactions corresponding to the target single discharging battery can be called pending discharging transactions.

[0090] The currently executed transaction can be divided into a currently executed charging transaction and a currently executed discharging transaction. The currently executed transaction corresponding to the target single charging battery can be called a currently executed charging transaction, and the currently executed transaction corresponding to the target single discharging battery can be called a currently executed discharging transaction.

[0091] Specifically, assuming the current voltage of a single cell is 18 volts and the upper limit of the preset voltage range is 16 volts, since the current voltage of the single cell is greater than the upper limit of the preset voltage range, the single cell can be used as the target discharge cell. Similarly, a target discharge control transaction corresponding to the target discharge cell is generated.

[0092] The first pending control transaction in the voltage control transaction queue is used as the first reference transaction, and the voltage value corresponding to the first reference transaction is used as the target voltage value; the current voltage value corresponding to the target discharge control transaction is compared with the target voltage value; if the current voltage value is less than the target voltage value, it is determined that the processing priority of the target discharge control transaction is higher than the processing priority of the first reference transaction, and the target discharge control transaction is inserted into the voltage control transaction queue as the previous transaction of the first reference transaction; if the current voltage value is not less than the target voltage value, the next transaction after the first reference transaction in the voltage control transaction queue is used as the new first reference transaction, and the process returns to the step of using the voltage value corresponding to the first reference transaction as the target voltage value.

[0093] Since the current voltage value of the target charge control transaction is necessarily smaller than the current voltage value of the target discharge control transaction, the target discharge control transaction is necessarily arranged after the target charge control transaction.

[0094] It can be seen that the present application can not only determine the single cell with a lower current voltage and establish a target charging control transaction, but also establish a target discharge control transaction for the single cell with a higher current voltage. In this way, the voltage balance between different single cells can be achieved more quickly, avoiding the situation where the voltage difference between different single cells is large.

[0095] In an optional embodiment, the method further includes: for each discharge control transaction, using the difference between the current voltage value corresponding to the discharge control transaction and the second voltage threshold as the standby voltage difference of the discharge control transaction; using the discharge control transaction ranked last in the voltage control transaction queue as the second reference transaction, and using the standby voltage difference corresponding to the second reference transaction as the target standby voltage difference; determining whether the target standby voltage difference is not less than the standby voltage difference; if it is less than the standby voltage difference, using the discharge control transaction before the second reference transaction in the voltage control transaction queue as a new second reference transaction, using the sum of the standby voltage difference corresponding to the new second reference transaction and the target standby voltage difference as the new target standby voltage difference, and returning to the step of determining whether the target standby voltage difference is not less than the standby voltage difference; if it is not less than the standby voltage difference, using all target single-cell discharge batteries corresponding to the target standby voltage difference to charge the target single-cell charging battery.

[0096] Specifically, a second voltage threshold is set, and the second voltage threshold is used to determine the discharge capacity that each target single discharge battery can provide. The higher the second voltage threshold, the smaller the discharge capacity, and the lower the second voltage threshold, the larger the discharge capacity.

[0097] The difference between the current voltage value corresponding to the target discharge control transaction and the second voltage threshold determines the amount of power that the corresponding target discharge battery can provide. This difference is called the standby voltage difference. Since the current voltage value of the discharge control transaction at the end of the voltage control transaction queue is the highest, the target discharge battery corresponding to the last discharge control transaction can be used to charge the target rechargeable battery.

[0098] If the target single discharge battery corresponding to the last discharge control transaction cannot provide sufficient electric energy, then calculate whether the sum of the standby discharge voltage difference corresponding to the last discharge control transaction and the standby discharge voltage difference corresponding to the second-to-last discharge control transaction can provide sufficient electric energy. Repeat this process until the sum of the standby discharge voltage differences corresponding to multiple discharge control transactions ranked from the back to the front can provide sufficient electric energy. Then, use the target single discharge batteries corresponding to these multiple discharge control transactions to charge the target single rechargeable battery.

[0099] Here, for the target discharge control transaction, since the current voltage value corresponding to the transaction is higher, the current voltage value of the target discharge control transaction is compared with the voltage values ​​in the voltage control transaction queue in order from back to front in the voltage control transaction queue. This can quickly determine the processing priority of the target discharge control transaction, save comparison time, and improve the efficiency of determining the processing priority.

[0100] It should be noted that when the target discharge battery charges the target rechargeable battery, the target discharge control transaction corresponding to the target discharge battery will be removed from the voltage control transaction queue. When the target rechargeable battery is fully charged, the target charge control transaction corresponding to the target rechargeable battery will also be removed from the voltage control transaction queue. In addition, the currently executing charge transaction and the currently executing discharge transaction can be processed in parallel.

[0101] Compared with the operation guidance method in the prior art, the present application can determine the processing priority of the voltage control transaction of the target single-cell rechargeable battery according to the current voltage value of the target single-cell rechargeable battery in the voltage abnormal state, without waiting for the voltage frequency distribution table of each single-cell battery to be generated before voltage adjustment, and can give priority to voltage control of the single-cell battery with serious overvoltage. At the same time, the voltage difference is adjusted by controlling the first voltage threshold value corresponding to the upper limit of the token in the voltage token bucket to avoid excessive voltage adjustment and uneven adjustment when adjusting the voltage of different target single-cell rechargeable batteries. In addition, the timing of voltage adjustment is determined according to the current number of tokens in the voltage token bucket to avoid conflicts with other power demands, thereby solving the problem of delayed voltage adjustment of single-cell batteries exceeding the limit.

[0102] Based on the same inventive concept, the embodiment of the present application also provides a single cell voltage control device corresponding to the single cell voltage control method. Since the principle of solving the problem by the device in the embodiment of the present application is similar to the above-mentioned single cell voltage control method in the embodiment of the present application, the implementation of the device can refer to the implementation of the method, and the repeated parts will not be repeated.

[0103] See also Figure 2 , Figure 2 FIG. 1 shows a schematic diagram of the structure of a single cell voltage control device provided in an embodiment of the present application. Figure 2 As shown in FIG, the single cell voltage control device 200 includes:

[0104] The queue updating module 201 is configured to determine a target single rechargeable battery in an abnormal voltage state within a current preset time period and generate a target charging control transaction corresponding to the target single rechargeable battery;

[0105] The priority determination module 202 is configured to determine a processing priority based on the current voltage value of the target single rechargeable battery, and place the target charging control transaction into a voltage control transaction queue according to the processing priority;

[0106] The data calculation module 203 is configured to, if the target charging control transaction is the currently executed transaction, determine a conversion coefficient between the voltage difference and the number of tokens, use the difference between the first voltage threshold corresponding to the upper limit of the number of tokens in the voltage token bucket and the current voltage value of the target single rechargeable battery as the voltage difference to be charged, and multiply the voltage difference to be charged by the conversion coefficient as the target number of tokens;

[0107] A token comparison module 204 is configured to determine whether the current number of tokens in the voltage token bucket is not less than a target number of tokens;

[0108] The voltage adjustment module 205 is configured to adjust the voltage of the target single rechargeable battery within a current preset time period based on the voltage difference to be charged if the voltage is not less than the target token quantity.

[0109] See also Figure 3 , Figure 3 FIG. 1 shows a schematic diagram of the structure of an electronic device provided in an embodiment of the present application. Figure 3 As shown in FIG, the electronic device 300 includes a processor 310 , a memory 320 and a bus 330 .

[0110] The memory 320 stores machine-readable instructions executable by the processor 310. When the electronic device 300 is running, the processor 310 communicates with the memory 320 via the bus 330. When the machine-readable instructions are executed by the processor 310, the above-mentioned Figure 1 The steps of the single cell voltage control method in the method embodiment are shown.

[0111] The embodiment of the present application also provides a computer-readable storage medium on which a computer program is stored. When the computer program is executed by a processor, the computer program can execute the above-mentioned Figure 1 The specific implementation of the steps of the single cell voltage control method in the method embodiment shown can be found in the method embodiment, and will not be repeated here.

[0112] Those skilled in the art will clearly understand that, for the convenience and brevity of description, the specific working processes of the systems, devices and units described above can refer to the corresponding processes in the aforementioned method embodiments and will not be repeated here.

[0113] In the several embodiments provided in this application, it should be understood that the disclosed systems, devices and methods can be implemented in other ways. The device embodiments described above are merely schematic. For example, the division of the units is merely a logical function division. There may be other division methods in actual implementation. For example, multiple units or components may be combined or integrated into another system, or some features may be ignored or not executed. Another point is that the mutual coupling or direct coupling or communication connection shown or discussed may be through some communication interface, indirect coupling or communication connection of devices or units, which may be electrical, mechanical or other forms.

[0114] The units described as separate components may or may not be physically separate, and the components shown as units may or may not be physical units, that is, they may be located in one place or distributed across multiple network units. Some or all of these units may be selected to achieve the purpose of this embodiment according to actual needs.

[0115] In addition, each functional unit in each embodiment of the present application may be integrated into one processing unit, or each unit may exist physically separately, or two or more units may be integrated into one unit.

[0116] If the functions are implemented in the form of software functional units and sold or used as independent products, they can be stored in a non-volatile computer-readable storage medium that is executable by a processor. Based on this understanding, the technical solution of the present application, or the part that contributes to the prior art, or the part of the technical solution, can be embodied in the form of a software product. The computer software product is stored in a storage medium and includes several instructions for enabling a computer device (which can be a personal computer, a server, or a network device, etc.) to execute all or part of the steps of the method described in each embodiment of the present application. The aforementioned storage medium includes various media that can store program codes, such as a USB flash drive, a mobile hard disk, a read-only memory (ROM), a random access memory (RAM), a magnetic disk or an optical disk.

[0117] Finally, it should be noted that the above-described embodiments are only specific implementation methods of the present application, which are used to illustrate the technical solutions of the present application, rather than to limit them. The scope of protection of the present application is not limited thereto. Although the present application has been described in detail with reference to the above-mentioned embodiments, those skilled in the art should understand that any person skilled in the art can modify or easily conceive of changes to the technical solutions described in the above-mentioned embodiments within the technical scope disclosed in the present application, or perform equivalent replacements for some of the technical features thereof. These modifications, changes, or replacements do not deviate from the spirit and scope of the technical solutions of the embodiments of the present application, and should be included in the scope of protection of the present application. Therefore, the scope of protection of the present application should be based on the scope of protection of the claims.

Claims

1. A method for controlling the voltage of a single cell, characterized in that: include: Within a current preset time period, determining a target single rechargeable battery in an abnormal voltage state, and generating a target charging control transaction corresponding to the target single rechargeable battery; Determine a processing priority based on the current voltage value of the target single rechargeable battery, and place the target charging control transaction into a voltage control transaction queue according to the processing priority; If the target charging control transaction is the currently executed transaction, determine the conversion coefficient between the voltage difference and the number of tokens, use the difference between the first voltage threshold corresponding to the upper limit of the number of tokens in the voltage token bucket and the current voltage value of the target single rechargeable battery as the voltage difference to be charged, and use the product of the voltage difference to be charged and the conversion coefficient as the target number of tokens. The conversion coefficient is the number of tokens consumed for each volt increase in the voltage of the single battery. The voltage token bucket refers to the bucket where the tokens are placed. The voltage token bucket is used to control the speed of allocating voltage to the target single rechargeable battery to avoid instantaneously allocating a large amount of voltage to a single battery with abnormal voltage, resulting in uneven voltage distribution. The upper limit of the number of tokens refers to the upper limit of the number of tokens that can be placed in the voltage token bucket. The upper limit of the number of tokens is used to limit the voltage value of the single battery after adjustment. Determine whether the current number of tokens in the voltage token bucket is not less than the target number of tokens; If it is not less than the target token quantity, the voltage of the target single rechargeable battery within the current preset time period is adjusted based on the voltage difference to be charged.

2. The method according to claim 1, characterized in that The step of determining a target single rechargeable battery in an abnormal voltage state includes: For each single battery, determining whether the current voltage value of the single battery is less than the lower limit value of the preset voltage range; If the current voltage value is less than the lower limit of the preset voltage range, it is determined that the single cell is a target single rechargeable battery in an abnormal voltage state.

3. The method according to claim 1, characterized in that The step of determining a processing priority based on a current voltage value of a target single rechargeable battery and placing the target charging control transaction into a voltage control transaction queue according to the processing priority includes: The charging control transaction to be executed that ranks first in the voltage control transaction queue is used as the first reference transaction, and the voltage value corresponding to the first reference transaction is used as the target voltage value; Compare the current voltage value corresponding to the target charging control transaction with the target voltage value; If the current voltage value is less than the target voltage value, determining that the processing priority of the target charging control transaction is higher than the processing priority of the first reference transaction, and inserting the target charging control transaction into the voltage control transaction queue as the previous transaction of the first reference transaction; If the current voltage value is not less than the target voltage value, the next transaction of the first reference transaction in the voltage control transaction queue is used as a new first reference transaction, and the process returns to the step of using the voltage value corresponding to the first reference transaction as the target voltage value.

4. The method according to claim 1, wherein The method further comprises: Set the voltage token bucket to increase the number of tokens in the voltage token bucket at a set speed and a fixed amount; Determine whether the current number of tokens in the voltage token bucket after the fixed number of tokens is increased is not greater than the upper limit of the number of tokens; If the current number of tokens is greater than the upper limit of the token number, the current number of tokens is set to the upper limit of the token number.

5. The method according to claim 1, characterized in that After determining whether the current number of tokens in the voltage token bucket is not less than the target number of tokens, the method further includes: If the number of tokens is less than the target number, the target charging control transaction is delayed until the current number of tokens in the voltage token bucket is not less than the target number of tokens and then the target charging control transaction is processed.

6. The method according to claim 1, wherein The method further comprises: For each single battery, determining whether the current voltage value of the single battery is greater than the upper limit value of the preset voltage range; If the current voltage value is greater than the upper limit of the preset voltage range, the single cell is determined to be a target discharge single cell, and a target discharge control transaction corresponding to the target discharge single cell is generated; The processing priority is determined based on the current voltage value of the target single discharge battery, and the target discharge control transaction is placed in the voltage control transaction queue according to the processing priority.

7. The method according to claim 6, characterized in that The method further comprises: For each discharge control transaction, the difference between the current voltage value corresponding to the discharge control transaction and the second voltage threshold is used as the standby discharge voltage difference of the discharge control transaction; The discharge control transaction ranked last in the voltage control transaction queue is used as the second reference transaction, and the standby voltage difference corresponding to the second reference transaction is used as the target standby voltage difference; Determine whether the target discharge voltage difference is not less than the charge voltage difference; If it is less than the voltage difference to be charged, the discharge control transaction preceding the second reference transaction in the voltage control transaction queue is used as a new second reference transaction, the sum of the voltage difference to be discharged corresponding to the new second reference transaction and the target voltage difference to be discharged is used as a new target voltage difference to be discharged, and the process returns to the step of determining whether the target voltage difference to be discharged is not less than the voltage difference to be charged; If it is not less than the target voltage difference to be charged, all target single-cell discharge batteries corresponding to the target voltage difference to be discharged are used to charge the target single-cell rechargeable battery.

8. A single cell voltage control device, characterized in that: include: A queue update module is used to determine a target single rechargeable battery in an abnormal voltage state within a current preset time period and generate a target charging control transaction corresponding to the target single rechargeable battery; a priority determination module, configured to determine a processing priority based on a current voltage value of a target single rechargeable battery, and place the target charging control transaction into a control transaction queue according to the processing priority; a data calculation module, configured to, if the target charging control transaction is the currently executed transaction, determine a conversion coefficient between the voltage difference and the number of tokens, use the difference between a first voltage threshold corresponding to an upper limit of the number of tokens in the voltage token bucket and the current voltage value of the target single-cell rechargeable battery as the voltage difference to be charged, and use the product of the voltage difference to be charged and the conversion coefficient as the target number of tokens, wherein the conversion coefficient is the number of tokens consumed for each volt increase in the voltage of the single-cell battery; the voltage token bucket refers to a bucket into which tokens are placed, and the voltage token bucket is used to control the speed at which voltage is distributed to the target single-cell rechargeable battery to avoid uneven voltage distribution caused by instantaneously distributing a large amount of voltage to a single-cell battery with abnormal voltage; the token number upper limit refers to the upper limit of the number of tokens that can be placed in the voltage token bucket, and the token number upper limit is used to limit the voltage value of the adjusted single-cell battery; A token comparison module is used to determine whether the current number of tokens in the voltage token bucket is not less than the target number of tokens; The voltage adjustment module is used to adjust the voltage of the target single rechargeable battery within the current preset time period based on the voltage difference to be charged if the voltage is not less than the target token number.

9. An electronic device, characterized in that: include: A processor, a storage medium, and a bus, wherein the storage medium stores machine-readable instructions executable by the processor. When the electronic device is running, the processor and the storage medium communicate via the bus, and the processor executes the machine-readable instructions to perform the steps of the single cell voltage control method according to any one of claims 1 to 7.

10. A computer-readable storage medium, characterized in that The computer-readable storage medium stores a computer program, and when the computer program is executed by a processor, the steps of the single cell voltage control method according to any one of claims 1 to 7 are executed.

Citation Information

Patent Citations

  • Apparatus and Method for battery pack charging

    KR1020170087821A

  • Data control method and terminal device

    WO2020014954A1