Battery control method and device, electronic equipment and computer readable storage medium

By setting the voltage threshold and corresponding charging current strategy during the charging process of lithium-ion batteries, the lithium-ion evolution and thermal runaway problems when the battery voltage is too low are solved, and the charging efficiency and safety are improved.

CN119298294APending Publication Date: 2025-01-10SHANGHAI XUANYI NEW ENERGY DEV CO LTD
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202411474690.4
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2024-10-22
Publication Date
2025-01-10

AI Technical Summary

Technical Problem

The existing lithium-ion battery charging method uses high current charging when the battery voltage is too low, which may lead to lithium decomposition, thermal runaway, short circuit and damage to the battery, and the charging time is long and the user experience is poor.

Method used

Using voltage detection and threshold judgment mechanisms, the first charging threshold and the second charging threshold are set to determine whether the battery is in a damaged or undervoltage state, and if it is lower than the first threshold, charging is prohibited, and if it is lower than the second threshold, a smaller one is used A current is charged until the battery voltage is not lower than the second threshold and the second current is charged.

Benefits of technology

It avoids problems such as lithium battery separation, thermal runaway, and short circuit, shorten charging time, and improves charging quality and user experience.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN119298294A_ABST
    Figure CN119298294A_ABST
Patent Text Reader

Abstract

The invention discloses a battery control method. The method comprises the following steps: a voltage detection step: detecting the voltage of a battery; a first charging judgment step: judging whether the battery voltage is lower than a first charging threshold value or not; if yes, charging is forbidden; if not, a second charging judgment step is carried out; a second charging judgment step: judging whether the battery voltage is lower than a second charging threshold value or not; if yes, charging the battery with a first current; if not, charging the battery with a second current until the battery is fully charged; wherein the second current is greater than the first current, and the second charging threshold is greater than the first charging threshold; wherein the first charging threshold value is determined according to the damaged voltage of the battery; the second charging threshold value is determined according to the voltage of the under-voltage fault of the battery. Different currents can be used for charging according to the condition of the battery voltage, the charging efficiency can be improved, and the charging quality is ensured. The invention further discloses a battery control device, electronic equipment and a computer readable storage medium.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present invention relates to the technical field of battery charging and discharging, and in particular to a battery control method, a battery control device, an electronic device and a computer-readable storage medium. Background Art

[0002] With the development of the country's "dual carbon" strategy, the new energy vehicle industry has been rapidly promoted with the support of the country. Lithium batteries, as the energy core of new energy vehicles, have the advantages of high specific energy, low self-discharge rate and long cycle life, and are therefore widely installed in electric vehicles.

[0003] However, the large-scale use of lithium-ion batteries has also brought about problems related to charging protection. For example, when the power battery of the entire vehicle is charged at low voltage, if it is not protected, it may cause lithium deposition in the battery, and then serious problems such as thermal runaway may occur.

[0004] The charging method of the prior art is to charge according to the battery cell parameter table, and directly charge with a high current when the battery cell voltage is too low. However, the above-mentioned charging method of the prior art, directly charging with a high current may cause the voltage to be artificially high. When checking the battery cell parameter table to determine the charging current, the current is reduced in advance, the charging time is long, and the user experience is poor. In addition, when the battery cell voltage is too low, continuing to charge with a high current may cause lithium deposition in the battery during the charging process, internal thermal runaway, short circuit, and damage to the battery. Summary of the invention

[0005] The present invention proposes a battery control method to solve the above problems.

[0006] In a first aspect, an embodiment of the present invention discloses a battery control method, comprising:

[0007] Voltage detection steps: detect battery voltage;

[0008] The first charging judgment step: judging whether the battery voltage is lower than the first charging threshold; if the battery voltage is lower than the first charging threshold, charging is prohibited; if the battery voltage is not lower than the first charging threshold, the second charging judgment step is performed;

[0009] The second charging judgment step: judging whether the battery voltage is lower than the second charging threshold; if the battery voltage is lower than the second charging threshold, charging the battery with the first current; if the battery voltage is not lower than the second charging threshold and the battery voltage is lower than the voltage when the battery is fully charged, charging the battery with the second current until the battery is fully charged; wherein the second current is greater than the first current, and the second charging threshold is greater than the first charging threshold;

