Battery charging control method, energy storage device, electronic equipment and storage medium
By obtaining the current power and charging flag of the target battery, determining the initial charging status, and charging control is performed according to the battery type, the problem of BMS automatically shutting down when the battery charging voltage is close to full in the off-grid energy storage all-in-one machine, ensuring stable operation and Power supply capacity.
Patent Information
- Application Number
- CN202410954735.1
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2024-07-16
- Publication Date
- 2024-11-08
AI Technical Summary
In off-grid energy storage all-in-one machine, when the battery charging voltage is close to full, the single cell reaches the alarm value, causing the BMS to automatically turn off the charging MOS, lose the clamping function, and cause the whole machine to lose its power supply capacity.
By obtaining the current power and charging flag of the target battery, determine the initial charging status, and perform charging control according to the battery type and status, avoiding the single battery cell reaching the alarm value when the battery charging voltage is close to full, ensuring the normal operation of the BMS and charging module .
It effectively avoids the problem of BMS turning off charging MOS when the battery charging voltage is close to full, ensures the stable operation of the off-grid energy storage all-in-one machine, avoids frequent shutdowns and the loss of power supply capabilities of the whole machine, and improves the user experience.
Smart Images

Figure CN118920629A_ABST
Abstract
Description
Technical Field
[0001] The present invention relates to the technical field of off-grid energy storage integrated machines, and in particular to a battery charging control method, an energy storage device, an electronic device and a storage medium. Background Art
[0002] An off-grid energy storage integrated machine is a device that can operate independently and does not rely on the traditional power network. The principle of an off-grid energy storage integrated machine is to convert solar energy, wind energy and other energies into electrical energy by utilizing renewable energy and energy storage equipment, and then supply it to users, such as a photovoltaic energy storage integrated machine.
[0003] In off-grid energy storage devices, BMS (BATTERY MANAGEMENT SYSTEM) is usually used to control and detect the charge and discharge status of energy storage devices (such as lithium batteries). The battery protocols of different manufacturers vary greatly, and the quality varies. Many batteries do not have the terminal current limiting function during the charging process. When the charging voltage of the battery is close to the full voltage, its single cell will reach the alarm value, causing the BMS to automatically shut down the charging MOS (metal oxide semiconductor) of this battery, losing the clamping function, which is equivalent to a battery-free condition, causing the entire machine to lose its power supply capability. Summary of the invention
[0004] In view of this, the purpose of the present application is to provide a battery charging control method, an energy storage device, an electronic device and a storage medium, which can control the charging of the battery in an off-grid energy storage integrated machine, so as to avoid the problem that when the charging voltage of the battery is close to the full voltage, its single cell reaches the alarm value, causing the BMS to automatically shut down the charging MOS of the battery and lose the clamping function, thereby preventing the whole machine from losing its power supply capacity.
[0005] In a first aspect, an embodiment of the present application provides a battery charging control method, comprising:
[0006] Get the current power and charging flag of the target battery;
[0007] The initial charging state is determined by the numerical relationship between the power threshold corresponding to the target battery and the current power and the charging flag;
[0008] A target charging state is determined according to the battery type and the initial charging state corresponding to the target battery, so as to charge the target battery according to the target charging state.
[0009] In a possible implementation, determining the initial charging state according to the numerical relationship between the power threshold corresponding to the target battery and the current power and the charging flag bit includes:
[0010] If the current power value is greater than or equal to the first power threshold corresponding to the target battery, or the power state corresponding to the current power is the target power state, the first charging state is determined as the initial charging state.
[0011] In a possible implementation, determining the initial charging state by using a numerical relationship between a power threshold corresponding to the target battery and the current power and a charging flag bit also includes:
[0012] If the current power value is less than or equal to the second power threshold corresponding to the target battery, and the charging flag is the target flag, the second charging state is determined as the initial charging state.
[0013] In a possible implementation, determining the target charging state according to the battery type and the initial charging state corresponding to the target battery includes:
[0014] If the battery type corresponding to the target battery is a lithium battery type, then the voltage of the target battery in the current time period is obtained;
[0015] The target state of charge is determined based on the voltage in the current time period and the initial state of charge.
[0016] In a possible implementation, determining the target charging state according to the voltage in the current time period and the initial charging state includes:
[0017] When the initial charging state is the first charging state, if the duration of the voltage in the current time period being greater than or equal to the first voltage threshold is greater than a first preset duration, the first charging state is determined as the target charging state.
[0018] In a possible implementation manner, determining the target charging state according to the voltage in the current time period and the initial charging state further includes:
[0019] When the initial charging state is the second charging state, if the duration of the voltage in the current time period being less than or equal to the second voltage threshold is greater than a second preset duration, the second charging state is determined as the target charging state.
[0020] In a possible implementation, determining the target charging state according to the battery type and the initial charging state corresponding to the target battery further includes:
[0021] If the battery type corresponding to the target battery is a non-lithium battery type, the initial charging state is determined as the target charging state.
[0022] In a second aspect, an embodiment of the present application further provides an energy storage device, the energy storage device comprising a display management module, a battery management module and a digital signal processing module:
[0023] A display management module is used to receive the current power level and charging flag of the target battery sent by the battery management module;
[0024] The display management module is further used to determine the initial charging state through the numerical relationship between the power threshold corresponding to the target battery and the current power and the charging flag;
[0025] The digital signal processing module is used to determine the target charging state according to the battery type and initial charging state corresponding to the target battery sent by the display management module, so as to charge the target battery according to the target charging state.
[0026] In a possible implementation manner, when the display management module determines the initial charging state through the numerical relationship between the power threshold corresponding to the target battery and the current power and the charging flag, it is specifically used to:
[0027] If the current power value is greater than or equal to the first power threshold corresponding to the target battery, or the power state corresponding to the current power is the target power state, the first charging state is determined as the initial charging state.
[0028] In a possible implementation manner, when the display management module determines the initial charging state through the numerical relationship between the power threshold corresponding to the target battery and the current power and the charging flag, it is specifically used to:
[0029] If the current power value is less than or equal to the second power threshold corresponding to the target battery, and the charging flag is the target flag, the second charging state is determined as the initial charging state.
[0030] In a possible implementation manner, when the digital signal processing module determines the target charging state according to the battery type and the initial charging state corresponding to the target battery, it is specifically used to:
[0031] If the battery type corresponding to the target battery is a lithium battery type, then the voltage of the target battery in the current time period is obtained;
[0032] The target state of charge is determined based on the voltage in the current time period and the initial state of charge.
[0033] In a possible implementation manner, when the digital signal processing module determines the target charging state according to the voltage in the current time period and the initial charging state, it is specifically used to:
[0034] When the initial charging state is the first charging state, if the duration of the voltage in the current time period being greater than or equal to the first voltage threshold is greater than a first preset duration, the first charging state is determined as the target charging state.
[0035] In a possible implementation manner, when the digital signal processing module determines the target charging state according to the voltage in the current time period and the initial charging state, it is specifically used to:
[0036] When the initial charging state is the second charging state, if the duration of the voltage in the current time period being less than or equal to the second voltage threshold is greater than a second preset duration, the second charging state is determined as the target charging state.
[0037] In a possible implementation manner, when the digital signal processing module determines the target charging state according to the battery type and the initial charging state corresponding to the target battery, it is specifically used to:
[0038] If the battery type corresponding to the target battery is a non-lithium battery type, the initial charging state is determined as the target charging state.
[0039] In a third aspect, an embodiment of the present application further provides an electronic device, comprising: a processor, a storage medium and a bus, wherein the storage medium stores machine-readable instructions executable by the processor. When the electronic device is running, the processor and the storage medium communicate through the bus, and the processor executes the machine-readable instructions to perform the steps of any battery charging control method as described in the first aspect.
[0040] In a fourth aspect, an embodiment of the present application further provides a computer-readable storage medium, on which a computer program is stored. When the computer program is executed by a processor, the steps of any battery charging control method in the first aspect are executed.
[0041] The embodiment of the present application provides a battery charging control method, an energy storage device, an electronic device and a storage medium, the method comprising: obtaining the current power of the target battery and a charging flag; determining the initial charging state through the numerical relationship between the power threshold corresponding to the target battery and the current power and the charging flag; determining the target charging state according to the battery type and the initial charging state corresponding to the target battery, so as to charge the target battery according to the target charging state. The present application determines the target charging state through the current power of the target battery and the charging flag, so that the target battery is charged at the target charging state, avoiding the problem that when the charging voltage of the battery is close to the full voltage, the single cell will reach the alarm value, causing the BMS to automatically shut down the charging MOS of the battery and lose the clamping function, thereby avoiding the whole machine from losing power supply capability. BRIEF DESCRIPTION OF THE DRAWINGS
[0042] In order to more clearly illustrate the technical solutions of the embodiments of the present application, the drawings required for use in the embodiments will be briefly introduced below. It should be understood that the following drawings only show certain embodiments of the present application and therefore should not be regarded as limiting the scope. For ordinary technicians in this field, other related drawings can be obtained based on these drawings without paying creative work.
[0043] Figure 1 A flow chart of a battery charging control method provided by an embodiment of the present application is shown;
[0044] Figure 2 A flow chart of another battery charging control method provided by an embodiment of the present application is shown;
[0045] Figure 3 A schematic diagram of the structure of an energy storage device provided in an embodiment of the present application is shown;
[0046] Figure 4 A schematic structural diagram of an electronic device provided in an embodiment of the present application is shown. DETAILED DESCRIPTION
[0047] To make the purpose, technical scheme and advantages of the embodiments of the present application clearer, the technical scheme in the embodiments of the present application will be clearly and completely described below in conjunction with the drawings in the embodiments of the present application. It should be understood that the drawings in the present application only serve the purpose of explanation and description and are not used to limit the scope of protection of the present application. In addition, it should be understood that the schematic drawings are not drawn in real proportion. The flowchart used in this application shows the operations implemented according to some embodiments of the present application. It should be understood that the operations of the flowchart can be implemented out of sequence, and the steps without logical context can be reversed in order or implemented simultaneously. In addition, those skilled in the art can add one or more other operations to the flowchart under the guidance of the content of the present application, or remove one or more operations from the flowchart.
[0048] In addition, the described embodiments are only a part of the embodiments of the present application, rather than all the embodiments. The components of the embodiments of the present application described and shown in the drawings here can be arranged and designed in various configurations. Therefore, the following detailed description of the embodiments of the present application provided in the drawings is not intended to limit the scope of the application claimed for protection, but merely represents the selected embodiments of the present application. Based on the embodiments of the present application, all other embodiments obtained by those skilled in the art without making creative work belong to the scope of protection of the present application.
[0049] In order to enable those skilled in the art to use the contents of this application, the following implementation is provided in conjunction with the specific application scenario "off-grid energy storage integrated machine technology field". For those skilled in the art, the general principles defined herein can be applied to other embodiments and application scenarios without departing from the spirit and scope of this application. Although this application is mainly described around the "off-grid energy storage integrated machine technology field", it should be understood that this is only an exemplary embodiment.
[0050] In the field of off-grid energy storage integrated machines, due to the large differences in cost and battery protocols of different manufacturers, and uneven quality, many batteries do not have the terminal current limiting function during the charging process. When the charging voltage of the battery is close to the full voltage, its single cell will reach the alarm value, causing the BMS to automatically shut down the charging MOS of this battery, losing the clamping function, which is equivalent to a battery-free working condition. As a result, the display management module, DSP (Digital Signal Processing) chip and BMS in the off-grid energy storage integrated machine often have work mismatches and frequent shutdowns in the three-terminal coordination implementation, and the whole machine loses its power supply capacity, seriously affecting user use.
[0051] In view of this, the present invention provides a battery charging control method, which includes: obtaining the current power of the target battery and the charging flag; determining the initial charging state through the numerical relationship between the power threshold corresponding to the target battery and the current power and the charging flag; determining the target charging state according to the battery type and the initial charging state corresponding to the target battery, so as to charge the target battery according to the target charging state. The present application determines the target charging state through the current power of the target battery and the charging flag, so that the target battery is charged in the target charging state, avoiding the problem that the BMS turns off the battery charging MOS and loses the clamping function after the single cell reaches the alarm value when the charging voltage is close to the full voltage, so that the display management module, DSP chip and BMS in the off-grid energy storage integrated machine can cooperate with each other to complete the work, avoiding the problem of frequent shutdowns and loss of power supply capacity of the whole machine, and increasing user experience.
[0052] It should be noted that the term "comprising" will be used in the embodiments of the present application to indicate the existence of the features declared thereafter, but does not exclude the addition of other features.
[0053] A battery charging control method provided in an embodiment of the present application is described in detail below.
[0054] Reference Figure 1 As shown, it is a flow chart of a battery charging control method provided in an embodiment of the present application. The specific execution process of the battery charging control method is as follows:
[0055] S101, obtaining the current power level and charging flag of the target battery.
[0056] S102: Determine an initial charging state according to a numerical relationship between a power threshold corresponding to the target battery and the current power and a charging flag.
[0057] S103: Determine a target charging state according to the battery type and the initial charging state corresponding to the target battery, so as to charge the target battery according to the target charging state.
[0058] The embodiment of the present application provides a battery charging control method, which includes: obtaining the current power level and charging flag of the target battery; determining the initial charging state through the numerical relationship between the power threshold corresponding to the target battery and the current power level and the charging flag; determining the target charging state according to the battery type and the initial charging state corresponding to the target battery, so as to charge the target battery according to the target charging state. The present application determines the target charging state through the current power level and the charging flag of the target battery, so as to charge the target battery at the target charging state, thereby avoiding the problem that when the charging voltage is close to the full voltage, the single cell reaches the alarm value, causing the BMS to shut down the battery charging MOS and lose the clamping function, thereby avoiding the whole machine from losing power supply capability.
[0059] The following is a description of the exemplary steps of the present application embodiment:
[0060] S101, obtaining the current power level and charging flag of the target battery.
[0061] In an embodiment of the present application, when the BMS communication is normal, if the terminal current limiting flag is 0 (i.e., indicating that the BMS does not have a terminal current limiting function) and the user has turned on the charging control function, the current power of the target battery and the charging flag are obtained.
[0062] Here, when the terminal current limiting flag is 0, it indicates that the BMS in the off-grid energy storage integrated machine does not have the terminal current limiting function; when the terminal current limiting flag is 1, it indicates that the BMS has the terminal current limiting function. When the BMS does not have the terminal current limiting function, the energy storage device (which can be an off-grid energy storage integrated machine) is required to control the battery charging (that is, obtain the current power of the target battery and the charging flag) to prevent the single cell from reaching the alarm value when the charging voltage is close to the full voltage, thereby causing the BMS to shut down the battery charging MOS. However, whether to turn on the control of battery charging requires the user to manually turn on the charging control function according to the actual situation.
[0063] Among them, no terminal current limiting function means that there is no current limiting function when charging the battery terminal; terminal charging refers to the charging stage in the later stage of the battery charging process, when the battery power is close to the full charge state. The current power of the target battery refers to the SOC value of the target battery monitored by the BMS. The value range of the SOC indicator is 0% to 100%, indicating the current power of the battery. The charging flag is an instruction flag determined by the BMS according to the operating logic of the system (i.e., BMS) to determine whether the target battery is currently allowed to charge; when the charging flag is 0 (OFF), it indicates that the target battery is allowed to charge, and when the charging flag is 1 (ON), it indicates that the target battery is not allowed to charge.
[0064] Specifically, the battery management module (which may be a BMS) in the energy storage device is used to send the current power of the target battery and the charging flag to the display management module in the energy storage device if the terminal current limiting flag is 0 and the user has turned on the charging control function. When the battery management module communicates normally, the display management module can receive the current power of the target battery and the charging flag sent by the battery management module.
[0065] S102: Determine an initial charging state according to a numerical relationship between a power threshold corresponding to the target battery and the current power and a charging flag.
[0066] In the implementation mode of the present application, each battery type corresponds to its own power threshold; battery types include lithium battery types (ternary lithium battery, lithium iron phosphate, etc.) and non-lithium battery types (lead-acid battery, colloidal battery, etc.). If the target battery is a lithium battery type, the power threshold corresponding to the target battery is the power threshold corresponding to the lithium battery; if the target battery is a non-lithium battery type, the power threshold corresponding to the target battery is the power threshold corresponding to the non-lithium battery. The initial charging state includes floating charge and boost charge. In addition, the power threshold corresponding to the non-lithium battery is a pre-set constant and cannot be changed by the user; the power threshold corresponding to the lithium battery is pre-set by the user and can be changed by the user.
[0067] The power threshold corresponding to each battery type includes a first power threshold and a second power threshold; the first power threshold corresponding to each battery type is greater than the second power threshold corresponding to each battery type.
[0068] Here, floating charge is a continuous, long-term constant voltage charging method, which aims to compensate for the self-discharge loss of the battery and keep the battery pack in a fully charged state; boost charging mainly refers to improving charging efficiency, shortening charging time, and thus speeding up the speed at which devices (such as mobile phones, electric vehicles, etc.) replenish power.
[0069] Furthermore, the initial charging state is determined by the numerical relationship between the power threshold corresponding to the target battery and the current power and the charging flag, including: if the current power value is greater than or equal to the first power threshold corresponding to the target battery, or the power state corresponding to the current power is the target power state, then the first charging state is determined as the initial charging state.
[0070] In an embodiment of the present application, the display management module is used to determine the first charging state as the initial charging state if the current power value is greater than or equal to the first power threshold corresponding to the target battery, or the power state corresponding to the current power sent by the battery management module is the target power state.
[0071] When the current power is 100%, the battery management module sets the power state of the target battery to a full state; otherwise, the power state of the target battery is set to a not full state. The target power state is a full state; the first charging state is a floating charge.
[0072] For example, the battery type of the target battery is a non-lithium battery type, and the first power threshold corresponding to the non-lithium battery type is 99%. If the current power value is greater than or equal to 99%, or the power state is fully charged, floating charge is determined as the initial charging state.
[0073] For example, the battery type of the target battery is a lithium battery type, and the first power threshold corresponding to the lithium battery type is the charging protection SOC value set by the user. If the current power value is greater than or equal to the charging protection SOC value, or the power state is fully charged, floating charge is determined as the initial charging state.
[0074] Furthermore, the initial charging state is determined by the numerical relationship between the power threshold corresponding to the target battery and the current power and the charging flag, and also includes: if the current power value is less than or equal to the second power threshold corresponding to the target battery, and the charging flag is the target flag, then the second charging state is determined as the initial charging state.
[0075] In an embodiment of the present application, the display management module is used to determine the second charging state as the initial charging state if the current power value is less than or equal to the second power threshold corresponding to the target battery and the charging flag is the target flag.
[0076] The target flag is a flag that allows the target battery to be charged, that is, the charging flag is 0 (OFF); the second charging state is boost charging.
[0077] For example, the battery type of the target battery is a non-lithium battery type, and the second power threshold corresponding to the non-lithium battery type is 96%. If the current power value is less than or equal to 96%, and the charging flag is 0 (OFF), the boost charging is determined as the initial charging state.
[0078] For example, the battery type of the target battery is a lithium battery type, and the second power threshold corresponding to the lithium battery type is the charging protection recovery SCO set by the user. If the current power value is less than or equal to the charging protection recovery SCO, and the charging flag is 0 (OFF), the boost charging is determined as the initial charging state.
[0079] Optionally, when the battery type of the target battery is a lithium battery type, if the current power value is less than or equal to the second power threshold corresponding to the target battery, the charging flag is the target flag, the stop charging flag sent by the BMS is OFF (stop charging), and the user allows manual control of the charging mode, the second charging state is determined as the initial charging state. Otherwise, the display management module does not perform any operation.
[0080] In addition, when the communication flag of the battery management module is the communication abnormality flag and the battery type of the target battery is a lithium battery type, the display management module cannot receive the current power and charging flag of the target battery sent by the battery management module. In order to ensure the normal operation of the entire machine, the display management module directly determines the boost charging as the initial charging state.
[0081] S103: Determine a target charging state according to the battery type and the initial charging state corresponding to the target battery, so as to charge the target battery according to the target charging state.
[0082] In the embodiment of the present application, the target charging state includes boost charging and float charging.
[0083] Specifically, the digital signal processing module (which can be a digital signal processing technology DSP chip) is used to obtain the current time period voltage of the target battery if the battery type corresponding to the target battery is a lithium battery type; and determine the target charging state based on the current time period voltage and the initial charging state.
[0084] In the implementation mode of the present application, when the initial charging state is the first charging state, if the duration of the voltage in the current time period being greater than or equal to the first voltage threshold is greater than the first preset duration, the first charging state is determined as the target charging state. When the initial charging state is the second charging state, if the duration of the voltage in the current time period being less than or equal to the second voltage threshold is greater than the second preset duration, the second charging state is determined as the target charging state. In addition, if the battery type corresponding to the target battery is a lithium battery type and the battery current is 0, the digital signal processing module no longer determines the target charging state based on the initial charging state sent by the display management module this time, but determines the initial charging state sent by the display management module last time as the target charging state.
[0085] For example, the first preset time length is 1s. If the voltage in the current time period is greater than or equal to the first voltage threshold for a duration greater than 1s, and the initial charging state is floating charging, floating charging is determined as the target charging state.
[0086] For example, the second preset time length is 3s. If the voltage in the current time period is less than or equal to the second voltage threshold for a duration greater than 3s, and the initial charging state is boost charging, boost charging is determined as the target charging state.
[0087] Here, after the display management module determines the initial charging state, the digital signal processing module also needs to further determine the target charging state of the battery according to the voltage to improve the control accuracy of the battery charging.
[0088] Specifically, the digital signal processing module is used to determine the initial charging state as the target charging state if the battery type corresponding to the target battery is a non-lithium battery type.
[0089] Furthermore, the method also includes: the display management module is used to send a prohibit charging instruction to the digital signal processing module in the energy storage device if the communication flag of the battery management module is a normal communication flag and the charging flag is ON; the digital signal processing module stops charging the target battery after receiving the prohibit charging instruction.
[0090] Furthermore, the method also includes: if the battery type corresponding to the target battery is a non-lithium battery type, the digital signal processing module is used to charge according to the conventional battery three-stage charging logic when the battery management module communication flag sent by the display management module is a communication abnormality flag.
[0091] Here, the conventional three-stage charging logic is divided into three stages: trickle charging, constant current charging, and constant voltage charging. It is completed independently by the digital signal processing module, mainly because there is no abnormal condition of battery voltage shut down in advance by the battery management module. The digital signal processing module can work according to its own parameters and independently perform reasonable charging and discharging control. It can ensure the maximum power supply for users.
[0092] Reference Figure 2 As shown, it is a flowchart of another battery charging control method provided in an embodiment of the present application. The exemplary steps of the embodiment of the present application are described below:
[0093] S201. If the battery type corresponding to the target battery is a lithium battery type, obtain the voltage of the target battery in the current time period; and determine the target charging state according to the voltage in the current time period and the initial charging state.
[0094] In the implementation mode of the present application, when the initial charging state is the first charging state, if the duration of the voltage in the current time period being greater than or equal to the first voltage threshold is greater than the first preset duration, the first charging state is determined as the target charging state. When the initial charging state is the second charging state, if the duration of the voltage in the current time period being less than or equal to the second voltage threshold is greater than the second preset duration, the second charging state is determined as the target charging state.
[0095] In addition, if the battery type corresponding to the target battery is a lithium battery type and the battery current is 0, the DSP chip no longer determines the target charging state based on the initial charging state sent by the display management module this time, but determines the initial charging state sent by the display management module last time as the target charging state.
[0096] Here, after the display management module determines the initial charging state, the digital signal processing module also needs to further determine the target charging state of the battery according to the voltage to improve the control accuracy of the battery charging.
[0097] S202: If the battery type corresponding to the target battery is a non-lithium battery type, the initial charging state is determined as the target charging state.
[0098] The embodiment of the present application provides another battery charging control method, which includes: if the battery type corresponding to the target battery is a lithium battery type, then obtaining the voltage of the target battery in the current time period; determining the target charging state according to the voltage in the current time period and the initial charging state; if the battery type corresponding to the target battery is a non-lithium battery type, then determining the initial charging state as the target charging state. After determining the initial charging state, the present application further determines the target charging state of the battery according to the voltage of the target battery, thereby improving the control accuracy of the battery charging.
[0099] Based on the same inventive concept, an energy storage device corresponding to the battery charging control method is also provided in the embodiment of the present application. Since the principle of solving the problem by the energy storage device in the embodiment of the present application is similar to the above-mentioned battery charging control method in the embodiment of the present application, the implementation of the energy storage device can refer to the implementation of the method, and the repeated parts will not be repeated.
[0100] Reference Figure 3 As shown, it is a schematic diagram of an off-grid energy storage integrated machine provided in an embodiment of the present application, and the off-grid energy storage integrated machine includes a display management module 301, a battery management module 302 and a digital signal processing module 303:
[0101] The display management module 301 is used to receive the current power level and charging flag of the target battery sent by the battery management module 302;
[0102] The display management module 301 is further used to determine the initial charging state according to the numerical relationship between the power threshold corresponding to the target battery and the current power and the charging flag;
[0103] The digital signal processing module 303 is used to determine a target charging state according to the battery type and initial charging state corresponding to the target battery sent by the display management module 301, so as to charge the target battery according to the target charging state.
[0104] In a possible implementation, when the display management module 301 determines the initial charging state by using the numerical relationship between the power threshold corresponding to the target battery and the current power and the charging flag, it is specifically used to:
[0105] If the current power value is greater than or equal to the first power threshold corresponding to the target battery, or the power state corresponding to the current power is the target power state, the first charging state is determined as the initial charging state.
[0106] In a possible implementation, when the display management module 301 determines the initial charging state by using the numerical relationship between the power threshold corresponding to the target battery and the current power and the charging flag, it is specifically used to:
[0107] If the current power value is less than or equal to the second power threshold corresponding to the target battery, and the charging flag is the target flag, the second charging state is determined as the initial charging state.
[0108] In a possible implementation manner, when the digital signal processing module 303 determines the target charging state according to the battery type and the initial charging state corresponding to the target battery, it is specifically used to:
[0109] If the battery type corresponding to the target battery is a lithium battery type, then the voltage of the target battery in the current time period is obtained;
[0110] The target state of charge is determined based on the voltage in the current time period and the initial state of charge.
[0111] In a possible implementation manner, when the digital signal processing module 303 determines the target charging state according to the voltage in the current time period and the initial charging state, it is specifically used to:
[0112] When the initial charging state is the first charging state, if the duration of the voltage in the current time period being greater than or equal to the first voltage threshold is greater than a first preset duration, the first charging state is determined as the target charging state.
[0113] In a possible implementation manner, when the digital signal processing module 303 determines the target charging state according to the voltage in the current time period and the initial charging state, it is specifically used to:
[0114] When the initial charging state is the second charging state, if the duration of the voltage in the current time period being less than or equal to the second voltage threshold is greater than a second preset duration, the second charging state is determined as the target charging state.
[0115] In a possible implementation manner, when the digital signal processing module 303 determines the target charging state according to the battery type and the initial charging state corresponding to the target battery, it is specifically used to:
[0116] If the battery type corresponding to the target battery is a non-lithium battery type, the initial charging state is determined as the target charging state.
[0117] The embodiment of the present application provides an energy storage device, including: a display management module 301, a battery management module 302 and a digital signal processing module 303: the display management module 301 is used to receive the current power of the target battery and the charging flag sent by the battery management module 302; the display management module 301 is also used to determine the initial charging state through the numerical relationship between the power threshold corresponding to the target battery and the current power and the charging flag; the digital signal processing module 303 is used to determine the target charging state according to the battery type and the initial charging state corresponding to the target battery sent by the display management module 301, so as to charge the target battery according to the target charging state. The present application determines the target charging state through the current power of the target battery and the charging flag, so that the target battery is charged in the target charging state, avoiding the problem that when the charging voltage of the battery is close to the full voltage, the single cell will reach the alarm value, causing the BMS to automatically shut down the charging MOS of this battery and lose the clamping function, thereby avoiding the whole machine from losing power supply capacity.
[0118] like Figure 4 As shown, an electronic device 400 provided in an embodiment of the present application includes: a processor 401, a memory 402 and a bus, the memory 402 stores machine-readable instructions executable by the processor 401, when the electronic device is running, the processor 401 and the memory 402 communicate through the bus, and the processor 401 executes the machine-readable instructions to perform the steps of the battery charging control method as described above.
[0119] Specifically, the memory 402 and the processor 401 can be general-purpose memories and processors, which are not specifically limited here. When the processor 401 runs the computer program stored in the memory 402, the battery charging control method can be executed.
[0120] Corresponding to the above-mentioned battery charging control method, an embodiment of the present application further provides a computer-readable storage medium, on which a computer program is stored. When the computer program is executed by a processor, the steps of the above-mentioned battery charging control method are executed.
[0121] Those skilled in the art can clearly understand that, for the convenience and simplicity of description, the specific working process of the system and device described above can refer to the corresponding process in the method embodiment, and will not be repeated in this application. In the several embodiments provided in this application, it should be understood that the disclosed system, device and method can be implemented in other ways. The device embodiments described above are merely schematic. For example, the division of the modules is only a logical function division. There may be other division methods in actual implementation. For example, multiple modules or components can be combined or integrated into another system, or some features can be ignored or not executed. Another point is that the mutual coupling or direct coupling or communication connection shown or discussed can be through some communication interfaces, indirect coupling or communication connection of devices or modules, which can be electrical, mechanical or other forms.
[0122] The modules described as separate components may or may not be physically separated, and the components shown as modules may or may not be physical units, that is, they may be located in one place or distributed on multiple network units. Some or all of the units may be selected according to actual needs to achieve the purpose of the solution of this embodiment.
[0123] In addition, each functional unit in each embodiment of the present application may be integrated into one processing unit, or each unit may exist physically separately, or two or more units may be integrated into one unit.
[0124] If the functions are implemented in the form of software functional units and sold or used as independent products, they can be stored in a non-volatile computer-readable storage medium that is executable by a processor. Based on this understanding, the technical solution of the present application, or the part that contributes to the prior art or the part of the technical solution, can be embodied in the form of a software product, which is stored in a storage medium and includes several instructions for a computer device (which can be a personal computer, server, or network device, etc.) to perform all or part of the steps of the information processing method described in each embodiment of the present application. The aforementioned storage medium includes: various media that can store program codes, such as USB flash drives, mobile hard drives, ROM, RAM, magnetic disks, or optical disks.
[0125] The above are only specific implementations of the present application, but the protection scope of the present application is not limited thereto. Any technician familiar with the technical field can easily think of changes or substitutions within the technical scope disclosed in the present application, which should be included in the protection scope of the present application. Therefore, the protection scope of the present application should be based on the protection scope of the claims.
Claims
1. A battery charging control method, It is characterized in that include: Get the current power and charging flag of the target battery; Determine the initial charging state by using the numerical relationship between the power threshold corresponding to the target battery and the current power and the charging flag; A target charging state is determined according to the battery type corresponding to the target battery and the initial charging state, so as to charge the target battery according to the target charging state.
2. The battery charging control method according to claim 1, It is characterized in that The determining the initial charging state by using the numerical relationship between the power threshold corresponding to the target battery and the current power and the charging flag bit includes: If the value of the current power level is greater than or equal to the first power threshold corresponding to the target battery, or the power state corresponding to the current power level is the target power state, the first charging state is determined as the initial charging state.
3. The battery charging control method according to claim 1, It is characterized in that The determining of the initial charging state by the numerical relationship between the power threshold corresponding to the target battery and the current power and the charging flag bit also includes: If the value of the current power level is less than or equal to the second power level threshold corresponding to the target battery, and the charging flag is the target flag, the second charging state is determined as the initial charging state.
4. The battery charging control method according to any one of claims 1 to 3, It is characterized in that The determining the target charging state according to the battery type corresponding to the target battery and the initial charging state includes: If the battery type corresponding to the target battery is a lithium battery type, obtaining the voltage of the target battery in the current time period; A target state of charge is determined according to the voltage in the current time period and the initial state of charge.
5. The battery charging control method according to claim 4, It is characterized in that The determining the target charging state according to the voltage in the current time period and the initial charging state comprises: When the initial charging state is the first charging state, if the duration of the voltage in the current time period being greater than or equal to the first voltage threshold is greater than a first preset duration, the first charging state is determined as the target charging state.
6. The battery charging control method according to claim 4, It is characterized in that The determining of the target charging state according to the voltage in the current time period and the initial charging state further includes: When the initial charging state is the second charging state, if the duration of the voltage in the current time period being less than or equal to the second voltage threshold is greater than a second preset duration, the second charging state is determined as the target charging state.
7. The battery charging control method according to any one of claims 1 to 3, It is characterized in that The determining the target charging state according to the battery type corresponding to the target battery and the initial charging state also includes: If the battery type corresponding to the target battery is a non-lithium battery type, the initial charging state is determined as the target charging state.
8. An energy storage device, It is characterized in that The energy storage device includes a display management module, a battery management module and a digital signal processing module: The display management module is used to receive the current power level and charging flag of the target battery sent by the battery management module; The display management module is further used to determine the initial charging state according to the numerical relationship between the power threshold corresponding to the target battery and the current power and the charging flag; The digital signal processing module is used to determine a target charging state according to the battery type corresponding to the target battery sent by the display management module and the initial charging state, so as to charge the target battery according to the target charging state.
9. An electronic device, It is characterized in that include: A processor, a storage medium and a bus, wherein the storage medium stores machine-readable instructions executable by the processor, and when the electronic device is running, the processor communicates with the storage medium via the bus, and the processor executes the machine-readable instructions to perform the steps of the battery charging control method as described in any one of claims 1 to 7.
10. A computer-readable storage medium, It is characterized in that The computer-readable storage medium stores a computer program, and when the computer program is executed by a processor, the steps of the battery charging control method according to any one of claims 1 to 7 are executed.
