Control Method, Device, Energy Storage Device and Computer Readable Medium for Power Supply State
By switching the power state according to the voltage value of the battery cell, the battery cell is solved by resolutely igniting and overdischarging during long storage of the battery, and low-energy sleep and safety management are achieved.
Patent Information
- Application Number
- CN202510335975.8
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2025-03-21
- Publication Date
- 2025-07-22
- Estimated Expiration
- 2045-03-21
AI Technical Summary
Existing battery management systems are difficult to effectively manage battery charging and discharging, especially during long-term storage, which is prone to problems such as spontaneous combustion of the battery cell and over-discharge of the battery cell.
The battery management system responds to the battery shutdown event, obtains the minimum and maximum battery cell voltage values of each battery cell, and switches the power state according to the set voltage value, including long-term storage energy consumption state, deep sleep energy consumption state and shutdown state, to reduce energy consumption and avoid spontaneous combustion and overdischarge of the battery cell.
It has achieved long-term dormancy under low-energy consumption strategy, reducing the energy consumption of the battery during long-term storage, avoiding spontaneous combustion and overdischarge of the battery cell, and improving the safety and life of the battery.
Smart Images

Figure CN119852567B_ABST
Abstract
Description
Technical Field
[0001] The present invention relates to the technical field of battery management, and in particular to a method and device for controlling the power state, an energy storage device, and a computer-readable medium. Background Art
[0002] A battery management system (BMS) is a system for managing and monitoring a battery pack, mainly applied to devices that require precise battery management, such as mobile operation devices like drones and unmanned operation vehicles. The battery management system needs to communicate with external devices in real time to accurately control by receiving the current battery data (such as voltage, current, temperature, and alarm information, etc.) of the battery contained in the mobile operation device in various states. The aforementioned external devices are all powered by the battery and can all be regarded as loads formed by being electrically connected to the battery.
[0003] In actual application scenarios, in order to ensure the working efficiency of mobile operation devices such as drones, it is required that the drones need to operate continuously. The capacity of the battery on which the drones depend directly affects their operation duration. Therefore, for mobile operation devices such as drones, it is necessary to configure multiple large-capacity batteries to supply power to the drones in a cycle to ensure continuous operation. The battery management systems in the prior art are difficult to manage the charging and discharging of the battery and the battery state. Especially during long-term storage of the battery, problems such as spontaneous combustion of battery cells and over-discharge of battery cells will occur.
[0004] In view of this, it is necessary to improve the on-off control method of the battery management system in the prior art to solve the above problems.
[0005] It should be noted that the above introduction of the background art is only for the convenience of clearly and completely explaining the technical solution of the present invention and facilitating the understanding of those skilled in the art. It cannot be considered that the above technical solutions are well known to those skilled in the art just because these solutions are described in the background art part of the present invention. Summary of the Invention
[0006] The purpose of the present invention is to solve the problem that the battery management system in the prior art is difficult to manage the charging and discharging of the battery and the battery state. Especially during long-term storage of the battery, problems such as spontaneous combustion of battery cells and over-discharge of battery cells exist.
[0007] To achieve the above purpose, the present invention provides a method for controlling the power state, which is applied to a battery management system for controlling multiple battery cells in a battery. The control method includes:
[0008] In response to a battery shutdown event, obtain the minimum cell voltage value in each cell of the battery;
[0009] Compare the minimum cell voltage value with the first set voltage value;
[0010] When the minimum cell voltage value is greater than the first set voltage value, obtain the maximum cell voltage value among the cells of the battery, and compare the maximum cell voltage value with the second set voltage value;
[0011] When the maximum cell voltage value is less than or equal to the second set voltage value, compare the maximum cell voltage value with the third set voltage value;
[0012] When the maximum cell voltage value is greater than the third set voltage value, the battery management system switches the current power state to the long-term storage energy consumption state, so that the battery goes into long-term sleep under the low energy consumption strategy;
[0013] Wherein, the second set voltage value is greater than the third set voltage value, and the first set voltage value is less than the third set voltage value.
[0014] As a further improvement of the present invention, after responding to the battery shutdown event, it includes:
[0015] Judge the shutdown method corresponding to the battery shutdown event, and the shutdown method includes the input instruction method and the instruction generation method;
[0016] When the shutdown method corresponding to the battery shutdown event is the instruction generation method, execute obtaining the minimum cell voltage value among the cells of the battery, and compare the minimum cell voltage value with the first set voltage value.
[0017] As a further improvement of the present invention,
[0018] When the shutdown method corresponding to the battery shutdown event is the input instruction method, and when the current power state is the on state, judge whether the current power state is the long-term storage energy consumption state and the trigger flag bit is in the untriggered state;
[0019] If so, when receiving two input instructions, restart the single-chip microcomputer in the battery management system to restart the battery, and switch the trigger flag bit to the triggered state;
[0020] If not, then shut down.
[0021] As a further improvement of the present invention, the power state further includes: deep sleep energy consumption state;
[0022] When the minimum cell voltage value is greater than the first set voltage value and the maximum cell voltage value is greater than the second set voltage value, the battery management system switches the current power state to the deep sleep energy consumption state;
[0023] When the current power state is the long-term storage power consumption state, the corresponding strategy is: set the shutdown time, clear the storage flag bit in the register of the single-chip microcomputer in the battery management system, and write the shutdown time into the shutdown flag bit of the register;
[0024] When the current power state is the deep sleep power consumption state, the corresponding strategy is: set the storage time and the shutdown time, and write the storage time and the shutdown time into the storage flag bit and the shutdown flag bit of the register in the single-chip microcomputer in the battery management system respectively.
[0025] As a further improvement of the present invention, before the current power state switches to the deep sleep power consumption state, the control method further includes:
[0026] Compare the actual voltage difference between the battery cells with the set voltage difference. When the actual voltage difference between the battery cells is greater than the set voltage difference, perform an equalization operation to equalize the voltages of the battery cells.
[0027] As a further improvement of the present invention, when the battery management system is in the battery startup situation, the control method further includes:
[0028] Judge whether the battery is started in the normal mode based on a preset rule. The preset rule includes: the battery is started in the normal mode when the current power state is the power-on state and the first preset flag bit is set to the first preset value, or the battery is started in the normal mode when the current power state is the balanced voltage state and the second preset flag bit is set to the second preset value;
[0029] When the battery is started in the normal mode, execute the first preset startup strategy.
[0030] As a further improvement of the present invention,
[0031] The normal mode startup includes: startup by inputting an instruction, startup with the load type being a charger, and periodic startup of the single-chip microcomputer;
[0032] The first preset startup strategy includes: turn on the charging transistor and the discharging transistor respectively, turn off the pre-charge transistor, save the current system information and status information to the cache, and start logging;
[0033] The cache is deployed in the single-chip microcomputer or in a non-volatile storage medium that is logically independent of the single-chip microcomputer.
[0034] Based on the same inventive concept, the present invention also discloses a battery control device, including:
[0035] A control unit, which is used to respond to a battery shutdown event and obtain the minimum cell voltage value in each battery cell;
[0036] Compare the minimum cell voltage value with the first set voltage value;
[0037] When the minimum cell voltage value is greater than the first set voltage value, obtain the maximum cell voltage value among the cells of the battery, and compare the maximum cell voltage value with the second set voltage value;
[0038] When the maximum cell voltage value is less than or equal to the second set voltage value, compare the maximum cell voltage value with the third set voltage value;
[0039] When the maximum cell voltage value is greater than the third set voltage value, the battery management system switches the current power state to the long-term storage energy consumption state, so that the battery goes into long-term sleep under the low energy consumption strategy;
[0040] Wherein, the second set voltage value is greater than the third set voltage value, and the first set voltage value is less than the third set voltage value.
[0041] Based on the same inventive concept, the present invention further discloses an energy storage device, including: at least one battery configured with a battery management system, and the battery management system executes the control method of the power state as described in any one of the above.
[0042] Based on the same inventive concept, the present invention further discloses a computer-readable medium, in which computer program instructions are stored, and when the computer program instructions are read and run by a processor, the control method of the power state as described in any one of the above is executed.
[0043] Compared with the prior art, the beneficial effects of the present invention are:
[0044] In the present invention, in response to a battery shutdown event, the battery management system obtains the minimum cell voltage value among the cells of the battery, compares the minimum cell voltage value with the first set voltage value, obtains the maximum cell voltage value among the cells of the battery, and compares the maximum cell voltage value with the second set voltage value and the third set voltage value respectively. After meeting the conditions (that is, the minimum cell voltage value is greater than the first set voltage value, and at the same time the maximum cell voltage value is less than or equal to the second set voltage value and greater than the third set voltage value), the battery management system switches the current power state to the long-term storage energy consumption state, so that the battery goes into long-term sleep under the low energy consumption strategy, thereby reducing the energy consumption of the battery during long-term storage, reducing the self-discharge of the battery, avoiding over-discharge, and finally avoiding problems such as cell spontaneous combustion and cell over-discharge during long-term storage of the battery. BRIEF DESCRIPTION OF THE DRAWINGS
[0045] Figure 1 It is a step schematic diagram of the control method of the power state shown in the present invention;
[0046] Figure 2 For Figure 1 The specific flowchart of step S4 shown;
[0047] Figure 3 The topology diagram of the battery control device shown in the present invention;
[0048] Figure 4 The topology diagram of the energy storage device shown in the present invention;
[0049] Figure 5 The topology diagram of the computer-readable medium shown in the present invention. Specific embodiments
[0050] The present invention will be described in detail below in conjunction with the various embodiments shown in the drawings. However, it should be noted that these embodiments are not limitations on the present invention. Any equivalent transformation or substitution in terms of function, method, or structure made by those of ordinary skill in the art based on these embodiments shall fall within the protection scope of the present invention.
[0051] Please refer Figure 1 To Figure 2 As shown, the present invention shows a specific embodiment of a control method for the power state (hereinafter referred to as "control method"). The control method is applied to a battery management system that manages multiple battery cells in a battery. The specific application scenario is to manage the current power state of the battery during a long-term storage process of the battery, and further manage the charging and discharging of the battery, so as to avoid problems such as spontaneous combustion of battery cells and over-discharge of battery cells.
[0052] Refer Figure 1 As shown, the control method includes the following steps S1 and step S4.
[0053] Step S1, in response to a battery shutdown event.
[0054] Step S4 specifically includes the following steps S41 to S44.
[0055] Step S41, obtain the minimum cell voltage value in each cell of the battery, and compare the minimum cell voltage value with the first set voltage value.
[0056] Step S42, when the minimum cell voltage value is greater than the first set voltage value, obtain the maximum cell voltage value in each cell of the battery, and compare the maximum cell voltage value with the second set voltage value.
[0057] Step S43, when the maximum cell voltage value is less than or equal to the second set voltage value, compare the maximum cell voltage value with the third set voltage value.
[0058] Step S44: When the maximum cell voltage value is greater than the third set voltage value, the battery management system switches the current power state to the long-term storage energy consumption state, so that the battery goes into long-term sleep under the low energy consumption strategy.
[0059] Among them, the second set voltage value is greater than the third set voltage value, and the first set voltage value is less than the third set voltage value.
[0060] In the present invention, in response to a battery shutdown event, the battery management system (i.e., BMS301 in Figure 4 ) obtains the minimum cell voltage value among the cells of the battery (i.e., cells 31 to 3n included in battery 302), compares the minimum cell voltage value with the first set voltage value, obtains the maximum cell voltage value among the cells of the battery, and compares the maximum cell voltage value with the second set voltage value and the third set voltage value respectively. After meeting the conditions (i.e., the minimum cell voltage value is greater than the first set voltage value, and at the same time the maximum cell voltage value is less than or equal to the second set voltage value and greater than the third set voltage value), the battery management system switches the current power state to the long-term storage energy consumption state, so that the battery goes into long-term sleep under the low energy consumption strategy, thereby reducing the energy consumption of the battery during long-term storage, reducing the self-discharge of the battery, avoiding over-discharge, and ultimately avoiding problems such as cell spontaneous combustion and cell over-discharge during long-term storage of the battery.
[0061] It should be noted that the aforementioned minimum cell voltage value refers to the minimum value among the cell voltage values corresponding to each cell included in the battery. Correspondingly, the maximum cell voltage value refers to the maximum value among the cell voltage values corresponding to each cell included in the battery. Assuming that the battery contains 14 cells, obtaining the minimum cell voltage value among the cells of the battery and obtaining the maximum cell voltage value among the cells of the battery include: detecting the cell voltage values corresponding to the 14 cells included in the battery, obtaining 14 cell voltage values, taking the minimum value among the 14 cell voltage values as the minimum cell voltage value, and taking the maximum value among the 14 cell voltage values as the maximum cell voltage value.
[0062] In one embodiment, the first set voltage value is set based on the cut-off voltage value, and the cut-off voltage value can be specifically set to 3.0V according to the battery manufacturer's recommendation; the second set voltage value is set based on the storage voltage value corresponding to the battery power percentage, and the storage voltage value can be set to 3.85V according to the estimated voltage value corresponding to 60% of the battery power percentage; the third set voltage value is similar to the aforementioned first set voltage value and can be specifically set to 3.3V according to the battery manufacturer's recommendation. In short, when the minimum cell voltage value in each cell of the battery is greater than 3.0V, and at the same time the maximum cell voltage value in each cell of the battery is less than or equal to 3.85V and greater than 3.3V, the battery management system switches the current power state to the long-term storage energy consumption state, so that the battery can sleep for a long time under the low-energy consumption strategy.
[0063] In one embodiment, refer Figure 1 As shown, after responding to the battery shutdown event, the following step S2 is included.
[0064] Step S2: Determine the shutdown method corresponding to the battery shutdown event.
[0065] The shutdown methods include the input instruction method and the instruction generation method. In the present invention, the input instruction method means that the user directly issues an instruction to the battery management system. For example, the user controls the battery management system to shut down through a button; the instruction generation method means that the battery management system generates an instruction by itself when the set condition is satisfied. For example, the battery management system can automatically shut down 5s after the battery is removed from the charger. The specific implementation methods corresponding to the input instruction method and the instruction generation method are not limited in this embodiment.
[0066] When the shutdown method corresponding to the battery shutdown event is the instruction generation method, execute to obtain the minimum cell voltage value in each cell of the battery, and compare the minimum cell voltage value with the first set voltage value (that is, execute the steps included in the aforementioned step S4).
[0067] In one embodiment, refer Figure 1 As shown, when the shutdown method corresponding to the battery shutdown event is the input instruction method, execute step S3. Step S3 specifically includes the following steps S31 to S33.
[0068] Step S31: When the current power state is the on state, determine whether the current power state is the long-term storage energy consumption state and the trigger flag bit is in the untriggered state; if so, execute step S32; if not, execute step S33.
[0069] Step S32: When receiving two input instructions, restart the single-chip microcomputer in the battery management system to restart the battery, and switch the trigger flag bit to the triggered state.
[0070] Step S33: Shut down.
[0071] It should be noted that when the shutdown method corresponding to the battery shutdown event is the input command method and the current power state is the on state, it is judged whether the flag bit is in the untriggered state when the battery management system is in the long-term storage power consumption state (that is, the content in step S31 above). If only one input command is received, there is no response. Only when two input commands are received, the single-chip microcomputer in the battery management system is restarted to restart the battery, and the trigger flag bit is switched to the triggered state, thereby preventing the situation that when the battery management system is in the long-term storage power consumption state, after receiving two input commands, one more input command is received instead of shutdown (that is, the trigger flag bit is in the triggered state), and at this time, normal shutdown will occur.
[0072] In short, in the present invention, the battery management system first responds to the battery shutdown event (that is, step S1), then judges the shutdown method corresponding to the battery shutdown event (that is, step S2, the shutdown method includes the input command method and the command generation method), and finally executes the corresponding strategy according to the shutdown method (that is, steps S3 and S4, step S3 is executed when the shutdown method is the input command method, and step S4 is executed when the shutdown method is the command generation method), thereby executing the corresponding strategy according to different shutdown methods to realize the control of battery shutdown in different situations.
[0073] In one embodiment, the power state further includes: the deep sleep power consumption state. When the minimum cell voltage value is greater than the first set voltage value and the maximum cell voltage value is greater than the second set voltage value, the battery management system switches the current power state to the deep sleep power consumption state.
[0074] When the current power state is the long-term storage power consumption state, the corresponding strategy is: set the shutdown time, clear the storage flag bit in the register of the single-chip microcomputer in the battery management system, and write the shutdown time into the shutdown flag bit of the register.
[0075] When the current power state is the deep sleep power consumption state, the corresponding strategy is: set the storage time and the shutdown time, and write the storage time and the shutdown time into the storage flag bit and the shutdown flag bit of the register of the single-chip microcomputer in the battery management system respectively.
[0076] In one embodiment, before the current power state is switched to the deep sleep power consumption state, the control method further includes: comparing the actual voltage difference between the battery cells with the set voltage difference, and when the actual voltage difference between the battery cells is greater than the set voltage difference, performing an equalization operation to equalize the voltages of the battery cells. Before the current power state is switched to the deep sleep power consumption state, equalize the battery cells to ensure the voltage consistency between the battery cells, thereby improving the performance, safety and life of the battery, and further effectively controlling the battery during long-term storage.
[0077] Specifically, as Figure 2 shown, the aforementioned step S4 specifically includes the following steps S50 to S59.
[0078] Step S50, obtain the minimum cell voltage value in each battery cell.
[0079] Step S51, determine whether the minimum cell voltage value is less than or equal to the first set voltage value; if so, execute step S52; if not, execute step S53.
[0080] Step S52, the battery management system switches the current power state to the shutdown state.
[0081] Step S53, obtain the maximum cell voltage value in each battery cell.
[0082] Step S54, determine whether the maximum cell voltage value is less than or equal to the second set voltage value; if so, execute step S55; if not, execute step S56.
[0083] Step S55, determine whether the maximum cell voltage value is less than or equal to the third set voltage value; if so, execute step S57; if not, execute step S58.
[0084] Step S56, set the storage time and the shutdown time, write the storage time and the shutdown time into the storage flag bit and the shutdown flag bit of the register in the single-chip microcomputer of the battery management system respectively. On the basis that the voltages of each cell of the current power supply are balanced (no equalization operation is required), and when the time from the moment when the storage time is set to the current moment is less than the storage time in the battery management system, the battery management system switches the current power state to the deep sleep power consumption state.
[0085] Step S57, the battery management system switches the current power state to the shutdown state and clears the storage flag bit.
[0086] Step S58, set the shutdown time, clear the storage flag bit of the register in the single-chip microcomputer of the battery management system, write the shutdown time into the shutdown flag bit of the register, and the battery management system switches the current power state to the long-term storage power consumption state.
[0087] Step S59: Turn off the transistor and the light respectively, save the current system information and status information to the cache, stop logging, and clear the load type flag bit in the register of the microcontroller.
[0088] Based on this, by comparing the minimum cell voltage value in each cell of the battery with the first set voltage value, and by comparing the maximum cell voltage value with the second set voltage value and the third set voltage value respectively, after meeting the corresponding conditions, the current power state is switched to different power states, and corresponding strategies are executed to maintain the battery based on the states of each cell of the battery, so as to avoid problems such as spontaneous combustion of the cell and over-discharge of the cell. In short, when the minimum cell voltage value is less than or equal to the first set voltage value, the battery management system switches the current power state to the shutdown state; when the minimum cell voltage value is greater than the first set voltage value and the maximum cell voltage value is greater than the second set voltage value, the power management system switches the current power state to the deep sleep power consumption state; when the minimum cell voltage value is greater than the first set voltage value, at the same time the maximum cell voltage value is less than or equal to the second set voltage value, and the maximum cell voltage value is less than or equal to the third set voltage value, the power management system switches the current power state to the shutdown state; when the minimum cell voltage value is greater than the first set voltage value, at the same time the maximum cell voltage value is less than or equal to the second set voltage value, and the maximum cell voltage value is greater than the third set voltage value, the power management system switches the current power state to the long-term storage power consumption state.
[0089] It should be noted that when in different power states, the corresponding states of the battery management system and the microcontroller in the battery management system. In the present invention, when the current power state is the shutdown state, the battery management system enters the sleep state, the microcontroller in the battery management system is powered off and does not perform any data processing; when the current power state is the deep sleep power consumption state or the long-term storage power consumption state, the battery management system enters the sleep state, the microcontroller in the battery management system enters the sleep state, and can perform data processing when triggered at the corresponding pins, and the sleep time corresponding to the deep sleep power consumption state is less than the sleep time corresponding to the long-term storage power consumption state. For example, the sleep time corresponding to the deep sleep power consumption state is 5 days, and the sleep time corresponding to the long-term storage power consumption state is 30 days.
[0090] In one embodiment, when the battery management system is in a battery startup scenario, the control method further includes: determining whether the battery is started in a normal mode based on a preset rule; when the battery is started in a normal mode (i.e., if so), executing a first preset startup policy; when the battery is started in an abnormal mode (i.e., if not), executing a second preset startup policy. Among them, the preset rule includes: the battery is started in a normal mode when the current power state is the startup state and the first preset flag is set to the first preset value, or when the current power state is the balanced voltage state and the second preset flag is set to the second preset value.
[0091] It should be noted that in the present invention, the first preset flag bit refers to the flag bit when the first set time is reached. The first set time can be, for example, 5 days, and can be specifically defined according to the actual application scenario; the second preset flag bit refers to the abnormal startup flag bit. At the same time, the first preset value refers to 0; the second preset value refers to 1.
[0092] Specifically, when the current power state is the startup state and the first preset flag bit (i.e., the flag bit when the first set time is reached) is set to 0, or when the current power state is the balanced voltage state and the second preset flag bit (i.e., the abnormal startup flag bit) is set to 1, it is determined that the battery is started in an abnormal mode. Otherwise, it is determined that the battery is started in a normal mode.
[0093] Among them, the normal mode startup includes: startup by inputting an instruction, startup with the load type being a charger, and periodic startup of the single-chip microcomputer. The startup by inputting an instruction is similar to the aforementioned shutdown method by inputting an instruction, which means that the user directly issues an instruction to the battery management system. For example, the user controls the battery management system to power on through a button. The startup with the load type being a charger means that it is automatically awakened when the battery is placed on the charger. The periodic startup of the single-chip microcomputer means that the real-time alarm clock in the register of the single-chip microcomputer wakes up for a set duration (such as 10s) every set time (such as four hours) to detect the battery state when the battery is in the shutdown state.
[0094] In one embodiment, the first preset startup policy includes: separately turning on the charging transistor and the discharging transistor, turning off the pre-charge transistor, and saving the current system information and status information to the cache, and starting to record the log; the second preset startup policy includes: separately turning on the charging transistor and the discharging transistor, turning off the pre-charge transistor, and saving the current system information and status information to the cache, setting the abnormal startup flag bit in the register of the single-chip microcomputer to 1, and starting to record the log. Among them, the cache is deployed in the single-chip microcomputer or deployed in a non-volatile storage medium independent of the single-chip microcomputer. The system information includes time, software version number, hardware version number, etc., and the status information includes the number of successful pre-charges and the number of failed pre-charges.
[0095] In summary, in the present invention, when the battery is powered on, different initialization strategies are adopted according to different power-on methods (i.e., normal power-on method and abnormal power-on method); when the battery is powered off, different state switching strategies are adopted according to different power-off methods. Thus, during long-term storage of the battery, the battery can be periodically powered on and off to control the charge and discharge and power state of the battery, avoiding problems such as spontaneous combustion of battery cells and over-discharge of battery cells, so as to achieve the purpose of maintaining the entire storage cycle of the battery.
[0096] Based on the same inventive concept, the present invention also discloses a battery control device 200. The battery control device 200 includes: a control unit 201. The control unit 201 is configured to, in response to a battery power-off event, obtain the minimum cell voltage value in each cell of the battery, compare the minimum cell voltage value with a first set voltage value. When the minimum cell voltage value is greater than the first set voltage value, obtain the maximum cell voltage value in each cell of the battery, and compare the maximum cell voltage value with a second set voltage value. When the maximum cell voltage value is less than or equal to the second set voltage value, compare the maximum cell voltage value with a third set voltage value. When the maximum cell voltage value is greater than the third set voltage value, the battery management system switches the current power state to a long-term storage energy consumption state, so that the battery can be in a long-term sleep state under a low-energy consumption strategy. Herein, the second set voltage value is greater than the third set voltage value, and the first set voltage value is less than the third set voltage value.
[0097] It should be noted that steps S1 and S4 in the foregoing control method are implemented by the control unit 201 in the battery control device 200. The specific scheme can be referred to the foregoing description and will not be elaborated herein.
[0098] Based on the same inventive concept, the present invention also discloses an energy storage device 300. The energy storage device 300 includes: at least one battery 302 configured with a battery management system (i.e., BMS 301). The battery management system executes the steps in the foregoing control method. The battery 302 can generally be regarded as a power battery and is composed of multiple battery cells, such as battery cells 31 to 3n. Herein, the parameter n is a positive integer greater than or equal to two. All the battery cells are electrically connected in series or in parallel, and thus the battery 302 is managed by the BMS 301. For the technical solutions with the same parts in this embodiment and the foregoing embodiments, refer to the foregoing description and will not be elaborated herein.
[0099] Based on the same inventive concept, the present invention also discloses a computer-readable medium 400. A computer program instruction 401 is stored in the computer-readable medium 400. When the computer program instruction 401 is read and run by a processor 402, the steps in the control method disclosed above are executed.
[0100] Optionally, the computer-readable medium 400 can be configured as a server, and the server runs on a physical device for building a private cloud, a hybrid cloud, or a public cloud. At the same time, the computer-readable medium 400 can also be configured as a Random Access Memory (RAM), a Read Only Memory (ROM), a Programmable Read-Only Memory (PROM), an Erasable Programmable Read-Only Memory (EPROM), an Electric Erasable Programmable Read-Only Memory (EEPROM), etc.
[0101] The computer-readable medium 400 is used to store programs. After receiving the execution instruction, the processor 402 executes the steps in the control method disclosed above.
[0102] The series of detailed descriptions listed above are only specific descriptions of the feasible implementation manners of the present invention, and they are not intended to limit the protection scope of the present invention. Any equivalent implementation manners or changes made without departing from the technical spirit of the present invention should be included in the protection scope of the present invention.
[0103] For those skilled in the art, it is obvious that the present invention is not limited to the details of the above exemplary embodiments, and the present invention can be implemented in other specific forms without departing from the spirit or basic characteristics of the present invention. Therefore, from any point of view, the embodiments should be regarded as exemplary and non-limiting. The scope of the present invention is defined by the appended claims rather than the above description. Therefore, all changes falling within the meaning and scope of the equivalent elements of the claims are intended to be included in the present invention. Any reference signs in the claims should not be regarded as limiting the claims involved.
[0104] In addition, it should be understood that although this specification is described according to embodiments, not every embodiment only contains an independent technical solution. This narrative manner of the specification is only for clarity. Those skilled in the art should regard the specification as a whole, and the technical solutions in each embodiment can also be appropriately combined to form other embodiments that can be understood by those skilled in the art.
Claims
1. A method for controlling the power state, applied to a battery management system for managing multiple battery cells in a battery, characterized in that, The control method includes: In response to a battery shutdown event, determining the shutdown method corresponding to the battery shutdown event, where the shutdown method corresponding to the battery shutdown event includes an input instruction method and an instruction generation method; When the shutdown method corresponding to the battery shutdown event is the instruction generation method, obtaining the minimum cell voltage value in each cell of the battery; Comparing the minimum cell voltage value with a first set voltage value; When the minimum cell voltage value is greater than the first set voltage value, obtaining the maximum cell voltage value in each cell of the battery and comparing the maximum cell voltage value with a second set voltage value; When the maximum cell voltage value is less than or equal to the second set voltage value, comparing the maximum cell voltage value with a third set voltage value; When the maximum cell voltage value is greater than the third set voltage value, the battery management system switches the current power state to the long-term storage energy consumption state, so that the battery goes into long-term sleep under a low energy consumption strategy; When the shutdown method corresponding to the battery shutdown event is the input instruction method and the current power state is the on state, determining whether the current power state is the long-term storage energy consumption state and the trigger flag bit is in the untriggered state; If so, when receiving two input instructions, restart the single-chip microcomputer in the battery management system to restart the battery and switch the trigger flag bit to the triggered state; If not, then shut down; Wherein, the second set voltage value is greater than the third set voltage value, and the first set voltage value is less than the third set voltage value.
2. The control method according to claim 1, wherein The power state further includes: the deep sleep energy consumption state; When the minimum cell voltage value is greater than the first set voltage value and the maximum cell voltage value is greater than the second set voltage value, the battery management system switches the current power state to the deep sleep energy consumption state; When the current power state is the long-term storage energy consumption state, the corresponding strategy is: setting a shutdown time, clearing the storage flag bit in the register of the single-chip microcomputer in the battery management system, and writing the shutdown time into the shutdown flag bit of the register; When the current power state is the deep sleep energy consumption state, the corresponding strategy is: setting a storage time and a shutdown time, and writing the storage time and the shutdown time into the storage flag bit and the shutdown flag bit of the register of the single-chip microcomputer in the battery management system respectively.
3. The control method according to claim 2, wherein Before the current power state is switched to the deep sleep energy consumption state, the control method further includes: Comparing the actual voltage difference between the cells of the battery with a set voltage difference, and when the actual voltage difference between the cells of the battery is greater than the set voltage difference, performing an equalization operation to equalize the cell voltages of the battery.
4. The control method according to claim 1, characterized in that When the battery management system is in the battery startup scenario, the control method further includes: Judging whether the battery is started in a normal manner based on a preset rule, where the preset rule includes: the battery is started in a normal manner when the current power state is the on state and the first preset flag bit is the first preset value, or the battery is started in a normal manner when the current power state is the balanced voltage state and the second preset flag bit is the second preset value; When the battery is started in a normal manner, executing a first preset startup strategy.
5. The control method according to claim 4, wherein The normal mode startup includes: startup by input instruction mode, startup with the load type being charger mode, and periodic startup of the single-chip microcomputer; The first preset startup strategy includes: separately turning on the charging transistor and the discharging transistor, turning off the pre-charging transistor, saving the current system information and status information to the cache, and starting to record the log; The cache is deployed in the single-chip microcomputer or in a non-volatile storage medium that is logically independent of the single-chip microcomputer.
6. Battery control device, characterized in that, It includes: A control unit, which is used to respond to a battery shutdown event, judge the shutdown mode corresponding to the battery shutdown event, and the shutdown mode corresponding to the battery shutdown event includes input instruction mode and instruction generation mode; When the shutdown mode corresponding to the battery shutdown event is the instruction generation mode, obtain the minimum cell voltage value in each cell of the battery; Compare the minimum cell voltage value with the first set voltage value; When the minimum cell voltage value is greater than the first set voltage value, obtain the maximum cell voltage value in each cell of the battery, and compare the maximum cell voltage value with the second set voltage value; When the maximum cell voltage value is less than or equal to the second set voltage value, compare the maximum cell voltage value with the third set voltage value; When the maximum cell voltage value is greater than the third set voltage value, the battery management system switches the current power state to the long-term storage energy consumption state, so that the battery can long-term sleep under the low energy consumption strategy; When the shutdown mode corresponding to the battery shutdown event is the input instruction mode and the current power state is the on state, judge whether the current power state is the long-term storage energy consumption state and the trigger flag is in the untriggered state; If so, when receiving two input instructions, restart the single-chip microcomputer in the battery management system to restart the battery, and switch the trigger flag to the triggered state; If not, then shut down; Wherein, the second set voltage value is greater than the third set voltage value, and the first set voltage value is less than the third set voltage value.
7. Energy storage device, characterized in that, It includes: At least one battery configured with a battery management system, and the battery management system executes the power state control method as described in any one of claims 1 to 5.
8. A computer-readable medium, characterized in that, Computer program instructions are stored in the computer-readable medium, and when the computer program instructions are read and run by a processor, the power state control method as described in any one of claims 1 to 5 is executed.
Citation Information
Patent Citations
Start-stop control method for balance module of energy storage system
CN106655338A
Controller and battery management method
CN111864280A
Vehicle-mounted system capable of being quickly turned on and turned off and quick turning on and turning off method of vehicle-mounted system
CN115202743A
Charging and discharging management method and device
CN118174414A