[0010] The first charging threshold is determined according to the voltage at which the battery is damaged; and the second charging threshold is determined according to the voltage at which the battery has an undervoltage fault.

[0011] By adopting the above technical solution, the battery control method of the present invention sets a first charging threshold value to determine whether the battery is likely to be damaged or cannot be charged, thereby avoiding the problems of battery lithium deposition, thermal runaway, short circuit or battery damage that may be caused by continued charging. The battery control method of the present invention also sets a second charging threshold value, so that when the battery voltage is low, a smaller first current can be used for charging first, and then a relatively larger second current can be used for charging, which can speed up the charging speed, ensure the charging quality, and solve the problems of falsely high voltage caused by directly using a large current for charging, premature reduction of the table lookup current, and excessive charging time.

[0012] According to another specific embodiment of the present invention, if the battery voltage is lower than the second charging threshold, charging the battery with the first current also includes:

[0013] If the battery voltage is lower than the second charging threshold, the battery is first charged with the first current. When it is detected that the battery voltage is not lower than the second charging threshold, the battery is charged with the second current until the battery is fully charged.

[0014] According to another specific embodiment of the present invention, the first current is determined according to the first initial request current, which is determined according to the battery voltage and a charging MAP table, which records the corresponding relationship between the first initial request current and the battery voltage.

[0015] According to another specific embodiment of the present invention, the first current is 0.98*first initial request current to 1.02*first initial request current.

[0016] According to another specific embodiment of the present invention, the second current is determined according to the second initial request current, which is determined according to the battery voltage and a charging MAP table, which records the corresponding relationship between the second initial request current and the battery voltage.

[0017] According to another specific embodiment of the present invention, the second current is 0.98*the second initial requested current to 1.02*the second initial requested current.

[0018] According to another specific embodiment of the present invention, it also includes:

[0019] The first battery status judgment step: judging whether the battery is in a charging state, if the battery is in a charging state, executing the voltage detection step, the first charging judgment step and the second charging judgment step; if the battery is not in a charging state, executing the second battery status judgment step;

[0020] The second battery status judgment step: judge whether the battery is connected to the charging component. If the battery is connected to the charging component, execute the voltage detection step, the first charging judgment step and the second charging judgment step; if the battery is not connected to the charging component, charging is prohibited.

[0021] In a second aspect, an embodiment of the present invention discloses a battery control device, comprising:

[0022] The voltage detection module is used to perform the voltage detection step: detecting the battery voltage;

[0023] A first charging judgment module is used to perform a first charging judgment step: judging whether the battery voltage is lower than a first charging threshold; if the battery voltage is lower than the first charging threshold, charging is prohibited; if the battery voltage is not lower than the first charging threshold, a second charging judgment step is performed;

[0024] A second charging judgment module is used to execute a second charging judgment step: judging whether the battery voltage is lower than a second charging threshold; if the battery voltage is lower than the second charging threshold, charging the battery with a first current; if the battery voltage is not lower than the second charging threshold and the battery voltage is lower than the voltage when the battery is fully charged, charging the battery with a second current until the battery is fully charged; wherein the second current is greater than the first current, and the second charging threshold is greater than the first charging threshold;

[0025] The first charging threshold is determined according to the voltage at which the battery is damaged; and the second charging threshold is determined according to the voltage at which the battery has an undervoltage fault.

[0026] By adopting the above technical solution, the battery control device of the present invention sets a first charging threshold value to determine whether the battery is likely to be damaged or cannot be charged, thereby avoiding the problems of battery lithium deposition, thermal runaway, short circuit or battery damage that may be caused by continued charging. The battery control method of the present invention also sets a second charging threshold value, so that when the battery voltage is low, a smaller first current can be used for charging first, and then a relatively larger second current can be used for charging, which can speed up the charging speed, ensure the charging quality, and solve the problems of falsely high voltage caused by directly using a large current for charging, premature reduction of the table current, and excessive charging time.

[0027] In a third aspect, an embodiment of the present invention discloses an electronic device, including a processor and a memory, wherein the memory stores at least one instruction, and when the at least one instruction is executed by the processor, the battery control method in any embodiment of the first aspect is implemented.

