Method, device and equipment for preventing loss of lithium battery, medium and energy storage equipment

By dynamically adjusting the undervoltage protection flag value of the lithium battery and setting the working state of the lithium battery device according to the battery voltage and working state, the problem of difficult setting of the undervoltage protection threshold in the prior art is solved, and effective protection and service life of the lithium battery are achieved.

CN119813425APending Publication Date: 2025-04-11SHENZHEN GREEN CONNECTION TECH CO LTD
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202411756982.7
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2024-12-02
Publication Date
2025-04-11

AI Technical Summary

Technical Problem

In the prior art, the setting of the undervoltage protection threshold is difficult to weigh, which can easily lead to death of lithium battery consumption or capacity loss.

Method used

By obtaining the battery voltage and current working state of the lithium battery, dynamically adjusting the undervoltage protection flag value, thereby setting the next working state of the lithium battery device to achieve optimized undervoltage protection.

Benefits of technology

Effectively prevent lithium battery exhaustion and capacity loss, extend the service life of lithium batteries, and improve the reliability and safety of lithium battery devices.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN119813425A_ABST
    Figure CN119813425A_ABST
Patent Text Reader

Abstract

The invention relates to the technical field of battery charging and discharging, in particular to a method, device and equipment for preventing a lithium battery from being consumed, a computer readable storage medium and energy storage equipment. The method is applied to the lithium battery device, the lithium battery device is provided with a lithium battery, and the method comprises the steps of obtaining the battery voltage of the lithium battery and the current working state of the lithium battery device, obtaining the under-voltage protection mark value of the lithium battery according to the current working state and the battery voltage, and setting the current working state of the lithium battery device according to the under-voltage protection mark value. According to the invention, the under-voltage protection mark value of the lithium battery is obtained according to the current working state and the battery voltage, so that the current working state of the lithium battery device is set through the under-voltage protection mark value, the under-voltage protection is carried out on the lithium battery, the loss and capacity loss of the lithium battery can be avoided, the service life of the lithium battery is prolonged, and the safety of the lithium battery device is improved. And the reliability and the safety of the lithium battery device are improved.
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 method, device, equipment, computer-readable storage medium and energy storage device for preventing lithium batteries from being exhausted. Background Art

[0002] The current method to prevent lithium batteries from being exhausted is to use over-discharge protection. The existing over-discharge protection method requires setting a lithium battery under-voltage protection threshold first. When the lithium battery voltage is lower than the under-voltage protection threshold, the under-voltage protection is triggered, and the lithium battery device will turn off the discharge MOS tube and other power-consuming devices. Some lithium battery devices even power off the main control chip to minimize the power consumption of the lithium battery device.

[0003] The drawback of the existing over-discharge protection method is that it is difficult to balance the setting of the undervoltage protection threshold. It is easy to cause the lithium battery to die and capacity loss while performing undervoltage protection on the lithium battery. Specifically, if the undervoltage protection threshold is set too low, the lithium battery device will consume power for a long time, causing the lithium battery to die; if the undervoltage protection threshold is set too high, it will cause the capacity loss of the lithium battery. Summary of the invention

[0004] The technical problem to be solved by the embodiments of the present invention is to provide a method for preventing lithium batteries from being exhausted, so as to solve the problem in the prior art that undervoltage protection easily leads to lithium batteries being exhausted and having a capacity loss.

[0005] The method for preventing a lithium battery from being exhausted provided by an embodiment of the present invention is applied to a lithium battery device in which a lithium battery is installed. The method comprises:

[0006] Acquiring the battery voltage of the lithium battery and the current working state of the lithium battery device;

[0007] Acquire an undervoltage protection flag value of the lithium battery according to the current working state and the battery voltage;

[0008] The next working state of the lithium battery device is set according to the undervoltage protection flag value.

[0009] Optionally, the step of obtaining an undervoltage protection flag value of the lithium battery according to the current working state and the battery voltage includes:

[0010] The undervoltage protection threshold of the lithium battery is set according to the current working state; when the current working state is a power-on state and a power-off state, the undervoltage protection threshold is a first threshold, and when the current working state is a sleep state, the undervoltage protection threshold is a second threshold, wherein the first threshold is lower than the second threshold;

[0011] When the battery voltage is lower than or equal to the undervoltage protection threshold, setting the undervoltage protection flag value;

[0012] When the battery voltage is higher than the under-voltage protection threshold, the under-voltage protection flag value is set to zero.

[0013] Optionally, when the battery voltage is lower than or equal to the under-voltage protection threshold, the step of setting the under-voltage protection flag value comprises:

[0014] Preset acquisition cycle and first wake-up cycle;