[0028] By adopting the above technical solution, the electronic device can set a first charging threshold to determine whether the battery is likely to be damaged or cannot be charged, thereby avoiding the problem of battery lithium deposition, thermal runaway, short circuit or battery damage that may be caused by continued charging. The battery control method of the present invention also sets a second charging threshold, so that when the battery voltage is low, a smaller first current can be used for charging first, and then a relatively larger second current can be used for charging, which can speed up the charging speed and ensure the charging quality, and solve the problem of falsely high voltage caused by directly using a large current for charging, premature reduction of the table current, and excessive charging time.

[0029] In a fourth aspect, an embodiment of the present invention discloses a computer-readable storage medium, in which at least one instruction is stored. When the at least one instruction is executed, the battery control method in any embodiment of the first aspect is implemented.

[0030] By adopting the above technical solution, the computer-readable storage medium can set a first charging threshold value to determine whether the battery is likely to be damaged or cannot be charged, thereby avoiding the problem of battery lithium deposition, thermal runaway, short circuit or battery damage that may be caused by continued charging. The battery control method of the present invention also sets a second charging threshold value, so that when the battery voltage is low, a smaller first current can be used for charging first, and then a relatively larger second current can be used for charging, which can speed up the charging speed and ensure the charging quality, and solve the problem of falsely high voltage caused by directly using a large current for charging, premature reduction of the table current, and excessive charging time. BRIEF DESCRIPTION OF THE DRAWINGS

[0031] Figure 1 A schematic diagram showing the process of the battery control method in an embodiment of the present invention Figure 1 ;

[0032] Figure 2 A schematic diagram showing the process of the battery control method in an embodiment of the present invention Figure 2 ;

[0033] Figure 3 A schematic diagram showing the process of the battery control method in an embodiment of the present invention Figure 3 ;

[0034] Figure 4 A schematic diagram showing the structure of a battery control device in an embodiment of the present invention is shown;

[0035] Figure 5 A schematic structural diagram of an electronic device in an embodiment of the present invention is shown. DETAILED DESCRIPTION

[0036] The following specific embodiments illustrate the implementation of the present invention, and those skilled in the art can easily understand other advantages and effects of the present invention from the contents disclosed in this specification. Although the description of the present invention will be introduced in conjunction with the preferred embodiment, this does not mean that the features of this invention are limited to this implementation. On the contrary, the purpose of introducing the invention in conjunction with the implementation is to cover other options or modifications that may extend based on the claims of the present invention. In order to provide a deep understanding of the present invention, the following description will include many specific details. The present invention can also be implemented without using these details. In addition, in order to avoid confusion or blurring the focus of the present invention, some specific details will be omitted in the description. It should be noted that the embodiments of the present invention and the features in the embodiments can be combined with each other without conflict.

[0037] It should be noted that in this specification, similar reference numerals and letters denote similar items in the following drawings, and therefore, once an item is defined in one drawing, it does not need to be further defined and explained in the subsequent drawings.

[0038] The terms “first”, “second”, etc. are only used for distinguishing descriptions and should not be understood as indicating or implying relative importance.

[0039] In the description of this embodiment, it is also necessary to explain that, unless otherwise clearly specified and limited, the terms "set", "connected", and "connected" should be understood in a broad sense, for example, it can be a fixed connection, a detachable connection, or an integral connection; it can be a mechanical connection or an electrical connection; it can be a direct connection, or it can be indirectly connected through an intermediate medium, or it can be the internal communication of two components. For ordinary technicians in this field, the specific meanings of the above terms in this embodiment can be understood according to specific circumstances.

[0040] In order to make the objectives, technical solutions and advantages of the present invention more clear, the embodiments of the present invention will be further described in detail below with reference to the accompanying drawings.

[0041] The inventors carefully studied the existing technologies and found that when the battery voltage is too low, the existing technologies will directly charge the battery with a large current, resulting in an artificially high voltage, premature reduction of the charging current, and prolonged charging time. It may also cause lithium deposition in the battery during charging, thermal runaway, short circuit and other problems, and damage the battery. The inventors hope to solve the above problems.

[0042] First, refer to Figure 1 The present invention provides a battery control method, comprising the following steps:

[0043] Voltage detection steps: S1: Detect battery voltage.

[0044] Furthermore, the battery voltage may be detected in real time, so as to more accurately grasp the change of the battery voltage and adjust the control method according to the battery voltage.

[0045] First charging judgment step: S2: judge whether the battery voltage is lower than the first charging threshold. If yes, that is, the battery voltage is lower than the first charging threshold, then execute step S3: prohibit charging. If no, that is, the battery voltage is not lower than the first charging threshold, then execute the second charging judgment step.

[0046] Second charging judgment step: S4: judge whether the battery voltage is lower than the second charging threshold. If yes, that is, the battery voltage is lower than the second charging threshold, then execute step S5: charge the battery with the first current. If no, that is, the battery voltage is not lower than the second charging threshold, and also satisfies the battery voltage less than the voltage when the battery is fully charged, then execute step S6: charge the battery with the second current until the battery is fully charged.

[0047] The second current is greater than the first current, and the second charging threshold is greater than the first charging threshold.

[0048] The first charging threshold is determined according to the voltage at which the battery is damaged, and the second charging threshold is determined according to the voltage at which the battery has an undervoltage fault.

[0049] By adopting the above technical scheme, the battery control method of the present invention sets a first charging threshold value to determine whether the battery is likely to be damaged or cannot be charged, thereby avoiding the problems of battery lithium deposition, thermal runaway, short circuit or battery damage that may be caused by continued charging. The battery control method of the present invention also sets a second charging threshold value, so that when the battery voltage is low, a smaller first current can be used for charging first, and then a relatively larger second current can be used for charging, which can speed up the charging speed and ensure the charging quality, and solve the problems of falsely high voltage caused by direct use of high current charging, early reduction of table lookup current (that is, the prior art is to charge according to the table lookup method of the battery cell parameter table. When the voltage is falsely high, it may be misjudged that the battery is in a state of being almost fully charged, resulting in an early reduction of the charging current), and the problem of too long charging time.

[0050] In the above embodiment, when it is detected that the battery voltage is lower than the first charging threshold, if charging continues, it may cause lithium deposition, thermal runaway, short circuit and other problems inside the battery, causing battery damage, and therefore charging is prohibited. The first charging threshold can be determined according to the characteristics and temperature of the battery. For example, for lithium iron phosphate batteries, the first charging threshold can be around 1.3V; for ternary lithium batteries, the first charging threshold can be around 1.5V.

[0051] The second charging threshold can be determined according to the voltage of the battery at which an undervoltage fault occurs. More specifically, the second charging threshold can be determined according to the undervoltage fault level (i.e., the severity of the undervoltage fault), and can also be considered in combination with the temperature. Exemplarily, when the undervoltage fault level is undervoltage level 2, the second charging threshold can be about 2.6V; when the undervoltage fault level is undervoltage level 3, the second charging threshold can be about 2.1V. Different standards can be set for undervoltage fault levels according to different types of batteries, and the standards for undervoltage fault levels can also be set in combination with temperature. Different batteries can have different undervoltage fault levels, and correspondingly can have second charging thresholds with different values, which are not limited in the present invention.

[0052] refer to Figure 2 In the second charging judgment step of the above embodiment, if the battery voltage is lower than the second charging threshold, step S5 is executed: charging the battery with the first current, and the following steps are also included:

[0053] S7: If the battery voltage is lower than the second charging threshold, the battery is first charged with the first current. When it is detected that the battery voltage is not lower than the second charging threshold, the battery is charged with the second current until the battery is fully charged.

[0054] When charging is performed using the above method, when the battery voltage is lower than the second charging threshold, charging is performed with the first current first, and when the battery voltage is not lower than the second charging threshold, charging is performed with the second current. This can avoid the problem of falsely high voltage caused by directly charging with a large current, improve charging efficiency, ensure charging quality, improve charging safety, and prevent charging time from being extended, thereby improving user experience.

[0055] In the above embodiments, the first current may refer to, for example, a slow charging current in a slow charging mode, which is a relatively small current. The second current may refer to, for example, a normal current in a normal charging mode, which is larger than the first current.

[0056] Furthermore, the first current is determined according to the first initial request current, which is determined according to the battery voltage and the charging MAP table, and the charging MAP table records the correspondence between the first initial request current and the battery voltage. The charging MAP table can also record the correspondence between the first initial request current and the battery voltage and the current temperature of the battery. By determining the first initial request current by looking up the charging MAP table, and then determining the first current according to the first initial request current, it can be ensured that the actual charging current is close to the first initial request current. Since the first initial request current is a more appropriate charging current corresponding to the battery voltage, the first current determined based on the first initial request current can ensure a high battery charging efficiency.