[0015] When the current working state is the power-on state, acquiring at least two battery voltages according to the acquisition cycle, and if the at least two battery voltages are both lower than or equal to the undervoltage protection threshold, setting the undervoltage protection flag value;

[0016] When the current working state is the dormant state, acquiring the battery voltage according to the acquisition cycle, and when the battery voltage is lower than or equal to the undervoltage protection threshold, setting the undervoltage protection flag value;

[0017] When the current working state is a power-off state, the undervoltage protection detection in the lithium battery device is started according to the first wake-up cycle, and the battery voltage is obtained. When the battery voltage is lower than or equal to the undervoltage protection threshold, the undervoltage protection flag value is set.

[0018] Optionally, the step of setting the next working state of the lithium battery according to the undervoltage protection flag value includes:

[0019] When the undervoltage protection flag value is set, setting the next working state to the power-off state;

[0020] When the undervoltage protection flag value is cleared, the current working state is used as the next working state.

[0021] Optionally, the step of setting the next working state of the lithium battery device according to the undervoltage protection flag value further includes:

[0022] Initiate a charge prohibition protection detection in the lithium battery device according to the current working state to obtain a battery temperature of the lithium battery, and obtain a charge prohibition flag value of the lithium battery according to the battery temperature and the battery voltage;

[0023] The lithium battery device is activated according to the undervoltage protection flag value and the charge prohibition flag value.

[0024] Optionally, the step of starting the charge prohibition protection detection in the lithium battery device according to the current working state to obtain the battery temperature and the battery voltage of the lithium battery, and obtaining the charge prohibition flag value of the lithium battery according to the battery temperature and the battery voltage includes:

[0025] Presetting a second wake-up cycle, a third wake-up cycle, a charging voltage threshold, and a charging temperature threshold range of the lithium battery device;

[0026] When the current working state is the power-on state, the charge prohibition protection detection in the lithium battery device is in the start-up state; when the current working state is the sleep state, the charge prohibition protection detection in the lithium battery device is started at intervals of the second wake-up cycle; when the current working state is the power-off state, the charge prohibition protection detection of the device in the lithium battery is started at intervals of the third wake-up cycle;

[0027] If the battery voltage is greater than or equal to the charging voltage threshold and / or the battery temperature exceeds the charging temperature threshold range, the charging prohibition flag value is set; if the battery voltage is less than the charging voltage threshold and the battery temperature is within the charging temperature threshold range, the charging prohibition flag value is cleared.

[0028] Optionally, the lithium battery device is connected to a charger, and the step of setting the lithium battery according to the undervoltage protection flag value and the charge prohibition flag value further includes:

[0029] When the undervoltage protection flag value and the charge prohibition flag value are both set, the lithium battery is activated;

[0030] When the undervoltage protection flag value is set and the charge prohibition flag value is cleared, the lithium battery alarms.

[0031] Another technical solution adopted by the present invention to solve the technical problem is to provide a device for preventing lithium battery from being exhausted, which is used to implement the steps of the above method, including:

[0032] An acquisition module, used to acquire the battery voltage of the lithium battery and the current working state of the lithium battery device;

[0033] An undervoltage protection module, used for obtaining an undervoltage protection flag value of the lithium battery according to the working state and the battery voltage;

[0034] A control module is used to set the next working state of the lithium battery device according to the undervoltage protection flag value.

[0035] Another technical solution adopted by the present invention to solve the technical problem is: a device for preventing lithium battery from being exhausted comprises:

[0036] A data acquisition circuit, used to obtain the battery voltage, battery temperature and current working state of the lithium battery device;

[0037] A control circuit is connected to the data acquisition circuit and is used to execute the steps of the above method according to the battery voltage, the battery temperature and the current working state.

[0038] Another technical solution adopted by the present invention to solve its technical problem is: providing a computer-readable storage medium storing a computer program, wherein when the computer program is executed by a processor, the processor executes the steps of the above method.

[0039] Another technical solution adopted by the present invention to solve its technical problem is: to provide an energy storage device, including a memory and a processor, the memory stores a computer program, and when the computer program is executed by the processor, the processor executes the steps of the above method.

[0040] Compared with the prior art, the beneficial effect of the method for preventing lithium battery exhaustion provided by the embodiment of the present invention is that by obtaining the battery voltage of the lithium battery and the current working state of the lithium battery device, and obtaining the undervoltage protection flag value of the lithium battery according to the current working state and the battery voltage, the current working state of the lithium battery device is set by the undervoltage protection flag value, so as to perform undervoltage protection on the lithium battery while avoiding lithium battery exhaustion and capacity loss, thereby extending the service life of the lithium battery and improving the reliability and safety of the lithium battery device. BRIEF DESCRIPTION OF THE DRAWINGS