[0057] Furthermore, the first current is 0.98*first initial requested current to 1.02*first initial requested current. Controlling the magnitude of the first current within this range can prevent the actual charging first current from deviating too much from the first initial requested current, prevent the actual charging current from being too large or too small, and ensure that the charging current is accurate, which is conducive to ensuring that the charging efficiency is within a reasonable range.

[0058] Preferably, the magnitude of the first current is equal to the magnitude of the first initial requested current. Since the first initial requested current is determined according to the charging MAP table and is basically the most suitable current for charging under the current battery voltage, controlling the first current to be equal to the first initial requested current can ensure the best charging efficiency of the battery, further improve the charging efficiency, and ensure the charging quality.

[0059] The second current is determined according to the second initial request current, which is determined according to the battery voltage and the charging MAP table, which records the corresponding relationship between the second initial request current and the battery voltage. The charging MAP table can also record the corresponding relationship between the second initial request current and the battery voltage and the current temperature of the battery. By checking the charging MAP table to determine the second initial request current, and then determining the second current according to the second initial request current, it can be ensured that the actual charging current is close to the second initial request current. Since the second initial request current is a more appropriate charging current corresponding to the battery voltage, the second current determined based on the second initial request current can ensure a high battery charging efficiency.

[0060] The second current is 0.98*the second initial requested current to 1.02*the second initial requested current. Controlling the second current within this range can prevent the actual charging second current from deviating too much from the second initial requested current, prevent the actual charging current from being too large or too small, and ensure that the charging current is accurate, which is conducive to ensuring that the charging efficiency is within a reasonable range.

[0061] Preferably, the current value of the second current is equal to the current value of the second initial requested current. Since the second initial requested current is determined according to the charging MAP table, it is basically the most suitable current for charging under the current battery voltage. Controlling the second current to be equal to the second initial requested current can ensure the best charging efficiency of the battery, further improve the charging efficiency, and ensure the charging quality.

[0062] The inventors also found that in the prior art, when preparing to charge a battery (such as a battery cell), if charging has not yet started, that is, the battery is still in a non-charging state (for example, it can be a discharging state), and the battery voltage is too low, a low battery voltage fault will be reported, and a high voltage will be requested, that is, the battery management system BMS requests to disconnect the main positive and negative relays, and the battery will be disconnected from other electrical components of the power vehicle, resulting in the battery being unable to charge. If the battery voltage is too low and the battery is in a charging state, although the low battery voltage fault will not be reported, it will directly allow charging with a large current. However, when the battery is in a charging state, if a large current is directly used for charging, the chemical reaction inside the battery will be accelerated, and more heat will be generated inside the battery. The heat will cause the properties of the electrolyte and electrode materials inside the battery to change, which may cause the voltage at both ends of the battery to rise rapidly in a short period of time, forming a voltage value higher than normal charging, that is, "falsely high voltage". This voltage increase is not because the battery is full, but because the temperature inside the battery increases, so this voltage value cannot accurately reflect the actual charging state of the battery. Since the existing technology charges by looking up the battery cell parameter table, when the voltage is artificially high, it may be misjudged that the battery is in a state of nearly fully charged, causing the charging current to be reduced in advance, thereby extending the charging time. In addition, lithium deposition may occur during the charging process, causing an internal short circuit in the battery, and then causing thermal runaway and other problems, which have a negative impact on the battery and its charging.

[0063] In order to solve the above problems, in the above embodiments, reference is made to Figure 3 , the battery control method of the present invention further includes:

[0064] First battery status determination step: S0: Determine whether the battery is in a charging state. If yes, that is, the battery is in a charging state, then proceed to step S01: execute the voltage detection step, the first charging determination step, and the second charging determination step. If no, that is, the battery is not in a charging state, then execute the second battery status determination step.

[0065] Second battery status determination step: S02: Determine whether the battery is connected to the charging component. If yes, that is, the battery is connected to the charging component, then proceed to step S03: execute the voltage detection step, the first charging determination step and the second charging determination step. If no, that is, the battery is not connected to the charging component, then proceed to step S04: prohibit charging.

[0066] The charging component may be, for example, a charging gun, such as an AC charging gun or a DC charging gun. Exemplarily, when the charging component is a charging gun, whether the battery is connected to the charging component may be determined by whether a gun plug signal is recognized. When a gun plug signal is recognized, it may be considered that the battery is connected to the charging component; when a gun plug signal is not recognized, it may be considered that the battery is not connected to the charging component. The gun plug signal may be, for example, a signal from an AC charging gun or a signal from a DC charging gun. Recognition of a gun plug signal may indicate that an AC charging gun or a DC charging gun is plugged into a power vehicle.

[0067] Specifically, the battery is not in a charging state, which may mean that the battery is still in a discharging state and has not yet entered a charging state. When the charging component is connected to the battery, it is considered that there is a charging intention. In the above embodiment, when the charging component is connected to the battery, before the battery enters the charging state, it first enters the discharging state. Even if the battery has not really entered the charging state, the battery voltage is not directly reported as too low. Instead, when the battery voltage is not low enough to indicate that the battery is damaged, it is allowed to charge with a smaller current first, and charging is given priority. This ensures that when the battery is in a non-charging state and there is an intention to charge, it can be charged as long as the charging conditions are met, thus avoiding the problem in the prior art that the voltage is too low in the battery discharge state, resulting in a request for high voltage and thus being unable to charge. The above method of the present invention can also ensure that the charging current of the battery is within a reasonable range, and based on the charging characteristics of the existing battery, the low-voltage charging process is protected.

[0068] The battery control method in the above-mentioned embodiments of the present invention can set the first charging threshold and the second charging threshold respectively based on the battery characteristics and in combination with the temperature and battery voltage conditions, thereby preventing the occurrence of problems such as lithium deposition, internal short circuit thermal runaway, etc. during the charging process, and can also ensure that the charging current can basically always be within a reasonable range, and different currents are used for charging for different battery voltages, thereby reducing the occurrence of false high voltage phenomenon, accelerating charging efficiency, ensuring charging quality, and preventing the charging time from being too long, thereby realizing charging protection for low-voltage batteries. The present invention also solves the problem that when a battery in a non-charging state has a charging intention, a fault is directly reported due to the low battery voltage, and then charging cannot be performed by judging the state of the battery, giving priority to ensuring battery charging, and maintaining the charging current within a reasonable range, further enhancing the charging protection for low-voltage batteries.

[0069] Second, refer to Figure 4 The embodiment of the present invention discloses a battery control device 1, which controls the battery by the battery control method in any one of the embodiments of the first aspect. The battery control device 1 includes a voltage detection module 11, a first charging judgment module 12 and a second charging judgment module 13.

[0070] The voltage detection module 11 is connected to the first charging judgment module 12 , and the first charging judgment module 12 is connected to the second charging judgment module 13 .

[0071] Continue to refer Figure 4 The voltage detection module 11 is used to perform a voltage detection step: detecting the battery voltage.

[0072] The first charging judgment module 12 is used to execute the first charging judgment step: judging whether the battery voltage is lower than the first charging threshold; if the battery voltage is lower than the first charging threshold, charging is prohibited; if the battery voltage is not lower than the first charging threshold, a second charging judgment step is performed.

[0073] The second charging judgment module 13 is used to execute the second charging judgment step: judging whether the battery voltage is lower than the second charging threshold; if the battery voltage is lower than the second charging threshold, charging the battery with the first current; if the battery voltage is not lower than the second charging threshold and the battery voltage is lower than the voltage when the battery is fully charged, charging the battery with the second current until the battery is fully charged; wherein the second current is greater than the first current, and the second charging threshold is greater than the first charging threshold.

[0074] The first charging threshold is determined according to the voltage at which the battery is damaged; and the second charging threshold is determined according to the voltage at which the battery has an undervoltage fault.

[0075] By adopting the above technical solution, the battery control device 1 of the present invention sets a first charging threshold value to determine whether the battery is likely to be damaged or cannot be charged, thereby avoiding the problems of battery lithium deposition, thermal runaway, short circuit or battery damage that may be caused by continued charging. The battery control method of the present invention also sets a second charging threshold value, so that when the battery voltage is low, a smaller first current can be used for charging first, and then a relatively larger second current can be used for charging, which can speed up the charging speed, ensure the charging quality, and solve the problems of falsely high voltage caused by directly using a large current for charging, premature reduction of the table lookup current, and excessive charging time.