[0041] The specific implementation of the present invention will be further described in detail below with reference to the accompanying drawings and embodiments, in which:

[0042] Figure 1 It is a flow chart of an embodiment of a method for preventing lithium battery from being exhausted provided by an embodiment of the present invention;

[0043] Figure 2 is a structural schematic diagram of an embodiment of a lithium battery device provided by the present invention;

[0044] Figure 3 It is a structural schematic diagram of an embodiment of a device for preventing lithium battery from being exhausted provided by the present invention;

[0045] Figure 4 It is a structural schematic diagram of an embodiment of a data acquisition circuit provided by the present invention;

[0046] Figure 5 is a structural schematic diagram of an embodiment of a control circuit provided by the present invention;

[0047] Figure 6A schematic diagram of the structure of an embodiment of a computer-readable storage medium provided by the present invention

[0048] Figure 7 It is a structural schematic diagram of an embodiment of the energy storage device provided by the present invention.

[0049] The reference numerals in the figures are:

[0050] 10. Lithium battery device; 11. MCU module; 12. Display module; 13. AFE module; 14. Lithium battery pack module; 15. Charging and discharging interface;

[0051] 20. Device to prevent lithium battery from being exhausted; 21. Acquisition module; 22. Undervoltage protection module; 23. Charging prohibition module; 24. Control module;

[0052] 30. Computer readable storage medium; 31. Computer program;

[0053] 40. Energy storage device; 41. Processor; 42. Memory. DETAILED DESCRIPTION

[0054] It should be noted that, in the absence of conflict, the embodiments and features in the embodiments of the present application can be combined with each other. Now, in conjunction with the accompanying drawings, the preferred embodiments of the present invention are described in detail.

[0055] The present invention provides a method for preventing lithium battery from being exhausted. Figure 1 , Figure 1 The figure is a flow chart of an embodiment of a method for preventing lithium battery from being exhausted provided by the present invention. Figure 2 1 is a schematic diagram of a structure of an embodiment of a lithium battery device 10 provided by the present invention. The method for preventing lithium battery from being exhausted provided by the present invention is applied to Figure 2 The lithium battery device 10 shown. The lithium battery device 10 includes an MCU (Microcontroller Unit) module 11, a display module 12, an AFE (Analog Front End) module 13, a lithium battery pack module 14 and a charge and discharge interface 15. Among them, the MCU module 11 is connected to the AFE module 13 and the display module 12, and the AFE module 13 is also connected to the lithium battery pack module 14 and the charge and discharge interface 15. The lithium battery pack module 14 is used to store and release energy, and the display module 12 is used to display battery information such as battery voltage, battery temperature, and battery power of the lithium battery pack module 14. The MCU module 11 obtains battery information such as battery voltage and battery temperature of the lithium battery pack module 14 and the working status of the lithium battery device 10 through the AFE module 13, and executes according to the battery voltage, battery temperature of the lithium battery pack module 14 and the working status of the lithium battery device 10. Figure 1 The method shown.

[0056] The method for preventing lithium battery from being exhausted provided by the present invention comprises the following steps:

[0057] S101: Acquire the battery voltage of the lithium battery and the current working state of the lithium battery device.

[0058] In a specific implementation scenario, the MCU module 11 in the lithium battery device 10 can obtain and monitor the battery information such as the battery voltage and battery temperature of the lithium battery pack module 14 and the current working state of the lithium battery device 10 through the AFE module 13. The current working state includes the power-on state, the sleep state and the power-off state. The power-on state is the normal working state of the lithium battery device 10. The sleep state is the low-power working state of the lithium battery device 10, at which time each module in the lithium battery device 10 is in a low power consumption. The power-off state is the lowest power working state of the lithium battery device 10, at which time the lithium battery device stops discharging, and the AFE module 13 cuts off the connection between the MCU module 11 and the lithium battery pack module 14, so that the MCU module 11 is powered off, and the power of the lithium battery device 10 is close to 0. Among them, when the external device of the lithium battery device 10 is turned on, the lithium battery device 10 is in the power-on state, and when the external device is in sleep state, the lithium battery device 10 is in the sleep state, and the lithium battery device 10 can power the external device in both the power-on state and the sleep state.

[0059] S102: Obtaining an undervoltage protection flag value of the lithium battery according to the current working state and the battery voltage.

[0060] In a specific implementation scenario, it is necessary to set the undervoltage protection threshold of the lithium battery according to the current working state of the lithium battery device 10, and obtain the undervoltage protection flag value by comparing the battery voltage and the undervoltage protection threshold. Specifically, when the working state of the lithium battery device 10 is the power-on state and the power-off state, the undervoltage protection threshold is set to the first threshold, and when the working state of the lithium battery device 10 is the dormant state, the undervoltage protection threshold is set to the second threshold, wherein the first threshold is lower than the second threshold. It can be understood that in the power-on state, the undervoltage protection threshold is set to the first threshold, and the first threshold is lower than the second threshold, that is, the first threshold is set to a lower voltage value. Thus, it can be avoided that the lithium battery device 10 in the power-on state enters the undervoltage protection state too early, and the lithium battery can be fully utilized to effectively prevent the loss of lithium battery power. When the working state of the lithium battery device 10 is the power-off state, it is necessary to connect an external power supply to activate the MCU module 11, and the lithium battery pack module 14 can be charged. Therefore, in the power-off state, the undervoltage protection threshold is set to the first threshold, which is conducive to the lithium battery device 10 to get out of the undervoltage state and perform normal charging and discharging. When the lithium battery device 10 is in a dormant state, the battery voltage of the lithium battery usually drops to a lower level. At this time, setting a higher second threshold can prevent the battery voltage fluctuation within the normal range from triggering undervoltage protection, thereby avoiding the lithium battery device 10 from frequently cutting off and starting the power supply, thereby avoiding the lithium battery from being exhausted.

[0061] Furthermore, after setting the undervoltage protection threshold of the lithium battery, when the battery voltage is lower than or equal to the undervoltage protection threshold, the undervoltage protection flag value is set. The undervoltage protection flag value is set to indicate that the lithium battery has entered the undervoltage protection state, and the lithium battery stops discharging at this time to prevent the lithium battery from over-discharging. When the battery voltage is higher than the undervoltage protection threshold, the undervoltage protection flag value is set to zero. The undervoltage protection flag value is set to zero to indicate that the lithium battery has not entered the undervoltage protection state, the battery voltage of the lithium battery has returned to a safe range, and the lithium battery can continue to discharge.

[0062] More specifically, the lithium battery device 10 can pre-set an acquisition cycle and a first wake-up cycle so that the lithium battery device 10 can obtain the undervoltage protection flag value according to a certain cycle under different working states. When the working state of the lithium battery device 10 is the power-on state, at least two battery voltages are continuously acquired according to the acquisition cycle. If at least two battery voltages are lower than or equal to the undervoltage protection threshold, the undervoltage protection flag value is set. It can be understood that in the power-on state, the charge prohibition protection detection in the MCU module 11 is not dormant, and the battery voltage can be directly acquired according to the acquisition cycle. In the power-on state, by comparing at least two battery voltages with the undervoltage protection threshold, the accuracy and stability of the undervoltage protection flag value setting can be increased, thereby reducing the misjudgment rate, avoiding the lithium battery from entering the undervoltage protection state prematurely, and ensuring the stability and reliability of the lithium battery device 10 to provide stable power supply to external devices.

[0063] When the working state is the sleep state, the battery voltage is obtained according to the acquisition cycle, and when the battery voltage is lower than or equal to the undervoltage protection threshold, the undervoltage protection flag value is set. In the sleep state, the charge prohibition protection detection in the MCU module 11 is in the start state, and the battery voltage can be directly obtained according to the acquisition cycle to ensure that the battery voltage is effectively monitored in the sleep state, so as to timely detect the situation where the battery voltage is lower than the second threshold and perform undervoltage protection on the lithium battery.

[0064] When the working state is the power-off state, the undervoltage protection detection in the lithium battery device is started according to the first wake-up cycle, and the battery voltage is obtained. When the battery voltage is lower than or equal to the undervoltage protection threshold, the undervoltage protection flag value is set. Specifically, in the power-off state, in order to maintain the lowest power of the lithium battery device 10 and to maintain the power of the lithium battery device 10 to the greatest extent, the MCU module 11 will be powered off, and the charge prohibition protection detection in the lithium battery device 10 will be dormant. Therefore, it is necessary to wake up the MCU module 11 at intervals of the first wake-up cycle to start the undervoltage protection detection in the lithium battery device 10, and obtain the undervoltage protection flag value while maintaining the power of the lithium battery device 10.

[0065] S103: Setting the next working state of the lithium battery device according to the undervoltage protection flag value.