[0076] Furthermore, the second charging judgment module 13 can also be used to charge the battery with the first current if the battery voltage is lower than the second charging threshold, and when it is detected that the battery voltage is not lower than the second charging threshold, charge the battery with the second current until the battery is fully charged.

[0077] Furthermore, the battery control device 1 further comprises a first battery status judgment module and a second battery status judgment module (not shown in the figure). The first battery status judgment module is connected to the second battery status judgment module.

[0078] The first battery status judgment module is used to execute the first battery status judgment step: judge whether the battery is in a charging state, if the battery is in a charging state, execute the voltage detection step, the first charging judgment step and the second charging judgment step; if the battery is not in a charging state, execute the second battery status judgment step.

[0079] The second battery status judgment step is used to execute the second battery status judgment step: judge whether the battery is connected to the charging component. If the battery is connected to the charging component, execute the voltage detection step, the first charging judgment step and the second charging judgment step; if the battery is not connected to the charging component, charging is prohibited.

[0080] Thirdly, reference Figure 5 The embodiment of the present invention discloses an electronic device 2, including a processor 22 and a memory 21, wherein the memory 21 stores at least one instruction, and when the at least one instruction is executed by the processor 22, the battery control method in any embodiment of the first aspect is implemented. The memory 21 may include, for example, a system memory, a fixed non-volatile storage medium, etc. The system memory may store, for example, an operating system, an application, a boot loader (BootLoader), and other programs.

[0081] By adopting the above technical solution, the electronic device 2 can set a first charging threshold value to determine whether the battery is likely to be damaged or cannot be charged, thereby avoiding the problem of battery lithium deposition, thermal runaway, short circuit or battery damage that may be caused by continued charging. The battery control method of the present invention also sets a second charging threshold value, so that when the battery voltage is low, a smaller first current can be used for charging first, and then a relatively larger second current can be used for charging, which can speed up the charging speed, ensure the charging quality, and solve the problem of falsely high voltage caused by directly using a large current for charging, premature reduction of the table current, and excessive charging time.

[0082] In a fourth aspect, an embodiment of the present invention discloses a computer-readable storage medium, in which at least one instruction is stored. When the at least one instruction is executed, the battery control method in any embodiment of the first aspect is implemented.

[0083] By adopting the above technical solution, the computer-readable storage medium can set a first charging threshold value to determine whether the battery is likely to be damaged or cannot be charged, thereby avoiding the problem of battery lithium deposition, thermal runaway, short circuit or battery damage that may be caused by continued charging. The battery control method of the present invention also sets a second charging threshold value, so that when the battery voltage is low, a smaller first current can be used for charging first, and then a relatively larger second current can be used for charging, which can speed up the charging speed and ensure the charging quality, and solve the problem of falsely high voltage caused by directly using a large current for charging, premature reduction of the table current, and excessive charging time.

[0084] Those skilled in the art will appreciate that embodiments of the present invention may be provided as methods, systems, or computer program products. Therefore, the present invention may take the form of a complete hardware embodiment, a complete software embodiment, or an embodiment combining software and hardware. Moreover, the present invention may take the form of a computer program product implemented on one or more computer-usable non-transient storage media (including but not limited to disk storage, CD-ROM, optical storage, etc.) containing computer-usable program code.

[0085] The present invention is described with reference to flowcharts and / or block diagrams of methods, devices (systems), and computer program products according to embodiments of the present invention. It should be understood that each process and / or block in the flowchart and / or block diagram, as well as the combination of processes and / or blocks in the flowchart and / or block diagram, can be implemented by computer program instructions. These computer program instructions can be provided to a processor of a general-purpose computer, a special-purpose computer, an embedded processor, or other programmable data processing device to generate a machine, so that the instructions executed by the processor of the computer or other programmable data processing device generate instructions for implementing the processes in the flowchart and / or block diagram. Figure 1 A process or multiple processes and / or boxes Figure 1 A device that provides the functions specified in a block or multiple blocks.

[0086] These computer program instructions may also be stored in a computer-readable memory capable of directing a computer or other programmable data processing device to operate in a specific manner, so that the instructions stored in the computer-readable memory produce an article of manufacture comprising an instruction device, which implements the process Figure 1 A process or multiple processes and / or boxes Figure 1 A function specified in one or more boxes.

[0087] These computer program instructions can also be loaded onto a computer or other programmable data processing device so that a series of operating steps are executed on the computer or other programmable device to produce a computer-implemented process, thereby providing instructions for implementing the process. Figure 1 A process or multiple processes and / or boxes Figure 1 The steps for the functions specified in one or more boxes.