[0066] In a specific implementation scenario, when the undervoltage protection flag value is set, the next working state is set to the power-off state; when the undervoltage protection flag value is cleared, the current working state is used as the next working state. Specifically, when the undervoltage protection flag value is set, the lithium battery enters the undervoltage protection state. At this time, the next working state needs to be set to the power-off state to power off the MCU module 11, so that the lithium battery device 10 stops discharging and the power is close to 0, thereby effectively retaining the remaining power in the lithium battery. When the undervoltage protection flag value is cleared, that is, the lithium battery does not enter the undervoltage protection state, the lithium battery device 10 can maintain the current working state and continue to discharge.

[0067] Furthermore, in a specific implementation scenario, the step of setting the next working state of the lithium battery device 10 according to the undervoltage protection flag value also includes starting a charge prohibition protection detection in the lithium battery device 10 according to the current working state to obtain the battery temperature of the lithium battery, and obtaining the charge prohibition flag value of the lithium battery according to the battery temperature and the battery voltage; activating the lithium battery device 10 according to the undervoltage protection flag value and the charge prohibition flag value.

[0068] Specifically, the second wake-up cycle, the third wake-up cycle, the charging voltage threshold and the charging temperature threshold range of the lithium battery device 10 can be preset to start the charging ban protection detection in the lithium battery device 10 under different current working states. The charging ban protection detection in the lithium battery device 10 is implemented by the MCU module 11. Specifically, when the current working state is the power-on state, the charging ban protection detection in the lithium battery device 10 is in the start-up state, which can be used to obtain the charging ban flag value of the lithium battery. When the current working state is the dormant state, the charging ban protection detection in the lithium battery device 10 is not started, and the charging ban protection detection needs to be started after the second wake-up cycle. When the current working state is the power-off state, the MCU module 11 is powered off, the charging ban protection detection in the lithium battery device 10 is dormant, the lithium battery device needs to be connected to an external power supply, and the charging ban protection detection of the device in the lithium battery is started after the third wake-up cycle.

[0069] After starting the charge prohibition protection detection in the device 10 in the lithium battery, the battery temperature of the lithium battery can be obtained, and the battery voltage is compared with the charging voltage threshold and the battery temperature is compared with the charging temperature threshold range, so as to obtain the charge prohibition flag value of the lithium battery. Specifically, if the voltage is greater than or equal to the charging voltage threshold and\or the battery temperature exceeds the charging temperature threshold range, the charge prohibition flag value is set. The setting of the charge prohibition flag value indicates that the lithium battery enters a charge prohibition state and the lithium battery cannot be charged. If the battery voltage is less than the charging voltage threshold and the battery temperature is within the charging temperature threshold range, the charge prohibition flag value is cleared.

[0070] The reset of the charge prohibition flag value indicates that the lithium battery is no longer in the charge prohibition state and can be charged.

[0071] Specifically, in this embodiment, by setting the charging voltage threshold, it is possible to avoid charging the lithium battery device 10 directly when the battery voltage is lower than the charging voltage threshold, resulting in the lithium battery charging speed being too fast, thereby causing the lithium battery to absorb too much charge in a short time, causing the lithium battery to be overcharged. By setting the charging temperature threshold range, it is possible to effectively prevent the lithium battery device 10 from charging within an inappropriate temperature range, thereby reducing the safety risk of charging the lithium battery device 10. This embodiment controls the charge prohibition flag value by combining the two factors of battery voltage and battery temperature, which can effectively ensure that the lithium battery is charged under safe conditions, thereby reducing safety risks and extending the service life of the battery.

[0072] In a specific implementation scenario, when the lithium battery device 10 is connected to a charger, the lithium battery device 10 needs to determine whether the charger can directly activate the lithium battery and charge the lithium battery device 10 according to the current working state. Specifically, when the undervoltage protection flag value and the charge prohibition flag value are both set, the lithium battery is activated; when the undervoltage protection flag value is set and the charge prohibition flag value is cleared, the lithium battery alarm is sounded.

[0073] It can be understood that when the undervoltage protection flag value and the charge prohibition flag value are both set, since the charge prohibition flag value is set, the lithium battery meets the charging conditions, so after the lithium battery device 10 is connected to the charger, the charger can directly activate the lithium battery device 10 and charge the lithium battery. When the undervoltage protection flag value is set and the charge prohibition flag value is cleared, since the charge prohibition flag value is cleared, the lithium battery does not meet the charging conditions, so after the lithium battery device 10 is connected to the charger, the lithium battery device 10 will generate an alarm to avoid the charger being connected to the lithium battery device 10 for a long time when the charging conditions are not met, causing the MCU module to be repeatedly activated, thereby consuming the power of the lithium battery, and causing the lithium battery to die after a long period of time.

[0074] It is worth mentioning that when the undervoltage protection flag value is cleared, the lithium battery device 10 will be in the power-on state or the sleep state. At this time, the charge prohibition flag value is set, which indicates that the lithium battery device 10 meets the charging conditions and can be connected to an external power source for charging. The charge prohibition flag value is cleared, which indicates that the lithium battery device 10 does not meet the charging conditions and cannot be connected to an external power source for charging. The lithium battery device 10 remains in the power-on state or the sleep state.

[0075] From the above description, it can be seen that the method for preventing lithium battery exhaustion provided in the embodiment of the present invention obtains the battery voltage of the lithium battery and the current working state of the lithium battery device, and obtains the undervoltage protection flag value of the lithium battery according to the current working state and the battery voltage, so as to set the current working state of the lithium battery device according to the undervoltage protection flag value, so as to perform undervoltage protection on the lithium battery while avoiding lithium battery exhaustion and capacity loss, thereby extending the service life of the lithium battery and improving the reliability and safety of the lithium battery device.

[0076] Please refer to Figure 2 and Figure 3 , Figure 3 1 is a schematic diagram of a structure of an embodiment of a device 20 for preventing lithium battery from being exhausted provided by the present invention. The device 20 for preventing lithium battery from being exhausted comprises: an acquisition module 21, an undervoltage protection module 22, a charge prohibition module 23, and a control module 24.

[0077] The acquisition module 21 is used to obtain the battery voltage of the lithium battery and the current working state of the lithium battery device 10; the undervoltage protection module 22 is used to obtain the undervoltage protection flag value of the lithium battery according to the working state and the battery voltage; the control module 24 is used to set the next working state of the lithium battery device 10 according to the undervoltage protection flag value.

[0078] The undervoltage protection module 22 is also used to set the undervoltage protection threshold of the lithium battery according to the current working state; when the current working state is the power-on state and the power-off state, the undervoltage protection threshold is the first threshold, and when the current working state is the sleep state, the undervoltage protection threshold is the second threshold, wherein the first threshold is lower than the second threshold; when the battery voltage is lower than or equal to the undervoltage protection threshold, the undervoltage protection flag value is set; when the battery voltage is higher than the undervoltage protection threshold, the undervoltage protection flag value is set to zero.

[0079] The undervoltage protection module 22 is also used to preset an acquisition cycle and a first wake-up cycle; when the current working state is the power-on state, at least two battery voltages are acquired according to the acquisition cycle, and if at least two battery voltages are lower than or equal to the undervoltage protection threshold, the undervoltage protection flag value is set; when the current working state is the sleep state, the battery voltage is acquired according to the acquisition cycle, and when the battery voltage is lower than or equal to the undervoltage protection threshold, the undervoltage protection flag value is set; when the current working state is the power-off state, the undervoltage protection detection in the lithium battery device 10 is started according to the first wake-up cycle, and the battery voltage is acquired, and when the battery voltage is lower than or equal to the undervoltage protection threshold, the undervoltage protection flag value is set.

[0080] The undervoltage protection module 22 is also used to set the next working state to the power-off state when the undervoltage protection flag value is set; and to set the current working state as the next working state when the undervoltage protection flag value is cleared.

[0081] The charge prohibition module 23 is used to start the charge prohibition protection detection in the lithium battery device 10 according to the current working state to obtain the battery temperature of the lithium battery, and obtain the charge prohibition flag value of the lithium battery according to the battery temperature and the battery voltage.

[0082] The control module 24 is further configured to activate the lithium battery device 10 according to the undervoltage protection flag value and the charge prohibition flag value.

[0083] The charge prohibition module 23 is also used to preset the second wake-up cycle, the third wake-up cycle, the charging voltage threshold and the charging temperature threshold range of the lithium battery device 10; when the current working state is the power-on state, the charge prohibition protection detection in the lithium battery device 10 is in the start-up state; when the current working state is the sleep state, the charge prohibition protection detection in the lithium battery device 10 is started at an interval of the second wake-up cycle; when the current working state is the power-off state, the charge prohibition protection detection of the device in the lithium battery is started at an interval of the third wake-up cycle; if the battery voltage is greater than or equal to the charging voltage threshold and\or the battery temperature exceeds the charging temperature threshold range, the charge prohibition flag value is set; if the battery voltage is less than the charging voltage threshold and the battery temperature is within the charging temperature threshold range, the charge prohibition flag value is cleared.

[0084] The control module 24 is also used to activate the lithium battery when the undervoltage protection flag value and the charge prohibition flag value are both set; when the undervoltage protection flag value is set and the charge prohibition flag value is cleared, the lithium battery alarms.