[0088] Although the present invention has been illustrated and described with reference to certain preferred embodiments of the present invention, it should be understood by those skilled in the art that the above is a further detailed description of the present invention in conjunction with specific embodiments, and it cannot be determined that the specific implementation of the present invention is limited to these descriptions. Those skilled in the art may make various changes in form and details, including making several simple deductions or substitutions, without departing from the spirit and scope of the present invention.

Claims

1. A battery control method, characterized in that: include: Voltage detection steps: detect battery voltage; The first charging judgment step: judging whether the battery voltage is lower than a first charging threshold; If the battery voltage is lower than the first charging threshold, charging is prohibited; if the battery voltage is not lower than the first charging threshold, a second charging determination step is performed; The second charging judgment step: judge whether the battery voltage is lower than a second charging threshold; if the battery voltage is lower than the second charging threshold, charge the battery with a first current; if the battery voltage is not lower than the second charging threshold and the battery voltage is lower than the voltage when the battery is fully charged, charge the battery with a second current until the battery is fully charged; wherein the second current is greater than the first current, and the second charging threshold is greater than the first charging threshold; The first charging threshold is determined according to the voltage at which the battery is damaged; and the second charging threshold is determined according to the voltage at which the battery has an undervoltage fault.

2. The battery control method according to claim 1, characterized in that: If the battery voltage is lower than the second charging threshold, charging the battery with a first current also includes: If the battery voltage is lower than the second charging threshold, the battery is first charged with the first current. When it is detected that the battery voltage is not lower than the second charging threshold, the battery is charged with the second current until the battery is fully charged.

3. The battery control method according to claim 1, characterized in that: The first current is determined according to a first initial request current, which is determined according to the battery voltage and a charging MAP table, wherein the charging MAP table records a corresponding relationship between the first initial request current and the battery voltage.

4. The battery control method according to claim 3, characterized in that: The first current is 0.98*first initial requested current to 1.02*first initial requested current.

5. The battery control method according to claim 1, characterized in that: The second current is determined according to a second initial requested current, which is determined according to the battery voltage and a charging MAP table, wherein the charging MAP table records a corresponding relationship between the second initial requested current and the battery voltage.

6. The battery control method according to claim 5, characterized in that: The second current is 0.98*the second initial requested current to 1.02*the second initial requested current.

7. The battery control method according to claim 1, characterized in that: Also includes: A first battery status judgment step: judging whether the battery is in a charging state, and if the battery is in a charging state, executing the voltage detection step, the first charging judgment step and the second charging judgment step; If the battery is not in the charging state, executing a second battery state determination step; The second battery status judgment step: judge whether the battery is connected to the charging component. If the battery is connected to the charging component, execute the voltage detection step, the first charging judgment step and the second charging judgment step; if the battery is not connected to the charging component, charging is prohibited.

8. A battery control device, characterized in that: include: The voltage detection module is used to perform the voltage detection step: detecting the battery voltage; A first charging judgment module is used to perform a first charging judgment step: judging whether the battery voltage is lower than a first charging threshold; if the battery voltage is lower than the first charging threshold, charging is prohibited; if the battery voltage is not lower than the first charging threshold, a second charging judgment step is performed; a second charging judgment module, configured to execute the second charging judgment step: judging whether the battery voltage is lower than a second charging threshold; if the battery voltage is lower than the second charging threshold, charging the battery with a first current; if the battery voltage is not lower than the second charging threshold and the battery voltage is lower than the voltage when the battery is fully charged, charging the battery with a second current until the battery is fully charged; wherein the second current is greater than the first current, and the second charging threshold is greater than the first charging threshold; The first charging threshold is determined according to the voltage at which the battery is damaged; and the second charging threshold is determined according to the voltage at which the battery has an undervoltage fault.

9. An electronic device, characterized in that: The electronic device includes a processor and a memory, wherein the memory stores at least one instruction, and when the at least one instruction is executed by the processor, the battery control method according to any one of claims 1 to 7 is implemented.

10. A computer-readable storage medium, characterized in that: The computer-readable storage medium stores at least one instruction, and when the at least one instruction is executed, the battery control method according to any one of claims 1 to 7 is implemented.