[0085] Please refer to Figure 2 , Figure 4 and Figure 5 , Figure 4 It is a structural schematic diagram of an embodiment of a data acquisition circuit provided by the present invention; Figure 5 It is a structural schematic diagram of an embodiment of a control circuit provided by the present invention. Figure 4 The U1 chip (SH367303) collects battery voltage data through the VCX (VC1-VC5) pins, collects battery current data through the RSX (RS1 and RS2) pins, collects battery temperature through the TSX (TS1 and TS2) pins, controls the discharge MOS through the DSG pin to discharge the lithium battery, and controls the charge MOS through the CHG pin to charge the lithium battery. Figure 5 The U2 chip (CMS6990NA) in the data acquisition circuit communicates with the U1 chip through the SCL_BMS pin and the SDA_BMS pin to obtain the current data, voltage data and battery temperature collected by the U1 chip, and executes the steps of the above method according to the collected current data, voltage data and battery temperature to set the current working state of the lithium battery device 10.

[0086] See also Figure 6 , Figure 63 is a schematic diagram of a computer readable storage medium 30 according to an embodiment of the present invention. The computer readable storage medium 30 stores at least one computer program 31, which is executed by a processor to implement the following Figure 1 In one embodiment, the computer readable storage medium 30 may be a storage chip, a hard disk, a mobile hard disk, a USB flash drive, an optical disk, or other readable and writable storage tools in the final layer, or a server, etc.

[0087] In one embodiment, the computer-readable storage medium 30 may be a storage chip, a hard disk, or a mobile hard disk, a USB flash drive, an optical disk, or other readable and writable storage tools in a terminal, or a server, etc.

[0088] See also Figure 7 , Figure 7 4 is a schematic diagram of a structure of an embodiment of an energy storage device 40 provided by the present invention. The energy storage device 40 includes a processor 41 and a memory 42. The processor 41 is coupled to the memory 42. The memory 42 stores a computer program 31. The processor 41 executes the computer program 31 when working to achieve the following. Figure 1 The method shown.

[0089] The technical details of the specific method implemented when the energy storage device 40 executes the computer program 31 have been discussed in detail in the aforementioned method steps, so they will not be repeated here.

[0090] A person of ordinary skill in the art can understand that all or part of the processes in the above-mentioned embodiment methods can be implemented by instructing related hardware through a computer program 31. The computer program 31 can be stored in a non-volatile computer-readable storage medium 30. When the program is executed, it can include the processes of the embodiments of the above-mentioned methods.

[0091] Among them, any reference to memory, storage, database or other media used in the embodiments provided in the present application may include non-volatile and / or volatile memory. Non-volatile memory may include read-only memory (ROM), programmable ROM (PROM), electrically programmable ROM (EPROM), electrically erasable programmable ROM (EEPROM) or flash memory. Volatile memory may include random access memory (RAM) or external cache memory. As an illustration and not limitation, RAM is available in various forms, such as static RAM (SRAM), dynamic RAM (DRAM), synchronous DRAM (SDRAM), double data rate SDRAM (DDRSDRAM), enhanced SDRAM (ESDRAM), synchronous link (Synchlink) DRAM (SLDRAM), memory bus (Rambus) direct RAM (RDRAM), direct memory bus dynamic RAM (DRDRAM), and memory bus dynamic RAM (RDRAM).

[0092] It should be noted that the limitations on the various steps involved in this scheme, without affecting the implementation of the specific scheme, are not deemed to limit the order of the steps. The steps written in the front can be executed first, or can be executed later, or even simultaneously. As long as this scheme can be implemented, it should be regarded as belonging to the scope of protection of the present invention.

[0093] It should be understood that the above embodiments are only used to illustrate the technical solutions of the present invention rather than to limit it. For those skilled in the art, the technical solutions described in the above embodiments can be modified, or some of the technical features therein can be replaced by equivalents; and all these modifications and replacements should fall within the scope of protection of the claims attached to the present invention.

Claims

1. A method for preventing a lithium battery from being exhausted, applied to a lithium battery device, wherein a lithium battery is installed in the lithium battery device, characterized in that: include: Acquiring the battery voltage of the lithium battery and the current working state of the lithium battery device; Acquire an undervoltage protection flag value of the lithium battery according to the current working state and the battery voltage; The next working state of the lithium battery device is set according to the undervoltage protection flag value.

2. The method for preventing lithium battery from being exhausted according to claim 1, characterized in that: The step of obtaining the undervoltage protection flag value of the lithium battery according to the current working state and the battery voltage comprises: The undervoltage protection threshold of the lithium battery is set according to the current working state; when the current working state is a power-on state and a power-off state, the undervoltage protection threshold is a first threshold, and when the current working state is a sleep state, the undervoltage protection threshold is a second threshold, wherein the first threshold is lower than the second threshold; When the battery voltage is lower than or equal to the undervoltage protection threshold, setting the undervoltage protection flag value; When the battery voltage is higher than the under-voltage protection threshold, the under-voltage protection flag value is set to zero.

3. The method for preventing lithium battery from being exhausted according to claim 2, characterized in that: The step of setting the under-voltage protection flag value when the battery voltage is lower than or equal to the under-voltage protection threshold comprises: Preset acquisition cycle and first wake-up cycle; When the current working state is the power-on state, acquiring at least two battery voltages according to the acquisition cycle, and if the at least two battery voltages are both lower than or equal to the undervoltage protection threshold, setting the undervoltage protection flag value; When the current working state is the dormant state, acquiring the battery voltage according to the acquisition cycle, and when the battery voltage is lower than or equal to the undervoltage protection threshold, setting the undervoltage protection flag value; When the current working state is a power-off state, the undervoltage protection detection in the lithium battery device is started according to the first wake-up cycle, and the battery voltage is obtained. When the battery voltage is lower than or equal to the undervoltage protection threshold, the undervoltage protection flag value is set.

4. The method for preventing lithium battery from being exhausted according to any one of claims 2 to 3, characterized in that: The step of setting the next working state of the lithium battery according to the undervoltage protection flag value comprises: When the undervoltage protection flag value is set, setting the next working state to the power-off state; When the undervoltage protection flag value is cleared, the current working state is used as the next working state.

5. The method for preventing lithium battery from being exhausted according to claim 4, characterized in that: The step of setting the next working state of the lithium battery device according to the undervoltage protection flag value also includes: Initiate a charge prohibition protection detection in the lithium battery device according to the current working state to obtain a battery temperature of the lithium battery, and obtain a charge prohibition flag value of the lithium battery according to the battery temperature and the battery voltage; The lithium battery device is activated according to the undervoltage protection flag value and the charge prohibition flag value.

6. The method for preventing lithium battery from being exhausted according to claim 5, characterized in that: The step of starting the charge prohibition protection detection in the lithium battery device according to the current working state to obtain the battery temperature and the battery voltage of the lithium battery, and obtaining the charge prohibition flag value of the lithium battery according to the battery temperature and the battery voltage comprises: Presetting a second wake-up cycle, a third wake-up cycle, a charging voltage threshold, and a charging temperature threshold range of the lithium battery device; When the current working state is the power-on state, the charge prohibition protection detection in the lithium battery device is in the start-up state; when the current working state is the sleep state, the charge prohibition protection detection in the lithium battery device is started at intervals of the second wake-up cycle; when the current working state is the power-off state, the charge prohibition protection detection of the device in the lithium battery is started at intervals of the third wake-up cycle; If the battery voltage is greater than or equal to the charging voltage threshold and / or the battery temperature exceeds the charging temperature threshold range, the charging prohibition flag value is set; if the battery voltage is less than the charging voltage threshold and the battery temperature is within the charging temperature threshold range, the charging prohibition flag value is cleared.

7. The method for preventing lithium battery from being exhausted according to claim 5, characterized in that: The lithium battery device is connected to a charger, and the step of setting the lithium battery according to the undervoltage protection flag value and the charge prohibition flag value also includes: When the undervoltage protection flag value and the charge prohibition flag value are both set, the lithium battery is activated; When the undervoltage protection flag value is set and the charge prohibition flag value is cleared, the lithium battery alarms.

8. A device for preventing lithium battery from being exhausted, used to implement the steps of the method as claimed in any one of claims 1 to 7, characterized in that: include An acquisition module, used to acquire the battery voltage of the lithium battery and the current working state of the lithium battery device; An undervoltage protection module, used for obtaining an undervoltage protection flag value of the lithium battery according to the working state and the battery voltage; A control module is used to set the next working state of the lithium battery device according to the undervoltage protection flag value.

9. A device for preventing lithium battery from being exhausted, characterized in that: include A data acquisition circuit, used to obtain the battery voltage, battery temperature and current working state of the lithium battery device; A control circuit, connected to the data acquisition circuit, is used to execute the method steps described in any one of claims 1 to 7 according to the battery voltage, the battery temperature and the current working state.

10. A computer-readable storage medium, characterized in that: A computer program is stored, and when the computer program is executed by a processor, the processor is caused to perform the steps of the method according to any one of claims 1 to 7.

11. An energy storage device, characterized in that: The method comprises a memory and a processor, wherein the memory stores a computer program, and when the computer program is executed by the processor, the processor executes the steps of the method according to any one of claims 1 to 7.